types

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	EventTypeTimeout = "timeout"

	AttributeKeyAckSuccess = "success"
	AttributeKeyAck        = "acknowledgement"
	AttributeKeyAckError   = "error"
)

IBC events

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

	// 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

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_scheduler"

	// Version defines the current version the IBC module supports
	Version = "scheduler-1"

	// PortID is the default port id that module binds to
	PortID = "scheduler"
)
View Source
const (
	CronchainDenom = "grain"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

View Source
const JobAddressLength = 32
View Source
const JobIDMaxLen = 32
View Source
const TypeMsgCreateJob = "create_job"
View Source
const TypeMsgExecuteJob = "execute_job"

Variables

View Source
var (
	ErrSample               = sdkerrors.Register(ModuleName, 1100, "sample error")
	ErrInvalidPacketTimeout = sdkerrors.Register(ModuleName, 1500, "invalid packet timeout")
	ErrInvalidVersion       = sdkerrors.Register(ModuleName, 1501, "invalid version")

	ErrJobWithIDAlreadyExists = sdkerrors.Register(ModuleName, 1200, "job with id already exists")
	ErrJobNotFound            = sdkerrors.Register(ModuleName, 1201, "job not found")
	ErrInvalid                = sdkerrors.Register(ModuleName, 1202, "invalid")

	ErrCannotModifyJobPayload     = sdkerrors.Register(ModuleName, 1203, "cannot modify job's payload")
	ErrWasmExecuteMessageNotValid = sdkerrors.Register(ModuleName, 1204, "wasm message is not valid")
)

x/scheduler module sentinel errors

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 (
	ErrInvalidLengthJob        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowJob          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupJob = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthPacket        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPacket          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPacket = 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 PortKey = KeyPrefix("scheduler-port-")

PortKey defines the key to store the port ID in store

Functions

func KeyPrefix

func KeyPrefix(p string) []byte

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 context.Context, addr sdk.AccAddress) sdk.AccountI
	NewAccountWithAddress(ctx context.Context, addr sdk.AccAddress) sdk.AccountI
	HasAccount(ctx context.Context, addr sdk.AccAddress) bool
	SetAccount(ctx context.Context, acc sdk.AccountI)
}

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

type BankKeeper

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

BankKeeper defines the expected interface needed to retrieve account balances.

type EventTrigger

type EventTrigger struct{}

func (*EventTrigger) Descriptor

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

func (*EventTrigger) Marshal

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

func (*EventTrigger) MarshalTo

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

func (*EventTrigger) MarshalToSizedBuffer

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

func (*EventTrigger) ProtoMessage

func (*EventTrigger) ProtoMessage()

func (*EventTrigger) Reset

func (m *EventTrigger) Reset()

func (*EventTrigger) Size

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

func (*EventTrigger) String

func (m *EventTrigger) String() string

func (*EventTrigger) Unmarshal

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

func (*EventTrigger) XXX_DiscardUnknown

func (m *EventTrigger) XXX_DiscardUnknown()

func (*EventTrigger) XXX_Marshal

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

func (*EventTrigger) XXX_Merge

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

func (*EventTrigger) XXX_Size

func (m *EventTrigger) XXX_Size() int

func (*EventTrigger) XXX_Unmarshal

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

type EvmKeeper

type EvmKeeper interface {
	PreJobExecution(ctx context.Context, job *Job) error
	PickValidatorForMessage(ctx context.Context, chainReferenceID string, req *xchain.JobRequirements) (string, string, error)
}

EvmKeeper defines the expected interface for interacting with the evm module

type GenesisState

type GenesisState struct {
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	PortId string `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"`
}

GenesisState defines the scheduler 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) GetPortId

func (m *GenesisState) GetPortId() string

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 Job

type Job struct {
	// chosen by the owner
	ID      string                                        `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Owner   github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,2,opt,name=owner,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"owner,omitempty"`
	Routing Routing                                       `protobuf:"bytes,3,opt,name=routing,proto3" json:"routing"`
	// this is the job definition. It is something arbitrary as it's different for
	// every chain.
	Definition []byte `protobuf:"bytes,5,opt,name=definition,proto3" json:"definition,omitempty"`
	// this is the payload for the job
	Payload             []byte      `protobuf:"bytes,6,opt,name=payload,proto3" json:"payload,omitempty"`
	IsPayloadModifiable bool        `protobuf:"varint,7,opt,name=isPayloadModifiable,proto3" json:"isPayloadModifiable,omitempty"`
	Permissions         Permissions `protobuf:"bytes,8,opt,name=permissions,proto3" json:"permissions"`
	Triggers            []*Trigger  `protobuf:"bytes,9,rep,name=triggers,proto3" json:"triggers,omitempty"`
	EnforceMEVRelay     bool        `protobuf:"varint,11,opt,name=enforceMEVRelay,proto3" json:"enforceMEVRelay,omitempty"`
}

func (*Job) Descriptor

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

func (*Job) GetDefinition

func (m *Job) GetDefinition() []byte

func (*Job) GetEnforceMEVRelay

func (m *Job) GetEnforceMEVRelay() bool

func (*Job) GetID

func (m *Job) GetID() string

func (*Job) GetIsPayloadModifiable

func (m *Job) GetIsPayloadModifiable() bool

func (*Job) GetOwner

func (*Job) GetPayload

func (m *Job) GetPayload() []byte

func (*Job) GetPermissions

func (m *Job) GetPermissions() Permissions

func (*Job) GetRouting

func (m *Job) GetRouting() Routing

func (*Job) GetTriggers

func (m *Job) GetTriggers() []*Trigger

func (*Job) Marshal

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

func (*Job) MarshalTo

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

func (*Job) MarshalToSizedBuffer

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

func (*Job) ProtoMessage

func (*Job) ProtoMessage()

func (*Job) Reset

func (m *Job) Reset()

func (*Job) Size

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

func (*Job) String

func (m *Job) String() string

func (*Job) Unmarshal

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

func (*Job) ValidateBasic

func (j *Job) ValidateBasic() error

func (*Job) XXX_DiscardUnknown

func (m *Job) XXX_DiscardUnknown()

func (*Job) XXX_Marshal

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

func (*Job) XXX_Merge

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

func (*Job) XXX_Size

func (m *Job) XXX_Size() int

func (*Job) XXX_Unmarshal

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

type Keeper

type Keeper interface {
	AddNewJob(ctx context.Context, job *Job) error
	GetAccount(ctx context.Context, addr sdk.AccAddress) types.AccountI
	GetJob(ctx context.Context, jobID string) (*Job, error)
	Logger(ctx context.Context) log.Logger
	PreJobExecution(ctx context.Context, job *Job) error
	ScheduleNow(ctx context.Context, jobID string, in []byte, senderAddress sdk.AccAddress, contractAddress sdk.AccAddress) (uint64, error)
	ExecuteJob(ctx context.Context, jobID string, payload []byte, senderAddress sdk.AccAddress, contractAddr sdk.AccAddress) (uint64, error)
}

type MsgClient

type MsgClient interface {
	CreateJob(ctx context.Context, in *MsgCreateJob, opts ...grpc.CallOption) (*MsgCreateJobResponse, error)
	ExecuteJob(ctx context.Context, in *MsgExecuteJob, opts ...grpc.CallOption) (*MsgExecuteJobResponse, 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 MsgCreateJob

type MsgCreateJob struct {
	Job      *Job              `protobuf:"bytes,2,opt,name=job,proto3" json:"job,omitempty"`
	Metadata types.MsgMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata"`
}

func NewMsgCreateJob

func NewMsgCreateJob(creator string) *MsgCreateJob

func (*MsgCreateJob) Descriptor

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

func (*MsgCreateJob) GetJob

func (m *MsgCreateJob) GetJob() *Job

func (*MsgCreateJob) GetMetadata

func (m *MsgCreateJob) GetMetadata() types.MsgMetadata

func (*MsgCreateJob) GetSignBytes

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

func (*MsgCreateJob) GetSigners

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

func (*MsgCreateJob) Marshal

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

func (*MsgCreateJob) MarshalTo

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

func (*MsgCreateJob) MarshalToSizedBuffer

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

func (*MsgCreateJob) ProtoMessage

func (*MsgCreateJob) ProtoMessage()

func (*MsgCreateJob) Reset

func (m *MsgCreateJob) Reset()

func (*MsgCreateJob) Route

func (msg *MsgCreateJob) Route() string

func (*MsgCreateJob) Size

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

func (*MsgCreateJob) String

func (m *MsgCreateJob) String() string

func (*MsgCreateJob) Type

func (msg *MsgCreateJob) Type() string

func (*MsgCreateJob) Unmarshal

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

func (*MsgCreateJob) ValidateBasic

func (msg *MsgCreateJob) ValidateBasic() error

func (*MsgCreateJob) XXX_DiscardUnknown

func (m *MsgCreateJob) XXX_DiscardUnknown()

func (*MsgCreateJob) XXX_Marshal

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

func (*MsgCreateJob) XXX_Merge

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

func (*MsgCreateJob) XXX_Size

func (m *MsgCreateJob) XXX_Size() int

func (*MsgCreateJob) XXX_Unmarshal

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

type MsgCreateJobResponse

type MsgCreateJobResponse struct{}

func (*MsgCreateJobResponse) Descriptor

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

func (*MsgCreateJobResponse) Marshal

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

func (*MsgCreateJobResponse) MarshalTo

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

func (*MsgCreateJobResponse) MarshalToSizedBuffer

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

func (*MsgCreateJobResponse) ProtoMessage

func (*MsgCreateJobResponse) ProtoMessage()

func (*MsgCreateJobResponse) Reset

func (m *MsgCreateJobResponse) Reset()

func (*MsgCreateJobResponse) Size

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

func (*MsgCreateJobResponse) String

func (m *MsgCreateJobResponse) String() string

func (*MsgCreateJobResponse) Unmarshal

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

func (*MsgCreateJobResponse) XXX_DiscardUnknown

func (m *MsgCreateJobResponse) XXX_DiscardUnknown()

func (*MsgCreateJobResponse) XXX_Marshal

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

func (*MsgCreateJobResponse) XXX_Merge

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

func (*MsgCreateJobResponse) XXX_Size

func (m *MsgCreateJobResponse) XXX_Size() int

func (*MsgCreateJobResponse) XXX_Unmarshal

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

type MsgExecuteJob

type MsgExecuteJob struct {
	JobID    string            `protobuf:"bytes,2,opt,name=jobID,proto3" json:"jobID,omitempty"`
	Payload  []byte            `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
	Metadata types.MsgMetadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata"`
}

func NewMsgExecuteJob

func NewMsgExecuteJob(creator string, jobID string) *MsgExecuteJob

func (*MsgExecuteJob) Descriptor

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

func (*MsgExecuteJob) GetJobID

func (m *MsgExecuteJob) GetJobID() string

func (*MsgExecuteJob) GetMetadata

func (m *MsgExecuteJob) GetMetadata() types.MsgMetadata

func (*MsgExecuteJob) GetPayload

func (m *MsgExecuteJob) GetPayload() []byte

func (*MsgExecuteJob) GetSignBytes

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

func (*MsgExecuteJob) GetSigners

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

func (*MsgExecuteJob) Marshal

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

func (*MsgExecuteJob) MarshalTo

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

func (*MsgExecuteJob) MarshalToSizedBuffer

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

func (*MsgExecuteJob) ProtoMessage

func (*MsgExecuteJob) ProtoMessage()

func (*MsgExecuteJob) Reset

func (m *MsgExecuteJob) Reset()

func (*MsgExecuteJob) Route

func (msg *MsgExecuteJob) Route() string

func (*MsgExecuteJob) Size

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

func (*MsgExecuteJob) String

func (m *MsgExecuteJob) String() string

func (*MsgExecuteJob) Type

func (msg *MsgExecuteJob) Type() string

func (*MsgExecuteJob) Unmarshal

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

func (*MsgExecuteJob) ValidateBasic

func (msg *MsgExecuteJob) ValidateBasic() error

func (*MsgExecuteJob) XXX_DiscardUnknown

func (m *MsgExecuteJob) XXX_DiscardUnknown()

func (*MsgExecuteJob) XXX_Marshal

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

func (*MsgExecuteJob) XXX_Merge

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

func (*MsgExecuteJob) XXX_Size

func (m *MsgExecuteJob) XXX_Size() int

func (*MsgExecuteJob) XXX_Unmarshal

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

type MsgExecuteJobResponse

type MsgExecuteJobResponse struct {
	// points to the ID of the consensus queue message created from the job
	// execution
	MessageID uint64 `protobuf:"varint,1,opt,name=messageID,proto3" json:"messageID,omitempty"`
}

func (*MsgExecuteJobResponse) Descriptor

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

func (*MsgExecuteJobResponse) GetMessageID

func (m *MsgExecuteJobResponse) GetMessageID() uint64

func (*MsgExecuteJobResponse) Marshal

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

func (*MsgExecuteJobResponse) MarshalTo

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

func (*MsgExecuteJobResponse) MarshalToSizedBuffer

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

func (*MsgExecuteJobResponse) ProtoMessage

func (*MsgExecuteJobResponse) ProtoMessage()

func (*MsgExecuteJobResponse) Reset

func (m *MsgExecuteJobResponse) Reset()

func (*MsgExecuteJobResponse) Size

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

func (*MsgExecuteJobResponse) String

func (m *MsgExecuteJobResponse) String() string

func (*MsgExecuteJobResponse) Unmarshal

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

func (*MsgExecuteJobResponse) XXX_DiscardUnknown

func (m *MsgExecuteJobResponse) XXX_DiscardUnknown()

func (*MsgExecuteJobResponse) XXX_Marshal

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

func (*MsgExecuteJobResponse) XXX_Merge

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

func (*MsgExecuteJobResponse) XXX_Size

func (m *MsgExecuteJobResponse) XXX_Size() int

func (*MsgExecuteJobResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
	CreateJob(context.Context, *MsgCreateJob) (*MsgCreateJobResponse, error)
	ExecuteJob(context.Context, *MsgExecuteJob) (*MsgExecuteJobResponse, error)
}

MsgServer is the server API for Msg service.

type NoData

type NoData struct{}

func (*NoData) Descriptor

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

func (*NoData) Marshal

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

func (*NoData) MarshalTo

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

func (*NoData) MarshalToSizedBuffer

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

func (*NoData) ProtoMessage

func (*NoData) ProtoMessage()

func (*NoData) Reset

func (m *NoData) Reset()

func (*NoData) Size

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

func (*NoData) String

func (m *NoData) String() string

func (*NoData) Unmarshal

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

func (*NoData) XXX_DiscardUnknown

func (m *NoData) XXX_DiscardUnknown()

func (*NoData) XXX_Marshal

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

func (*NoData) XXX_Merge

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

func (*NoData) XXX_Size

func (m *NoData) XXX_Size() int

func (*NoData) XXX_Unmarshal

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

type OnMessageProcessor

type OnMessageProcessor interface {
	OnSchedulerMessageProcess(ctx sdk.Context, rawMsg any) (processed bool, err 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 Permissions

type Permissions struct {
	Whitelist []*Runner `protobuf:"bytes,1,rep,name=whitelist,proto3" json:"whitelist,omitempty"`
	Blacklist []*Runner `protobuf:"bytes,2,rep,name=blacklist,proto3" json:"blacklist,omitempty"`
}

func (*Permissions) Descriptor

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

func (*Permissions) GetBlacklist

func (m *Permissions) GetBlacklist() []*Runner

func (*Permissions) GetWhitelist

func (m *Permissions) GetWhitelist() []*Runner

func (*Permissions) Marshal

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

func (*Permissions) MarshalTo

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

func (*Permissions) MarshalToSizedBuffer

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

func (*Permissions) ProtoMessage

func (*Permissions) ProtoMessage()

func (*Permissions) Reset

func (m *Permissions) Reset()

func (*Permissions) Size

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

func (*Permissions) String

func (m *Permissions) String() string

func (*Permissions) Unmarshal

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

func (*Permissions) ValidateBasic

func (p *Permissions) ValidateBasic() error

func (*Permissions) XXX_DiscardUnknown

func (m *Permissions) XXX_DiscardUnknown()

func (*Permissions) XXX_Marshal

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

func (*Permissions) XXX_Merge

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

func (*Permissions) XXX_Size

func (m *Permissions) XXX_Size() int

func (*Permissions) XXX_Unmarshal

func (m *Permissions) 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)
	// Queries a list of GetJobByID items.
	QueryGetJobByID(ctx context.Context, in *QueryGetJobByIDRequest, opts ...grpc.CallOption) (*QueryGetJobByIDResponse, 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 QueryGetJobByIDRequest

type QueryGetJobByIDRequest struct {
	JobID string `protobuf:"bytes,1,opt,name=jobID,proto3" json:"jobID,omitempty"`
}

func (*QueryGetJobByIDRequest) Descriptor

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

func (*QueryGetJobByIDRequest) GetJobID

func (m *QueryGetJobByIDRequest) GetJobID() string

func (*QueryGetJobByIDRequest) Marshal

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

func (*QueryGetJobByIDRequest) MarshalTo

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

func (*QueryGetJobByIDRequest) MarshalToSizedBuffer

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

func (*QueryGetJobByIDRequest) ProtoMessage

func (*QueryGetJobByIDRequest) ProtoMessage()

func (*QueryGetJobByIDRequest) Reset

func (m *QueryGetJobByIDRequest) Reset()

func (*QueryGetJobByIDRequest) Size

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

func (*QueryGetJobByIDRequest) String

func (m *QueryGetJobByIDRequest) String() string

func (*QueryGetJobByIDRequest) Unmarshal

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

func (*QueryGetJobByIDRequest) XXX_DiscardUnknown

func (m *QueryGetJobByIDRequest) XXX_DiscardUnknown()

func (*QueryGetJobByIDRequest) XXX_Marshal

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

func (*QueryGetJobByIDRequest) XXX_Merge

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

func (*QueryGetJobByIDRequest) XXX_Size

func (m *QueryGetJobByIDRequest) XXX_Size() int

func (*QueryGetJobByIDRequest) XXX_Unmarshal

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

type QueryGetJobByIDResponse

type QueryGetJobByIDResponse struct {
	Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
}

func (*QueryGetJobByIDResponse) Descriptor

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

func (*QueryGetJobByIDResponse) GetJob

func (m *QueryGetJobByIDResponse) GetJob() *Job

func (*QueryGetJobByIDResponse) Marshal

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

func (*QueryGetJobByIDResponse) MarshalTo

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

func (*QueryGetJobByIDResponse) MarshalToSizedBuffer

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

func (*QueryGetJobByIDResponse) ProtoMessage

func (*QueryGetJobByIDResponse) ProtoMessage()

func (*QueryGetJobByIDResponse) Reset

func (m *QueryGetJobByIDResponse) Reset()

func (*QueryGetJobByIDResponse) Size

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

func (*QueryGetJobByIDResponse) String

func (m *QueryGetJobByIDResponse) String() string

func (*QueryGetJobByIDResponse) Unmarshal

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

func (*QueryGetJobByIDResponse) XXX_DiscardUnknown

func (m *QueryGetJobByIDResponse) XXX_DiscardUnknown()

func (*QueryGetJobByIDResponse) XXX_Marshal

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

func (*QueryGetJobByIDResponse) XXX_Merge

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

func (*QueryGetJobByIDResponse) XXX_Size

func (m *QueryGetJobByIDResponse) XXX_Size() int

func (*QueryGetJobByIDResponse) XXX_Unmarshal

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

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)
	// Queries a list of GetJobByID items.
	QueryGetJobByID(context.Context, *QueryGetJobByIDRequest) (*QueryGetJobByIDResponse, error)
}

QueryServer is the server API for Query service.

type Routing

type Routing struct {
	// routing information
	ChainType        string `protobuf:"bytes,1,opt,name=chainType,proto3" json:"chainType,omitempty"`
	ChainReferenceID string `protobuf:"bytes,2,opt,name=chainReferenceID,proto3" json:"chainReferenceID,omitempty"`
}

func (*Routing) Descriptor

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

func (*Routing) GetChainReferenceID

func (m *Routing) GetChainReferenceID() string

func (*Routing) GetChainType

func (m *Routing) GetChainType() string

func (*Routing) Marshal

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

func (*Routing) MarshalTo

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

func (*Routing) MarshalToSizedBuffer

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

func (*Routing) ProtoMessage

func (*Routing) ProtoMessage()

func (*Routing) Reset

func (m *Routing) Reset()

func (*Routing) Size

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

func (*Routing) String

func (m *Routing) String() string

func (*Routing) Unmarshal

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

func (*Routing) XXX_DiscardUnknown

func (m *Routing) XXX_DiscardUnknown()

func (*Routing) XXX_Marshal

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

func (*Routing) XXX_Merge

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

func (*Routing) XXX_Size

func (m *Routing) XXX_Size() int

func (*Routing) XXX_Unmarshal

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

type Runner

type Runner struct {
	ChainType        string `protobuf:"bytes,1,opt,name=chainType,proto3" json:"chainType,omitempty"`
	ChainReferenceID string `protobuf:"bytes,2,opt,name=chainReferenceID,proto3" json:"chainReferenceID,omitempty"`
	Address          []byte `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
}

Runner defines an actor that runs the job. It can be a smart contract from any other external chain, a direct user on paloma, a smart contract in paloma, etc,...

func (*Runner) Descriptor

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

func (*Runner) GetAddress

func (m *Runner) GetAddress() []byte

func (*Runner) GetChainReferenceID

func (m *Runner) GetChainReferenceID() string

func (*Runner) GetChainType

func (m *Runner) GetChainType() string

func (*Runner) Marshal

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

func (*Runner) MarshalTo

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

func (*Runner) MarshalToSizedBuffer

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

func (*Runner) ProtoMessage

func (*Runner) ProtoMessage()

func (*Runner) Reset

func (m *Runner) Reset()

func (*Runner) Size

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

func (*Runner) String

func (m *Runner) String() string

func (*Runner) Unmarshal

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

func (*Runner) XXX_DiscardUnknown

func (m *Runner) XXX_DiscardUnknown()

func (*Runner) XXX_Marshal

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

func (*Runner) XXX_Merge

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

func (*Runner) XXX_Size

func (m *Runner) XXX_Size() int

func (*Runner) XXX_Unmarshal

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

type ScheduleTrigger

type ScheduleTrigger struct{}

func (*ScheduleTrigger) Descriptor

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

func (*ScheduleTrigger) Marshal

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

func (*ScheduleTrigger) MarshalTo

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

func (*ScheduleTrigger) MarshalToSizedBuffer

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

func (*ScheduleTrigger) ProtoMessage

func (*ScheduleTrigger) ProtoMessage()

func (*ScheduleTrigger) Reset

func (m *ScheduleTrigger) Reset()

func (*ScheduleTrigger) Size

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

func (*ScheduleTrigger) String

func (m *ScheduleTrigger) String() string

func (*ScheduleTrigger) Unmarshal

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

func (*ScheduleTrigger) XXX_DiscardUnknown

func (m *ScheduleTrigger) XXX_DiscardUnknown()

func (*ScheduleTrigger) XXX_Marshal

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

func (*ScheduleTrigger) XXX_Merge

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

func (*ScheduleTrigger) XXX_Size

func (m *ScheduleTrigger) XXX_Size() int

func (*ScheduleTrigger) XXX_Unmarshal

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

type SchedulerPacketData

type SchedulerPacketData struct {
	// Types that are valid to be assigned to Packet:
	//
	//	*SchedulerPacketData_NoData
	Packet isSchedulerPacketData_Packet `protobuf_oneof:"packet"`
}

func (*SchedulerPacketData) Descriptor

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

func (*SchedulerPacketData) GetNoData

func (m *SchedulerPacketData) GetNoData() *NoData

func (*SchedulerPacketData) GetPacket

func (m *SchedulerPacketData) GetPacket() isSchedulerPacketData_Packet

func (*SchedulerPacketData) Marshal

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

func (*SchedulerPacketData) MarshalTo

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

func (*SchedulerPacketData) MarshalToSizedBuffer

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

func (*SchedulerPacketData) ProtoMessage

func (*SchedulerPacketData) ProtoMessage()

func (*SchedulerPacketData) Reset

func (m *SchedulerPacketData) Reset()

func (*SchedulerPacketData) Size

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

func (*SchedulerPacketData) String

func (m *SchedulerPacketData) String() string

func (*SchedulerPacketData) Unmarshal

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

func (*SchedulerPacketData) XXX_DiscardUnknown

func (m *SchedulerPacketData) XXX_DiscardUnknown()

func (*SchedulerPacketData) XXX_Marshal

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

func (*SchedulerPacketData) XXX_Merge

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

func (*SchedulerPacketData) XXX_OneofWrappers

func (*SchedulerPacketData) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*SchedulerPacketData) XXX_Size

func (m *SchedulerPacketData) XXX_Size() int

func (*SchedulerPacketData) XXX_Unmarshal

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

type SchedulerPacketData_NoData

type SchedulerPacketData_NoData struct {
	NoData *NoData `protobuf:"bytes,1,opt,name=noData,proto3,oneof" json:"noData,omitempty"`
}

func (*SchedulerPacketData_NoData) MarshalTo

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

func (*SchedulerPacketData_NoData) MarshalToSizedBuffer

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

func (*SchedulerPacketData_NoData) Size

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

type Trigger

type Trigger struct {
	// Types that are valid to be assigned to Trigger:
	//
	//	*Trigger_Schedule
	//	*Trigger_Event
	Trigger isTrigger_Trigger `protobuf_oneof:"trigger"`
}

func (*Trigger) Descriptor

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

func (*Trigger) GetEvent

func (m *Trigger) GetEvent() *EventTrigger

func (*Trigger) GetSchedule

func (m *Trigger) GetSchedule() *ScheduleTrigger

func (*Trigger) GetTrigger

func (m *Trigger) GetTrigger() isTrigger_Trigger

func (*Trigger) Marshal

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

func (*Trigger) MarshalTo

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

func (*Trigger) MarshalToSizedBuffer

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

func (*Trigger) ProtoMessage

func (*Trigger) ProtoMessage()

func (*Trigger) Reset

func (m *Trigger) Reset()

func (*Trigger) Size

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

func (*Trigger) String

func (m *Trigger) String() string

func (*Trigger) Unmarshal

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

func (*Trigger) XXX_DiscardUnknown

func (m *Trigger) XXX_DiscardUnknown()

func (*Trigger) XXX_Marshal

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

func (*Trigger) XXX_Merge

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

func (*Trigger) XXX_OneofWrappers

func (*Trigger) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Trigger) XXX_Size

func (m *Trigger) XXX_Size() int

func (*Trigger) XXX_Unmarshal

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

type Trigger_Event

type Trigger_Event struct {
	Event *EventTrigger `protobuf:"bytes,2,opt,name=event,proto3,oneof" json:"event,omitempty"`
}

func (*Trigger_Event) MarshalTo

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

func (*Trigger_Event) MarshalToSizedBuffer

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

func (*Trigger_Event) Size

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

type Trigger_Schedule

type Trigger_Schedule struct {
	Schedule *ScheduleTrigger `protobuf:"bytes,1,opt,name=schedule,proto3,oneof" json:"schedule,omitempty"`
}

func (*Trigger_Schedule) MarshalTo

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

func (*Trigger_Schedule) MarshalToSizedBuffer

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

func (*Trigger_Schedule) Size

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct{}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CreateJob

func (*UnimplementedMsgServer) ExecuteJob

type UnimplementedQueryServer

type UnimplementedQueryServer struct{}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) QueryGetJobByID

type ValsetKeeper

type ValsetKeeper interface {
	GetCurrentSnapshot(ctx context.Context) (*valsettypes.Snapshot, error)
}

ValsetKeeper defines the expected interface for interacting with the valset module

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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