Documentation ¶
Index ¶
- Variables
- type AccountSignature
- type Address
- 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) GetFin() *Fin
- func (x *BlockHeadersResponse) GetHeader() *SignedBlockHeader
- func (m *BlockHeadersResponse) GetHeaderMessage() isBlockHeadersResponse_HeaderMessage
- func (*BlockHeadersResponse) ProtoMessage()
- func (x *BlockHeadersResponse) ProtoReflect() protoreflect.Message
- func (x *BlockHeadersResponse) Reset()
- func (x *BlockHeadersResponse) String() string
- type BlockHeadersResponse_Fin
- type BlockHeadersResponse_Header
- type BlockID
- type BlockProof
- type Cairo0Class
- func (*Cairo0Class) Descriptor() ([]byte, []int)deprecated
- func (x *Cairo0Class) GetAbi() string
- func (x *Cairo0Class) GetConstructors() []*EntryPoint
- func (x *Cairo0Class) GetExternals() []*EntryPoint
- func (x *Cairo0Class) GetL1Handlers() []*EntryPoint
- func (x *Cairo0Class) GetProgram() string
- func (*Cairo0Class) ProtoMessage()
- func (x *Cairo0Class) ProtoReflect() protoreflect.Message
- func (x *Cairo0Class) Reset()
- func (x *Cairo0Class) String() string
- type Cairo1Class
- func (*Cairo1Class) Descriptor() ([]byte, []int)deprecated
- func (x *Cairo1Class) GetAbi() string
- func (x *Cairo1Class) GetContractClassVersion() string
- func (x *Cairo1Class) GetEntryPoints() *Cairo1EntryPoints
- func (x *Cairo1Class) GetProgram() []*Felt252
- func (*Cairo1Class) ProtoMessage()
- func (x *Cairo1Class) ProtoReflect() protoreflect.Message
- func (x *Cairo1Class) Reset()
- func (x *Cairo1Class) String() string
- type Cairo1EntryPoints
- func (*Cairo1EntryPoints) Descriptor() ([]byte, []int)deprecated
- func (x *Cairo1EntryPoints) GetConstructors() []*SierraEntryPoint
- func (x *Cairo1EntryPoints) GetExternals() []*SierraEntryPoint
- func (x *Cairo1EntryPoints) GetL1Handlers() []*SierraEntryPoint
- func (*Cairo1EntryPoints) ProtoMessage()
- func (x *Cairo1EntryPoints) ProtoReflect() protoreflect.Message
- func (x *Cairo1EntryPoints) Reset()
- func (x *Cairo1EntryPoints) String() string
- type Class
- func (*Class) Descriptor() ([]byte, []int)deprecated
- func (x *Class) GetCairo0() *Cairo0Class
- func (x *Class) GetCairo1() *Cairo1Class
- func (m *Class) GetClass() isClass_Class
- func (x *Class) GetClassHash() *Hash
- func (x *Class) GetDomain() uint32
- func (*Class) ProtoMessage()
- func (x *Class) ProtoReflect() protoreflect.Message
- func (x *Class) Reset()
- func (x *Class) String() string
- type Class_Cairo0
- type Class_Cairo1
- type ClassesRequest
- type ClassesResponse
- func (*ClassesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ClassesResponse) GetClass() *Class
- func (m *ClassesResponse) GetClassMessage() isClassesResponse_ClassMessage
- func (x *ClassesResponse) GetFin() *Fin
- func (*ClassesResponse) ProtoMessage()
- func (x *ClassesResponse) ProtoReflect() protoreflect.Message
- func (x *ClassesResponse) Reset()
- func (x *ClassesResponse) String() string
- type ClassesResponse_Class
- type ClassesResponse_Fin
- 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 ContractDiff
- func (*ContractDiff) Descriptor() ([]byte, []int)deprecated
- func (x *ContractDiff) GetAddress() *Address
- func (x *ContractDiff) GetClassHash() *Hash
- func (x *ContractDiff) GetDomain() VolitionDomain
- func (x *ContractDiff) GetNonce() *Felt252
- func (x *ContractDiff) GetValues() []*ContractStoredValue
- func (*ContractDiff) ProtoMessage()
- func (x *ContractDiff) ProtoReflect() protoreflect.Message
- func (x *ContractDiff) Reset()
- func (x *ContractDiff) String() string
- 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 DeclaredClass
- func (*DeclaredClass) Descriptor() ([]byte, []int)deprecated
- func (x *DeclaredClass) GetClassHash() *Hash
- func (x *DeclaredClass) GetCompiledClassHash() *Hash
- func (*DeclaredClass) ProtoMessage()
- func (x *DeclaredClass) ProtoReflect() protoreflect.Message
- func (x *DeclaredClass) Reset()
- func (x *DeclaredClass) String() string
- type EntryPoint
- 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 (x *Event) GetTransactionHash() *Hash
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type EventsRequest
- type EventsResponse
- func (*EventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EventsResponse) GetEvent() *Event
- func (m *EventsResponse) GetEventMessage() isEventsResponse_EventMessage
- func (x *EventsResponse) GetFin() *Fin
- func (*EventsResponse) ProtoMessage()
- func (x *EventsResponse) ProtoReflect() protoreflect.Message
- func (x *EventsResponse) Reset()
- func (x *EventsResponse) String() string
- type EventsResponse_Event
- type EventsResponse_Fin
- type Felt252
- type Fin
- type Hash
- type Hash256
- 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 L1DataAvailabilityMode
- func (L1DataAvailabilityMode) Descriptor() protoreflect.EnumDescriptor
- func (x L1DataAvailabilityMode) Enum() *L1DataAvailabilityMode
- func (L1DataAvailabilityMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x L1DataAvailabilityMode) Number() protoreflect.EnumNumber
- func (x L1DataAvailabilityMode) String() string
- func (L1DataAvailabilityMode) Type() protoreflect.EnumType
- 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 NewBlock
- func (*NewBlock) Descriptor() ([]byte, []int)deprecated
- 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_Header
- type NewBlock_Id
- type Patricia
- type PeerID
- type PriceUnit
- 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) GetType() isReceipt_Type
- 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) GetPriceUnit() PriceUnit
- func (x *Receipt_Common) GetRevertReason() string
- 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) GetL1DataGas() *Felt252
- func (x *Receipt_ExecutionResources) GetL1Gas() *Felt252
- func (x *Receipt_ExecutionResources) GetMemoryHoles() uint32
- func (x *Receipt_ExecutionResources) GetSteps() uint32
- func (x *Receipt_ExecutionResources) GetTotalL1Gas() *Felt252
- 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) GetAddMod() uint32
- 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) GetMulMod() uint32
- func (x *Receipt_ExecutionResources_BuiltinCounter) GetOutput() uint32
- func (x *Receipt_ExecutionResources_BuiltinCounter) GetPedersen() uint32
- func (x *Receipt_ExecutionResources_BuiltinCounter) GetPoseidon() uint32
- func (x *Receipt_ExecutionResources_BuiltinCounter) GetRangeCheck() uint32
- func (x *Receipt_ExecutionResources_BuiltinCounter) GetRangeCheck96() 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() *Hash256
- 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 ResourceBounds
- func (*ResourceBounds) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceBounds) GetL1Gas() *ResourceLimits
- func (x *ResourceBounds) GetL2Gas() *ResourceLimits
- func (*ResourceBounds) ProtoMessage()
- func (x *ResourceBounds) ProtoReflect() protoreflect.Message
- func (x *ResourceBounds) Reset()
- func (x *ResourceBounds) String() string
- 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 SierraEntryPoint
- func (*SierraEntryPoint) Descriptor() ([]byte, []int)deprecated
- func (x *SierraEntryPoint) GetIndex() uint64
- func (x *SierraEntryPoint) GetSelector() *Felt252
- func (*SierraEntryPoint) ProtoMessage()
- func (x *SierraEntryPoint) ProtoReflect() protoreflect.Message
- func (x *SierraEntryPoint) Reset()
- func (x *SierraEntryPoint) String() string
- type SignedBlockHeader
- func (*SignedBlockHeader) Descriptor() ([]byte, []int)deprecated
- func (x *SignedBlockHeader) GetBlockHash() *Hash
- func (x *SignedBlockHeader) GetDataGasPriceFri() *Uint128
- func (x *SignedBlockHeader) GetDataGasPriceWei() *Uint128
- func (x *SignedBlockHeader) GetEvents() *Patricia
- func (x *SignedBlockHeader) GetGasPriceFri() *Uint128
- func (x *SignedBlockHeader) GetGasPriceWei() *Uint128
- func (x *SignedBlockHeader) GetL1DataAvailabilityMode() L1DataAvailabilityMode
- func (x *SignedBlockHeader) GetNumber() uint64
- func (x *SignedBlockHeader) GetParentHash() *Hash
- func (x *SignedBlockHeader) GetProtocolVersion() string
- func (x *SignedBlockHeader) GetReceipts() *Hash
- func (x *SignedBlockHeader) GetSequencerAddress() *Address
- func (x *SignedBlockHeader) GetSignatures() []*ConsensusSignature
- func (x *SignedBlockHeader) GetStateDiffCommitment() *StateDiffCommitment
- func (x *SignedBlockHeader) GetStateRoot() *Hash
- func (x *SignedBlockHeader) GetTime() uint64
- func (x *SignedBlockHeader) GetTransactions() *Patricia
- func (*SignedBlockHeader) ProtoMessage()
- func (x *SignedBlockHeader) ProtoReflect() protoreflect.Message
- func (x *SignedBlockHeader) Reset()
- func (x *SignedBlockHeader) String() string
- type StateDiffCommitment
- func (*StateDiffCommitment) Descriptor() ([]byte, []int)deprecated
- func (x *StateDiffCommitment) GetRoot() *Hash
- func (x *StateDiffCommitment) GetStateDiffLength() uint64
- func (*StateDiffCommitment) ProtoMessage()
- func (x *StateDiffCommitment) ProtoReflect() protoreflect.Message
- func (x *StateDiffCommitment) Reset()
- func (x *StateDiffCommitment) String() string
- type StateDiffsRequest
- func (*StateDiffsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StateDiffsRequest) GetIteration() *Iteration
- func (*StateDiffsRequest) ProtoMessage()
- func (x *StateDiffsRequest) ProtoReflect() protoreflect.Message
- func (x *StateDiffsRequest) Reset()
- func (x *StateDiffsRequest) String() string
- type StateDiffsResponse
- func (*StateDiffsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StateDiffsResponse) GetContractDiff() *ContractDiff
- func (x *StateDiffsResponse) GetDeclaredClass() *DeclaredClass
- func (x *StateDiffsResponse) GetFin() *Fin
- func (m *StateDiffsResponse) GetStateDiffMessage() isStateDiffsResponse_StateDiffMessage
- func (*StateDiffsResponse) ProtoMessage()
- func (x *StateDiffsResponse) ProtoReflect() protoreflect.Message
- func (x *StateDiffsResponse) Reset()
- func (x *StateDiffsResponse) String() string
- type StateDiffsResponse_ContractDiff
- type StateDiffsResponse_DeclaredClass
- type StateDiffsResponse_Fin
- 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_L1HandlerV0
- func (x *Transaction) GetTransactionHash() *Hash
- 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 TransactionWithReceipt
- func (*TransactionWithReceipt) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionWithReceipt) GetReceipt() *Receipt
- func (x *TransactionWithReceipt) GetTransaction() *Transaction
- func (*TransactionWithReceipt) ProtoMessage()
- func (x *TransactionWithReceipt) ProtoReflect() protoreflect.Message
- func (x *TransactionWithReceipt) Reset()
- func (x *TransactionWithReceipt) 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() *Hash
- 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) GetAccountDeploymentData() []*Felt252
- func (x *Transaction_DeclareV3) GetClassHash() *Hash
- func (x *Transaction_DeclareV3) GetCompiledClassHash() *Hash
- func (x *Transaction_DeclareV3) GetFeeDataAvailabilityMode() VolitionDomain
- func (x *Transaction_DeclareV3) GetNonce() *Felt252
- func (x *Transaction_DeclareV3) GetNonceDataAvailabilityMode() VolitionDomain
- func (x *Transaction_DeclareV3) GetPaymasterData() []*Felt252
- func (x *Transaction_DeclareV3) GetResourceBounds() *ResourceBounds
- func (x *Transaction_DeclareV3) GetSender() *Address
- func (x *Transaction_DeclareV3) GetSignature() *AccountSignature
- func (x *Transaction_DeclareV3) GetTip() uint64
- 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 (x *Transaction_Deploy) GetVersion() uint32
- 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) GetFeeDataAvailabilityMode() VolitionDomain
- func (x *Transaction_DeployAccountV3) GetNonce() *Felt252
- func (x *Transaction_DeployAccountV3) GetNonceDataAvailabilityMode() VolitionDomain
- func (x *Transaction_DeployAccountV3) GetPaymasterData() []*Felt252
- func (x *Transaction_DeployAccountV3) GetResourceBounds() *ResourceBounds
- func (x *Transaction_DeployAccountV3) GetSignature() *AccountSignature
- func (x *Transaction_DeployAccountV3) GetTip() uint64
- 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) GetMaxFee() *Felt252
- func (x *Transaction_InvokeV1) GetNonce() *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) GetAccountDeploymentData() []*Felt252
- func (x *Transaction_InvokeV3) GetCalldata() []*Felt252
- func (x *Transaction_InvokeV3) GetFeeDataAvailabilityMode() VolitionDomain
- func (x *Transaction_InvokeV3) GetNonce() *Felt252
- func (x *Transaction_InvokeV3) GetNonceDataAvailabilityMode() VolitionDomain
- func (x *Transaction_InvokeV3) GetPaymasterData() []*Felt252
- func (x *Transaction_InvokeV3) GetResourceBounds() *ResourceBounds
- func (x *Transaction_InvokeV3) GetSender() *Address
- func (x *Transaction_InvokeV3) GetSignature() *AccountSignature
- func (x *Transaction_InvokeV3) GetTip() uint64
- 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_L1HandlerV0
- func (*Transaction_L1HandlerV0) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction_L1HandlerV0) GetAddress() *Address
- func (x *Transaction_L1HandlerV0) GetCalldata() []*Felt252
- func (x *Transaction_L1HandlerV0) GetEntryPointSelector() *Felt252
- func (x *Transaction_L1HandlerV0) GetNonce() *Felt252
- func (*Transaction_L1HandlerV0) ProtoMessage()
- func (x *Transaction_L1HandlerV0) ProtoReflect() protoreflect.Message
- func (x *Transaction_L1HandlerV0) Reset()
- func (x *Transaction_L1HandlerV0) 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 (m *TransactionsResponse) GetTransactionMessage() isTransactionsResponse_TransactionMessage
- func (x *TransactionsResponse) GetTransactionWithReceipt() *TransactionWithReceipt
- func (*TransactionsResponse) ProtoMessage()
- func (x *TransactionsResponse) ProtoReflect() protoreflect.Message
- func (x *TransactionsResponse) Reset()
- func (x *TransactionsResponse) String() string
- type TransactionsResponse_Fin
- type TransactionsResponse_TransactionWithReceipt
- type Uint128
- type VolitionDomain
- func (VolitionDomain) Descriptor() protoreflect.EnumDescriptor
- func (x VolitionDomain) Enum() *VolitionDomain
- func (VolitionDomain) EnumDescriptor() ([]byte, []int)deprecated
- func (x VolitionDomain) Number() protoreflect.EnumNumber
- func (x VolitionDomain) String() string
- func (VolitionDomain) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( L1DataAvailabilityMode_name = map[int32]string{ 0: "Calldata", 1: "Blob", } L1DataAvailabilityMode_value = map[string]int32{ "Calldata": 0, "Blob": 1, } )
Enum value maps for L1DataAvailabilityMode.
var ( VolitionDomain_name = map[int32]string{ 0: "L1", 1: "L2", } VolitionDomain_value = map[string]int32{ "L1": 0, "L2": 1, } )
Enum value maps for VolitionDomain.
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 ( PriceUnit_name = map[int32]string{ 0: "Wei", 1: "Fri", } PriceUnit_value = map[string]int32{ "Wei": 0, "Fri": 1, } )
Enum value maps for PriceUnit.
var File_p2p_proto_class_proto protoreflect.FileDescriptor
var File_p2p_proto_common_proto protoreflect.FileDescriptor
var File_p2p_proto_event_proto protoreflect.FileDescriptor
var File_p2p_proto_header_proto protoreflect.FileDescriptor
var File_p2p_proto_receipt_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 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 }
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 { // Types that are assignable to HeaderMessage: // // *BlockHeadersResponse_Header // *BlockHeadersResponse_Fin HeaderMessage isBlockHeadersResponse_HeaderMessage `protobuf_oneof:"header_message"` // contains filtered or unexported fields }
Responses are sent ordered by the order given in the request.
func (*BlockHeadersResponse) Descriptor
deprecated
added in
v0.7.0
func (*BlockHeadersResponse) Descriptor() ([]byte, []int)
Deprecated: Use BlockHeadersResponse.ProtoReflect.Descriptor instead.
func (*BlockHeadersResponse) GetFin ¶ added in v0.12.0
func (x *BlockHeadersResponse) GetFin() *Fin
func (*BlockHeadersResponse) GetHeader ¶ added in v0.12.0
func (x *BlockHeadersResponse) GetHeader() *SignedBlockHeader
func (*BlockHeadersResponse) GetHeaderMessage ¶ added in v0.12.0
func (m *BlockHeadersResponse) GetHeaderMessage() isBlockHeadersResponse_HeaderMessage
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 BlockHeadersResponse_Fin ¶ added in v0.12.0
type BlockHeadersResponse_Fin struct {
Fin *Fin `protobuf:"bytes,2,opt,name=fin,proto3,oneof"` // Fin is sent after the peer sent all the data or when it encountered a block that it doesn't have its header.
}
type BlockHeadersResponse_Header ¶ added in v0.12.0
type BlockHeadersResponse_Header struct {
Header *SignedBlockHeader `protobuf:"bytes,1,opt,name=header,proto3,oneof"`
}
type BlockID ¶
type BlockID struct { Number uint64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` Header *Hash `protobuf:"bytes,2,opt,name=header,proto3" json:"header,omitempty"` // contains filtered or unexported fields }
func (*BlockID) Descriptor
deprecated
func (*BlockID) ProtoMessage ¶
func (*BlockID) ProtoMessage()
func (*BlockID) ProtoReflect ¶
func (x *BlockID) ProtoReflect() protoreflect.Message
type BlockProof ¶
type BlockProof struct { Proof [][]byte `protobuf:"bytes,1,rep,name=proof,proto3" json:"proof,omitempty"` // contains filtered or unexported fields }
func (*BlockProof) Descriptor
deprecated
func (*BlockProof) Descriptor() ([]byte, []int)
Deprecated: Use BlockProof.ProtoReflect.Descriptor instead.
func (*BlockProof) GetProof ¶
func (x *BlockProof) GetProof() [][]byte
func (*BlockProof) ProtoMessage ¶
func (*BlockProof) ProtoMessage()
func (*BlockProof) ProtoReflect ¶
func (x *BlockProof) ProtoReflect() protoreflect.Message
func (*BlockProof) Reset ¶
func (x *BlockProof) Reset()
func (*BlockProof) String ¶
func (x *BlockProof) String() string
type Cairo0Class ¶ added in v0.10.0
type Cairo0Class struct { Abi string `protobuf:"bytes,1,opt,name=abi,proto3" json:"abi,omitempty"` Externals []*EntryPoint `protobuf:"bytes,2,rep,name=externals,proto3" json:"externals,omitempty"` L1Handlers []*EntryPoint `protobuf:"bytes,3,rep,name=l1_handlers,json=l1Handlers,proto3" json:"l1_handlers,omitempty"` Constructors []*EntryPoint `protobuf:"bytes,4,rep,name=constructors,proto3" json:"constructors,omitempty"` // Compressed in base64 representation. Program string `protobuf:"bytes,5,opt,name=program,proto3" json:"program,omitempty"` // contains filtered or unexported fields }
func (*Cairo0Class) Descriptor
deprecated
added in
v0.10.0
func (*Cairo0Class) Descriptor() ([]byte, []int)
Deprecated: Use Cairo0Class.ProtoReflect.Descriptor instead.
func (*Cairo0Class) GetAbi ¶ added in v0.10.0
func (x *Cairo0Class) GetAbi() string
func (*Cairo0Class) GetConstructors ¶ added in v0.10.0
func (x *Cairo0Class) GetConstructors() []*EntryPoint
func (*Cairo0Class) GetExternals ¶ added in v0.10.0
func (x *Cairo0Class) GetExternals() []*EntryPoint
func (*Cairo0Class) GetL1Handlers ¶ added in v0.10.0
func (x *Cairo0Class) GetL1Handlers() []*EntryPoint
func (*Cairo0Class) GetProgram ¶ added in v0.10.0
func (x *Cairo0Class) GetProgram() string
func (*Cairo0Class) ProtoMessage ¶ added in v0.10.0
func (*Cairo0Class) ProtoMessage()
func (*Cairo0Class) ProtoReflect ¶ added in v0.10.0
func (x *Cairo0Class) ProtoReflect() protoreflect.Message
func (*Cairo0Class) Reset ¶ added in v0.10.0
func (x *Cairo0Class) Reset()
func (*Cairo0Class) String ¶ added in v0.10.0
func (x *Cairo0Class) String() string
type Cairo1Class ¶ added in v0.10.0
type Cairo1Class struct { Abi string `protobuf:"bytes,1,opt,name=abi,proto3" json:"abi,omitempty"` EntryPoints *Cairo1EntryPoints `protobuf:"bytes,2,opt,name=entry_points,json=entryPoints,proto3" json:"entry_points,omitempty"` Program []*Felt252 `protobuf:"bytes,3,rep,name=program,proto3" json:"program,omitempty"` ContractClassVersion string `protobuf:"bytes,4,opt,name=contract_class_version,json=contractClassVersion,proto3" json:"contract_class_version,omitempty"` // contains filtered or unexported fields }
func (*Cairo1Class) Descriptor
deprecated
added in
v0.10.0
func (*Cairo1Class) Descriptor() ([]byte, []int)
Deprecated: Use Cairo1Class.ProtoReflect.Descriptor instead.
func (*Cairo1Class) GetAbi ¶ added in v0.10.0
func (x *Cairo1Class) GetAbi() string
func (*Cairo1Class) GetContractClassVersion ¶ added in v0.10.0
func (x *Cairo1Class) GetContractClassVersion() string
func (*Cairo1Class) GetEntryPoints ¶ added in v0.10.0
func (x *Cairo1Class) GetEntryPoints() *Cairo1EntryPoints
func (*Cairo1Class) GetProgram ¶ added in v0.10.0
func (x *Cairo1Class) GetProgram() []*Felt252
func (*Cairo1Class) ProtoMessage ¶ added in v0.10.0
func (*Cairo1Class) ProtoMessage()
func (*Cairo1Class) ProtoReflect ¶ added in v0.10.0
func (x *Cairo1Class) ProtoReflect() protoreflect.Message
func (*Cairo1Class) Reset ¶ added in v0.10.0
func (x *Cairo1Class) Reset()
func (*Cairo1Class) String ¶ added in v0.10.0
func (x *Cairo1Class) String() string
type Cairo1EntryPoints ¶ added in v0.10.0
type Cairo1EntryPoints struct { Externals []*SierraEntryPoint `protobuf:"bytes,1,rep,name=externals,proto3" json:"externals,omitempty"` L1Handlers []*SierraEntryPoint `protobuf:"bytes,2,rep,name=l1_handlers,json=l1Handlers,proto3" json:"l1_handlers,omitempty"` Constructors []*SierraEntryPoint `protobuf:"bytes,3,rep,name=constructors,proto3" json:"constructors,omitempty"` // contains filtered or unexported fields }
func (*Cairo1EntryPoints) Descriptor
deprecated
added in
v0.10.0
func (*Cairo1EntryPoints) Descriptor() ([]byte, []int)
Deprecated: Use Cairo1EntryPoints.ProtoReflect.Descriptor instead.
func (*Cairo1EntryPoints) GetConstructors ¶ added in v0.10.0
func (x *Cairo1EntryPoints) GetConstructors() []*SierraEntryPoint
func (*Cairo1EntryPoints) GetExternals ¶ added in v0.10.0
func (x *Cairo1EntryPoints) GetExternals() []*SierraEntryPoint
func (*Cairo1EntryPoints) GetL1Handlers ¶ added in v0.10.0
func (x *Cairo1EntryPoints) GetL1Handlers() []*SierraEntryPoint
func (*Cairo1EntryPoints) ProtoMessage ¶ added in v0.10.0
func (*Cairo1EntryPoints) ProtoMessage()
func (*Cairo1EntryPoints) ProtoReflect ¶ added in v0.10.0
func (x *Cairo1EntryPoints) ProtoReflect() protoreflect.Message
func (*Cairo1EntryPoints) Reset ¶ added in v0.10.0
func (x *Cairo1EntryPoints) Reset()
func (*Cairo1EntryPoints) String ¶ added in v0.10.0
func (x *Cairo1EntryPoints) String() string
type Class ¶
type Class struct { // Types that are assignable to Class: // // *Class_Cairo0 // *Class_Cairo1 Class isClass_Class `protobuf_oneof:"class"` Domain uint32 `protobuf:"varint,3,opt,name=domain,proto3" json:"domain,omitempty"` ClassHash *Hash `protobuf:"bytes,4,opt,name=class_hash,json=classHash,proto3" json:"class_hash,omitempty"` // contains filtered or unexported fields }
func (*Class) Descriptor
deprecated
func (*Class) GetCairo0 ¶ added in v0.10.0
func (x *Class) GetCairo0() *Cairo0Class
func (*Class) GetCairo1 ¶ added in v0.10.0
func (x *Class) GetCairo1() *Cairo1Class
func (*Class) GetClassHash ¶ added in v0.12.1
func (*Class) ProtoMessage ¶
func (*Class) ProtoMessage()
func (*Class) ProtoReflect ¶
func (x *Class) ProtoReflect() protoreflect.Message
type Class_Cairo0 ¶ added in v0.10.0
type Class_Cairo0 struct {
Cairo0 *Cairo0Class `protobuf:"bytes,1,opt,name=cairo0,proto3,oneof"`
}
type Class_Cairo1 ¶ added in v0.10.0
type Class_Cairo1 struct {
Cairo1 *Cairo1Class `protobuf:"bytes,2,opt,name=cairo1,proto3,oneof"`
}
type ClassesRequest ¶ added in v0.12.0
type ClassesRequest struct { Iteration *Iteration `protobuf:"bytes,1,opt,name=iteration,proto3" json:"iteration,omitempty"` // contains filtered or unexported fields }
func (*ClassesRequest) Descriptor
deprecated
added in
v0.12.0
func (*ClassesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClassesRequest.ProtoReflect.Descriptor instead.
func (*ClassesRequest) GetIteration ¶ added in v0.12.0
func (x *ClassesRequest) GetIteration() *Iteration
func (*ClassesRequest) ProtoMessage ¶ added in v0.12.0
func (*ClassesRequest) ProtoMessage()
func (*ClassesRequest) ProtoReflect ¶ added in v0.12.0
func (x *ClassesRequest) ProtoReflect() protoreflect.Message
func (*ClassesRequest) Reset ¶ added in v0.12.0
func (x *ClassesRequest) Reset()
func (*ClassesRequest) String ¶ added in v0.12.0
func (x *ClassesRequest) String() string
type ClassesResponse ¶ added in v0.12.0
type ClassesResponse struct { // Types that are assignable to ClassMessage: // // *ClassesResponse_Class // *ClassesResponse_Fin ClassMessage isClassesResponse_ClassMessage `protobuf_oneof:"class_message"` // contains filtered or unexported fields }
Responses are sent ordered by the order given in the request.
func (*ClassesResponse) Descriptor
deprecated
added in
v0.12.0
func (*ClassesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ClassesResponse.ProtoReflect.Descriptor instead.
func (*ClassesResponse) GetClass ¶ added in v0.12.0
func (x *ClassesResponse) GetClass() *Class
func (*ClassesResponse) GetClassMessage ¶ added in v0.12.0
func (m *ClassesResponse) GetClassMessage() isClassesResponse_ClassMessage
func (*ClassesResponse) GetFin ¶ added in v0.12.0
func (x *ClassesResponse) GetFin() *Fin
func (*ClassesResponse) ProtoMessage ¶ added in v0.12.0
func (*ClassesResponse) ProtoMessage()
func (*ClassesResponse) ProtoReflect ¶ added in v0.12.0
func (x *ClassesResponse) ProtoReflect() protoreflect.Message
func (*ClassesResponse) Reset ¶ added in v0.12.0
func (x *ClassesResponse) Reset()
func (*ClassesResponse) String ¶ added in v0.12.0
func (x *ClassesResponse) String() string
type ClassesResponse_Class ¶ added in v0.12.0
type ClassesResponse_Class struct {
Class *Class `protobuf:"bytes,1,opt,name=class,proto3,oneof"`
}
type ClassesResponse_Fin ¶ added in v0.12.0
type ClassesResponse_Fin struct {
Fin *Fin `protobuf:"bytes,2,opt,name=fin,proto3,oneof"` // Fin is sent after the peer sent all the data or when it encountered a block that it doesn't have its classes.
}
type ConsensusSignature ¶ 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 ContractDiff ¶ added in v0.12.0
type ContractDiff struct { Address *Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Nonce *Felt252 `protobuf:"bytes,2,opt,name=nonce,proto3,oneof" json:"nonce,omitempty"` // Present only if the nonce was updated ClassHash *Hash `protobuf:"bytes,3,opt,name=class_hash,json=classHash,proto3,oneof" json:"class_hash,omitempty"` // Present only if the contract was deployed or replaced in this block. Values []*ContractStoredValue `protobuf:"bytes,4,rep,name=values,proto3" json:"values,omitempty"` Domain VolitionDomain `protobuf:"varint,5,opt,name=domain,proto3,enum=VolitionDomain" json:"domain,omitempty"` // contains filtered or unexported fields }
func (*ContractDiff) Descriptor
deprecated
added in
v0.12.0
func (*ContractDiff) Descriptor() ([]byte, []int)
Deprecated: Use ContractDiff.ProtoReflect.Descriptor instead.
func (*ContractDiff) GetAddress ¶ added in v0.12.0
func (x *ContractDiff) GetAddress() *Address
func (*ContractDiff) GetClassHash ¶ added in v0.12.0
func (x *ContractDiff) GetClassHash() *Hash
func (*ContractDiff) GetDomain ¶ added in v0.12.0
func (x *ContractDiff) GetDomain() VolitionDomain
func (*ContractDiff) GetNonce ¶ added in v0.12.0
func (x *ContractDiff) GetNonce() *Felt252
func (*ContractDiff) GetValues ¶ added in v0.12.0
func (x *ContractDiff) GetValues() []*ContractStoredValue
func (*ContractDiff) ProtoMessage ¶ added in v0.12.0
func (*ContractDiff) ProtoMessage()
func (*ContractDiff) ProtoReflect ¶ added in v0.12.0
func (x *ContractDiff) ProtoReflect() protoreflect.Message
func (*ContractDiff) Reset ¶ added in v0.12.0
func (x *ContractDiff) Reset()
func (*ContractDiff) String ¶ added in v0.12.0
func (x *ContractDiff) String() string
type ContractStoredValue ¶
type ContractStoredValue struct { Key *Felt252 `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value *Felt252 `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
optimized for flat storage, not through a trie (not sharing key prefixes)
func (*ContractStoredValue) Descriptor
deprecated
func (*ContractStoredValue) Descriptor() ([]byte, []int)
Deprecated: Use ContractStoredValue.ProtoReflect.Descriptor instead.
func (*ContractStoredValue) GetKey ¶
func (x *ContractStoredValue) GetKey() *Felt252
func (*ContractStoredValue) GetValue ¶
func (x *ContractStoredValue) GetValue() *Felt252
func (*ContractStoredValue) ProtoMessage ¶
func (*ContractStoredValue) ProtoMessage()
func (*ContractStoredValue) ProtoReflect ¶
func (x *ContractStoredValue) ProtoReflect() protoreflect.Message
func (*ContractStoredValue) Reset ¶
func (x *ContractStoredValue) Reset()
func (*ContractStoredValue) String ¶
func (x *ContractStoredValue) String() string
type DeclaredClass ¶ added in v0.12.0
type DeclaredClass struct { ClassHash *Hash `protobuf:"bytes,1,opt,name=class_hash,json=classHash,proto3" json:"class_hash,omitempty"` CompiledClassHash *Hash `protobuf:"bytes,2,opt,name=compiled_class_hash,json=compiledClassHash,proto3,oneof" json:"compiled_class_hash,omitempty"` // Present only if the class is Cairo1 // contains filtered or unexported fields }
func (*DeclaredClass) Descriptor
deprecated
added in
v0.12.0
func (*DeclaredClass) Descriptor() ([]byte, []int)
Deprecated: Use DeclaredClass.ProtoReflect.Descriptor instead.
func (*DeclaredClass) GetClassHash ¶ added in v0.12.0
func (x *DeclaredClass) GetClassHash() *Hash
func (*DeclaredClass) GetCompiledClassHash ¶ added in v0.12.0
func (x *DeclaredClass) GetCompiledClassHash() *Hash
func (*DeclaredClass) ProtoMessage ¶ added in v0.12.0
func (*DeclaredClass) ProtoMessage()
func (*DeclaredClass) ProtoReflect ¶ added in v0.12.0
func (x *DeclaredClass) ProtoReflect() protoreflect.Message
func (*DeclaredClass) Reset ¶ added in v0.12.0
func (x *DeclaredClass) Reset()
func (*DeclaredClass) String ¶ added in v0.12.0
func (x *DeclaredClass) String() string
type EntryPoint ¶ added in v0.10.0
type EntryPoint struct { Selector *Felt252 `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"` Offset uint64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
func (*EntryPoint) Descriptor
deprecated
added in
v0.10.0
func (*EntryPoint) Descriptor() ([]byte, []int)
Deprecated: Use EntryPoint.ProtoReflect.Descriptor instead.
func (*EntryPoint) GetOffset ¶ added in v0.10.0
func (x *EntryPoint) GetOffset() uint64
func (*EntryPoint) GetSelector ¶ added in v0.10.0
func (x *EntryPoint) GetSelector() *Felt252
func (*EntryPoint) ProtoMessage ¶ added in v0.10.0
func (*EntryPoint) ProtoMessage()
func (*EntryPoint) ProtoReflect ¶ added in v0.10.0
func (x *EntryPoint) ProtoReflect() protoreflect.Message
func (*EntryPoint) Reset ¶ added in v0.10.0
func (x *EntryPoint) Reset()
func (*EntryPoint) String ¶ added in v0.10.0
func (x *EntryPoint) String() string
type EthereumAddress ¶
type EthereumAddress struct { Elements []byte `protobuf:"bytes,1,opt,name=elements,proto3" json:"elements,omitempty"` // contains filtered or unexported fields }
func (*EthereumAddress) Descriptor
deprecated
func (*EthereumAddress) Descriptor() ([]byte, []int)
Deprecated: Use EthereumAddress.ProtoReflect.Descriptor instead.
func (*EthereumAddress) GetElements ¶
func (x *EthereumAddress) GetElements() []byte
func (*EthereumAddress) ProtoMessage ¶
func (*EthereumAddress) ProtoMessage()
func (*EthereumAddress) ProtoReflect ¶
func (x *EthereumAddress) ProtoReflect() protoreflect.Message
func (*EthereumAddress) Reset ¶
func (x *EthereumAddress) Reset()
func (*EthereumAddress) String ¶
func (x *EthereumAddress) String() string
type Event ¶
type Event struct { TransactionHash *Hash `protobuf:"bytes,1,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"` FromAddress *Felt252 `protobuf:"bytes,3,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` // looks like mistake? Keys []*Felt252 `protobuf:"bytes,4,rep,name=keys,proto3" json:"keys,omitempty"` Data []*Felt252 `protobuf:"bytes,5,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) GetFromAddress ¶
func (*Event) GetTransactionHash ¶ added in v0.10.0
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) 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 { // Types that are assignable to EventMessage: // // *EventsResponse_Event // *EventsResponse_Fin EventMessage isEventsResponse_EventMessage `protobuf_oneof:"event_message"` // contains filtered or unexported fields }
Responses are sent ordered by the order given in the request.
func (*EventsResponse) Descriptor
deprecated
added in
v0.7.0
func (*EventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use EventsResponse.ProtoReflect.Descriptor instead.
func (*EventsResponse) GetEvent ¶ added in v0.12.0
func (x *EventsResponse) GetEvent() *Event
func (*EventsResponse) GetEventMessage ¶ added in v0.12.0
func (m *EventsResponse) GetEventMessage() isEventsResponse_EventMessage
func (*EventsResponse) GetFin ¶ added in v0.7.0
func (x *EventsResponse) GetFin() *Fin
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_Event ¶ added in v0.12.0
type EventsResponse_Event struct {
Event *Event `protobuf:"bytes,1,opt,name=event,proto3,oneof"`
}
type EventsResponse_Fin ¶ added in v0.7.0
type EventsResponse_Fin struct {
Fin *Fin `protobuf:"bytes,2,opt,name=fin,proto3,oneof"` // Fin is sent after the peer sent all the data or when it encountered a block that it doesn't have its events.
}
type Felt252 ¶
type Felt252 struct { Elements []byte `protobuf:"bytes,1,opt,name=elements,proto3" json:"elements,omitempty"` // contains filtered or unexported fields }
func (*Felt252) Descriptor
deprecated
func (*Felt252) 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 {
// 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 Hash ¶
type Hash struct { Elements []byte `protobuf:"bytes,1,opt,name=elements,proto3" json:"elements,omitempty"` // contains filtered or unexported fields }
A hash value representable as a Felt252
func (*Hash) Descriptor
deprecated
func (*Hash) GetElements ¶
func (*Hash) ProtoMessage ¶
func (*Hash) ProtoMessage()
func (*Hash) ProtoReflect ¶
func (x *Hash) ProtoReflect() protoreflect.Message
type Hash256 ¶ added in v0.12.3
type Hash256 struct { // Required to be 32 bytes long Elements []byte `protobuf:"bytes,1,opt,name=elements,proto3" json:"elements,omitempty"` // contains filtered or unexported fields }
A 256 bit hash value (like Keccak256)
func (*Hash256) Descriptor
deprecated
added in
v0.12.3
func (*Hash256) GetElements ¶ added in v0.12.3
func (*Hash256) ProtoMessage ¶ added in v0.12.3
func (*Hash256) ProtoMessage()
func (*Hash256) ProtoReflect ¶ added in v0.12.3
func (x *Hash256) 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 L1DataAvailabilityMode ¶ added in v0.12.0
type L1DataAvailabilityMode int32
const ( L1DataAvailabilityMode_Calldata L1DataAvailabilityMode = 0 L1DataAvailabilityMode_Blob L1DataAvailabilityMode = 1 )
func (L1DataAvailabilityMode) Descriptor ¶ added in v0.12.0
func (L1DataAvailabilityMode) Descriptor() protoreflect.EnumDescriptor
func (L1DataAvailabilityMode) Enum ¶ added in v0.12.0
func (x L1DataAvailabilityMode) Enum() *L1DataAvailabilityMode
func (L1DataAvailabilityMode) EnumDescriptor
deprecated
added in
v0.12.0
func (L1DataAvailabilityMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use L1DataAvailabilityMode.Descriptor instead.
func (L1DataAvailabilityMode) Number ¶ added in v0.12.0
func (x L1DataAvailabilityMode) Number() protoreflect.EnumNumber
func (L1DataAvailabilityMode) String ¶ added in v0.12.0
func (x L1DataAvailabilityMode) String() string
func (L1DataAvailabilityMode) Type ¶ added in v0.12.0
func (L1DataAvailabilityMode) Type() protoreflect.EnumType
type MessageToL1 ¶
type MessageToL1 struct { FromAddress *Felt252 `protobuf:"bytes,2,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` Payload []*Felt252 `protobuf:"bytes,3,rep,name=payload,proto3" json:"payload,omitempty"` ToAddress *EthereumAddress `protobuf:"bytes,4,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` // contains filtered or unexported fields }
func (*MessageToL1) Descriptor
deprecated
func (*MessageToL1) Descriptor() ([]byte, []int)
Deprecated: Use MessageToL1.ProtoReflect.Descriptor instead.
func (*MessageToL1) GetFromAddress ¶
func (x *MessageToL1) GetFromAddress() *Felt252
func (*MessageToL1) GetPayload ¶
func (x *MessageToL1) GetPayload() []*Felt252
func (*MessageToL1) GetToAddress ¶
func (x *MessageToL1) GetToAddress() *EthereumAddress
func (*MessageToL1) ProtoMessage ¶
func (*MessageToL1) ProtoMessage()
func (*MessageToL1) ProtoReflect ¶
func (x *MessageToL1) ProtoReflect() protoreflect.Message
func (*MessageToL1) Reset ¶
func (x *MessageToL1) Reset()
func (*MessageToL1) String ¶
func (x *MessageToL1) String() string
type NewBlock ¶
type NewBlock struct { // Types that are assignable to MaybeFull: // // *NewBlock_Id // *NewBlock_Header MaybeFull isNewBlock_MaybeFull `protobuf_oneof:"maybe_full"` // contains filtered or unexported fields }
sent to all peers (except the ones this was received from, if any). for a fraction of peers, also send the GetBlockHeaders response (as if they asked for it for this block)
func (*NewBlock) Descriptor
deprecated
func (*NewBlock) 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_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 { NLeaves uint64 `protobuf:"varint,1,opt,name=n_leaves,json=nLeaves,proto3" json:"n_leaves,omitempty"` // needed to know the height, so as to how many nodes to expect in a proof. // and also when receiving all leaves, how many to expect Root *Hash `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"` // contains filtered or unexported fields }
func (*Patricia) Descriptor
deprecated
added in
v0.7.0
func (*Patricia) GetNLeaves ¶ added in v0.12.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 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 PriceUnit ¶ added in v0.12.0
type PriceUnit int32
func (PriceUnit) Descriptor ¶ added in v0.12.0
func (PriceUnit) Descriptor() protoreflect.EnumDescriptor
func (PriceUnit) EnumDescriptor
deprecated
added in
v0.12.0
func (PriceUnit) Number ¶ added in v0.12.0
func (x PriceUnit) Number() protoreflect.EnumNumber
func (PriceUnit) Type ¶ added in v0.12.0
func (PriceUnit) Type() protoreflect.EnumType
type Receipt ¶
type Receipt struct { // Types that are assignable to Type: // // *Receipt_Invoke_ // *Receipt_L1Handler_ // *Receipt_Declare_ // *Receipt_DeprecatedDeploy // *Receipt_DeployAccount_ Type isReceipt_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*Receipt) Descriptor
deprecated
func (*Receipt) 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) 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 { ActualFee *Felt252 `protobuf:"bytes,2,opt,name=actual_fee,json=actualFee,proto3" json:"actual_fee,omitempty"` PriceUnit PriceUnit `protobuf:"varint,3,opt,name=price_unit,json=priceUnit,proto3,enum=PriceUnit" json:"price_unit,omitempty"` MessagesSent []*MessageToL1 `protobuf:"bytes,4,rep,name=messages_sent,json=messagesSent,proto3" json:"messages_sent,omitempty"` ExecutionResources *Receipt_ExecutionResources `protobuf:"bytes,5,opt,name=execution_resources,json=executionResources,proto3" json:"execution_resources,omitempty"` RevertReason *string `protobuf:"bytes,6,opt,name=revert_reason,json=revertReason,proto3,oneof" json:"revert_reason,omitempty"` // contains filtered or unexported fields }
func (*Receipt_Common) Descriptor
deprecated
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) GetPriceUnit ¶ added in v0.12.0
func (x *Receipt_Common) GetPriceUnit() PriceUnit
func (*Receipt_Common) GetRevertReason ¶ added in v0.7.0
func (x *Receipt_Common) GetRevertReason() string
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"` L1Gas *Felt252 `protobuf:"bytes,4,opt,name=l1_gas,json=l1Gas,proto3" json:"l1_gas,omitempty"` L1DataGas *Felt252 `protobuf:"bytes,5,opt,name=l1_data_gas,json=l1DataGas,proto3" json:"l1_data_gas,omitempty"` TotalL1Gas *Felt252 `protobuf:"bytes,6,opt,name=total_l1_gas,json=totalL1Gas,proto3" json:"total_l1_gas,omitempty"` // 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) GetL1DataGas ¶ added in v0.12.0
func (x *Receipt_ExecutionResources) GetL1DataGas() *Felt252
func (*Receipt_ExecutionResources) GetL1Gas ¶ added in v0.12.0
func (x *Receipt_ExecutionResources) GetL1Gas() *Felt252
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) GetTotalL1Gas ¶ added in v0.12.1
func (x *Receipt_ExecutionResources) GetTotalL1Gas() *Felt252
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"` Output uint32 `protobuf:"varint,8,opt,name=output,proto3" json:"output,omitempty"` AddMod uint32 `protobuf:"varint,9,opt,name=add_mod,json=addMod,proto3" json:"add_mod,omitempty"` MulMod uint32 `protobuf:"varint,10,opt,name=mul_mod,json=mulMod,proto3" json:"mul_mod,omitempty"` RangeCheck96 uint32 `protobuf:"varint,11,opt,name=range_check96,json=rangeCheck96,proto3" json:"range_check96,omitempty"` // contains filtered or unexported fields }
func (*Receipt_ExecutionResources_BuiltinCounter) Descriptor
deprecated
added in
v0.7.0
func (*Receipt_ExecutionResources_BuiltinCounter) Descriptor() ([]byte, []int)
Deprecated: Use Receipt_ExecutionResources_BuiltinCounter.ProtoReflect.Descriptor instead.
func (*Receipt_ExecutionResources_BuiltinCounter) GetAddMod ¶ added in v0.12.1
func (x *Receipt_ExecutionResources_BuiltinCounter) GetAddMod() uint32
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) GetMulMod ¶ added in v0.12.1
func (x *Receipt_ExecutionResources_BuiltinCounter) GetMulMod() uint32
func (*Receipt_ExecutionResources_BuiltinCounter) GetOutput ¶ added in v0.10.0
func (x *Receipt_ExecutionResources_BuiltinCounter) GetOutput() 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) GetRangeCheck96 ¶ added in v0.12.1
func (x *Receipt_ExecutionResources_BuiltinCounter) GetRangeCheck96() 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 *Hash256 `protobuf:"bytes,2,opt,name=msg_hash,json=msgHash,proto3" json:"msg_hash,omitempty"` // contains filtered or unexported fields }
func (*Receipt_L1Handler) Descriptor
deprecated
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() *Hash256
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 ResourceBounds ¶ added in v0.12.0
type ResourceBounds struct { L1Gas *ResourceLimits `protobuf:"bytes,1,opt,name=l1_gas,json=l1Gas,proto3" json:"l1_gas,omitempty"` L2Gas *ResourceLimits `protobuf:"bytes,2,opt,name=l2_gas,json=l2Gas,proto3" json:"l2_gas,omitempty"` // contains filtered or unexported fields }
func (*ResourceBounds) Descriptor
deprecated
added in
v0.12.0
func (*ResourceBounds) Descriptor() ([]byte, []int)
Deprecated: Use ResourceBounds.ProtoReflect.Descriptor instead.
func (*ResourceBounds) GetL1Gas ¶ added in v0.12.0
func (x *ResourceBounds) GetL1Gas() *ResourceLimits
func (*ResourceBounds) GetL2Gas ¶ added in v0.12.0
func (x *ResourceBounds) GetL2Gas() *ResourceLimits
func (*ResourceBounds) ProtoMessage ¶ added in v0.12.0
func (*ResourceBounds) ProtoMessage()
func (*ResourceBounds) ProtoReflect ¶ added in v0.12.0
func (x *ResourceBounds) ProtoReflect() protoreflect.Message
func (*ResourceBounds) Reset ¶ added in v0.12.0
func (x *ResourceBounds) Reset()
func (*ResourceBounds) String ¶ added in v0.12.0
func (x *ResourceBounds) String() string
type ResourceLimits ¶ added in v0.7.0
type ResourceLimits struct { MaxAmount *Felt252 `protobuf:"bytes,1,opt,name=max_amount,json=maxAmount,proto3" json:"max_amount,omitempty"` MaxPricePerUnit *Felt252 `protobuf:"bytes,2,opt,name=max_price_per_unit,json=maxPricePerUnit,proto3" json:"max_price_per_unit,omitempty"` // contains filtered or unexported fields }
func (*ResourceLimits) Descriptor
deprecated
added in
v0.7.0
func (*ResourceLimits) Descriptor() ([]byte, []int)
Deprecated: Use ResourceLimits.ProtoReflect.Descriptor instead.
func (*ResourceLimits) GetMaxAmount ¶ added in v0.7.0
func (x *ResourceLimits) GetMaxAmount() *Felt252
func (*ResourceLimits) GetMaxPricePerUnit ¶ added in v0.7.0
func (x *ResourceLimits) GetMaxPricePerUnit() *Felt252
func (*ResourceLimits) ProtoMessage ¶ added in v0.7.0
func (*ResourceLimits) ProtoMessage()
func (*ResourceLimits) ProtoReflect ¶ added in v0.7.0
func (x *ResourceLimits) ProtoReflect() protoreflect.Message
func (*ResourceLimits) Reset ¶ added in v0.7.0
func (x *ResourceLimits) Reset()
func (*ResourceLimits) String ¶ added in v0.7.0
func (x *ResourceLimits) String() string
type SierraEntryPoint ¶ added in v0.10.0
type SierraEntryPoint struct { Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` Selector *Felt252 `protobuf:"bytes,2,opt,name=selector,proto3" json:"selector,omitempty"` // contains filtered or unexported fields }
func (*SierraEntryPoint) Descriptor
deprecated
added in
v0.10.0
func (*SierraEntryPoint) Descriptor() ([]byte, []int)
Deprecated: Use SierraEntryPoint.ProtoReflect.Descriptor instead.
func (*SierraEntryPoint) GetIndex ¶ added in v0.10.0
func (x *SierraEntryPoint) GetIndex() uint64
func (*SierraEntryPoint) GetSelector ¶ added in v0.10.0
func (x *SierraEntryPoint) GetSelector() *Felt252
func (*SierraEntryPoint) ProtoMessage ¶ added in v0.10.0
func (*SierraEntryPoint) ProtoMessage()
func (*SierraEntryPoint) ProtoReflect ¶ added in v0.10.0
func (x *SierraEntryPoint) ProtoReflect() protoreflect.Message
func (*SierraEntryPoint) Reset ¶ added in v0.10.0
func (x *SierraEntryPoint) Reset()
func (*SierraEntryPoint) String ¶ added in v0.10.0
func (x *SierraEntryPoint) String() string
type SignedBlockHeader ¶ added in v0.12.0
type SignedBlockHeader struct { BlockHash *Hash `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // For the structure of the block hash, see https://docs.starknet.io/documentation/architecture_and_concepts/Network_Architecture/header/#block_hash ParentHash *Hash `protobuf:"bytes,2,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty"` Number uint64 `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"` // This can be deduced from context. We can consider removing this field. Time uint64 `protobuf:"varint,4,opt,name=time,proto3" json:"time,omitempty"` // Encoded in Unix time. SequencerAddress *Address `protobuf:"bytes,5,opt,name=sequencer_address,json=sequencerAddress,proto3" json:"sequencer_address,omitempty"` StateRoot *Hash `protobuf:"bytes,6,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` // Patricia root of contract and class patricia tries. Each of those tries are of height 251. Same as in L1. Later more trees will be included StateDiffCommitment *StateDiffCommitment `protobuf:"bytes,7,opt,name=state_diff_commitment,json=stateDiffCommitment,proto3" json:"state_diff_commitment,omitempty"` // The state diff commitment returned by the Starknet Feeder Gateway // For more info, see https://community.starknet.io/t/introducing-p2p-authentication-and-mismatch-resolution-in-v0-12-2/97993 // The leaves contain a hash of the transaction hash and transaction signature. Transactions *Patricia `protobuf:"bytes,8,opt,name=transactions,proto3" json:"transactions,omitempty"` // By order of execution. TBD: required? the client can execute (powerful machine) and match state diff Events *Patricia `protobuf:"bytes,9,opt,name=events,proto3" json:"events,omitempty"` // By order of issuance. TBD: in receipts? Receipts *Hash `protobuf:"bytes,10,opt,name=receipts,proto3" json:"receipts,omitempty"` // By order of issuance. This is a patricia root. No need for length because it's the same length as transactions. ProtocolVersion string `protobuf:"bytes,11,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"` // Starknet version GasPriceFri *Uint128 `protobuf:"bytes,12,opt,name=gas_price_fri,json=gasPriceFri,proto3" json:"gas_price_fri,omitempty"` GasPriceWei *Uint128 `protobuf:"bytes,13,opt,name=gas_price_wei,json=gasPriceWei,proto3" json:"gas_price_wei,omitempty"` DataGasPriceFri *Uint128 `protobuf:"bytes,14,opt,name=data_gas_price_fri,json=dataGasPriceFri,proto3" json:"data_gas_price_fri,omitempty"` DataGasPriceWei *Uint128 `protobuf:"bytes,15,opt,name=data_gas_price_wei,json=dataGasPriceWei,proto3" json:"data_gas_price_wei,omitempty"` L1DataAvailabilityMode L1DataAvailabilityMode `` /* 161-byte string literal not displayed */ // for now, we assume a small consensus, so this fits in 1M. Else, these will be repeated and extracted from this message. Signatures []*ConsensusSignature `protobuf:"bytes,17,rep,name=signatures,proto3" json:"signatures,omitempty"` // can be more explicit here about the signature structure as this is not part of account abstraction // contains filtered or unexported fields }
Note: commitments may change to be for the previous blocks like comet/tendermint hash of block header sent to L1
func (*SignedBlockHeader) Descriptor
deprecated
added in
v0.12.0
func (*SignedBlockHeader) Descriptor() ([]byte, []int)
Deprecated: Use SignedBlockHeader.ProtoReflect.Descriptor instead.
func (*SignedBlockHeader) GetBlockHash ¶ added in v0.12.0
func (x *SignedBlockHeader) GetBlockHash() *Hash
func (*SignedBlockHeader) GetDataGasPriceFri ¶ added in v0.12.0
func (x *SignedBlockHeader) GetDataGasPriceFri() *Uint128
func (*SignedBlockHeader) GetDataGasPriceWei ¶ added in v0.12.0
func (x *SignedBlockHeader) GetDataGasPriceWei() *Uint128
func (*SignedBlockHeader) GetEvents ¶ added in v0.12.0
func (x *SignedBlockHeader) GetEvents() *Patricia
func (*SignedBlockHeader) GetGasPriceFri ¶ added in v0.12.0
func (x *SignedBlockHeader) GetGasPriceFri() *Uint128
func (*SignedBlockHeader) GetGasPriceWei ¶ added in v0.12.0
func (x *SignedBlockHeader) GetGasPriceWei() *Uint128
func (*SignedBlockHeader) GetL1DataAvailabilityMode ¶ added in v0.12.0
func (x *SignedBlockHeader) GetL1DataAvailabilityMode() L1DataAvailabilityMode
func (*SignedBlockHeader) GetNumber ¶ added in v0.12.0
func (x *SignedBlockHeader) GetNumber() uint64
func (*SignedBlockHeader) GetParentHash ¶ added in v0.12.0
func (x *SignedBlockHeader) GetParentHash() *Hash
func (*SignedBlockHeader) GetProtocolVersion ¶ added in v0.12.0
func (x *SignedBlockHeader) GetProtocolVersion() string
func (*SignedBlockHeader) GetReceipts ¶ added in v0.12.0
func (x *SignedBlockHeader) GetReceipts() *Hash
func (*SignedBlockHeader) GetSequencerAddress ¶ added in v0.12.0
func (x *SignedBlockHeader) GetSequencerAddress() *Address
func (*SignedBlockHeader) GetSignatures ¶ added in v0.12.0
func (x *SignedBlockHeader) GetSignatures() []*ConsensusSignature
func (*SignedBlockHeader) GetStateDiffCommitment ¶ added in v0.12.0
func (x *SignedBlockHeader) GetStateDiffCommitment() *StateDiffCommitment
func (*SignedBlockHeader) GetStateRoot ¶ added in v0.12.0
func (x *SignedBlockHeader) GetStateRoot() *Hash
func (*SignedBlockHeader) GetTime ¶ added in v0.12.0
func (x *SignedBlockHeader) GetTime() uint64
func (*SignedBlockHeader) GetTransactions ¶ added in v0.12.0
func (x *SignedBlockHeader) GetTransactions() *Patricia
func (*SignedBlockHeader) ProtoMessage ¶ added in v0.12.0
func (*SignedBlockHeader) ProtoMessage()
func (*SignedBlockHeader) ProtoReflect ¶ added in v0.12.0
func (x *SignedBlockHeader) ProtoReflect() protoreflect.Message
func (*SignedBlockHeader) Reset ¶ added in v0.12.0
func (x *SignedBlockHeader) Reset()
func (*SignedBlockHeader) String ¶ added in v0.12.0
func (x *SignedBlockHeader) String() string
type StateDiffCommitment ¶ added in v0.12.0
type StateDiffCommitment struct { StateDiffLength uint64 `protobuf:"varint,1,opt,name=state_diff_length,json=stateDiffLength,proto3" json:"state_diff_length,omitempty"` Root *Hash `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"` // contains filtered or unexported fields }
func (*StateDiffCommitment) Descriptor
deprecated
added in
v0.12.0
func (*StateDiffCommitment) Descriptor() ([]byte, []int)
Deprecated: Use StateDiffCommitment.ProtoReflect.Descriptor instead.
func (*StateDiffCommitment) GetRoot ¶ added in v0.12.0
func (x *StateDiffCommitment) GetRoot() *Hash
func (*StateDiffCommitment) GetStateDiffLength ¶ added in v0.12.0
func (x *StateDiffCommitment) GetStateDiffLength() uint64
func (*StateDiffCommitment) ProtoMessage ¶ added in v0.12.0
func (*StateDiffCommitment) ProtoMessage()
func (*StateDiffCommitment) ProtoReflect ¶ added in v0.12.0
func (x *StateDiffCommitment) ProtoReflect() protoreflect.Message
func (*StateDiffCommitment) Reset ¶ added in v0.12.0
func (x *StateDiffCommitment) Reset()
func (*StateDiffCommitment) String ¶ added in v0.12.0
func (x *StateDiffCommitment) String() string
type StateDiffsRequest ¶ added in v0.12.0
type StateDiffsRequest struct { Iteration *Iteration `protobuf:"bytes,1,opt,name=iteration,proto3" json:"iteration,omitempty"` // contains filtered or unexported fields }
func (*StateDiffsRequest) Descriptor
deprecated
added in
v0.12.0
func (*StateDiffsRequest) Descriptor() ([]byte, []int)
Deprecated: Use StateDiffsRequest.ProtoReflect.Descriptor instead.
func (*StateDiffsRequest) GetIteration ¶ added in v0.12.0
func (x *StateDiffsRequest) GetIteration() *Iteration
func (*StateDiffsRequest) ProtoMessage ¶ added in v0.12.0
func (*StateDiffsRequest) ProtoMessage()
func (*StateDiffsRequest) ProtoReflect ¶ added in v0.12.0
func (x *StateDiffsRequest) ProtoReflect() protoreflect.Message
func (*StateDiffsRequest) Reset ¶ added in v0.12.0
func (x *StateDiffsRequest) Reset()
func (*StateDiffsRequest) String ¶ added in v0.12.0
func (x *StateDiffsRequest) String() string
type StateDiffsResponse ¶ added in v0.12.0
type StateDiffsResponse struct { // All of the messages related to a block need to be sent before a message from the next block is sent. // // Types that are assignable to StateDiffMessage: // // *StateDiffsResponse_ContractDiff // *StateDiffsResponse_DeclaredClass // *StateDiffsResponse_Fin StateDiffMessage isStateDiffsResponse_StateDiffMessage `protobuf_oneof:"state_diff_message"` // contains filtered or unexported fields }
Responses are sent ordered by the order given in the request.
func (*StateDiffsResponse) Descriptor
deprecated
added in
v0.12.0
func (*StateDiffsResponse) Descriptor() ([]byte, []int)
Deprecated: Use StateDiffsResponse.ProtoReflect.Descriptor instead.
func (*StateDiffsResponse) GetContractDiff ¶ added in v0.12.0
func (x *StateDiffsResponse) GetContractDiff() *ContractDiff
func (*StateDiffsResponse) GetDeclaredClass ¶ added in v0.12.0
func (x *StateDiffsResponse) GetDeclaredClass() *DeclaredClass
func (*StateDiffsResponse) GetFin ¶ added in v0.12.0
func (x *StateDiffsResponse) GetFin() *Fin
func (*StateDiffsResponse) GetStateDiffMessage ¶ added in v0.12.0
func (m *StateDiffsResponse) GetStateDiffMessage() isStateDiffsResponse_StateDiffMessage
func (*StateDiffsResponse) ProtoMessage ¶ added in v0.12.0
func (*StateDiffsResponse) ProtoMessage()
func (*StateDiffsResponse) ProtoReflect ¶ added in v0.12.0
func (x *StateDiffsResponse) ProtoReflect() protoreflect.Message
func (*StateDiffsResponse) Reset ¶ added in v0.12.0
func (x *StateDiffsResponse) Reset()
func (*StateDiffsResponse) String ¶ added in v0.12.0
func (x *StateDiffsResponse) String() string
type StateDiffsResponse_ContractDiff ¶ added in v0.12.0
type StateDiffsResponse_ContractDiff struct {
ContractDiff *ContractDiff `protobuf:"bytes,1,opt,name=contract_diff,json=contractDiff,proto3,oneof"` // Multiple contract diffs for the same contract may appear continuously if the diff is too large or if it's more convenient.
}
type StateDiffsResponse_DeclaredClass ¶ added in v0.12.0
type StateDiffsResponse_DeclaredClass struct {
DeclaredClass *DeclaredClass `protobuf:"bytes,2,opt,name=declared_class,json=declaredClass,proto3,oneof"`
}
type StateDiffsResponse_Fin ¶ added in v0.12.0
type StateDiffsResponse_Fin struct {
Fin *Fin `protobuf:"bytes,3,opt,name=fin,proto3,oneof"` // Fin is sent after the peer sent all the data or when it encountered a block that it doesn't have its state diff.
}
type Transaction ¶
type Transaction struct { // Types that are 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"` TransactionHash *Hash `protobuf:"bytes,12,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"` // contains filtered or unexported fields }
This is a transaction that is already accepted in a block. Once we have a mempool, we will define a separate message for BroadcastedTransaction.
func (*Transaction) Descriptor
deprecated
func (*Transaction) Descriptor() ([]byte, []int)
Deprecated: Use Transaction.ProtoReflect.Descriptor instead.
func (*Transaction) GetDeclareV0 ¶ 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_L1HandlerV0
func (*Transaction) GetTransactionHash ¶ added in v0.12.1
func (x *Transaction) GetTransactionHash() *Hash
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 TransactionWithReceipt ¶ added in v0.12.0
type TransactionWithReceipt struct { Transaction *Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` Receipt *Receipt `protobuf:"bytes,2,opt,name=receipt,proto3" json:"receipt,omitempty"` // contains filtered or unexported fields }
func (*TransactionWithReceipt) Descriptor
deprecated
added in
v0.12.0
func (*TransactionWithReceipt) Descriptor() ([]byte, []int)
Deprecated: Use TransactionWithReceipt.ProtoReflect.Descriptor instead.
func (*TransactionWithReceipt) GetReceipt ¶ added in v0.12.0
func (x *TransactionWithReceipt) GetReceipt() *Receipt
func (*TransactionWithReceipt) GetTransaction ¶ added in v0.12.0
func (x *TransactionWithReceipt) GetTransaction() *Transaction
func (*TransactionWithReceipt) ProtoMessage ¶ added in v0.12.0
func (*TransactionWithReceipt) ProtoMessage()
func (*TransactionWithReceipt) ProtoReflect ¶ added in v0.12.0
func (x *TransactionWithReceipt) ProtoReflect() protoreflect.Message
func (*TransactionWithReceipt) Reset ¶ added in v0.12.0
func (x *TransactionWithReceipt) Reset()
func (*TransactionWithReceipt) String ¶ added in v0.12.0
func (x *TransactionWithReceipt) 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 *Hash `protobuf:"bytes,6,opt,name=compiled_class_hash,json=compiledClassHash,proto3" json:"compiled_class_hash,omitempty"` // contains filtered or unexported fields }
func (*Transaction_DeclareV2) Descriptor
deprecated
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() *Hash
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"` Signature *AccountSignature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` ClassHash *Hash `protobuf:"bytes,3,opt,name=class_hash,json=classHash,proto3" json:"class_hash,omitempty"` Nonce *Felt252 `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce,omitempty"` CompiledClassHash *Hash `protobuf:"bytes,5,opt,name=compiled_class_hash,json=compiledClassHash,proto3" json:"compiled_class_hash,omitempty"` ResourceBounds *ResourceBounds `protobuf:"bytes,6,opt,name=resource_bounds,json=resourceBounds,proto3" json:"resource_bounds,omitempty"` Tip uint64 `protobuf:"varint,7,opt,name=tip,proto3" json:"tip,omitempty"` PaymasterData []*Felt252 `protobuf:"bytes,8,rep,name=paymaster_data,json=paymasterData,proto3" json:"paymaster_data,omitempty"` AccountDeploymentData []*Felt252 `` /* 126-byte string literal not displayed */ NonceDataAvailabilityMode VolitionDomain `` /* 162-byte string literal not displayed */ FeeDataAvailabilityMode VolitionDomain `` /* 156-byte string literal not displayed */ // contains filtered or unexported fields }
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) GetAccountDeploymentData ¶ added in v0.12.0
func (x *Transaction_DeclareV3) GetAccountDeploymentData() []*Felt252
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() *Hash
func (*Transaction_DeclareV3) GetFeeDataAvailabilityMode ¶ added in v0.12.0
func (x *Transaction_DeclareV3) GetFeeDataAvailabilityMode() VolitionDomain
func (*Transaction_DeclareV3) GetNonce ¶ added in v0.7.0
func (x *Transaction_DeclareV3) GetNonce() *Felt252
func (*Transaction_DeclareV3) GetNonceDataAvailabilityMode ¶ added in v0.12.0
func (x *Transaction_DeclareV3) GetNonceDataAvailabilityMode() VolitionDomain
func (*Transaction_DeclareV3) GetPaymasterData ¶ added in v0.12.0
func (x *Transaction_DeclareV3) GetPaymasterData() []*Felt252
func (*Transaction_DeclareV3) GetResourceBounds ¶ added in v0.12.0
func (x *Transaction_DeclareV3) GetResourceBounds() *ResourceBounds
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() uint64
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"` Version uint32 `protobuf:"varint,4,opt,name=version,proto3" json:"version,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) GetVersion ¶ added in v0.12.0
func (x *Transaction_Deploy) GetVersion() uint32
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 { Signature *AccountSignature `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` ClassHash *Hash `protobuf:"bytes,2,opt,name=class_hash,json=classHash,proto3" json:"class_hash,omitempty"` Nonce *Felt252 `protobuf:"bytes,3,opt,name=nonce,proto3" json:"nonce,omitempty"` AddressSalt *Felt252 `protobuf:"bytes,4,opt,name=address_salt,json=addressSalt,proto3" json:"address_salt,omitempty"` Calldata []*Felt252 `protobuf:"bytes,5,rep,name=calldata,proto3" json:"calldata,omitempty"` ResourceBounds *ResourceBounds `protobuf:"bytes,6,opt,name=resource_bounds,json=resourceBounds,proto3" json:"resource_bounds,omitempty"` Tip uint64 `protobuf:"varint,7,opt,name=tip,proto3" json:"tip,omitempty"` PaymasterData []*Felt252 `protobuf:"bytes,8,rep,name=paymaster_data,json=paymasterData,proto3" json:"paymaster_data,omitempty"` NonceDataAvailabilityMode VolitionDomain `` /* 161-byte string literal not displayed */ FeeDataAvailabilityMode VolitionDomain `` /* 156-byte string literal not displayed */ // contains filtered or unexported fields }
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) GetFeeDataAvailabilityMode ¶ added in v0.12.0
func (x *Transaction_DeployAccountV3) GetFeeDataAvailabilityMode() VolitionDomain
func (*Transaction_DeployAccountV3) GetNonce ¶ added in v0.7.0
func (x *Transaction_DeployAccountV3) GetNonce() *Felt252
func (*Transaction_DeployAccountV3) GetNonceDataAvailabilityMode ¶ added in v0.12.0
func (x *Transaction_DeployAccountV3) GetNonceDataAvailabilityMode() VolitionDomain
func (*Transaction_DeployAccountV3) GetPaymasterData ¶ added in v0.12.0
func (x *Transaction_DeployAccountV3) GetPaymasterData() []*Felt252
func (*Transaction_DeployAccountV3) GetResourceBounds ¶ added in v0.12.0
func (x *Transaction_DeployAccountV3) GetResourceBounds() *ResourceBounds
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() uint64
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"` Calldata []*Felt252 `protobuf:"bytes,4,rep,name=calldata,proto3" json:"calldata,omitempty"` Nonce *Felt252 `protobuf:"bytes,5,opt,name=nonce,proto3" json:"nonce,omitempty"` // contains filtered or unexported fields }
func (*Transaction_InvokeV1) Descriptor
deprecated
added in
v0.7.0
func (*Transaction_InvokeV1) Descriptor() ([]byte, []int)
Deprecated: Use Transaction_InvokeV1.ProtoReflect.Descriptor instead.
func (*Transaction_InvokeV1) GetCalldata ¶ added in v0.7.0
func (x *Transaction_InvokeV1) GetCalldata() []*Felt252
func (*Transaction_InvokeV1) GetMaxFee ¶ added in v0.7.0
func (x *Transaction_InvokeV1) GetMaxFee() *Felt252
func (*Transaction_InvokeV1) GetNonce ¶ added in v0.10.0
func (x *Transaction_InvokeV1) GetNonce() *Felt252
func (*Transaction_InvokeV1) GetSender ¶ added in v0.7.0
func (x *Transaction_InvokeV1) GetSender() *Address
func (*Transaction_InvokeV1) GetSignature ¶ added in v0.7.0
func (x *Transaction_InvokeV1) GetSignature() *AccountSignature
func (*Transaction_InvokeV1) ProtoMessage ¶ added in v0.7.0
func (*Transaction_InvokeV1) ProtoMessage()
func (*Transaction_InvokeV1) ProtoReflect ¶ added in v0.7.0
func (x *Transaction_InvokeV1) ProtoReflect() protoreflect.Message
func (*Transaction_InvokeV1) Reset ¶ added in v0.7.0
func (x *Transaction_InvokeV1) Reset()
func (*Transaction_InvokeV1) String ¶ added in v0.7.0
func (x *Transaction_InvokeV1) String() string
type Transaction_InvokeV1_ ¶ added in v0.7.0
type Transaction_InvokeV1_ struct {
InvokeV1 *Transaction_InvokeV1 `protobuf:"bytes,9,opt,name=invoke_v1,json=invokeV1,proto3,oneof"`
}
type Transaction_InvokeV3 ¶ added in v0.7.0
type Transaction_InvokeV3 struct { Sender *Address `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Signature *AccountSignature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` Calldata []*Felt252 `protobuf:"bytes,3,rep,name=calldata,proto3" json:"calldata,omitempty"` ResourceBounds *ResourceBounds `protobuf:"bytes,4,opt,name=resource_bounds,json=resourceBounds,proto3" json:"resource_bounds,omitempty"` Tip uint64 `protobuf:"varint,5,opt,name=tip,proto3" json:"tip,omitempty"` PaymasterData []*Felt252 `protobuf:"bytes,6,rep,name=paymaster_data,json=paymasterData,proto3" json:"paymaster_data,omitempty"` AccountDeploymentData []*Felt252 `` /* 126-byte string literal not displayed */ NonceDataAvailabilityMode VolitionDomain `` /* 161-byte string literal not displayed */ FeeDataAvailabilityMode VolitionDomain `` /* 155-byte string literal not displayed */ Nonce *Felt252 `protobuf:"bytes,10,opt,name=nonce,proto3" json:"nonce,omitempty"` // contains filtered or unexported fields }
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) GetAccountDeploymentData ¶ added in v0.12.0
func (x *Transaction_InvokeV3) GetAccountDeploymentData() []*Felt252
func (*Transaction_InvokeV3) GetCalldata ¶ added in v0.7.0
func (x *Transaction_InvokeV3) GetCalldata() []*Felt252
func (*Transaction_InvokeV3) GetFeeDataAvailabilityMode ¶ added in v0.12.0
func (x *Transaction_InvokeV3) GetFeeDataAvailabilityMode() VolitionDomain
func (*Transaction_InvokeV3) GetNonce ¶ added in v0.10.0
func (x *Transaction_InvokeV3) GetNonce() *Felt252
func (*Transaction_InvokeV3) GetNonceDataAvailabilityMode ¶ added in v0.12.0
func (x *Transaction_InvokeV3) GetNonceDataAvailabilityMode() VolitionDomain
func (*Transaction_InvokeV3) GetPaymasterData ¶ added in v0.12.0
func (x *Transaction_InvokeV3) GetPaymasterData() []*Felt252
func (*Transaction_InvokeV3) GetResourceBounds ¶ added in v0.12.0
func (x *Transaction_InvokeV3) GetResourceBounds() *ResourceBounds
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() uint64
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_L1HandlerV0 `protobuf:"bytes,11,opt,name=l1_handler,json=l1Handler,proto3,oneof"`
}
type Transaction_L1HandlerV0 ¶ added in v0.12.0
type Transaction_L1HandlerV0 struct { Nonce *Felt252 `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"` Address *Address `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` EntryPointSelector *Felt252 `protobuf:"bytes,3,opt,name=entry_point_selector,json=entryPointSelector,proto3" json:"entry_point_selector,omitempty"` Calldata []*Felt252 `protobuf:"bytes,4,rep,name=calldata,proto3" json:"calldata,omitempty"` // contains filtered or unexported fields }
func (*Transaction_L1HandlerV0) Descriptor
deprecated
added in
v0.12.0
func (*Transaction_L1HandlerV0) Descriptor() ([]byte, []int)
Deprecated: Use Transaction_L1HandlerV0.ProtoReflect.Descriptor instead.
func (*Transaction_L1HandlerV0) GetAddress ¶ added in v0.12.0
func (x *Transaction_L1HandlerV0) GetAddress() *Address
func (*Transaction_L1HandlerV0) GetCalldata ¶ added in v0.12.0
func (x *Transaction_L1HandlerV0) GetCalldata() []*Felt252
func (*Transaction_L1HandlerV0) GetEntryPointSelector ¶ added in v0.12.0
func (x *Transaction_L1HandlerV0) GetEntryPointSelector() *Felt252
func (*Transaction_L1HandlerV0) GetNonce ¶ added in v0.12.0
func (x *Transaction_L1HandlerV0) GetNonce() *Felt252
func (*Transaction_L1HandlerV0) ProtoMessage ¶ added in v0.12.0
func (*Transaction_L1HandlerV0) ProtoMessage()
func (*Transaction_L1HandlerV0) ProtoReflect ¶ added in v0.12.0
func (x *Transaction_L1HandlerV0) ProtoReflect() protoreflect.Message
func (*Transaction_L1HandlerV0) Reset ¶ added in v0.12.0
func (x *Transaction_L1HandlerV0) Reset()
func (*Transaction_L1HandlerV0) String ¶ added in v0.12.0
func (x *Transaction_L1HandlerV0) String() string
type Transactions ¶
type Transactions struct { Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` // contains filtered or unexported fields }
func (*Transactions) Descriptor
deprecated
func (*Transactions) Descriptor() ([]byte, []int)
Deprecated: Use Transactions.ProtoReflect.Descriptor instead.
func (*Transactions) GetTransactions ¶
func (x *Transactions) GetTransactions() []*Transaction
func (*Transactions) ProtoMessage ¶
func (*Transactions) ProtoMessage()
func (*Transactions) ProtoReflect ¶
func (x *Transactions) ProtoReflect() protoreflect.Message
func (*Transactions) Reset ¶
func (x *Transactions) Reset()
func (*Transactions) String ¶
func (x *Transactions) String() string
type TransactionsRequest ¶ 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 { // Types that are assignable to TransactionMessage: // // *TransactionsResponse_TransactionWithReceipt // *TransactionsResponse_Fin TransactionMessage isTransactionsResponse_TransactionMessage `protobuf_oneof:"transaction_message"` // contains filtered or unexported fields }
Responses are sent ordered by the order given in the request. The order inside each block is according to the execution order.
func (*TransactionsResponse) Descriptor
deprecated
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) GetTransactionMessage ¶ added in v0.12.0
func (m *TransactionsResponse) GetTransactionMessage() isTransactionsResponse_TransactionMessage
func (*TransactionsResponse) GetTransactionWithReceipt ¶ added in v0.12.0
func (x *TransactionsResponse) GetTransactionWithReceipt() *TransactionWithReceipt
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,2,opt,name=fin,proto3,oneof"` // Fin is sent after the peer sent all the data or when it encountered a block that it doesn't have its transactions.
}
type TransactionsResponse_TransactionWithReceipt ¶ added in v0.12.0
type TransactionsResponse_TransactionWithReceipt struct {
TransactionWithReceipt *TransactionWithReceipt `protobuf:"bytes,1,opt,name=transaction_with_receipt,json=transactionWithReceipt,proto3,oneof"`
}
type Uint128 ¶ added in v0.12.0
type Uint128 struct { Low uint64 `protobuf:"varint,1,opt,name=low,proto3" json:"low,omitempty"` High uint64 `protobuf:"varint,2,opt,name=high,proto3" json:"high,omitempty"` // contains filtered or unexported fields }
func (*Uint128) Descriptor
deprecated
added in
v0.12.0
func (*Uint128) ProtoMessage ¶ added in v0.12.0
func (*Uint128) ProtoMessage()
func (*Uint128) ProtoReflect ¶ added in v0.12.0
func (x *Uint128) ProtoReflect() protoreflect.Message
type VolitionDomain ¶ added in v0.12.0
type VolitionDomain int32
const ( VolitionDomain_L1 VolitionDomain = 0 VolitionDomain_L2 VolitionDomain = 1 )
func (VolitionDomain) Descriptor ¶ added in v0.12.0
func (VolitionDomain) Descriptor() protoreflect.EnumDescriptor
func (VolitionDomain) Enum ¶ added in v0.12.0
func (x VolitionDomain) Enum() *VolitionDomain
func (VolitionDomain) EnumDescriptor
deprecated
added in
v0.12.0
func (VolitionDomain) EnumDescriptor() ([]byte, []int)
Deprecated: Use VolitionDomain.Descriptor instead.
func (VolitionDomain) Number ¶ added in v0.12.0
func (x VolitionDomain) Number() protoreflect.EnumNumber
func (VolitionDomain) String ¶ added in v0.12.0
func (x VolitionDomain) String() string
func (VolitionDomain) Type ¶ added in v0.12.0
func (VolitionDomain) Type() protoreflect.EnumType