txpb

package
v3.11.5 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: LGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Action.ProtoReflect.Descriptor instead.

func (*Action) GetActionName

func (x *Action) GetActionName() string

func (*Action) GetContract

func (x *Action) GetContract() string

func (*Action) GetData

func (x *Action) GetData() string

func (*Action) ProtoMessage

func (*Action) ProtoMessage()

func (*Action) ProtoReflect

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

func (*Action) Reset

func (x *Action) Reset()

func (*Action) String

func (x *Action) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Receipt.ProtoReflect.Descriptor instead.

func (*Receipt) GetContent

func (x *Receipt) GetContent() string

func (*Receipt) GetFuncName

func (x *Receipt) GetFuncName() string

func (*Receipt) ProtoMessage

func (*Receipt) ProtoMessage()

func (*Receipt) ProtoReflect

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

func (*Receipt) Reset

func (x *Receipt) Reset()

func (*Receipt) String

func (x *Receipt) String() string

type 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) Descriptor() ([]byte, []int)

Deprecated: Use Status.ProtoReflect.Descriptor instead.

func (*Status) GetCode

func (x *Status) GetCode() int32

func (*Status) GetMessage

func (x *Status) GetMessage() string

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) ProtoReflect

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

func (*Status) Reset

func (x *Status) Reset()

func (*Status) String

func (x *Status) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Tx.ProtoReflect.Descriptor instead.

func (*Tx) GetActions

func (x *Tx) GetActions() []*Action

func (*Tx) GetAmountLimit

func (x *Tx) GetAmountLimit() []*contract.Amount

func (*Tx) GetChainId

func (x *Tx) GetChainId() uint32

func (*Tx) GetDelay

func (x *Tx) GetDelay() int64

func (*Tx) GetExpiration

func (x *Tx) GetExpiration() int64

func (*Tx) GetGasLimit

func (x *Tx) GetGasLimit() int64

func (*Tx) GetGasRatio

func (x *Tx) GetGasRatio() int64

func (*Tx) GetPublishSigns

func (x *Tx) GetPublishSigns() []*pb.Signature

func (*Tx) GetPublisher

func (x *Tx) GetPublisher() string

func (*Tx) GetReferredTx

func (x *Tx) GetReferredTx() []byte

func (*Tx) GetReserved

func (x *Tx) GetReserved() []byte

func (*Tx) GetSigners

func (x *Tx) GetSigners() []string

func (*Tx) GetSigns

func (x *Tx) GetSigns() []*pb.Signature

func (*Tx) GetTime

func (x *Tx) GetTime() int64

func (*Tx) ProtoMessage

func (*Tx) ProtoMessage()

func (*Tx) ProtoReflect

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

func (*Tx) Reset

func (x *Tx) Reset()

func (*Tx) String

func (x *Tx) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use TxReceipt.ProtoReflect.Descriptor instead.

func (*TxReceipt) GetGasUsage

func (x *TxReceipt) GetGasUsage() int64

func (*TxReceipt) GetRamUsage

func (x *TxReceipt) GetRamUsage() map[string]int64

func (*TxReceipt) GetReceipts

func (x *TxReceipt) GetReceipts() []*Receipt

func (*TxReceipt) GetReturns

func (x *TxReceipt) GetReturns() []string

func (*TxReceipt) GetStatus

func (x *TxReceipt) GetStatus() *Status

func (*TxReceipt) GetTxHash

func (x *TxReceipt) GetTxHash() []byte

func (*TxReceipt) ProtoMessage

func (*TxReceipt) ProtoMessage()

func (*TxReceipt) ProtoReflect

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

func (*TxReceipt) Reset

func (x *TxReceipt) Reset()

func (*TxReceipt) String

func (x *TxReceipt) String() string

Jump to

Keyboard shortcuts

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