types

package
v0.0.0-...-cda8002 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2022 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// ModuleName defines the module name
	ModuleName = "bpmn"

	// StoreKey defines the primary module store key
	StoreKey = ModuleName

	// RouterKey is the message route for slashing
	RouterKey = ModuleName

	// QuerierRoute defines the module's query routing key
	QuerierRoute = ModuleName
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

View Source
const TypeMsgCallEvm = "call_evm"
View Source
const TypeMsgDeployFlow = "deploy_flow"
View Source
const TypeMsgInvokeFlow = "invoke_flow"
View Source
const TypeMsgStartFlow = "start_flow"

Variables

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error")
)

x/bpmn module sentinel errors

Functions

func KeyPrefix

func KeyPrefix(p string) []byte

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI
}

AccountKeeper defines the expected account keeper used for simulations (noalias)

type BankKeeper

type BankKeeper interface {
	SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
}

BankKeeper defines the expected interface needed to retrieve account balances.

type EvmKeeper

type EvmKeeper interface {
	ApplyBpmnMessage(ctx sdk.Context, msg core.Message, txHash common.Hash) (*types2.MsgEthereumTxResponse, error)
}

type GenesisState

type GenesisState struct {
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

GenesisState defines the bpmn module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default Capability genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

func (m *GenesisState) Size() (n int)

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (GenesisState) Validate

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type MsgCallEvm

type MsgCallEvm struct {
	Creator  string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Contract string `protobuf:"bytes,2,opt,name=contract,proto3" json:"contract,omitempty"`
	CallData string `protobuf:"bytes,3,opt,name=callData,proto3" json:"callData,omitempty"`
}

func NewMsgCallEvm

func NewMsgCallEvm(creator string, contract string, callData string) *MsgCallEvm

func (*MsgCallEvm) Descriptor

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

func (*MsgCallEvm) GetCallData

func (m *MsgCallEvm) GetCallData() string

func (*MsgCallEvm) GetContract

func (m *MsgCallEvm) GetContract() string

func (*MsgCallEvm) GetCreator

func (m *MsgCallEvm) GetCreator() string

func (*MsgCallEvm) GetSignBytes

func (msg *MsgCallEvm) GetSignBytes() []byte

func (*MsgCallEvm) GetSigners

func (msg *MsgCallEvm) GetSigners() []sdk.AccAddress

func (*MsgCallEvm) Marshal

func (m *MsgCallEvm) Marshal() (dAtA []byte, err error)

func (*MsgCallEvm) MarshalTo

func (m *MsgCallEvm) MarshalTo(dAtA []byte) (int, error)

func (*MsgCallEvm) MarshalToSizedBuffer

func (m *MsgCallEvm) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCallEvm) ProtoMessage

func (*MsgCallEvm) ProtoMessage()

func (*MsgCallEvm) Reset

func (m *MsgCallEvm) Reset()

func (*MsgCallEvm) Route

func (msg *MsgCallEvm) Route() string

func (*MsgCallEvm) Size

func (m *MsgCallEvm) Size() (n int)

func (*MsgCallEvm) String

func (m *MsgCallEvm) String() string

func (*MsgCallEvm) Type

func (msg *MsgCallEvm) Type() string

func (*MsgCallEvm) Unmarshal

func (m *MsgCallEvm) Unmarshal(dAtA []byte) error

func (*MsgCallEvm) ValidateBasic

func (msg *MsgCallEvm) ValidateBasic() error

func (*MsgCallEvm) XXX_DiscardUnknown

func (m *MsgCallEvm) XXX_DiscardUnknown()

func (*MsgCallEvm) XXX_Marshal

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

func (*MsgCallEvm) XXX_Merge

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

func (*MsgCallEvm) XXX_Size

func (m *MsgCallEvm) XXX_Size() int

func (*MsgCallEvm) XXX_Unmarshal

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

type MsgCallEvmResponse

type MsgCallEvmResponse struct {
	Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
}

func (*MsgCallEvmResponse) Descriptor

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

func (*MsgCallEvmResponse) GetStatus

func (m *MsgCallEvmResponse) GetStatus() int32

func (*MsgCallEvmResponse) Marshal

func (m *MsgCallEvmResponse) Marshal() (dAtA []byte, err error)

func (*MsgCallEvmResponse) MarshalTo

func (m *MsgCallEvmResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCallEvmResponse) MarshalToSizedBuffer

func (m *MsgCallEvmResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCallEvmResponse) ProtoMessage

func (*MsgCallEvmResponse) ProtoMessage()

func (*MsgCallEvmResponse) Reset

func (m *MsgCallEvmResponse) Reset()

func (*MsgCallEvmResponse) Size

func (m *MsgCallEvmResponse) Size() (n int)

func (*MsgCallEvmResponse) String

func (m *MsgCallEvmResponse) String() string

func (*MsgCallEvmResponse) Unmarshal

func (m *MsgCallEvmResponse) Unmarshal(dAtA []byte) error

func (*MsgCallEvmResponse) XXX_DiscardUnknown

func (m *MsgCallEvmResponse) XXX_DiscardUnknown()

func (*MsgCallEvmResponse) XXX_Marshal

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

func (*MsgCallEvmResponse) XXX_Merge

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

func (*MsgCallEvmResponse) XXX_Size

func (m *MsgCallEvmResponse) XXX_Size() int

func (*MsgCallEvmResponse) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	DeployFlow(ctx context.Context, in *MsgDeployFlow, opts ...grpc.CallOption) (*MsgDeployFlowResponse, error)
	StartFlow(ctx context.Context, in *MsgStartFlow, opts ...grpc.CallOption) (*MsgStartFlowResponse, error)
	InvokeFlow(ctx context.Context, in *MsgInvokeFlow, opts ...grpc.CallOption) (*MsgInvokeFlowResponse, error)
	CallEvm(ctx context.Context, in *MsgCallEvm, opts ...grpc.CallOption) (*MsgCallEvmResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgDeployFlow

type MsgDeployFlow struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Data    string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
}

func NewMsgDeployFlow

func NewMsgDeployFlow(creator string, data string) *MsgDeployFlow

func (*MsgDeployFlow) Descriptor

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

func (*MsgDeployFlow) GetCreator

func (m *MsgDeployFlow) GetCreator() string

func (*MsgDeployFlow) GetData

func (m *MsgDeployFlow) GetData() string

func (*MsgDeployFlow) GetSignBytes

func (msg *MsgDeployFlow) GetSignBytes() []byte

func (*MsgDeployFlow) GetSigners

func (msg *MsgDeployFlow) GetSigners() []sdk.AccAddress

func (*MsgDeployFlow) Marshal

func (m *MsgDeployFlow) Marshal() (dAtA []byte, err error)

func (*MsgDeployFlow) MarshalTo

func (m *MsgDeployFlow) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeployFlow) MarshalToSizedBuffer

func (m *MsgDeployFlow) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeployFlow) ProtoMessage

func (*MsgDeployFlow) ProtoMessage()

func (*MsgDeployFlow) Reset

func (m *MsgDeployFlow) Reset()

func (*MsgDeployFlow) Route

func (msg *MsgDeployFlow) Route() string

func (*MsgDeployFlow) Size

func (m *MsgDeployFlow) Size() (n int)

func (*MsgDeployFlow) String

func (m *MsgDeployFlow) String() string

func (*MsgDeployFlow) Type

func (msg *MsgDeployFlow) Type() string

func (*MsgDeployFlow) Unmarshal

func (m *MsgDeployFlow) Unmarshal(dAtA []byte) error

func (*MsgDeployFlow) ValidateBasic

func (msg *MsgDeployFlow) ValidateBasic() error

func (*MsgDeployFlow) XXX_DiscardUnknown

func (m *MsgDeployFlow) XXX_DiscardUnknown()

func (*MsgDeployFlow) XXX_Marshal

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

func (*MsgDeployFlow) XXX_Merge

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

func (*MsgDeployFlow) XXX_Size

func (m *MsgDeployFlow) XXX_Size() int

func (*MsgDeployFlow) XXX_Unmarshal

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

type MsgDeployFlowResponse

type MsgDeployFlowResponse struct {
	Status int32  `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	FlowId string `protobuf:"bytes,2,opt,name=flow_id,json=flowId,proto3" json:"flow_id,omitempty"`
}

func (*MsgDeployFlowResponse) Descriptor

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

func (*MsgDeployFlowResponse) GetFlowId

func (m *MsgDeployFlowResponse) GetFlowId() string

func (*MsgDeployFlowResponse) GetStatus

func (m *MsgDeployFlowResponse) GetStatus() int32

func (*MsgDeployFlowResponse) Marshal

func (m *MsgDeployFlowResponse) Marshal() (dAtA []byte, err error)

func (*MsgDeployFlowResponse) MarshalTo

func (m *MsgDeployFlowResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeployFlowResponse) MarshalToSizedBuffer

func (m *MsgDeployFlowResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeployFlowResponse) ProtoMessage

func (*MsgDeployFlowResponse) ProtoMessage()

func (*MsgDeployFlowResponse) Reset

func (m *MsgDeployFlowResponse) Reset()

func (*MsgDeployFlowResponse) Size

func (m *MsgDeployFlowResponse) Size() (n int)

func (*MsgDeployFlowResponse) String

func (m *MsgDeployFlowResponse) String() string

func (*MsgDeployFlowResponse) Unmarshal

func (m *MsgDeployFlowResponse) Unmarshal(dAtA []byte) error

func (*MsgDeployFlowResponse) XXX_DiscardUnknown

func (m *MsgDeployFlowResponse) XXX_DiscardUnknown()

func (*MsgDeployFlowResponse) XXX_Marshal

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

func (*MsgDeployFlowResponse) XXX_Merge

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

func (*MsgDeployFlowResponse) XXX_Size

func (m *MsgDeployFlowResponse) XXX_Size() int

func (*MsgDeployFlowResponse) XXX_Unmarshal

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

type MsgInvokeFlow

type MsgInvokeFlow struct {
	Creator    string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	InstanceId string `protobuf:"bytes,2,opt,name=instanceId,proto3" json:"instanceId,omitempty"`
	CallData   string `protobuf:"bytes,3,opt,name=callData,proto3" json:"callData,omitempty"`
}

func NewMsgInvokeFlow

func NewMsgInvokeFlow(creator string, instanceId string, callData string) *MsgInvokeFlow

func (*MsgInvokeFlow) Descriptor

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

func (*MsgInvokeFlow) GetCallData

func (m *MsgInvokeFlow) GetCallData() string

func (*MsgInvokeFlow) GetCreator

func (m *MsgInvokeFlow) GetCreator() string

func (*MsgInvokeFlow) GetInstanceId

func (m *MsgInvokeFlow) GetInstanceId() string

func (*MsgInvokeFlow) GetSignBytes

func (msg *MsgInvokeFlow) GetSignBytes() []byte

func (*MsgInvokeFlow) GetSigners

func (msg *MsgInvokeFlow) GetSigners() []sdk.AccAddress

func (*MsgInvokeFlow) Marshal

func (m *MsgInvokeFlow) Marshal() (dAtA []byte, err error)

func (*MsgInvokeFlow) MarshalTo

func (m *MsgInvokeFlow) MarshalTo(dAtA []byte) (int, error)

func (*MsgInvokeFlow) MarshalToSizedBuffer

func (m *MsgInvokeFlow) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgInvokeFlow) ProtoMessage

func (*MsgInvokeFlow) ProtoMessage()

func (*MsgInvokeFlow) Reset

func (m *MsgInvokeFlow) Reset()

func (*MsgInvokeFlow) Route

func (msg *MsgInvokeFlow) Route() string

func (*MsgInvokeFlow) Size

func (m *MsgInvokeFlow) Size() (n int)

func (*MsgInvokeFlow) String

func (m *MsgInvokeFlow) String() string

func (*MsgInvokeFlow) Type

func (msg *MsgInvokeFlow) Type() string

func (*MsgInvokeFlow) Unmarshal

func (m *MsgInvokeFlow) Unmarshal(dAtA []byte) error

func (*MsgInvokeFlow) ValidateBasic

func (msg *MsgInvokeFlow) ValidateBasic() error

func (*MsgInvokeFlow) XXX_DiscardUnknown

func (m *MsgInvokeFlow) XXX_DiscardUnknown()

func (*MsgInvokeFlow) XXX_Marshal

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

func (*MsgInvokeFlow) XXX_Merge

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

func (*MsgInvokeFlow) XXX_Size

func (m *MsgInvokeFlow) XXX_Size() int

func (*MsgInvokeFlow) XXX_Unmarshal

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

type MsgInvokeFlowResponse

type MsgInvokeFlowResponse struct {
	Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
}

func (*MsgInvokeFlowResponse) Descriptor

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

func (*MsgInvokeFlowResponse) GetStatus

func (m *MsgInvokeFlowResponse) GetStatus() int32

func (*MsgInvokeFlowResponse) Marshal

func (m *MsgInvokeFlowResponse) Marshal() (dAtA []byte, err error)

func (*MsgInvokeFlowResponse) MarshalTo

func (m *MsgInvokeFlowResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgInvokeFlowResponse) MarshalToSizedBuffer

func (m *MsgInvokeFlowResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgInvokeFlowResponse) ProtoMessage

func (*MsgInvokeFlowResponse) ProtoMessage()

func (*MsgInvokeFlowResponse) Reset

func (m *MsgInvokeFlowResponse) Reset()

func (*MsgInvokeFlowResponse) Size

func (m *MsgInvokeFlowResponse) Size() (n int)

func (*MsgInvokeFlowResponse) String

func (m *MsgInvokeFlowResponse) String() string

func (*MsgInvokeFlowResponse) Unmarshal

func (m *MsgInvokeFlowResponse) Unmarshal(dAtA []byte) error

func (*MsgInvokeFlowResponse) XXX_DiscardUnknown

func (m *MsgInvokeFlowResponse) XXX_DiscardUnknown()

func (*MsgInvokeFlowResponse) XXX_Marshal

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

func (*MsgInvokeFlowResponse) XXX_Merge

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

func (*MsgInvokeFlowResponse) XXX_Size

func (m *MsgInvokeFlowResponse) XXX_Size() int

func (*MsgInvokeFlowResponse) XXX_Unmarshal

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

type MsgServer

MsgServer is the server API for Msg service.

type MsgStartFlow

type MsgStartFlow struct {
	Creator  string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	FlowId   string `protobuf:"bytes,2,opt,name=flowId,proto3" json:"flowId,omitempty"`
	InitData string `protobuf:"bytes,3,opt,name=initData,proto3" json:"initData,omitempty"`
}

func NewMsgStartFlow

func NewMsgStartFlow(creator string, flowId string, initData string) *MsgStartFlow

func (*MsgStartFlow) Descriptor

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

func (*MsgStartFlow) GetCreator

func (m *MsgStartFlow) GetCreator() string

func (*MsgStartFlow) GetFlowId

func (m *MsgStartFlow) GetFlowId() string

func (*MsgStartFlow) GetInitData

func (m *MsgStartFlow) GetInitData() string

func (*MsgStartFlow) GetSignBytes

func (msg *MsgStartFlow) GetSignBytes() []byte

func (*MsgStartFlow) GetSigners

func (msg *MsgStartFlow) GetSigners() []sdk.AccAddress

func (*MsgStartFlow) Marshal

func (m *MsgStartFlow) Marshal() (dAtA []byte, err error)

func (*MsgStartFlow) MarshalTo

func (m *MsgStartFlow) MarshalTo(dAtA []byte) (int, error)

func (*MsgStartFlow) MarshalToSizedBuffer

func (m *MsgStartFlow) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgStartFlow) ProtoMessage

func (*MsgStartFlow) ProtoMessage()

func (*MsgStartFlow) Reset

func (m *MsgStartFlow) Reset()

func (*MsgStartFlow) Route

func (msg *MsgStartFlow) Route() string

func (*MsgStartFlow) Size

func (m *MsgStartFlow) Size() (n int)

func (*MsgStartFlow) String

func (m *MsgStartFlow) String() string

func (*MsgStartFlow) Type

func (msg *MsgStartFlow) Type() string

func (*MsgStartFlow) Unmarshal

func (m *MsgStartFlow) Unmarshal(dAtA []byte) error

func (*MsgStartFlow) ValidateBasic

func (msg *MsgStartFlow) ValidateBasic() error

func (*MsgStartFlow) XXX_DiscardUnknown

func (m *MsgStartFlow) XXX_DiscardUnknown()

func (*MsgStartFlow) XXX_Marshal

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

func (*MsgStartFlow) XXX_Merge

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

func (*MsgStartFlow) XXX_Size

func (m *MsgStartFlow) XXX_Size() int

func (*MsgStartFlow) XXX_Unmarshal

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

type MsgStartFlowResponse

type MsgStartFlowResponse struct {
	Status     int32  `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
}

func (*MsgStartFlowResponse) Descriptor

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

func (*MsgStartFlowResponse) GetInstanceId

func (m *MsgStartFlowResponse) GetInstanceId() string

func (*MsgStartFlowResponse) GetStatus

func (m *MsgStartFlowResponse) GetStatus() int32

func (*MsgStartFlowResponse) Marshal

func (m *MsgStartFlowResponse) Marshal() (dAtA []byte, err error)

func (*MsgStartFlowResponse) MarshalTo

func (m *MsgStartFlowResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgStartFlowResponse) MarshalToSizedBuffer

func (m *MsgStartFlowResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgStartFlowResponse) ProtoMessage

func (*MsgStartFlowResponse) ProtoMessage()

func (*MsgStartFlowResponse) Reset

func (m *MsgStartFlowResponse) Reset()

func (*MsgStartFlowResponse) Size

func (m *MsgStartFlowResponse) Size() (n int)

func (*MsgStartFlowResponse) String

func (m *MsgStartFlowResponse) String() string

func (*MsgStartFlowResponse) Unmarshal

func (m *MsgStartFlowResponse) Unmarshal(dAtA []byte) error

func (*MsgStartFlowResponse) XXX_DiscardUnknown

func (m *MsgStartFlowResponse) XXX_DiscardUnknown()

func (*MsgStartFlowResponse) XXX_Marshal

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

func (*MsgStartFlowResponse) XXX_Merge

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

func (*MsgStartFlowResponse) XXX_Size

func (m *MsgStartFlowResponse) XXX_Size() int

func (*MsgStartFlowResponse) XXX_Unmarshal

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

type Params

type Params struct {
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams() Params

NewParams creates a new Params instance

func (*Params) Descriptor

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

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs get the params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (Params) String

func (p Params) String() string

String implements the Stringer interface.

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

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

func (*Params) XXX_Merge

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

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryParamsRequest

type QueryParamsRequest struct {
}

QueryParamsRequest is request type for the Query/Params RPC method.

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)

func (*QueryParamsRequest) MarshalTo

func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsRequest) MarshalToSizedBuffer

func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

func (m *QueryParamsRequest) Size() (n int)

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

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

func (*QueryParamsRequest) XXX_Merge

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

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

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

type QueryParamsResponse

type QueryParamsResponse struct {
	// params holds all the parameters of this module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

QueryParamsResponse is response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)

func (*QueryParamsResponse) MarshalTo

func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsResponse) MarshalToSizedBuffer

func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

func (m *QueryParamsResponse) Size() (n int)

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

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

func (*QueryParamsResponse) XXX_Merge

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

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

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

type QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
}

QueryServer is the server API for Query service.

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CallEvm

func (*UnimplementedMsgServer) DeployFlow

func (*UnimplementedMsgServer) InvokeFlow

func (*UnimplementedMsgServer) StartFlow

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Params

Jump to

Keyboard shortcuts

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