types

package
v0.3.0-gamma Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 33 Imported by: 3

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	MaxMonikerLength         = 70
	MaxIdentityLength        = 3000
	MaxWebsiteLength         = 140
	MaxSecurityContactLength = 140
	MaxDetailsLength         = 280
)

constant for maximum string length of the Description fields

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

	// 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_sequencer"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

View Source
const DoNotModifyDesc = "[do-not-modify]"

DoNotModifyDesc constant is used in flags to indicate that description field should not be updated

View Source
const (
	// SchedulerKeyPrefix is the prefix to retrieve all Scheduler
	SchedulerKeyPrefix = "Scheduler/value/"
)
View Source
const (
	// SequencerKeyPrefix is the prefix to retrieve all Sequencer
	SequencerKeyPrefix = "Sequencer/value/"
)
View Source
const (
	// SequencersByRollappKeyPrefix is the prefix to retrieve all SequencersByRollapp
	SequencersByRollappKeyPrefix = "SequencersByRollapp/value/"
)
View Source
const TypeMsgCreateSequencer = "create_sequencer"

Variables

View Source
var (
	ErrInvalidLengthDescription        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDescription          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupDescription = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrSequencerExists          = sdkerrors.Register(ModuleName, 1000, "sequencer already exist for this address; must use new sequencer address")
	ErrInvalidSequencerAddress  = sdkerrors.Register(ModuleName, 1001, "invalid sequencer address")
	ErrUnknownRollappID         = sdkerrors.Register(ModuleName, 1002, "rollapp does not exist")
	ErrMaxSequencersLimit       = sdkerrors.Register(ModuleName, 1003, "too many sequencers for rollapp")
	ErrSequencerNotPermissioned = sdkerrors.Register(ModuleName, 1004, "sequencer is not permissioned for serving the rollapp")
	ErrUnknownSequencer         = sdkerrors.Register(ModuleName, 1005, "sequencer was not registered")
	ErrSequencerRollappMismatch = sdkerrors.Register(ModuleName, 1006, "sequencer was not registered for this rollapp")
	ErrNotActiveSequencer       = sdkerrors.Register(ModuleName, 1007, "sequencer is not active")
)

x/sequencer 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 (
	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 (
	ErrInvalidLengthScheduler        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowScheduler          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupScheduler = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthSequencer        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSequencer          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSequencer = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthSequencersByRollapp        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSequencersByRollapp          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSequencersByRollapp = 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 OperatingStatus_name = map[int32]string{
	0: "OPERATING_STATUS_UNSPECIFIED",
	1: "OPERATING_STATUS_PROPOSER",
	2: "OPERATING_STATUS_INACTIVE",
}
View Source
var OperatingStatus_value = map[string]int32{
	"OPERATING_STATUS_UNSPECIFIED": 0,
	"OPERATING_STATUS_PROPOSER":    1,
	"OPERATING_STATUS_INACTIVE":    2,
}

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)

func SchedulerKey

func SchedulerKey(
	sequencerAddress string,
) []byte

SchedulerKey returns the store key to retrieve a Scheduler from the index fields

func SequencerKey

func SequencerKey(
	sequencerAddress string,
) []byte

SequencerKey returns the store key to retrieve a Sequencer from the index fields

func SequencersByRollappKey

func SequencersByRollappKey(
	rollappId string,
) []byte

SequencersByRollappKey returns the store key to retrieve a SequencersByRollapp from the index fields

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 Description

type Description struct {
	// moniker defines a human-readable name for the sequencer.
	Moniker string `protobuf:"bytes,1,opt,name=moniker,proto3" json:"moniker,omitempty"`
	// identity defines an optional identity signature (ex. UPort or Keybase).
	Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"`
	// website defines an optional website link.
	Website string `protobuf:"bytes,3,opt,name=website,proto3" json:"website,omitempty"`
	// securityContact defines an optional email for security contact.
	SecurityContact string `protobuf:"bytes,4,opt,name=securityContact,proto3" json:"securityContact,omitempty"`
	// details define other optional details.
	Details string `protobuf:"bytes,5,opt,name=details,proto3" json:"details,omitempty"`
}

Description defines a sequencer description.

func (*Description) Descriptor

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

func (Description) EnsureLength

func (d Description) EnsureLength() (Description, error)

EnsureLength ensures the length of a sequencer's description.

func (*Description) GetDetails

func (m *Description) GetDetails() string

func (*Description) GetIdentity

func (m *Description) GetIdentity() string

func (*Description) GetMoniker

func (m *Description) GetMoniker() string

func (*Description) GetSecurityContact

func (m *Description) GetSecurityContact() string

func (*Description) GetWebsite

func (m *Description) GetWebsite() string

func (*Description) Marshal

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

func (*Description) MarshalTo

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

func (*Description) MarshalToSizedBuffer

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

func (*Description) ProtoMessage

func (*Description) ProtoMessage()

func (*Description) Reset

func (m *Description) Reset()

func (*Description) Size

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

func (*Description) String

func (m *Description) String() string

func (*Description) Unmarshal

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

func (Description) UpdateDescription

func (d Description) UpdateDescription(d2 Description) (Description, error)

UpdateDescription updates the fields of a given description. An error is returned if the resulting description contains an invalid length.

func (*Description) XXX_DiscardUnknown

func (m *Description) XXX_DiscardUnknown()

func (*Description) XXX_Marshal

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

func (*Description) XXX_Merge

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

func (*Description) XXX_Size

func (m *Description) XXX_Size() int

func (*Description) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	Params                  Params                `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	SequencerList           []Sequencer           `protobuf:"bytes,2,rep,name=sequencerList,proto3" json:"sequencerList"`
	SequencersByRollappList []SequencersByRollapp `protobuf:"bytes,3,rep,name=sequencersByRollappList,proto3" json:"sequencersByRollappList"`
	SchedulerList           []Scheduler           `protobuf:"bytes,4,rep,name=schedulerList,proto3" json:"schedulerList"`
}

GenesisState defines the sequencer 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) GetSchedulerList

func (m *GenesisState) GetSchedulerList() []Scheduler

func (*GenesisState) GetSequencerList

func (m *GenesisState) GetSequencerList() []Sequencer

func (*GenesisState) GetSequencersByRollappList

func (m *GenesisState) GetSequencersByRollappList() []SequencersByRollapp

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 MsgClient

type MsgClient interface {
	CreateSequencer(ctx context.Context, in *MsgCreateSequencer, opts ...grpc.CallOption) (*MsgCreateSequencerResponse, 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 MsgCreateSequencer

type MsgCreateSequencer struct {
	// creator is the bech32-encoded address of the sequencer account which is the account that the message was sent from.
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	// pubkey is the public key of the sequencers' furyint client, as a Protobuf Any.
	FuryintPubKey *types.Any `protobuf:"bytes,2,opt,name=furyintPubKey,proto3" json:"furyintPubKey,omitempty"`
	// rollappId defines the rollapp to which the sequencer belongs.
	RollappId string `protobuf:"bytes,3,opt,name=rollappId,proto3" json:"rollappId,omitempty"`
	// description defines the descriptive terms for the sequencer.
	Description Description `protobuf:"bytes,4,opt,name=description,proto3" json:"description"`
}

MsgCreateSequencer defines a SDK message for creating a new sequencer.

func NewMsgCreateSequencer

func NewMsgCreateSequencer(creator string, pubkey cryptotypes.PubKey, rollappId string, description *Description) (*MsgCreateSequencer, error)

func (*MsgCreateSequencer) Descriptor

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

func (*MsgCreateSequencer) GetCreator

func (m *MsgCreateSequencer) GetCreator() string

func (*MsgCreateSequencer) GetDescription

func (m *MsgCreateSequencer) GetDescription() Description

func (*MsgCreateSequencer) GetFuryintPubKey

func (m *MsgCreateSequencer) GetFuryintPubKey() *types.Any

func (*MsgCreateSequencer) GetRollappId

func (m *MsgCreateSequencer) GetRollappId() string

func (*MsgCreateSequencer) GetSignBytes

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

func (*MsgCreateSequencer) GetSigners

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

func (*MsgCreateSequencer) Marshal

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

func (*MsgCreateSequencer) MarshalTo

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

func (*MsgCreateSequencer) MarshalToSizedBuffer

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

func (*MsgCreateSequencer) ProtoMessage

func (*MsgCreateSequencer) ProtoMessage()

func (*MsgCreateSequencer) Reset

func (m *MsgCreateSequencer) Reset()

func (*MsgCreateSequencer) Route

func (msg *MsgCreateSequencer) Route() string

func (*MsgCreateSequencer) Size

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

func (*MsgCreateSequencer) String

func (m *MsgCreateSequencer) String() string

func (*MsgCreateSequencer) Type

func (msg *MsgCreateSequencer) Type() string

func (*MsgCreateSequencer) Unmarshal

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

func (MsgCreateSequencer) UnpackInterfaces

func (msg MsgCreateSequencer) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error

UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces

func (*MsgCreateSequencer) ValidateBasic

func (msg *MsgCreateSequencer) ValidateBasic() error

func (*MsgCreateSequencer) XXX_DiscardUnknown

func (m *MsgCreateSequencer) XXX_DiscardUnknown()

func (*MsgCreateSequencer) XXX_Marshal

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

func (*MsgCreateSequencer) XXX_Merge

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

func (*MsgCreateSequencer) XXX_Size

func (m *MsgCreateSequencer) XXX_Size() int

func (*MsgCreateSequencer) XXX_Unmarshal

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

type MsgCreateSequencerResponse

type MsgCreateSequencerResponse struct {
}

func (*MsgCreateSequencerResponse) Descriptor

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

func (*MsgCreateSequencerResponse) Marshal

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

func (*MsgCreateSequencerResponse) MarshalTo

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

func (*MsgCreateSequencerResponse) MarshalToSizedBuffer

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

func (*MsgCreateSequencerResponse) ProtoMessage

func (*MsgCreateSequencerResponse) ProtoMessage()

func (*MsgCreateSequencerResponse) Reset

func (m *MsgCreateSequencerResponse) Reset()

func (*MsgCreateSequencerResponse) Size

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

func (*MsgCreateSequencerResponse) String

func (m *MsgCreateSequencerResponse) String() string

func (*MsgCreateSequencerResponse) Unmarshal

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

func (*MsgCreateSequencerResponse) XXX_DiscardUnknown

func (m *MsgCreateSequencerResponse) XXX_DiscardUnknown()

func (*MsgCreateSequencerResponse) XXX_Marshal

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

func (*MsgCreateSequencerResponse) XXX_Merge

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

func (*MsgCreateSequencerResponse) XXX_Size

func (m *MsgCreateSequencerResponse) XXX_Size() int

func (*MsgCreateSequencerResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
	CreateSequencer(context.Context, *MsgCreateSequencer) (*MsgCreateSequencerResponse, error)
}

MsgServer is the server API for Msg service.

type OperatingStatus

type OperatingStatus int32

OperatingStatus defines the operating status of a sequencer

const (
	// OPERATING_STATUS_UNSPECIFIED defines zero-value for status ordering
	Unspecified OperatingStatus = 0
	// OPERATING_STATUS_PROPOSER defines a sequencer that is active and can propose state updates
	Proposer OperatingStatus = 1
	// OPERATING_STATUS_INACTIVE defines a sequencer that is not active and won't be scheduled
	Inactive OperatingStatus = 2
)

func (OperatingStatus) EnumDescriptor

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

func (OperatingStatus) String

func (x OperatingStatus) String() string

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 QueryAllSchedulerRequest

type QueryAllSchedulerRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllSchedulerRequest) Descriptor

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

func (*QueryAllSchedulerRequest) GetPagination

func (m *QueryAllSchedulerRequest) GetPagination() *query.PageRequest

func (*QueryAllSchedulerRequest) Marshal

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

func (*QueryAllSchedulerRequest) MarshalTo

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

func (*QueryAllSchedulerRequest) MarshalToSizedBuffer

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

func (*QueryAllSchedulerRequest) ProtoMessage

func (*QueryAllSchedulerRequest) ProtoMessage()

func (*QueryAllSchedulerRequest) Reset

func (m *QueryAllSchedulerRequest) Reset()

func (*QueryAllSchedulerRequest) Size

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

func (*QueryAllSchedulerRequest) String

func (m *QueryAllSchedulerRequest) String() string

func (*QueryAllSchedulerRequest) Unmarshal

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

func (*QueryAllSchedulerRequest) XXX_DiscardUnknown

func (m *QueryAllSchedulerRequest) XXX_DiscardUnknown()

func (*QueryAllSchedulerRequest) XXX_Marshal

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

func (*QueryAllSchedulerRequest) XXX_Merge

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

func (*QueryAllSchedulerRequest) XXX_Size

func (m *QueryAllSchedulerRequest) XXX_Size() int

func (*QueryAllSchedulerRequest) XXX_Unmarshal

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

type QueryAllSchedulerResponse

type QueryAllSchedulerResponse struct {
	Scheduler  []Scheduler         `protobuf:"bytes,1,rep,name=scheduler,proto3" json:"scheduler"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllSchedulerResponse) Descriptor

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

func (*QueryAllSchedulerResponse) GetPagination

func (m *QueryAllSchedulerResponse) GetPagination() *query.PageResponse

func (*QueryAllSchedulerResponse) GetScheduler

func (m *QueryAllSchedulerResponse) GetScheduler() []Scheduler

func (*QueryAllSchedulerResponse) Marshal

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

func (*QueryAllSchedulerResponse) MarshalTo

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

func (*QueryAllSchedulerResponse) MarshalToSizedBuffer

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

func (*QueryAllSchedulerResponse) ProtoMessage

func (*QueryAllSchedulerResponse) ProtoMessage()

func (*QueryAllSchedulerResponse) Reset

func (m *QueryAllSchedulerResponse) Reset()

func (*QueryAllSchedulerResponse) Size

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

func (*QueryAllSchedulerResponse) String

func (m *QueryAllSchedulerResponse) String() string

func (*QueryAllSchedulerResponse) Unmarshal

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

func (*QueryAllSchedulerResponse) XXX_DiscardUnknown

func (m *QueryAllSchedulerResponse) XXX_DiscardUnknown()

func (*QueryAllSchedulerResponse) XXX_Marshal

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

func (*QueryAllSchedulerResponse) XXX_Merge

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

func (*QueryAllSchedulerResponse) XXX_Size

func (m *QueryAllSchedulerResponse) XXX_Size() int

func (*QueryAllSchedulerResponse) XXX_Unmarshal

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

type QueryAllSequencerRequest

type QueryAllSequencerRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllSequencerRequest) Descriptor

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

func (*QueryAllSequencerRequest) GetPagination

func (m *QueryAllSequencerRequest) GetPagination() *query.PageRequest

func (*QueryAllSequencerRequest) Marshal

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

func (*QueryAllSequencerRequest) MarshalTo

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

func (*QueryAllSequencerRequest) MarshalToSizedBuffer

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

func (*QueryAllSequencerRequest) ProtoMessage

func (*QueryAllSequencerRequest) ProtoMessage()

func (*QueryAllSequencerRequest) Reset

func (m *QueryAllSequencerRequest) Reset()

func (*QueryAllSequencerRequest) Size

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

func (*QueryAllSequencerRequest) String

func (m *QueryAllSequencerRequest) String() string

func (*QueryAllSequencerRequest) Unmarshal

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

func (*QueryAllSequencerRequest) XXX_DiscardUnknown

func (m *QueryAllSequencerRequest) XXX_DiscardUnknown()

func (*QueryAllSequencerRequest) XXX_Marshal

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

func (*QueryAllSequencerRequest) XXX_Merge

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

func (*QueryAllSequencerRequest) XXX_Size

func (m *QueryAllSequencerRequest) XXX_Size() int

func (*QueryAllSequencerRequest) XXX_Unmarshal

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

type QueryAllSequencerResponse

type QueryAllSequencerResponse struct {
	SequencerInfoList []SequencerInfo     `protobuf:"bytes,1,rep,name=sequencerInfoList,proto3" json:"sequencerInfoList"`
	Pagination        *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllSequencerResponse) Descriptor

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

func (*QueryAllSequencerResponse) GetPagination

func (m *QueryAllSequencerResponse) GetPagination() *query.PageResponse

func (*QueryAllSequencerResponse) GetSequencerInfoList

func (m *QueryAllSequencerResponse) GetSequencerInfoList() []SequencerInfo

func (*QueryAllSequencerResponse) Marshal

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

func (*QueryAllSequencerResponse) MarshalTo

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

func (*QueryAllSequencerResponse) MarshalToSizedBuffer

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

func (*QueryAllSequencerResponse) ProtoMessage

func (*QueryAllSequencerResponse) ProtoMessage()

func (*QueryAllSequencerResponse) Reset

func (m *QueryAllSequencerResponse) Reset()

func (*QueryAllSequencerResponse) Size

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

func (*QueryAllSequencerResponse) String

func (m *QueryAllSequencerResponse) String() string

func (*QueryAllSequencerResponse) Unmarshal

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

func (*QueryAllSequencerResponse) XXX_DiscardUnknown

func (m *QueryAllSequencerResponse) XXX_DiscardUnknown()

func (*QueryAllSequencerResponse) XXX_Marshal

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

func (*QueryAllSequencerResponse) XXX_Merge

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

func (*QueryAllSequencerResponse) XXX_Size

func (m *QueryAllSequencerResponse) XXX_Size() int

func (*QueryAllSequencerResponse) XXX_Unmarshal

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

type QueryAllSequencersByRollappRequest

type QueryAllSequencersByRollappRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllSequencersByRollappRequest) Descriptor

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

func (*QueryAllSequencersByRollappRequest) GetPagination

func (*QueryAllSequencersByRollappRequest) Marshal

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

func (*QueryAllSequencersByRollappRequest) MarshalTo

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

func (*QueryAllSequencersByRollappRequest) MarshalToSizedBuffer

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

func (*QueryAllSequencersByRollappRequest) ProtoMessage

func (*QueryAllSequencersByRollappRequest) ProtoMessage()

func (*QueryAllSequencersByRollappRequest) Reset

func (*QueryAllSequencersByRollappRequest) Size

func (*QueryAllSequencersByRollappRequest) String

func (*QueryAllSequencersByRollappRequest) Unmarshal

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

func (*QueryAllSequencersByRollappRequest) XXX_DiscardUnknown

func (m *QueryAllSequencersByRollappRequest) XXX_DiscardUnknown()

func (*QueryAllSequencersByRollappRequest) XXX_Marshal

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

func (*QueryAllSequencersByRollappRequest) XXX_Merge

func (*QueryAllSequencersByRollappRequest) XXX_Size

func (*QueryAllSequencersByRollappRequest) XXX_Unmarshal

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

type QueryAllSequencersByRollappResponse

type QueryAllSequencersByRollappResponse struct {
	SequencersByRollapp []QueryGetSequencersByRollappResponse `protobuf:"bytes,1,rep,name=sequencersByRollapp,proto3" json:"sequencersByRollapp"`
	Pagination          *query.PageResponse                   `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllSequencersByRollappResponse) Descriptor

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

func (*QueryAllSequencersByRollappResponse) GetPagination

func (*QueryAllSequencersByRollappResponse) GetSequencersByRollapp

func (*QueryAllSequencersByRollappResponse) Marshal

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

func (*QueryAllSequencersByRollappResponse) MarshalTo

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

func (*QueryAllSequencersByRollappResponse) MarshalToSizedBuffer

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

func (*QueryAllSequencersByRollappResponse) ProtoMessage

func (*QueryAllSequencersByRollappResponse) ProtoMessage()

func (*QueryAllSequencersByRollappResponse) Reset

func (*QueryAllSequencersByRollappResponse) Size

func (*QueryAllSequencersByRollappResponse) String

func (*QueryAllSequencersByRollappResponse) Unmarshal

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

func (*QueryAllSequencersByRollappResponse) XXX_DiscardUnknown

func (m *QueryAllSequencersByRollappResponse) XXX_DiscardUnknown()

func (*QueryAllSequencersByRollappResponse) XXX_Marshal

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

func (*QueryAllSequencersByRollappResponse) XXX_Merge

func (*QueryAllSequencersByRollappResponse) XXX_Size

func (*QueryAllSequencersByRollappResponse) XXX_Unmarshal

func (m *QueryAllSequencersByRollappResponse) 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 Sequencer by index.
	Sequencer(ctx context.Context, in *QueryGetSequencerRequest, opts ...grpc.CallOption) (*QueryGetSequencerResponse, error)
	// Queries a list of Sequencer items.
	SequencerAll(ctx context.Context, in *QueryAllSequencerRequest, opts ...grpc.CallOption) (*QueryAllSequencerResponse, error)
	// Queries a SequencersByRollapp by index.
	SequencersByRollapp(ctx context.Context, in *QueryGetSequencersByRollappRequest, opts ...grpc.CallOption) (*QueryGetSequencersByRollappResponse, error)
	// Queries a list of SequencersByRollapp items.
	SequencersByRollappAll(ctx context.Context, in *QueryAllSequencersByRollappRequest, opts ...grpc.CallOption) (*QueryAllSequencersByRollappResponse, error)
	// Queries a Scheduler by index.
	Scheduler(ctx context.Context, in *QueryGetSchedulerRequest, opts ...grpc.CallOption) (*QueryGetSchedulerResponse, error)
	// Queries a list of Scheduler items.
	SchedulerAll(ctx context.Context, in *QueryAllSchedulerRequest, opts ...grpc.CallOption) (*QueryAllSchedulerResponse, 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 QueryGetSchedulerRequest

type QueryGetSchedulerRequest struct {
	SequencerAddress string `protobuf:"bytes,1,opt,name=sequencerAddress,proto3" json:"sequencerAddress,omitempty"`
}

func (*QueryGetSchedulerRequest) Descriptor

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

func (*QueryGetSchedulerRequest) GetSequencerAddress

func (m *QueryGetSchedulerRequest) GetSequencerAddress() string

func (*QueryGetSchedulerRequest) Marshal

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

func (*QueryGetSchedulerRequest) MarshalTo

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

func (*QueryGetSchedulerRequest) MarshalToSizedBuffer

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

func (*QueryGetSchedulerRequest) ProtoMessage

func (*QueryGetSchedulerRequest) ProtoMessage()

func (*QueryGetSchedulerRequest) Reset

func (m *QueryGetSchedulerRequest) Reset()

func (*QueryGetSchedulerRequest) Size

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

func (*QueryGetSchedulerRequest) String

func (m *QueryGetSchedulerRequest) String() string

func (*QueryGetSchedulerRequest) Unmarshal

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

func (*QueryGetSchedulerRequest) XXX_DiscardUnknown

func (m *QueryGetSchedulerRequest) XXX_DiscardUnknown()

func (*QueryGetSchedulerRequest) XXX_Marshal

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

func (*QueryGetSchedulerRequest) XXX_Merge

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

func (*QueryGetSchedulerRequest) XXX_Size

func (m *QueryGetSchedulerRequest) XXX_Size() int

func (*QueryGetSchedulerRequest) XXX_Unmarshal

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

type QueryGetSchedulerResponse

type QueryGetSchedulerResponse struct {
	Scheduler Scheduler `protobuf:"bytes,1,opt,name=scheduler,proto3" json:"scheduler"`
}

func (*QueryGetSchedulerResponse) Descriptor

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

func (*QueryGetSchedulerResponse) GetScheduler

func (m *QueryGetSchedulerResponse) GetScheduler() Scheduler

func (*QueryGetSchedulerResponse) Marshal

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

func (*QueryGetSchedulerResponse) MarshalTo

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

func (*QueryGetSchedulerResponse) MarshalToSizedBuffer

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

func (*QueryGetSchedulerResponse) ProtoMessage

func (*QueryGetSchedulerResponse) ProtoMessage()

func (*QueryGetSchedulerResponse) Reset

func (m *QueryGetSchedulerResponse) Reset()

func (*QueryGetSchedulerResponse) Size

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

func (*QueryGetSchedulerResponse) String

func (m *QueryGetSchedulerResponse) String() string

func (*QueryGetSchedulerResponse) Unmarshal

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

func (*QueryGetSchedulerResponse) XXX_DiscardUnknown

func (m *QueryGetSchedulerResponse) XXX_DiscardUnknown()

func (*QueryGetSchedulerResponse) XXX_Marshal

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

func (*QueryGetSchedulerResponse) XXX_Merge

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

func (*QueryGetSchedulerResponse) XXX_Size

func (m *QueryGetSchedulerResponse) XXX_Size() int

func (*QueryGetSchedulerResponse) XXX_Unmarshal

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

type QueryGetSequencerRequest

type QueryGetSequencerRequest struct {
	SequencerAddress string `protobuf:"bytes,1,opt,name=sequencerAddress,proto3" json:"sequencerAddress,omitempty"`
}

func (*QueryGetSequencerRequest) Descriptor

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

func (*QueryGetSequencerRequest) GetSequencerAddress

func (m *QueryGetSequencerRequest) GetSequencerAddress() string

func (*QueryGetSequencerRequest) Marshal

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

func (*QueryGetSequencerRequest) MarshalTo

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

func (*QueryGetSequencerRequest) MarshalToSizedBuffer

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

func (*QueryGetSequencerRequest) ProtoMessage

func (*QueryGetSequencerRequest) ProtoMessage()

func (*QueryGetSequencerRequest) Reset

func (m *QueryGetSequencerRequest) Reset()

func (*QueryGetSequencerRequest) Size

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

func (*QueryGetSequencerRequest) String

func (m *QueryGetSequencerRequest) String() string

func (*QueryGetSequencerRequest) Unmarshal

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

func (*QueryGetSequencerRequest) XXX_DiscardUnknown

func (m *QueryGetSequencerRequest) XXX_DiscardUnknown()

func (*QueryGetSequencerRequest) XXX_Marshal

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

func (*QueryGetSequencerRequest) XXX_Merge

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

func (*QueryGetSequencerRequest) XXX_Size

func (m *QueryGetSequencerRequest) XXX_Size() int

func (*QueryGetSequencerRequest) XXX_Unmarshal

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

type QueryGetSequencerResponse

type QueryGetSequencerResponse struct {
	SequencerInfo SequencerInfo `protobuf:"bytes,1,opt,name=sequencerInfo,proto3" json:"sequencerInfo"`
}

func (*QueryGetSequencerResponse) Descriptor

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

func (*QueryGetSequencerResponse) GetSequencerInfo

func (m *QueryGetSequencerResponse) GetSequencerInfo() SequencerInfo

func (*QueryGetSequencerResponse) Marshal

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

func (*QueryGetSequencerResponse) MarshalTo

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

func (*QueryGetSequencerResponse) MarshalToSizedBuffer

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

func (*QueryGetSequencerResponse) ProtoMessage

func (*QueryGetSequencerResponse) ProtoMessage()

func (*QueryGetSequencerResponse) Reset

func (m *QueryGetSequencerResponse) Reset()

func (*QueryGetSequencerResponse) Size

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

func (*QueryGetSequencerResponse) String

func (m *QueryGetSequencerResponse) String() string

func (*QueryGetSequencerResponse) Unmarshal

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

func (*QueryGetSequencerResponse) XXX_DiscardUnknown

func (m *QueryGetSequencerResponse) XXX_DiscardUnknown()

func (*QueryGetSequencerResponse) XXX_Marshal

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

func (*QueryGetSequencerResponse) XXX_Merge

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

func (*QueryGetSequencerResponse) XXX_Size

func (m *QueryGetSequencerResponse) XXX_Size() int

func (*QueryGetSequencerResponse) XXX_Unmarshal

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

type QueryGetSequencersByRollappRequest

type QueryGetSequencersByRollappRequest struct {
	RollappId string `protobuf:"bytes,1,opt,name=rollappId,proto3" json:"rollappId,omitempty"`
}

func (*QueryGetSequencersByRollappRequest) Descriptor

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

func (*QueryGetSequencersByRollappRequest) GetRollappId

func (m *QueryGetSequencersByRollappRequest) GetRollappId() string

func (*QueryGetSequencersByRollappRequest) Marshal

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

func (*QueryGetSequencersByRollappRequest) MarshalTo

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

func (*QueryGetSequencersByRollappRequest) MarshalToSizedBuffer

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

func (*QueryGetSequencersByRollappRequest) ProtoMessage

func (*QueryGetSequencersByRollappRequest) ProtoMessage()

func (*QueryGetSequencersByRollappRequest) Reset

func (*QueryGetSequencersByRollappRequest) Size

func (*QueryGetSequencersByRollappRequest) String

func (*QueryGetSequencersByRollappRequest) Unmarshal

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

func (*QueryGetSequencersByRollappRequest) XXX_DiscardUnknown

func (m *QueryGetSequencersByRollappRequest) XXX_DiscardUnknown()

func (*QueryGetSequencersByRollappRequest) XXX_Marshal

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

func (*QueryGetSequencersByRollappRequest) XXX_Merge

func (*QueryGetSequencersByRollappRequest) XXX_Size

func (*QueryGetSequencersByRollappRequest) XXX_Unmarshal

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

type QueryGetSequencersByRollappResponse

type QueryGetSequencersByRollappResponse struct {
	RollappId         string          `protobuf:"bytes,1,opt,name=rollappId,proto3" json:"rollappId,omitempty"`
	SequencerInfoList []SequencerInfo `protobuf:"bytes,2,rep,name=sequencerInfoList,proto3" json:"sequencerInfoList"`
}

func (*QueryGetSequencersByRollappResponse) Descriptor

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

func (*QueryGetSequencersByRollappResponse) GetRollappId

func (m *QueryGetSequencersByRollappResponse) GetRollappId() string

func (*QueryGetSequencersByRollappResponse) GetSequencerInfoList

func (m *QueryGetSequencersByRollappResponse) GetSequencerInfoList() []SequencerInfo

func (*QueryGetSequencersByRollappResponse) Marshal

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

func (*QueryGetSequencersByRollappResponse) MarshalTo

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

func (*QueryGetSequencersByRollappResponse) MarshalToSizedBuffer

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

func (*QueryGetSequencersByRollappResponse) ProtoMessage

func (*QueryGetSequencersByRollappResponse) ProtoMessage()

func (*QueryGetSequencersByRollappResponse) Reset

func (*QueryGetSequencersByRollappResponse) Size

func (*QueryGetSequencersByRollappResponse) String

func (*QueryGetSequencersByRollappResponse) Unmarshal

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

func (*QueryGetSequencersByRollappResponse) XXX_DiscardUnknown

func (m *QueryGetSequencersByRollappResponse) XXX_DiscardUnknown()

func (*QueryGetSequencersByRollappResponse) XXX_Marshal

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

func (*QueryGetSequencersByRollappResponse) XXX_Merge

func (*QueryGetSequencersByRollappResponse) XXX_Size

func (*QueryGetSequencersByRollappResponse) XXX_Unmarshal

func (m *QueryGetSequencersByRollappResponse) 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 Sequencer by index.
	Sequencer(context.Context, *QueryGetSequencerRequest) (*QueryGetSequencerResponse, error)
	// Queries a list of Sequencer items.
	SequencerAll(context.Context, *QueryAllSequencerRequest) (*QueryAllSequencerResponse, error)
	// Queries a SequencersByRollapp by index.
	SequencersByRollapp(context.Context, *QueryGetSequencersByRollappRequest) (*QueryGetSequencersByRollappResponse, error)
	// Queries a list of SequencersByRollapp items.
	SequencersByRollappAll(context.Context, *QueryAllSequencersByRollappRequest) (*QueryAllSequencersByRollappResponse, error)
	// Queries a Scheduler by index.
	Scheduler(context.Context, *QueryGetSchedulerRequest) (*QueryGetSchedulerResponse, error)
	// Queries a list of Scheduler items.
	SchedulerAll(context.Context, *QueryAllSchedulerRequest) (*QueryAllSchedulerResponse, error)
}

QueryServer is the server API for Query service.

type RollappKeeper

type RollappKeeper interface {
	GetRollapp(ctx sdk.Context, rollappId string) (val rollapptypes.Rollapp, found bool)
}

RollappKeeper defines the expected rollapp keeper used for retrieve rollapp.

type Scheduler

type Scheduler struct {
	// sequencerAddress is the bech32-encoded address of the sequencer account, identifying the sequencer
	SequencerAddress string `protobuf:"bytes,1,opt,name=sequencerAddress,proto3" json:"sequencerAddress,omitempty"`
	// status is the operating status of this sequencer
	Status OperatingStatus `protobuf:"varint,2,opt,name=status,proto3,enum=furyaxyz.furya.sequencer.OperatingStatus" json:"status,omitempty"`
}

Scheduler defines the operating status of a sequencer

func (*Scheduler) Descriptor

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

func (*Scheduler) GetSequencerAddress

func (m *Scheduler) GetSequencerAddress() string

func (*Scheduler) GetStatus

func (m *Scheduler) GetStatus() OperatingStatus

func (*Scheduler) Marshal

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

func (*Scheduler) MarshalTo

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

func (*Scheduler) MarshalToSizedBuffer

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

func (*Scheduler) ProtoMessage

func (*Scheduler) ProtoMessage()

func (*Scheduler) Reset

func (m *Scheduler) Reset()

func (*Scheduler) Size

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

func (*Scheduler) String

func (m *Scheduler) String() string

func (*Scheduler) Unmarshal

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

func (*Scheduler) XXX_DiscardUnknown

func (m *Scheduler) XXX_DiscardUnknown()

func (*Scheduler) XXX_Marshal

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

func (*Scheduler) XXX_Merge

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

func (*Scheduler) XXX_Size

func (m *Scheduler) XXX_Size() int

func (*Scheduler) XXX_Unmarshal

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

type Sequencer

type Sequencer struct {
	// sequencerAddress is the bech32-encoded address of the sequencer account which is the account that the message was sent from.
	SequencerAddress string `protobuf:"bytes,1,opt,name=sequencerAddress,proto3" json:"sequencerAddress,omitempty"`
	// pubkey is the public key of the sequencers' furyint client, as a Protobuf Any.
	FuryintPubKey *types.Any `protobuf:"bytes,2,opt,name=furyintPubKey,proto3" json:"furyintPubKey,omitempty"`
	// rollappId defines the rollapp to which the sequencer belongs.
	RollappId string `protobuf:"bytes,3,opt,name=rollappId,proto3" json:"rollappId,omitempty"`
	// description defines the descriptive terms for the sequencer.
	Description Description `protobuf:"bytes,4,opt,name=description,proto3" json:"description"`
}

Sequencer defines a sequencer identified by its' address (sequencerAddress). The sequencer could be attached to only one rollapp (rollappId).

func (*Sequencer) Descriptor

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

func (*Sequencer) GetDescription

func (m *Sequencer) GetDescription() Description

func (*Sequencer) GetFuryintPubKey

func (m *Sequencer) GetFuryintPubKey() *types.Any

func (*Sequencer) GetRollappId

func (m *Sequencer) GetRollappId() string

func (*Sequencer) GetSequencerAddress

func (m *Sequencer) GetSequencerAddress() string

func (*Sequencer) Marshal

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

func (*Sequencer) MarshalTo

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

func (*Sequencer) MarshalToSizedBuffer

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

func (*Sequencer) ProtoMessage

func (*Sequencer) ProtoMessage()

func (*Sequencer) Reset

func (m *Sequencer) Reset()

func (*Sequencer) Size

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

func (*Sequencer) String

func (m *Sequencer) String() string

func (*Sequencer) Unmarshal

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

func (*Sequencer) XXX_DiscardUnknown

func (m *Sequencer) XXX_DiscardUnknown()

func (*Sequencer) XXX_Marshal

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

func (*Sequencer) XXX_Merge

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

func (*Sequencer) XXX_Size

func (m *Sequencer) XXX_Size() int

func (*Sequencer) XXX_Unmarshal

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

type SequencerInfo

type SequencerInfo struct {
	// basic sequencer info
	Sequencer Sequencer `protobuf:"bytes,1,opt,name=sequencer,proto3" json:"sequencer"`
	// sequencers' operating status
	Status OperatingStatus `protobuf:"varint,2,opt,name=status,proto3,enum=furyaxyz.furya.sequencer.OperatingStatus" json:"status,omitempty"`
}

SequencerInfo holds information for user query.

func (*SequencerInfo) Descriptor

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

func (*SequencerInfo) GetSequencer

func (m *SequencerInfo) GetSequencer() Sequencer

func (*SequencerInfo) GetStatus

func (m *SequencerInfo) GetStatus() OperatingStatus

func (*SequencerInfo) Marshal

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

func (*SequencerInfo) MarshalTo

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

func (*SequencerInfo) MarshalToSizedBuffer

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

func (*SequencerInfo) ProtoMessage

func (*SequencerInfo) ProtoMessage()

func (*SequencerInfo) Reset

func (m *SequencerInfo) Reset()

func (*SequencerInfo) Size

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

func (*SequencerInfo) String

func (m *SequencerInfo) String() string

func (*SequencerInfo) Unmarshal

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

func (*SequencerInfo) XXX_DiscardUnknown

func (m *SequencerInfo) XXX_DiscardUnknown()

func (*SequencerInfo) XXX_Marshal

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

func (*SequencerInfo) XXX_Merge

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

func (*SequencerInfo) XXX_Size

func (m *SequencerInfo) XXX_Size() int

func (*SequencerInfo) XXX_Unmarshal

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

type SequencersByRollapp

type SequencersByRollapp struct {
	// rollappId is the unique identifier of the rollapp chain.
	// The rollappId follows the same standard as cosmos chain_id.
	RollappId string `protobuf:"bytes,1,opt,name=rollappId,proto3" json:"rollappId,omitempty"`
	// list of sequencers' account address
	Sequencers types.Sequencers `protobuf:"bytes,2,opt,name=sequencers,proto3" json:"sequencers"`
}

SequencersByRollapp defines an map between rollappId to a list of all sequencers that belongs to it.

func (*SequencersByRollapp) Descriptor

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

func (*SequencersByRollapp) GetRollappId

func (m *SequencersByRollapp) GetRollappId() string

func (*SequencersByRollapp) GetSequencers

func (m *SequencersByRollapp) GetSequencers() types.Sequencers

func (*SequencersByRollapp) Marshal

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

func (*SequencersByRollapp) MarshalTo

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

func (*SequencersByRollapp) MarshalToSizedBuffer

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

func (*SequencersByRollapp) ProtoMessage

func (*SequencersByRollapp) ProtoMessage()

func (*SequencersByRollapp) Reset

func (m *SequencersByRollapp) Reset()

func (*SequencersByRollapp) Size

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

func (*SequencersByRollapp) String

func (m *SequencersByRollapp) String() string

func (*SequencersByRollapp) Unmarshal

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

func (*SequencersByRollapp) XXX_DiscardUnknown

func (m *SequencersByRollapp) XXX_DiscardUnknown()

func (*SequencersByRollapp) XXX_Marshal

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

func (*SequencersByRollapp) XXX_Merge

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

func (*SequencersByRollapp) XXX_Size

func (m *SequencersByRollapp) XXX_Size() int

func (*SequencersByRollapp) XXX_Unmarshal

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CreateSequencer

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) Scheduler

func (*UnimplementedQueryServer) SchedulerAll

func (*UnimplementedQueryServer) Sequencer

func (*UnimplementedQueryServer) SequencerAll

Jump to

Keyboard shortcuts

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