txpb

package
v0.0.0-...-376a440 Latest Latest
Warning

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

Go to latest
Published: May 10, 2020 License: LGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Action) Descriptor

func (*Action) Descriptor() ([]byte, []int)

func (*Action) GetActionName

func (m *Action) GetActionName() string

func (*Action) GetContract

func (m *Action) GetContract() string

func (*Action) GetData

func (m *Action) GetData() string

func (*Action) ProtoMessage

func (*Action) ProtoMessage()

func (*Action) Reset

func (m *Action) Reset()

func (*Action) String

func (m *Action) String() string

func (*Action) XXX_DiscardUnknown

func (m *Action) XXX_DiscardUnknown()

func (*Action) XXX_Marshal

func (m *Action) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Action) XXX_Merge

func (m *Action) XXX_Merge(src proto.Message)

func (*Action) XXX_Size

func (m *Action) XXX_Size() int

func (*Action) XXX_Unmarshal

func (m *Action) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Receipt) Descriptor

func (*Receipt) Descriptor() ([]byte, []int)

func (*Receipt) GetContent

func (m *Receipt) GetContent() string

func (*Receipt) GetFuncName

func (m *Receipt) GetFuncName() string

func (*Receipt) ProtoMessage

func (*Receipt) ProtoMessage()

func (*Receipt) Reset

func (m *Receipt) Reset()

func (*Receipt) String

func (m *Receipt) String() string

func (*Receipt) XXX_DiscardUnknown

func (m *Receipt) XXX_DiscardUnknown()

func (*Receipt) XXX_Marshal

func (m *Receipt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Receipt) XXX_Merge

func (m *Receipt) XXX_Merge(src proto.Message)

func (*Receipt) XXX_Size

func (m *Receipt) XXX_Size() int

func (*Receipt) XXX_Unmarshal

func (m *Receipt) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Status) Descriptor

func (*Status) Descriptor() ([]byte, []int)

func (*Status) GetCode

func (m *Status) GetCode() int32

func (*Status) GetMessage

func (m *Status) GetMessage() string

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) Reset

func (m *Status) Reset()

func (*Status) String

func (m *Status) String() string

func (*Status) XXX_DiscardUnknown

func (m *Status) XXX_DiscardUnknown()

func (*Status) XXX_Marshal

func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Status) XXX_Merge

func (m *Status) XXX_Merge(src proto.Message)

func (*Status) XXX_Size

func (m *Status) XXX_Size() int

func (*Status) XXX_Unmarshal

func (m *Status) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*Tx) Descriptor

func (*Tx) Descriptor() ([]byte, []int)

func (*Tx) GetActions

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

func (*Tx) GetAmountLimit

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

func (*Tx) GetChainId

func (m *Tx) GetChainId() uint32

func (*Tx) GetDelay

func (m *Tx) GetDelay() int64

func (*Tx) GetExpiration

func (m *Tx) GetExpiration() int64

func (*Tx) GetGasLimit

func (m *Tx) GetGasLimit() int64

func (*Tx) GetGasRatio

func (m *Tx) GetGasRatio() int64

func (*Tx) GetPublishSigns

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

func (*Tx) GetPublisher

func (m *Tx) GetPublisher() string

func (*Tx) GetReferredTx

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

func (*Tx) GetReserved

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

func (*Tx) GetSigners

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

func (*Tx) GetSigns

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

func (*Tx) GetTime

func (m *Tx) GetTime() int64

func (*Tx) ProtoMessage

func (*Tx) ProtoMessage()

func (*Tx) Reset

func (m *Tx) Reset()

func (*Tx) String

func (m *Tx) String() string

func (*Tx) XXX_DiscardUnknown

func (m *Tx) XXX_DiscardUnknown()

func (*Tx) XXX_Marshal

func (m *Tx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Tx) XXX_Merge

func (m *Tx) XXX_Merge(src proto.Message)

func (*Tx) XXX_Size

func (m *Tx) XXX_Size() int

func (*Tx) XXX_Unmarshal

func (m *Tx) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*TxReceipt) Descriptor

func (*TxReceipt) Descriptor() ([]byte, []int)

func (*TxReceipt) GetGasUsage

func (m *TxReceipt) GetGasUsage() int64

func (*TxReceipt) GetRamUsage

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

func (*TxReceipt) GetReceipts

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

func (*TxReceipt) GetReturns

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

func (*TxReceipt) GetStatus

func (m *TxReceipt) GetStatus() *Status

func (*TxReceipt) GetTxHash

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

func (*TxReceipt) ProtoMessage

func (*TxReceipt) ProtoMessage()

func (*TxReceipt) Reset

func (m *TxReceipt) Reset()

func (*TxReceipt) String

func (m *TxReceipt) String() string

func (*TxReceipt) XXX_DiscardUnknown

func (m *TxReceipt) XXX_DiscardUnknown()

func (*TxReceipt) XXX_Marshal

func (m *TxReceipt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxReceipt) XXX_Merge

func (m *TxReceipt) XXX_Merge(src proto.Message)

func (*TxReceipt) XXX_Size

func (m *TxReceipt) XXX_Size() int

func (*TxReceipt) XXX_Unmarshal

func (m *TxReceipt) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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