Documentation ¶
Index ¶
- Variables
- type Action
- func (*Action) Descriptor() ([]byte, []int)deprecated
- func (x *Action) GetActionType() uint32
- func (x *Action) GetAmount() []byte
- func (x *Action) GetArgs() []byte
- func (x *Action) GetCode() []byte
- func (x *Action) GetGasLimit() uint64
- func (x *Action) GetKey() []byte
- func (x *Action) GetMethod() string
- func (x *Action) GetNonce() []byte
- func (*Action) ProtoMessage()
- func (x *Action) ProtoReflect() protoreflect.Message
- func (x *Action) Reset()
- func (x *Action) String() string
- type ActionResult
- func (*ActionResult) Descriptor() ([]byte, []int)deprecated
- func (x *ActionResult) GetContract() []byte
- func (x *ActionResult) GetError() string
- func (x *ActionResult) GetGasUsed() uint64
- func (x *ActionResult) GetInputAction() *Action
- func (x *ActionResult) GetOutputData() []byte
- func (x *ActionResult) GetRemainingGas() uint64
- func (x *ActionResult) GetSubActionResults() []*ActionResult
- func (x *ActionResult) GetSuccess() bool
- func (*ActionResult) ProtoMessage()
- func (x *ActionResult) ProtoReflect() protoreflect.Message
- func (x *ActionResult) Reset()
- func (x *ActionResult) String() string
- type ProtoArgs
- type ProtoArgs_Argument
- func (*ProtoArgs_Argument) Descriptor() ([]byte, []int)deprecated
- func (x *ProtoArgs_Argument) GetIsNil() bool
- func (x *ProtoArgs_Argument) GetValue() []byte
- func (*ProtoArgs_Argument) ProtoMessage()
- func (x *ProtoArgs_Argument) ProtoReflect() protoreflect.Message
- func (x *ProtoArgs_Argument) Reset()
- func (x *ProtoArgs_Argument) String() string
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) GetActionType ¶
func (*Action) GetGasLimit ¶
func (*Action) ProtoMessage ¶
func (*Action) ProtoMessage()
func (*Action) ProtoReflect ¶
func (x *Action) ProtoReflect() protoreflect.Message
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) GetArgs ¶
func (x *ProtoArgs) GetArgs() []*ProtoArgs_Argument
func (*ProtoArgs) ProtoMessage ¶
func (*ProtoArgs) ProtoMessage()
func (*ProtoArgs) ProtoReflect ¶
func (x *ProtoArgs) ProtoReflect() protoreflect.Message
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
Click to show internal directories.
Click to hide internal directories.