models

package
v0.0.0-...-4227b97 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: LGPL-3.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_protobuf_wasmmodels_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Action

type Action struct {
	ActionType uint32 `protobuf:"varint,1,opt,name=action_type,json=actionType,proto3" json:"action_type,omitempty"`
	Amount     []byte `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Method     string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"`
	Args       []byte `protobuf:"bytes,4,opt,name=args,proto3" json:"args,omitempty"`
	GasLimit   uint64 `protobuf:"varint,5,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
	Code       []byte `protobuf:"bytes,6,opt,name=code,proto3" json:"code,omitempty"`
	Nonce      []byte `protobuf:"bytes,7,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Key        []byte `protobuf:"bytes,8,opt,name=key,proto3" json:"key,omitempty"` // addr or key for reading sharded data
	// contains filtered or unexported fields
}

func (*Action) Descriptor deprecated

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

Deprecated: Use Action.ProtoReflect.Descriptor instead.

func (*Action) GetActionType

func (x *Action) GetActionType() uint32

func (*Action) GetAmount

func (x *Action) GetAmount() []byte

func (*Action) GetArgs

func (x *Action) GetArgs() []byte

func (*Action) GetCode

func (x *Action) GetCode() []byte

func (*Action) GetGasLimit

func (x *Action) GetGasLimit() uint64

func (*Action) GetKey

func (x *Action) GetKey() []byte

func (*Action) GetMethod

func (x *Action) GetMethod() string

func (*Action) GetNonce

func (x *Action) GetNonce() []byte

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 ActionResult

type ActionResult struct {
	InputAction      *Action         `protobuf:"bytes,1,opt,name=input_action,json=inputAction,proto3" json:"input_action,omitempty"`
	Success          bool            `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
	Error            string          `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	GasUsed          uint64          `protobuf:"varint,4,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"`
	RemainingGas     uint64          `protobuf:"varint,5,opt,name=remaining_gas,json=remainingGas,proto3" json:"remaining_gas,omitempty"`
	OutputData       []byte          `protobuf:"bytes,6,opt,name=output_data,json=outputData,proto3" json:"output_data,omitempty"`
	SubActionResults []*ActionResult `protobuf:"bytes,7,rep,name=sub_action_results,json=subActionResults,proto3" json:"sub_action_results,omitempty"`
	Contract         []byte          `protobuf:"bytes,8,opt,name=contract,proto3" json:"contract,omitempty"`
	// contains filtered or unexported fields
}

func (*ActionResult) Descriptor deprecated

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

Deprecated: Use ActionResult.ProtoReflect.Descriptor instead.

func (*ActionResult) GetContract

func (x *ActionResult) GetContract() []byte

func (*ActionResult) GetError

func (x *ActionResult) GetError() string

func (*ActionResult) GetGasUsed

func (x *ActionResult) GetGasUsed() uint64

func (*ActionResult) GetInputAction

func (x *ActionResult) GetInputAction() *Action

func (*ActionResult) GetOutputData

func (x *ActionResult) GetOutputData() []byte

func (*ActionResult) GetRemainingGas

func (x *ActionResult) GetRemainingGas() uint64

func (*ActionResult) GetSubActionResults

func (x *ActionResult) GetSubActionResults() []*ActionResult

func (*ActionResult) GetSuccess

func (x *ActionResult) GetSuccess() bool

func (*ActionResult) ProtoMessage

func (*ActionResult) ProtoMessage()

func (*ActionResult) ProtoReflect

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

func (*ActionResult) Reset

func (x *ActionResult) Reset()

func (*ActionResult) String

func (x *ActionResult) String() string

type ProtoArgs

type ProtoArgs struct {
	Args []*ProtoArgs_Argument `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"`
	// contains filtered or unexported fields
}

func (*ProtoArgs) Descriptor deprecated

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

Deprecated: Use ProtoArgs.ProtoReflect.Descriptor instead.

func (*ProtoArgs) GetArgs

func (x *ProtoArgs) GetArgs() []*ProtoArgs_Argument

func (*ProtoArgs) ProtoMessage

func (*ProtoArgs) ProtoMessage()

func (*ProtoArgs) ProtoReflect

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

func (*ProtoArgs) Reset

func (x *ProtoArgs) Reset()

func (*ProtoArgs) String

func (x *ProtoArgs) String() string

type ProtoArgs_Argument

type ProtoArgs_Argument struct {
	Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	IsNil bool   `protobuf:"varint,2,opt,name=is_nil,json=isNil,proto3" json:"is_nil,omitempty"`
	// contains filtered or unexported fields
}

func (*ProtoArgs_Argument) Descriptor deprecated

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

Deprecated: Use ProtoArgs_Argument.ProtoReflect.Descriptor instead.

func (*ProtoArgs_Argument) GetIsNil

func (x *ProtoArgs_Argument) GetIsNil() bool

func (*ProtoArgs_Argument) GetValue

func (x *ProtoArgs_Argument) GetValue() []byte

func (*ProtoArgs_Argument) ProtoMessage

func (*ProtoArgs_Argument) ProtoMessage()

func (*ProtoArgs_Argument) ProtoReflect

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

func (*ProtoArgs_Argument) Reset

func (x *ProtoArgs_Argument) Reset()

func (*ProtoArgs_Argument) String

func (x *ProtoArgs_Argument) String() string

Jump to

Keyboard shortcuts

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