Documentation ¶
Index ¶
- Variables
- type Block
- func (*Block) Descriptor() ([]byte, []int)deprecated
- func (x *Block) GetHeader() *BlockHeader
- func (x *Block) GetId() []byte
- func (x *Block) GetSignature() []byte
- func (x *Block) GetTransactions() []*Transaction
- func (*Block) ProtoMessage()
- func (x *Block) ProtoReflect() protoreflect.Message
- func (x *Block) Reset()
- func (x *Block) String() string
- type BlockHeader
- func (*BlockHeader) Descriptor() ([]byte, []int)deprecated
- func (x *BlockHeader) GetApprovedProposals() [][]byte
- func (x *BlockHeader) GetHeight() uint64
- func (x *BlockHeader) GetPrevious() []byte
- func (x *BlockHeader) GetPreviousStateMerkleRoot() []byte
- func (x *BlockHeader) GetSigner() []byte
- func (x *BlockHeader) GetTimestamp() uint64
- func (x *BlockHeader) GetTransactionMerkleRoot() []byte
- func (*BlockHeader) ProtoMessage()
- func (x *BlockHeader) ProtoReflect() protoreflect.Message
- func (x *BlockHeader) Reset()
- func (x *BlockHeader) String() string
- type BlockReceipt
- func (*BlockReceipt) Descriptor() ([]byte, []int)deprecated
- func (x *BlockReceipt) GetComputeBandwidthCharged() uint64
- func (x *BlockReceipt) GetComputeBandwidthUsed() uint64
- func (x *BlockReceipt) GetDiskStorageCharged() uint64
- func (x *BlockReceipt) GetDiskStorageUsed() uint64
- func (x *BlockReceipt) GetEvents() []*EventData
- func (x *BlockReceipt) GetHeight() uint64
- func (x *BlockReceipt) GetId() []byte
- func (x *BlockReceipt) GetLogs() []string
- func (x *BlockReceipt) GetNetworkBandwidthCharged() uint64
- func (x *BlockReceipt) GetNetworkBandwidthUsed() uint64
- func (x *BlockReceipt) GetStateDeltaEntries() []*StateDeltaEntry
- func (x *BlockReceipt) GetStateMerkleRoot() []byte
- func (x *BlockReceipt) GetTransactionReceipts() []*TransactionReceipt
- func (*BlockReceipt) ProtoMessage()
- func (x *BlockReceipt) ProtoReflect() protoreflect.Message
- func (x *BlockReceipt) Reset()
- func (x *BlockReceipt) String() string
- type CallContractOperation
- func (*CallContractOperation) Descriptor() ([]byte, []int)deprecated
- func (x *CallContractOperation) GetArgs() []byte
- func (x *CallContractOperation) GetContractId() []byte
- func (x *CallContractOperation) GetEntryPoint() uint32
- func (*CallContractOperation) ProtoMessage()
- func (x *CallContractOperation) ProtoReflect() protoreflect.Message
- func (x *CallContractOperation) Reset()
- func (x *CallContractOperation) String() string
- type ContractCallBundle
- func (*ContractCallBundle) Descriptor() ([]byte, []int)deprecated
- func (x *ContractCallBundle) GetContractId() []byte
- func (x *ContractCallBundle) GetEntryPoint() uint32
- func (*ContractCallBundle) ProtoMessage()
- func (x *ContractCallBundle) ProtoReflect() protoreflect.Message
- func (x *ContractCallBundle) Reset()
- func (x *ContractCallBundle) String() string
- type EventData
- func (*EventData) Descriptor() ([]byte, []int)deprecated
- func (x *EventData) GetData() []byte
- func (x *EventData) GetImpacted() [][]byte
- func (x *EventData) GetName() string
- func (x *EventData) GetSequence() uint32
- func (x *EventData) GetSource() []byte
- func (*EventData) ProtoMessage()
- func (x *EventData) ProtoReflect() protoreflect.Message
- func (x *EventData) Reset()
- func (x *EventData) String() string
- type ObjectSpace
- func (*ObjectSpace) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectSpace) GetId() uint32
- func (x *ObjectSpace) GetSystem() bool
- func (x *ObjectSpace) GetZone() []byte
- func (*ObjectSpace) ProtoMessage()
- func (x *ObjectSpace) ProtoReflect() protoreflect.Message
- func (x *ObjectSpace) Reset()
- func (x *ObjectSpace) String() string
- type Operation
- func (*Operation) Descriptor() ([]byte, []int)deprecated
- func (x *Operation) GetCallContract() *CallContractOperation
- func (m *Operation) GetOp() isOperation_Op
- func (x *Operation) GetSetSystemCall() *SetSystemCallOperation
- func (x *Operation) GetSetSystemContract() *SetSystemContractOperation
- func (x *Operation) GetUploadContract() *UploadContractOperation
- func (*Operation) ProtoMessage()
- func (x *Operation) ProtoReflect() protoreflect.Message
- func (x *Operation) Reset()
- func (x *Operation) String() string
- type Operation_CallContract
- type Operation_SetSystemCall
- type Operation_SetSystemContract
- type Operation_UploadContract
- type SetSystemCallOperation
- func (*SetSystemCallOperation) Descriptor() ([]byte, []int)deprecated
- func (x *SetSystemCallOperation) GetCallId() uint32
- func (x *SetSystemCallOperation) GetTarget() *SystemCallTarget
- func (*SetSystemCallOperation) ProtoMessage()
- func (x *SetSystemCallOperation) ProtoReflect() protoreflect.Message
- func (x *SetSystemCallOperation) Reset()
- func (x *SetSystemCallOperation) String() string
- type SetSystemContractOperation
- func (*SetSystemContractOperation) Descriptor() ([]byte, []int)deprecated
- func (x *SetSystemContractOperation) GetContractId() []byte
- func (x *SetSystemContractOperation) GetSystemContract() bool
- func (*SetSystemContractOperation) ProtoMessage()
- func (x *SetSystemContractOperation) ProtoReflect() protoreflect.Message
- func (x *SetSystemContractOperation) Reset()
- func (x *SetSystemContractOperation) String() string
- type StateDeltaEntry
- func (*StateDeltaEntry) Descriptor() ([]byte, []int)deprecated
- func (x *StateDeltaEntry) GetKey() []byte
- func (x *StateDeltaEntry) GetObjectSpace() *ObjectSpace
- func (x *StateDeltaEntry) GetValue() []byte
- func (*StateDeltaEntry) ProtoMessage()
- func (x *StateDeltaEntry) ProtoReflect() protoreflect.Message
- func (x *StateDeltaEntry) Reset()
- func (x *StateDeltaEntry) String() string
- type SystemCallTarget
- func (*SystemCallTarget) Descriptor() ([]byte, []int)deprecated
- func (x *SystemCallTarget) GetSystemCallBundle() *ContractCallBundle
- func (m *SystemCallTarget) GetTarget() isSystemCallTarget_Target
- func (x *SystemCallTarget) GetThunkId() uint32
- func (*SystemCallTarget) ProtoMessage()
- func (x *SystemCallTarget) ProtoReflect() protoreflect.Message
- func (x *SystemCallTarget) Reset()
- func (x *SystemCallTarget) String() string
- type SystemCallTarget_SystemCallBundle
- type SystemCallTarget_ThunkId
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction) GetHeader() *TransactionHeader
- func (x *Transaction) GetId() []byte
- func (x *Transaction) GetOperations() []*Operation
- func (x *Transaction) GetSignatures() [][]byte
- func (*Transaction) ProtoMessage()
- func (x *Transaction) ProtoReflect() protoreflect.Message
- func (x *Transaction) Reset()
- func (x *Transaction) String() string
- type TransactionHeader
- func (*TransactionHeader) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionHeader) GetChainId() []byte
- func (x *TransactionHeader) GetNonce() []byte
- func (x *TransactionHeader) GetOperationMerkleRoot() []byte
- func (x *TransactionHeader) GetPayee() []byte
- func (x *TransactionHeader) GetPayer() []byte
- func (x *TransactionHeader) GetRcLimit() uint64
- func (*TransactionHeader) ProtoMessage()
- func (x *TransactionHeader) ProtoReflect() protoreflect.Message
- func (x *TransactionHeader) Reset()
- func (x *TransactionHeader) String() string
- type TransactionReceipt
- func (*TransactionReceipt) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionReceipt) GetComputeBandwidthUsed() uint64
- func (x *TransactionReceipt) GetDiskStorageUsed() uint64
- func (x *TransactionReceipt) GetEvents() []*EventData
- func (x *TransactionReceipt) GetId() []byte
- func (x *TransactionReceipt) GetLogs() []string
- func (x *TransactionReceipt) GetMaxPayerRc() uint64
- func (x *TransactionReceipt) GetNetworkBandwidthUsed() uint64
- func (x *TransactionReceipt) GetPayer() []byte
- func (x *TransactionReceipt) GetRcLimit() uint64
- func (x *TransactionReceipt) GetRcUsed() uint64
- func (x *TransactionReceipt) GetReverted() bool
- func (x *TransactionReceipt) GetStateDeltaEntries() []*StateDeltaEntry
- func (*TransactionReceipt) ProtoMessage()
- func (x *TransactionReceipt) ProtoReflect() protoreflect.Message
- func (x *TransactionReceipt) Reset()
- func (x *TransactionReceipt) String() string
- type UploadContractOperation
- func (*UploadContractOperation) Descriptor() ([]byte, []int)deprecated
- func (x *UploadContractOperation) GetAbi() string
- func (x *UploadContractOperation) GetAuthorizesCallContract() bool
- func (x *UploadContractOperation) GetAuthorizesTransactionApplication() bool
- func (x *UploadContractOperation) GetAuthorizesUploadContract() bool
- func (x *UploadContractOperation) GetBytecode() []byte
- func (x *UploadContractOperation) GetContractId() []byte
- func (*UploadContractOperation) ProtoMessage()
- func (x *UploadContractOperation) ProtoReflect() protoreflect.Message
- func (x *UploadContractOperation) Reset()
- func (x *UploadContractOperation) String() string
Constants ¶
This section is empty.
Variables ¶
var File_koinos_protocol_protocol_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Header *BlockHeader `protobuf:"bytes,2,opt,name=header,proto3" json:"header,omitempty"` Transactions []*Transaction `protobuf:"bytes,3,rep,name=transactions,proto3" json:"transactions,omitempty"` Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*Block) Descriptor
deprecated
func (*Block) GetHeader ¶
func (x *Block) GetHeader() *BlockHeader
func (*Block) GetSignature ¶
func (*Block) GetTransactions ¶
func (x *Block) GetTransactions() []*Transaction
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) ProtoReflect ¶
func (x *Block) ProtoReflect() protoreflect.Message
type BlockHeader ¶
type BlockHeader struct { Previous []byte `protobuf:"bytes,1,opt,name=previous,proto3" json:"previous,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` PreviousStateMerkleRoot []byte `` /* 134-byte string literal not displayed */ TransactionMerkleRoot []byte `` /* 126-byte string literal not displayed */ Signer []byte `protobuf:"bytes,6,opt,name=signer,proto3" json:"signer,omitempty"` ApprovedProposals [][]byte `protobuf:"bytes,7,rep,name=approved_proposals,json=approvedProposals,proto3" json:"approved_proposals,omitempty"` // contains filtered or unexported fields }
func (*BlockHeader) Descriptor
deprecated
func (*BlockHeader) Descriptor() ([]byte, []int)
Deprecated: Use BlockHeader.ProtoReflect.Descriptor instead.
func (*BlockHeader) GetApprovedProposals ¶
func (x *BlockHeader) GetApprovedProposals() [][]byte
func (*BlockHeader) GetHeight ¶
func (x *BlockHeader) GetHeight() uint64
func (*BlockHeader) GetPrevious ¶
func (x *BlockHeader) GetPrevious() []byte
func (*BlockHeader) GetPreviousStateMerkleRoot ¶
func (x *BlockHeader) GetPreviousStateMerkleRoot() []byte
func (*BlockHeader) GetSigner ¶
func (x *BlockHeader) GetSigner() []byte
func (*BlockHeader) GetTimestamp ¶
func (x *BlockHeader) GetTimestamp() uint64
func (*BlockHeader) GetTransactionMerkleRoot ¶
func (x *BlockHeader) GetTransactionMerkleRoot() []byte
func (*BlockHeader) ProtoMessage ¶
func (*BlockHeader) ProtoMessage()
func (*BlockHeader) ProtoReflect ¶
func (x *BlockHeader) ProtoReflect() protoreflect.Message
func (*BlockHeader) Reset ¶
func (x *BlockHeader) Reset()
func (*BlockHeader) String ¶
func (x *BlockHeader) String() string
type BlockReceipt ¶
type BlockReceipt struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` DiskStorageUsed uint64 `protobuf:"varint,3,opt,name=disk_storage_used,json=diskStorageUsed,proto3" json:"disk_storage_used,omitempty"` NetworkBandwidthUsed uint64 `protobuf:"varint,4,opt,name=network_bandwidth_used,json=networkBandwidthUsed,proto3" json:"network_bandwidth_used,omitempty"` ComputeBandwidthUsed uint64 `protobuf:"varint,5,opt,name=compute_bandwidth_used,json=computeBandwidthUsed,proto3" json:"compute_bandwidth_used,omitempty"` StateMerkleRoot []byte `protobuf:"bytes,6,opt,name=state_merkle_root,json=stateMerkleRoot,proto3" json:"state_merkle_root,omitempty"` Events []*EventData `protobuf:"bytes,7,rep,name=events,proto3" json:"events,omitempty"` TransactionReceipts []*TransactionReceipt `protobuf:"bytes,8,rep,name=transaction_receipts,json=transactionReceipts,proto3" json:"transaction_receipts,omitempty"` Logs []string `protobuf:"bytes,9,rep,name=logs,proto3" json:"logs,omitempty"` DiskStorageCharged uint64 `protobuf:"varint,10,opt,name=disk_storage_charged,json=diskStorageCharged,proto3" json:"disk_storage_charged,omitempty"` NetworkBandwidthCharged uint64 `` /* 134-byte string literal not displayed */ ComputeBandwidthCharged uint64 `` /* 134-byte string literal not displayed */ StateDeltaEntries []*StateDeltaEntry `protobuf:"bytes,13,rep,name=state_delta_entries,json=stateDeltaEntries,proto3" json:"state_delta_entries,omitempty"` // contains filtered or unexported fields }
func (*BlockReceipt) Descriptor
deprecated
func (*BlockReceipt) Descriptor() ([]byte, []int)
Deprecated: Use BlockReceipt.ProtoReflect.Descriptor instead.
func (*BlockReceipt) GetComputeBandwidthCharged ¶
func (x *BlockReceipt) GetComputeBandwidthCharged() uint64
func (*BlockReceipt) GetComputeBandwidthUsed ¶
func (x *BlockReceipt) GetComputeBandwidthUsed() uint64
func (*BlockReceipt) GetDiskStorageCharged ¶
func (x *BlockReceipt) GetDiskStorageCharged() uint64
func (*BlockReceipt) GetDiskStorageUsed ¶
func (x *BlockReceipt) GetDiskStorageUsed() uint64
func (*BlockReceipt) GetEvents ¶
func (x *BlockReceipt) GetEvents() []*EventData
func (*BlockReceipt) GetHeight ¶
func (x *BlockReceipt) GetHeight() uint64
func (*BlockReceipt) GetId ¶
func (x *BlockReceipt) GetId() []byte
func (*BlockReceipt) GetLogs ¶
func (x *BlockReceipt) GetLogs() []string
func (*BlockReceipt) GetNetworkBandwidthCharged ¶
func (x *BlockReceipt) GetNetworkBandwidthCharged() uint64
func (*BlockReceipt) GetNetworkBandwidthUsed ¶
func (x *BlockReceipt) GetNetworkBandwidthUsed() uint64
func (*BlockReceipt) GetStateDeltaEntries ¶
func (x *BlockReceipt) GetStateDeltaEntries() []*StateDeltaEntry
func (*BlockReceipt) GetStateMerkleRoot ¶
func (x *BlockReceipt) GetStateMerkleRoot() []byte
func (*BlockReceipt) GetTransactionReceipts ¶
func (x *BlockReceipt) GetTransactionReceipts() []*TransactionReceipt
func (*BlockReceipt) ProtoMessage ¶
func (*BlockReceipt) ProtoMessage()
func (*BlockReceipt) ProtoReflect ¶
func (x *BlockReceipt) ProtoReflect() protoreflect.Message
func (*BlockReceipt) Reset ¶
func (x *BlockReceipt) Reset()
func (*BlockReceipt) String ¶
func (x *BlockReceipt) String() string
type CallContractOperation ¶
type CallContractOperation struct { ContractId []byte `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` EntryPoint uint32 `protobuf:"varint,2,opt,name=entry_point,json=entryPoint,proto3" json:"entry_point,omitempty"` Args []byte `protobuf:"bytes,3,opt,name=args,proto3" json:"args,omitempty"` // contains filtered or unexported fields }
func (*CallContractOperation) Descriptor
deprecated
func (*CallContractOperation) Descriptor() ([]byte, []int)
Deprecated: Use CallContractOperation.ProtoReflect.Descriptor instead.
func (*CallContractOperation) GetArgs ¶
func (x *CallContractOperation) GetArgs() []byte
func (*CallContractOperation) GetContractId ¶
func (x *CallContractOperation) GetContractId() []byte
func (*CallContractOperation) GetEntryPoint ¶
func (x *CallContractOperation) GetEntryPoint() uint32
func (*CallContractOperation) ProtoMessage ¶
func (*CallContractOperation) ProtoMessage()
func (*CallContractOperation) ProtoReflect ¶
func (x *CallContractOperation) ProtoReflect() protoreflect.Message
func (*CallContractOperation) Reset ¶
func (x *CallContractOperation) Reset()
func (*CallContractOperation) String ¶
func (x *CallContractOperation) String() string
type ContractCallBundle ¶
type ContractCallBundle struct { ContractId []byte `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` EntryPoint uint32 `protobuf:"varint,2,opt,name=entry_point,json=entryPoint,proto3" json:"entry_point,omitempty"` // contains filtered or unexported fields }
func (*ContractCallBundle) Descriptor
deprecated
func (*ContractCallBundle) Descriptor() ([]byte, []int)
Deprecated: Use ContractCallBundle.ProtoReflect.Descriptor instead.
func (*ContractCallBundle) GetContractId ¶
func (x *ContractCallBundle) GetContractId() []byte
func (*ContractCallBundle) GetEntryPoint ¶
func (x *ContractCallBundle) GetEntryPoint() uint32
func (*ContractCallBundle) ProtoMessage ¶
func (*ContractCallBundle) ProtoMessage()
func (*ContractCallBundle) ProtoReflect ¶
func (x *ContractCallBundle) ProtoReflect() protoreflect.Message
func (*ContractCallBundle) Reset ¶
func (x *ContractCallBundle) Reset()
func (*ContractCallBundle) String ¶
func (x *ContractCallBundle) String() string
type EventData ¶
type EventData struct { Sequence uint32 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"` Source []byte `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` Impacted [][]byte `protobuf:"bytes,5,rep,name=impacted,proto3" json:"impacted,omitempty"` // contains filtered or unexported fields }
func (*EventData) Descriptor
deprecated
func (*EventData) GetImpacted ¶
func (*EventData) GetSequence ¶
func (*EventData) ProtoMessage ¶
func (*EventData) ProtoMessage()
func (*EventData) ProtoReflect ¶
func (x *EventData) ProtoReflect() protoreflect.Message
type ObjectSpace ¶
type ObjectSpace struct { System bool `protobuf:"varint,1,opt,name=system,proto3" json:"system,omitempty"` Zone []byte `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` Id uint32 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ObjectSpace) Descriptor
deprecated
func (*ObjectSpace) Descriptor() ([]byte, []int)
Deprecated: Use ObjectSpace.ProtoReflect.Descriptor instead.
func (*ObjectSpace) GetId ¶
func (x *ObjectSpace) GetId() uint32
func (*ObjectSpace) GetSystem ¶
func (x *ObjectSpace) GetSystem() bool
func (*ObjectSpace) GetZone ¶
func (x *ObjectSpace) GetZone() []byte
func (*ObjectSpace) ProtoMessage ¶
func (*ObjectSpace) ProtoMessage()
func (*ObjectSpace) ProtoReflect ¶
func (x *ObjectSpace) ProtoReflect() protoreflect.Message
func (*ObjectSpace) Reset ¶
func (x *ObjectSpace) Reset()
func (*ObjectSpace) String ¶
func (x *ObjectSpace) String() string
type Operation ¶
type Operation struct { // Types that are assignable to Op: // *Operation_UploadContract // *Operation_CallContract // *Operation_SetSystemCall // *Operation_SetSystemContract Op isOperation_Op `protobuf_oneof:"op"` // contains filtered or unexported fields }
func (*Operation) Descriptor
deprecated
func (*Operation) GetCallContract ¶
func (x *Operation) GetCallContract() *CallContractOperation
func (*Operation) GetSetSystemCall ¶
func (x *Operation) GetSetSystemCall() *SetSystemCallOperation
func (*Operation) GetSetSystemContract ¶
func (x *Operation) GetSetSystemContract() *SetSystemContractOperation
func (*Operation) GetUploadContract ¶
func (x *Operation) GetUploadContract() *UploadContractOperation
func (*Operation) ProtoMessage ¶
func (*Operation) ProtoMessage()
func (*Operation) ProtoReflect ¶
func (x *Operation) ProtoReflect() protoreflect.Message
type Operation_CallContract ¶
type Operation_CallContract struct {
CallContract *CallContractOperation `protobuf:"bytes,2,opt,name=call_contract,json=callContract,proto3,oneof"`
}
type Operation_SetSystemCall ¶
type Operation_SetSystemCall struct {
SetSystemCall *SetSystemCallOperation `protobuf:"bytes,3,opt,name=set_system_call,json=setSystemCall,proto3,oneof"`
}
type Operation_SetSystemContract ¶
type Operation_SetSystemContract struct {
SetSystemContract *SetSystemContractOperation `protobuf:"bytes,4,opt,name=set_system_contract,json=setSystemContract,proto3,oneof"`
}
type Operation_UploadContract ¶
type Operation_UploadContract struct {
UploadContract *UploadContractOperation `protobuf:"bytes,1,opt,name=upload_contract,json=uploadContract,proto3,oneof"`
}
type SetSystemCallOperation ¶
type SetSystemCallOperation struct { CallId uint32 `protobuf:"varint,1,opt,name=call_id,json=callId,proto3" json:"call_id,omitempty"` Target *SystemCallTarget `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` // contains filtered or unexported fields }
func (*SetSystemCallOperation) Descriptor
deprecated
func (*SetSystemCallOperation) Descriptor() ([]byte, []int)
Deprecated: Use SetSystemCallOperation.ProtoReflect.Descriptor instead.
func (*SetSystemCallOperation) GetCallId ¶
func (x *SetSystemCallOperation) GetCallId() uint32
func (*SetSystemCallOperation) GetTarget ¶
func (x *SetSystemCallOperation) GetTarget() *SystemCallTarget
func (*SetSystemCallOperation) ProtoMessage ¶
func (*SetSystemCallOperation) ProtoMessage()
func (*SetSystemCallOperation) ProtoReflect ¶
func (x *SetSystemCallOperation) ProtoReflect() protoreflect.Message
func (*SetSystemCallOperation) Reset ¶
func (x *SetSystemCallOperation) Reset()
func (*SetSystemCallOperation) String ¶
func (x *SetSystemCallOperation) String() string
type SetSystemContractOperation ¶
type SetSystemContractOperation struct { ContractId []byte `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` SystemContract bool `protobuf:"varint,2,opt,name=system_contract,json=systemContract,proto3" json:"system_contract,omitempty"` // contains filtered or unexported fields }
func (*SetSystemContractOperation) Descriptor
deprecated
func (*SetSystemContractOperation) Descriptor() ([]byte, []int)
Deprecated: Use SetSystemContractOperation.ProtoReflect.Descriptor instead.
func (*SetSystemContractOperation) GetContractId ¶
func (x *SetSystemContractOperation) GetContractId() []byte
func (*SetSystemContractOperation) GetSystemContract ¶
func (x *SetSystemContractOperation) GetSystemContract() bool
func (*SetSystemContractOperation) ProtoMessage ¶
func (*SetSystemContractOperation) ProtoMessage()
func (*SetSystemContractOperation) ProtoReflect ¶
func (x *SetSystemContractOperation) ProtoReflect() protoreflect.Message
func (*SetSystemContractOperation) Reset ¶
func (x *SetSystemContractOperation) Reset()
func (*SetSystemContractOperation) String ¶
func (x *SetSystemContractOperation) String() string
type StateDeltaEntry ¶
type StateDeltaEntry struct { ObjectSpace *ObjectSpace `protobuf:"bytes,1,opt,name=object_space,json=objectSpace,proto3" json:"object_space,omitempty"` Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,3,opt,name=value,proto3,oneof" json:"value,omitempty"` // contains filtered or unexported fields }
func (*StateDeltaEntry) Descriptor
deprecated
func (*StateDeltaEntry) Descriptor() ([]byte, []int)
Deprecated: Use StateDeltaEntry.ProtoReflect.Descriptor instead.
func (*StateDeltaEntry) GetKey ¶
func (x *StateDeltaEntry) GetKey() []byte
func (*StateDeltaEntry) GetObjectSpace ¶
func (x *StateDeltaEntry) GetObjectSpace() *ObjectSpace
func (*StateDeltaEntry) GetValue ¶
func (x *StateDeltaEntry) GetValue() []byte
func (*StateDeltaEntry) ProtoMessage ¶
func (*StateDeltaEntry) ProtoMessage()
func (*StateDeltaEntry) ProtoReflect ¶
func (x *StateDeltaEntry) ProtoReflect() protoreflect.Message
func (*StateDeltaEntry) Reset ¶
func (x *StateDeltaEntry) Reset()
func (*StateDeltaEntry) String ¶
func (x *StateDeltaEntry) String() string
type SystemCallTarget ¶
type SystemCallTarget struct { // Types that are assignable to Target: // *SystemCallTarget_ThunkId // *SystemCallTarget_SystemCallBundle Target isSystemCallTarget_Target `protobuf_oneof:"target"` // contains filtered or unexported fields }
func (*SystemCallTarget) Descriptor
deprecated
func (*SystemCallTarget) Descriptor() ([]byte, []int)
Deprecated: Use SystemCallTarget.ProtoReflect.Descriptor instead.
func (*SystemCallTarget) GetSystemCallBundle ¶
func (x *SystemCallTarget) GetSystemCallBundle() *ContractCallBundle
func (*SystemCallTarget) GetTarget ¶
func (m *SystemCallTarget) GetTarget() isSystemCallTarget_Target
func (*SystemCallTarget) GetThunkId ¶
func (x *SystemCallTarget) GetThunkId() uint32
func (*SystemCallTarget) ProtoMessage ¶
func (*SystemCallTarget) ProtoMessage()
func (*SystemCallTarget) ProtoReflect ¶
func (x *SystemCallTarget) ProtoReflect() protoreflect.Message
func (*SystemCallTarget) Reset ¶
func (x *SystemCallTarget) Reset()
func (*SystemCallTarget) String ¶
func (x *SystemCallTarget) String() string
type SystemCallTarget_SystemCallBundle ¶
type SystemCallTarget_SystemCallBundle struct {
SystemCallBundle *ContractCallBundle `protobuf:"bytes,2,opt,name=system_call_bundle,json=systemCallBundle,proto3,oneof"`
}
type SystemCallTarget_ThunkId ¶
type SystemCallTarget_ThunkId struct {
ThunkId uint32 `protobuf:"varint,1,opt,name=thunk_id,json=thunkId,proto3,oneof"`
}
type Transaction ¶
type Transaction struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Header *TransactionHeader `protobuf:"bytes,2,opt,name=header,proto3" json:"header,omitempty"` Operations []*Operation `protobuf:"bytes,3,rep,name=operations,proto3" json:"operations,omitempty"` Signatures [][]byte `protobuf:"bytes,4,rep,name=signatures,proto3" json:"signatures,omitempty"` // contains filtered or unexported fields }
func (*Transaction) Descriptor
deprecated
func (*Transaction) Descriptor() ([]byte, []int)
Deprecated: Use Transaction.ProtoReflect.Descriptor instead.
func (*Transaction) GetHeader ¶
func (x *Transaction) GetHeader() *TransactionHeader
func (*Transaction) GetId ¶
func (x *Transaction) GetId() []byte
func (*Transaction) GetOperations ¶
func (x *Transaction) GetOperations() []*Operation
func (*Transaction) GetSignatures ¶
func (x *Transaction) GetSignatures() [][]byte
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 TransactionHeader ¶
type TransactionHeader struct { ChainId []byte `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` RcLimit uint64 `protobuf:"varint,2,opt,name=rc_limit,json=rcLimit,proto3" json:"rc_limit,omitempty"` Nonce []byte `protobuf:"bytes,3,opt,name=nonce,proto3" json:"nonce,omitempty"` OperationMerkleRoot []byte `protobuf:"bytes,4,opt,name=operation_merkle_root,json=operationMerkleRoot,proto3" json:"operation_merkle_root,omitempty"` Payer []byte `protobuf:"bytes,5,opt,name=payer,proto3" json:"payer,omitempty"` Payee []byte `protobuf:"bytes,6,opt,name=payee,proto3" json:"payee,omitempty"` // contains filtered or unexported fields }
func (*TransactionHeader) Descriptor
deprecated
func (*TransactionHeader) Descriptor() ([]byte, []int)
Deprecated: Use TransactionHeader.ProtoReflect.Descriptor instead.
func (*TransactionHeader) GetChainId ¶
func (x *TransactionHeader) GetChainId() []byte
func (*TransactionHeader) GetNonce ¶
func (x *TransactionHeader) GetNonce() []byte
func (*TransactionHeader) GetOperationMerkleRoot ¶
func (x *TransactionHeader) GetOperationMerkleRoot() []byte
func (*TransactionHeader) GetPayee ¶
func (x *TransactionHeader) GetPayee() []byte
func (*TransactionHeader) GetPayer ¶
func (x *TransactionHeader) GetPayer() []byte
func (*TransactionHeader) GetRcLimit ¶
func (x *TransactionHeader) GetRcLimit() uint64
func (*TransactionHeader) ProtoMessage ¶
func (*TransactionHeader) ProtoMessage()
func (*TransactionHeader) ProtoReflect ¶
func (x *TransactionHeader) ProtoReflect() protoreflect.Message
func (*TransactionHeader) Reset ¶
func (x *TransactionHeader) Reset()
func (*TransactionHeader) String ¶
func (x *TransactionHeader) String() string
type TransactionReceipt ¶
type TransactionReceipt struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Payer []byte `protobuf:"bytes,2,opt,name=payer,proto3" json:"payer,omitempty"` MaxPayerRc uint64 `protobuf:"varint,3,opt,name=max_payer_rc,json=maxPayerRc,proto3" json:"max_payer_rc,omitempty"` RcLimit uint64 `protobuf:"varint,4,opt,name=rc_limit,json=rcLimit,proto3" json:"rc_limit,omitempty"` RcUsed uint64 `protobuf:"varint,5,opt,name=rc_used,json=rcUsed,proto3" json:"rc_used,omitempty"` DiskStorageUsed uint64 `protobuf:"varint,6,opt,name=disk_storage_used,json=diskStorageUsed,proto3" json:"disk_storage_used,omitempty"` NetworkBandwidthUsed uint64 `protobuf:"varint,7,opt,name=network_bandwidth_used,json=networkBandwidthUsed,proto3" json:"network_bandwidth_used,omitempty"` ComputeBandwidthUsed uint64 `protobuf:"varint,8,opt,name=compute_bandwidth_used,json=computeBandwidthUsed,proto3" json:"compute_bandwidth_used,omitempty"` Reverted bool `protobuf:"varint,9,opt,name=reverted,proto3" json:"reverted,omitempty"` Events []*EventData `protobuf:"bytes,10,rep,name=events,proto3" json:"events,omitempty"` Logs []string `protobuf:"bytes,11,rep,name=logs,proto3" json:"logs,omitempty"` StateDeltaEntries []*StateDeltaEntry `protobuf:"bytes,12,rep,name=state_delta_entries,json=stateDeltaEntries,proto3" json:"state_delta_entries,omitempty"` // contains filtered or unexported fields }
func (*TransactionReceipt) Descriptor
deprecated
func (*TransactionReceipt) Descriptor() ([]byte, []int)
Deprecated: Use TransactionReceipt.ProtoReflect.Descriptor instead.
func (*TransactionReceipt) GetComputeBandwidthUsed ¶
func (x *TransactionReceipt) GetComputeBandwidthUsed() uint64
func (*TransactionReceipt) GetDiskStorageUsed ¶
func (x *TransactionReceipt) GetDiskStorageUsed() uint64
func (*TransactionReceipt) GetEvents ¶
func (x *TransactionReceipt) GetEvents() []*EventData
func (*TransactionReceipt) GetId ¶
func (x *TransactionReceipt) GetId() []byte
func (*TransactionReceipt) GetLogs ¶
func (x *TransactionReceipt) GetLogs() []string
func (*TransactionReceipt) GetMaxPayerRc ¶
func (x *TransactionReceipt) GetMaxPayerRc() uint64
func (*TransactionReceipt) GetNetworkBandwidthUsed ¶
func (x *TransactionReceipt) GetNetworkBandwidthUsed() uint64
func (*TransactionReceipt) GetPayer ¶
func (x *TransactionReceipt) GetPayer() []byte
func (*TransactionReceipt) GetRcLimit ¶
func (x *TransactionReceipt) GetRcLimit() uint64
func (*TransactionReceipt) GetRcUsed ¶
func (x *TransactionReceipt) GetRcUsed() uint64
func (*TransactionReceipt) GetReverted ¶
func (x *TransactionReceipt) GetReverted() bool
func (*TransactionReceipt) GetStateDeltaEntries ¶
func (x *TransactionReceipt) GetStateDeltaEntries() []*StateDeltaEntry
func (*TransactionReceipt) ProtoMessage ¶
func (*TransactionReceipt) ProtoMessage()
func (*TransactionReceipt) ProtoReflect ¶
func (x *TransactionReceipt) ProtoReflect() protoreflect.Message
func (*TransactionReceipt) Reset ¶
func (x *TransactionReceipt) Reset()
func (*TransactionReceipt) String ¶
func (x *TransactionReceipt) String() string
type UploadContractOperation ¶
type UploadContractOperation struct { ContractId []byte `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` Bytecode []byte `protobuf:"bytes,2,opt,name=bytecode,proto3" json:"bytecode,omitempty"` Abi string `protobuf:"bytes,3,opt,name=abi,proto3" json:"abi,omitempty"` AuthorizesCallContract bool `` /* 130-byte string literal not displayed */ AuthorizesTransactionApplication bool `` /* 160-byte string literal not displayed */ AuthorizesUploadContract bool `` /* 136-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UploadContractOperation) Descriptor
deprecated
func (*UploadContractOperation) Descriptor() ([]byte, []int)
Deprecated: Use UploadContractOperation.ProtoReflect.Descriptor instead.
func (*UploadContractOperation) GetAbi ¶
func (x *UploadContractOperation) GetAbi() string
func (*UploadContractOperation) GetAuthorizesCallContract ¶
func (x *UploadContractOperation) GetAuthorizesCallContract() bool
func (*UploadContractOperation) GetAuthorizesTransactionApplication ¶
func (x *UploadContractOperation) GetAuthorizesTransactionApplication() bool
func (*UploadContractOperation) GetAuthorizesUploadContract ¶
func (x *UploadContractOperation) GetAuthorizesUploadContract() bool
func (*UploadContractOperation) GetBytecode ¶
func (x *UploadContractOperation) GetBytecode() []byte
func (*UploadContractOperation) GetContractId ¶
func (x *UploadContractOperation) GetContractId() []byte
func (*UploadContractOperation) ProtoMessage ¶
func (*UploadContractOperation) ProtoMessage()
func (*UploadContractOperation) ProtoReflect ¶
func (x *UploadContractOperation) ProtoReflect() protoreflect.Message
func (*UploadContractOperation) Reset ¶
func (x *UploadContractOperation) Reset()
func (*UploadContractOperation) String ¶
func (x *UploadContractOperation) String() string