Documentation ¶
Index ¶
- Variables
- type Action
- func (*Action) Descriptor() ([]byte, []int)deprecated
- func (x *Action) GetActionName() string
- func (x *Action) GetContract() string
- func (x *Action) GetData() string
- func (*Action) ProtoMessage()
- func (x *Action) ProtoReflect() protoreflect.Message
- func (x *Action) Reset()
- func (x *Action) String() string
- type Receipt
- type Status
- type Tx
- func (*Tx) Descriptor() ([]byte, []int)deprecated
- func (x *Tx) GetActions() []*Action
- func (x *Tx) GetAmountLimit() []*contract.Amount
- func (x *Tx) GetChainId() uint32
- func (x *Tx) GetDelay() int64
- func (x *Tx) GetExpiration() int64
- func (x *Tx) GetGasLimit() int64
- func (x *Tx) GetGasRatio() int64
- func (x *Tx) GetPublishSigns() []*pb.Signature
- func (x *Tx) GetPublisher() string
- func (x *Tx) GetReferredTx() []byte
- func (x *Tx) GetReserved() []byte
- func (x *Tx) GetSigners() []string
- func (x *Tx) GetSigns() []*pb.Signature
- func (x *Tx) GetTime() int64
- func (*Tx) ProtoMessage()
- func (x *Tx) ProtoReflect() protoreflect.Message
- func (x *Tx) Reset()
- func (x *Tx) String() string
- type TxReceipt
- func (*TxReceipt) Descriptor() ([]byte, []int)deprecated
- func (x *TxReceipt) GetGasUsage() int64
- func (x *TxReceipt) GetRamUsage() map[string]int64
- func (x *TxReceipt) GetReceipts() []*Receipt
- func (x *TxReceipt) GetReturns() []string
- func (x *TxReceipt) GetStatus() *Status
- func (x *TxReceipt) GetTxHash() []byte
- func (*TxReceipt) ProtoMessage()
- func (x *TxReceipt) ProtoReflect() protoreflect.Message
- func (x *TxReceipt) Reset()
- func (x *TxReceipt) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_core_tx_pb_tx_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct { Contract string `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract,omitempty"` ActionName string `protobuf:"bytes,2,opt,name=actionName,proto3" json:"actionName,omitempty"` Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*Action) Descriptor
deprecated
func (*Action) GetActionName ¶
func (*Action) GetContract ¶
func (*Action) ProtoMessage ¶
func (*Action) ProtoMessage()
func (*Action) ProtoReflect ¶
func (x *Action) ProtoReflect() protoreflect.Message
type Receipt ¶
type Receipt struct { FuncName string `protobuf:"bytes,1,opt,name=funcName,proto3" json:"funcName,omitempty"` Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*Receipt) Descriptor
deprecated
func (*Receipt) GetContent ¶
func (*Receipt) GetFuncName ¶
func (*Receipt) ProtoMessage ¶
func (*Receipt) ProtoMessage()
func (*Receipt) ProtoReflect ¶
func (x *Receipt) ProtoReflect() protoreflect.Message
type Status ¶
type Status struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*Status) Descriptor
deprecated
func (*Status) GetMessage ¶
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) ProtoReflect ¶
func (x *Status) ProtoReflect() protoreflect.Message
type Tx ¶
type Tx struct { Time int64 `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"` Expiration int64 `protobuf:"varint,2,opt,name=expiration,proto3" json:"expiration,omitempty"` GasLimit int64 `protobuf:"varint,3,opt,name=gasLimit,proto3" json:"gasLimit,omitempty"` GasRatio int64 `protobuf:"varint,4,opt,name=gasRatio,proto3" json:"gasRatio,omitempty"` Actions []*Action `protobuf:"bytes,5,rep,name=actions,proto3" json:"actions,omitempty"` Signers []string `protobuf:"bytes,6,rep,name=signers,proto3" json:"signers,omitempty"` Signs []*pb.Signature `protobuf:"bytes,7,rep,name=signs,proto3" json:"signs,omitempty"` Publisher string `protobuf:"bytes,8,opt,name=publisher,proto3" json:"publisher,omitempty"` PublishSigns []*pb.Signature `protobuf:"bytes,9,rep,name=publishSigns,proto3" json:"publishSigns,omitempty"` Delay int64 `protobuf:"varint,10,opt,name=delay,proto3" json:"delay,omitempty"` ChainId uint32 `protobuf:"varint,11,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` ReferredTx []byte `protobuf:"bytes,12,opt,name=referredTx,proto3" json:"referredTx,omitempty"` AmountLimit []*contract.Amount `protobuf:"bytes,13,rep,name=amountLimit,proto3" json:"amountLimit,omitempty"` Reserved []byte `protobuf:"bytes,14,opt,name=reserved,proto3" json:"reserved,omitempty"` // contains filtered or unexported fields }
func (*Tx) Descriptor
deprecated
func (*Tx) GetActions ¶
func (*Tx) GetAmountLimit ¶
func (*Tx) GetChainId ¶
func (*Tx) GetExpiration ¶
func (*Tx) GetGasLimit ¶
func (*Tx) GetGasRatio ¶
func (*Tx) GetPublishSigns ¶
func (*Tx) GetPublisher ¶
func (*Tx) GetReferredTx ¶
func (*Tx) GetReserved ¶
func (*Tx) GetSigners ¶
func (*Tx) ProtoMessage ¶
func (*Tx) ProtoMessage()
func (*Tx) ProtoReflect ¶
func (x *Tx) ProtoReflect() protoreflect.Message
type TxReceipt ¶
type TxReceipt struct { TxHash []byte `protobuf:"bytes,1,opt,name=txHash,proto3" json:"txHash,omitempty"` GasUsage int64 `protobuf:"varint,2,opt,name=gasUsage,proto3" json:"gasUsage,omitempty"` RamUsage map[string]int64 `` /* 158-byte string literal not displayed */ Status *Status `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` Returns []string `protobuf:"bytes,5,rep,name=returns,proto3" json:"returns,omitempty"` Receipts []*Receipt `protobuf:"bytes,6,rep,name=receipts,proto3" json:"receipts,omitempty"` // contains filtered or unexported fields }
func (*TxReceipt) Descriptor
deprecated
func (*TxReceipt) GetGasUsage ¶
func (*TxReceipt) GetRamUsage ¶
func (*TxReceipt) GetReceipts ¶
func (*TxReceipt) GetReturns ¶
func (*TxReceipt) ProtoMessage ¶
func (*TxReceipt) ProtoMessage()
func (*TxReceipt) ProtoReflect ¶
func (x *TxReceipt) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.