vm

package
v0.0.0-...-e0cfe8b Latest Latest
Warning

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

Go to latest
Published: May 24, 2021 License: BSD-3-Clause Imports: 5 Imported by: 6 modules, 25 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var VMType_name = map[int32]string{
	0: "PLUGIN",
	1: "EVM",
}
View Source
var VMType_value = map[string]int32{
	"PLUGIN": 0,
	"EVM":    1,
}

Functions

This section is empty.

Types

type CallTx

type CallTx struct {
	VmType               VMType         `protobuf:"varint,1,opt,name=vm_type,json=vmType,proto3,enum=VMType" json:"vm_type,omitempty"`
	Input                []byte         `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"`
	Value                *types.BigUInt `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"`
	ContractVersion      string         `protobuf:"bytes,4,opt,name=contract_version,json=contractVersion,proto3" json:"contract_version,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*CallTx) Descriptor

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

func (*CallTx) GetContractVersion

func (m *CallTx) GetContractVersion() string

func (*CallTx) GetInput

func (m *CallTx) GetInput() []byte

func (*CallTx) GetValue

func (m *CallTx) GetValue() *types.BigUInt

func (*CallTx) GetVmType

func (m *CallTx) GetVmType() VMType

func (*CallTx) ProtoMessage

func (*CallTx) ProtoMessage()

func (*CallTx) Reset

func (m *CallTx) Reset()

func (*CallTx) String

func (m *CallTx) String() string

func (*CallTx) XXX_DiscardUnknown

func (m *CallTx) XXX_DiscardUnknown()

func (*CallTx) XXX_Marshal

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

func (*CallTx) XXX_Merge

func (dst *CallTx) XXX_Merge(src proto.Message)

func (*CallTx) XXX_Size

func (m *CallTx) XXX_Size() int

func (*CallTx) XXX_Unmarshal

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

type DeployResponse

type DeployResponse struct {
	Contract             *types.Address `protobuf:"bytes,1,opt,name=contract" json:"contract,omitempty"`
	Output               []byte         `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*DeployResponse) Descriptor

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

func (*DeployResponse) GetContract

func (m *DeployResponse) GetContract() *types.Address

func (*DeployResponse) GetOutput

func (m *DeployResponse) GetOutput() []byte

func (*DeployResponse) ProtoMessage

func (*DeployResponse) ProtoMessage()

func (*DeployResponse) Reset

func (m *DeployResponse) Reset()

func (*DeployResponse) String

func (m *DeployResponse) String() string

func (*DeployResponse) XXX_DiscardUnknown

func (m *DeployResponse) XXX_DiscardUnknown()

func (*DeployResponse) XXX_Marshal

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

func (*DeployResponse) XXX_Merge

func (dst *DeployResponse) XXX_Merge(src proto.Message)

func (*DeployResponse) XXX_Size

func (m *DeployResponse) XXX_Size() int

func (*DeployResponse) XXX_Unmarshal

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

type DeployResponseData

type DeployResponseData struct {
	TxHash               []byte   `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	Bytecode             []byte   `protobuf:"bytes,2,opt,name=bytecode,proto3" json:"bytecode,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeployResponseData) Descriptor

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

func (*DeployResponseData) GetBytecode

func (m *DeployResponseData) GetBytecode() []byte

func (*DeployResponseData) GetTxHash

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

func (*DeployResponseData) ProtoMessage

func (*DeployResponseData) ProtoMessage()

func (*DeployResponseData) Reset

func (m *DeployResponseData) Reset()

func (*DeployResponseData) String

func (m *DeployResponseData) String() string

func (*DeployResponseData) XXX_DiscardUnknown

func (m *DeployResponseData) XXX_DiscardUnknown()

func (*DeployResponseData) XXX_Marshal

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

func (*DeployResponseData) XXX_Merge

func (dst *DeployResponseData) XXX_Merge(src proto.Message)

func (*DeployResponseData) XXX_Size

func (m *DeployResponseData) XXX_Size() int

func (*DeployResponseData) XXX_Unmarshal

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

type DeployTx

type DeployTx struct {
	VmType               VMType         `protobuf:"varint,1,opt,name=vm_type,json=vmType,proto3,enum=VMType" json:"vm_type,omitempty"`
	Code                 []byte         `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	Name                 string         `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Value                *types.BigUInt `protobuf:"bytes,4,opt,name=value" json:"value,omitempty"`
	ContractVersion      string         `protobuf:"bytes,5,opt,name=contract_version,json=contractVersion,proto3" json:"contract_version,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*DeployTx) Descriptor

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

func (*DeployTx) GetCode

func (m *DeployTx) GetCode() []byte

func (*DeployTx) GetContractVersion

func (m *DeployTx) GetContractVersion() string

func (*DeployTx) GetName

func (m *DeployTx) GetName() string

func (*DeployTx) GetValue

func (m *DeployTx) GetValue() *types.BigUInt

func (*DeployTx) GetVmType

func (m *DeployTx) GetVmType() VMType

func (*DeployTx) ProtoMessage

func (*DeployTx) ProtoMessage()

func (*DeployTx) Reset

func (m *DeployTx) Reset()

func (*DeployTx) String

func (m *DeployTx) String() string

func (*DeployTx) XXX_DiscardUnknown

func (m *DeployTx) XXX_DiscardUnknown()

func (*DeployTx) XXX_Marshal

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

func (*DeployTx) XXX_Merge

func (dst *DeployTx) XXX_Merge(src proto.Message)

func (*DeployTx) XXX_Size

func (m *DeployTx) XXX_Size() int

func (*DeployTx) XXX_Unmarshal

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

type MessageTx

type MessageTx struct {
	To                   *types.Address `protobuf:"bytes,1,opt,name=to" json:"to,omitempty"`
	From                 *types.Address `protobuf:"bytes,2,opt,name=from" json:"from,omitempty"`
	Data                 []byte         `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*MessageTx) Descriptor

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

func (*MessageTx) GetData

func (m *MessageTx) GetData() []byte

func (*MessageTx) GetFrom

func (m *MessageTx) GetFrom() *types.Address

func (*MessageTx) GetTo

func (m *MessageTx) GetTo() *types.Address

func (*MessageTx) ProtoMessage

func (*MessageTx) ProtoMessage()

func (*MessageTx) Reset

func (m *MessageTx) Reset()

func (*MessageTx) String

func (m *MessageTx) String() string

func (*MessageTx) XXX_DiscardUnknown

func (m *MessageTx) XXX_DiscardUnknown()

func (*MessageTx) XXX_Marshal

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

func (*MessageTx) XXX_Merge

func (dst *MessageTx) XXX_Merge(src proto.Message)

func (*MessageTx) XXX_Size

func (m *MessageTx) XXX_Size() int

func (*MessageTx) XXX_Unmarshal

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

type MigrationTx

type MigrationTx struct {
	ID                   uint32   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Input                []byte   `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MigrationTx) Descriptor

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

func (*MigrationTx) GetID

func (m *MigrationTx) GetID() uint32

func (*MigrationTx) GetInput

func (m *MigrationTx) GetInput() []byte

func (*MigrationTx) ProtoMessage

func (*MigrationTx) ProtoMessage()

func (*MigrationTx) Reset

func (m *MigrationTx) Reset()

func (*MigrationTx) String

func (m *MigrationTx) String() string

func (*MigrationTx) XXX_DiscardUnknown

func (m *MigrationTx) XXX_DiscardUnknown()

func (*MigrationTx) XXX_Marshal

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

func (*MigrationTx) XXX_Merge

func (dst *MigrationTx) XXX_Merge(src proto.Message)

func (*MigrationTx) XXX_Size

func (m *MigrationTx) XXX_Size() int

func (*MigrationTx) XXX_Unmarshal

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

type TxHashList

type TxHashList struct {
	TxHash               [][]byte `protobuf:"bytes,1,rep,name=tx_hash,json=txHash" json:"tx_hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TxHashList) Descriptor

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

func (*TxHashList) GetTxHash

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

func (*TxHashList) ProtoMessage

func (*TxHashList) ProtoMessage()

func (*TxHashList) Reset

func (m *TxHashList) Reset()

func (*TxHashList) String

func (m *TxHashList) String() string

func (*TxHashList) XXX_DiscardUnknown

func (m *TxHashList) XXX_DiscardUnknown()

func (*TxHashList) XXX_Marshal

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

func (*TxHashList) XXX_Merge

func (dst *TxHashList) XXX_Merge(src proto.Message)

func (*TxHashList) XXX_Size

func (m *TxHashList) XXX_Size() int

func (*TxHashList) XXX_Unmarshal

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

type VMType

type VMType int32
const (
	VMType_PLUGIN VMType = 0
	VMType_EVM    VMType = 1
)

func (VMType) EnumDescriptor

func (VMType) EnumDescriptor() ([]byte, []int)

func (VMType) String

func (x VMType) String() string

Jump to

Keyboard shortcuts

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