types

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2025 License: MIT Imports: 35 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	ModuleName = "xsecurity"

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

	// RouterKey is the message route
	RouterKey = ModuleName

	// QuerierRoute defines the module's query routing key
	QuerierRoute = ModuleName

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_" + ModuleName
)
View Source
const TypMsgAddPools = "create_add_pools"
View Source
const TypMsgCreateGroup = "create_dvs_group"
View Source
const TypMsgRemovePools = "create_remove_pools"
View Source
const TypMsgSetGroupParam = "create_add_pools"
View Source
const TypMsgUpdateLSTStakingEnabled = "update_lst_staking_enabled"
View Source
const TypMsgUpdateVotingPowerRatio = "update_voting_power_ratio"
View Source
const TypeMsgCreateRegistryRouter = "create_registry_router"

Variables

View Source
var (
	ErrInvalidLengthEpochs        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEpochs          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEpochs = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrDataEmpty          = cosmoserrors.Register(ModuleName, 1101, "data empty")
	ErrInvalidDenominator = cosmoserrors.Register(ModuleName, 1102, "invalid denominator")
)

x/pevm 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 (
	KeyPrefixEpochNumber     = []byte{0x01}
	KeyBlocksPerEpoch        = []byte{0x02}
	LastNativeVotingPowerKey = []byte{0x03}

	LSTRegistryRouterAddressKey          = []byte{0x11}
	LSTGroupInfoKey                      = []byte{0x12}
	LSTOperatorRegistrationListKey       = []byte{0x13}
	LSTOperatorWeightedShareKey          = []byte{0x14}
	LSTLastRoundOperatorWeightedShareKey = []byte{0x15}
	LSTVotingPowerRatioKey               = []byte{0x16}
	LSTStakingEnabledKey                 = []byte{0x17}
)
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 (
	ErrInvalidLengthStore        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowStore          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupStore = 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 (
	ErrInvalidLengthVotingPower        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowVotingPower          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupVotingPower = fmt.Errorf("proto: unexpected end of group")
)
View Source
var Msg_serviceDesc = _Msg_serviceDesc
View Source
var Query_serviceDesc = _Query_serviceDesc
View Source
var WeightingDivisor = sdkmath.NewInt(1e18)

Functions

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 AuthorityKeeper

type AuthorityKeeper interface {
	IsAuthorized(ctx sdk.Context, address string, policyType authoritytypes.PolicyType) bool

	// SetPolicies is solely used for the migration of policies from observer to authority
	SetPolicies(ctx sdk.Context, policies authoritytypes.Policies)
}

type EpochNumber

type EpochNumber struct {
	EpochNumber uint64 `protobuf:"varint,1,opt,name=epoch_number,json=epochNumber,proto3" json:"epoch_number,omitempty"`
}

EpochNumber is the epoch number

func (*EpochNumber) Descriptor

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

func (*EpochNumber) GetEpochNumber

func (m *EpochNumber) GetEpochNumber() uint64

func (*EpochNumber) Marshal

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

func (*EpochNumber) MarshalTo

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

func (*EpochNumber) MarshalToSizedBuffer

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

func (*EpochNumber) ProtoMessage

func (*EpochNumber) ProtoMessage()

func (*EpochNumber) Reset

func (m *EpochNumber) Reset()

func (*EpochNumber) Size

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

func (*EpochNumber) String

func (m *EpochNumber) String() string

func (*EpochNumber) Unmarshal

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

func (*EpochNumber) XXX_DiscardUnknown

func (m *EpochNumber) XXX_DiscardUnknown()

func (*EpochNumber) XXX_Marshal

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

func (*EpochNumber) XXX_Merge

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

func (*EpochNumber) XXX_Size

func (m *EpochNumber) XXX_Size() int

func (*EpochNumber) XXX_Unmarshal

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

type G1Point

type G1Point struct {
	X cosmossdk_io_math.Int `protobuf:"bytes,1,opt,name=x,proto3,customtype=cosmossdk.io/math.Int" json:"x"`
	Y cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=y,proto3,customtype=cosmossdk.io/math.Int" json:"y"`
}

G1Point represents a point on the BN254 curve

func (*G1Point) Descriptor

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

func (*G1Point) Marshal

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

func (*G1Point) MarshalTo

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

func (*G1Point) MarshalToSizedBuffer

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

func (*G1Point) ProtoMessage

func (*G1Point) ProtoMessage()

func (*G1Point) Reset

func (m *G1Point) Reset()

func (*G1Point) Size

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

func (*G1Point) String

func (m *G1Point) String() string

func (*G1Point) Unmarshal

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

func (*G1Point) XXX_DiscardUnknown

func (m *G1Point) XXX_DiscardUnknown()

func (*G1Point) XXX_Marshal

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

func (*G1Point) XXX_Merge

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

func (*G1Point) XXX_Size

func (m *G1Point) XXX_Size() int

func (*G1Point) XXX_Unmarshal

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

type G2Point

type G2Point struct {
	X []cosmossdk_io_math.Int `protobuf:"bytes,1,rep,name=x,proto3,customtype=cosmossdk.io/math.Int" json:"x"`
	Y []cosmossdk_io_math.Int `protobuf:"bytes,2,rep,name=y,proto3,customtype=cosmossdk.io/math.Int" json:"y"`
}

G2Point represents a point on the BN254 curve, with field elements encoded as arrays

func (*G2Point) Descriptor

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

func (*G2Point) Marshal

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

func (*G2Point) MarshalTo

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

func (*G2Point) MarshalToSizedBuffer

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

func (*G2Point) ProtoMessage

func (*G2Point) ProtoMessage()

func (*G2Point) Reset

func (m *G2Point) Reset()

func (*G2Point) Size

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

func (*G2Point) String

func (m *G2Point) String() string

func (*G2Point) Unmarshal

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

func (*G2Point) XXX_DiscardUnknown

func (m *G2Point) XXX_DiscardUnknown()

func (*G2Point) XXX_Marshal

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

func (*G2Point) XXX_Merge

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

func (*G2Point) XXX_Size

func (m *G2Point) XXX_Size() int

func (*G2Point) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	VoteList []string `protobuf:"bytes,1,rep,name=vote_list,json=voteList,proto3" json:"vote_list,omitempty"`
}

xsecurity genesis state

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default authority genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetVoteList

func (m *GenesisState) GetVoteList() []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 LSTGroupInfo

type LSTGroupInfo struct {
	GroupNumber        uint64                    `protobuf:"varint,1,opt,name=group_number,json=groupNumber,proto3" json:"group_number,omitempty"`
	OperatorSetParam   *types.OperatorSetParam   `protobuf:"bytes,2,opt,name=operator_set_param,json=operatorSetParam,proto3" json:"operator_set_param,omitempty"`
	MinimumStake       cosmossdk_io_math.Int     `protobuf:"bytes,3,opt,name=minimum_stake,json=minimumStake,proto3,customtype=cosmossdk.io/math.Int" json:"minimum_stake"`
	PoolParams         []*types.PoolParams       `protobuf:"bytes,4,rep,name=pool_params,json=poolParams,proto3" json:"pool_params,omitempty"`
	GroupEjectionParam *types.GroupEjectionParam `protobuf:"bytes,5,opt,name=group_ejection_param,json=groupEjectionParam,proto3" json:"group_ejection_param,omitempty"`
}

LSTGroupInfo is the information of a LST group

func (*LSTGroupInfo) Descriptor

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

func (*LSTGroupInfo) GetGroupEjectionParam

func (m *LSTGroupInfo) GetGroupEjectionParam() *types.GroupEjectionParam

func (*LSTGroupInfo) GetGroupNumber

func (m *LSTGroupInfo) GetGroupNumber() uint64

func (*LSTGroupInfo) GetOperatorSetParam

func (m *LSTGroupInfo) GetOperatorSetParam() *types.OperatorSetParam

func (*LSTGroupInfo) GetPoolParams

func (m *LSTGroupInfo) GetPoolParams() []*types.PoolParams

func (*LSTGroupInfo) Marshal

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

func (*LSTGroupInfo) MarshalTo

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

func (*LSTGroupInfo) MarshalToSizedBuffer

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

func (*LSTGroupInfo) ProtoMessage

func (*LSTGroupInfo) ProtoMessage()

func (*LSTGroupInfo) Reset

func (m *LSTGroupInfo) Reset()

func (*LSTGroupInfo) Size

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

func (*LSTGroupInfo) String

func (m *LSTGroupInfo) String() string

func (*LSTGroupInfo) Unmarshal

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

func (*LSTGroupInfo) XXX_DiscardUnknown

func (m *LSTGroupInfo) XXX_DiscardUnknown()

func (*LSTGroupInfo) XXX_Marshal

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

func (*LSTGroupInfo) XXX_Merge

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

func (*LSTGroupInfo) XXX_Size

func (m *LSTGroupInfo) XXX_Size() int

func (*LSTGroupInfo) XXX_Unmarshal

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

type LSTOperatorRegistration

type LSTOperatorRegistration struct {
	OperatorAddress       string                 `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"`
	OperatorId            []byte                 `protobuf:"bytes,2,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"`
	RegisterOperatorParam *RegisterOperatorParam `` /* 126-byte string literal not displayed */
	ValidatorAddress      string                 `protobuf:"bytes,4,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
}

SignatureWithSaltAndExpiry holds the operator's signature details

func (*LSTOperatorRegistration) Descriptor

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

func (*LSTOperatorRegistration) GetOperatorAddress

func (m *LSTOperatorRegistration) GetOperatorAddress() string

func (*LSTOperatorRegistration) GetOperatorId

func (m *LSTOperatorRegistration) GetOperatorId() []byte

func (*LSTOperatorRegistration) GetRegisterOperatorParam

func (m *LSTOperatorRegistration) GetRegisterOperatorParam() *RegisterOperatorParam

func (*LSTOperatorRegistration) GetValidatorAddress

func (m *LSTOperatorRegistration) GetValidatorAddress() string

func (*LSTOperatorRegistration) Marshal

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

func (*LSTOperatorRegistration) MarshalTo

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

func (*LSTOperatorRegistration) MarshalToSizedBuffer

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

func (*LSTOperatorRegistration) ProtoMessage

func (*LSTOperatorRegistration) ProtoMessage()

func (*LSTOperatorRegistration) Reset

func (m *LSTOperatorRegistration) Reset()

func (*LSTOperatorRegistration) Size

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

func (*LSTOperatorRegistration) String

func (m *LSTOperatorRegistration) String() string

func (*LSTOperatorRegistration) Unmarshal

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

func (*LSTOperatorRegistration) XXX_DiscardUnknown

func (m *LSTOperatorRegistration) XXX_DiscardUnknown()

func (*LSTOperatorRegistration) XXX_Marshal

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

func (*LSTOperatorRegistration) XXX_Merge

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

func (*LSTOperatorRegistration) XXX_Size

func (m *LSTOperatorRegistration) XXX_Size() int

func (*LSTOperatorRegistration) XXX_Unmarshal

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

type LSTOperatorRegistrationList

type LSTOperatorRegistrationList struct {
	OperatorRegistrations []*LSTOperatorRegistration `protobuf:"bytes,1,rep,name=operator_registrations,json=operatorRegistrations,proto3" json:"operator_registrations,omitempty"`
}

LSTOperatorRegistrationList is a list of LST operator registrations

func (*LSTOperatorRegistrationList) Descriptor

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

func (*LSTOperatorRegistrationList) GetOperatorRegistrations

func (m *LSTOperatorRegistrationList) GetOperatorRegistrations() []*LSTOperatorRegistration

func (*LSTOperatorRegistrationList) Marshal

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

func (*LSTOperatorRegistrationList) MarshalTo

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

func (*LSTOperatorRegistrationList) MarshalToSizedBuffer

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

func (*LSTOperatorRegistrationList) ProtoMessage

func (*LSTOperatorRegistrationList) ProtoMessage()

func (*LSTOperatorRegistrationList) Reset

func (m *LSTOperatorRegistrationList) Reset()

func (*LSTOperatorRegistrationList) Size

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

func (*LSTOperatorRegistrationList) String

func (m *LSTOperatorRegistrationList) String() string

func (*LSTOperatorRegistrationList) Unmarshal

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

func (*LSTOperatorRegistrationList) XXX_DiscardUnknown

func (m *LSTOperatorRegistrationList) XXX_DiscardUnknown()

func (*LSTOperatorRegistrationList) XXX_Marshal

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

func (*LSTOperatorRegistrationList) XXX_Merge

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

func (*LSTOperatorRegistrationList) XXX_Size

func (m *LSTOperatorRegistrationList) XXX_Size() int

func (*LSTOperatorRegistrationList) XXX_Unmarshal

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

type LSTOperatorWeightedShare

type LSTOperatorWeightedShare struct {
	OperatorAddress string                `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"`
	ValidatorAddr   string                `protobuf:"bytes,2,opt,name=validator_addr,json=validatorAddr,proto3" json:"validator_addr,omitempty"`
	WeightedShare   cosmossdk_io_math.Int `protobuf:"bytes,3,opt,name=weighted_share,json=weightedShare,proto3,customtype=cosmossdk.io/math.Int" json:"weighted_share"`
}

LSTOperatorWeightedShare stores the weighted share of an operator

func (*LSTOperatorWeightedShare) Descriptor

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

func (*LSTOperatorWeightedShare) GetOperatorAddress

func (m *LSTOperatorWeightedShare) GetOperatorAddress() string

func (*LSTOperatorWeightedShare) GetValidatorAddr

func (m *LSTOperatorWeightedShare) GetValidatorAddr() string

func (*LSTOperatorWeightedShare) Marshal

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

func (*LSTOperatorWeightedShare) MarshalTo

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

func (*LSTOperatorWeightedShare) MarshalToSizedBuffer

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

func (*LSTOperatorWeightedShare) ProtoMessage

func (*LSTOperatorWeightedShare) ProtoMessage()

func (*LSTOperatorWeightedShare) Reset

func (m *LSTOperatorWeightedShare) Reset()

func (*LSTOperatorWeightedShare) Size

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

func (*LSTOperatorWeightedShare) String

func (m *LSTOperatorWeightedShare) String() string

func (*LSTOperatorWeightedShare) Unmarshal

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

func (*LSTOperatorWeightedShare) XXX_DiscardUnknown

func (m *LSTOperatorWeightedShare) XXX_DiscardUnknown()

func (*LSTOperatorWeightedShare) XXX_Marshal

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

func (*LSTOperatorWeightedShare) XXX_Merge

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

func (*LSTOperatorWeightedShare) XXX_Size

func (m *LSTOperatorWeightedShare) XXX_Size() int

func (*LSTOperatorWeightedShare) XXX_Unmarshal

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

type LSTOperatorWeightedShareList

type LSTOperatorWeightedShareList struct {
	OperatorWeightedShares []*LSTOperatorWeightedShare `` /* 129-byte string literal not displayed */
}

LSTOperatorWeightedShareList stores a list of OperatorWeightedShare

func (*LSTOperatorWeightedShareList) Descriptor

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

func (*LSTOperatorWeightedShareList) GetOperatorWeightedShares

func (m *LSTOperatorWeightedShareList) GetOperatorWeightedShares() []*LSTOperatorWeightedShare

func (*LSTOperatorWeightedShareList) Marshal

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

func (*LSTOperatorWeightedShareList) MarshalTo

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

func (*LSTOperatorWeightedShareList) MarshalToSizedBuffer

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

func (*LSTOperatorWeightedShareList) ProtoMessage

func (*LSTOperatorWeightedShareList) ProtoMessage()

func (*LSTOperatorWeightedShareList) Reset

func (m *LSTOperatorWeightedShareList) Reset()

func (*LSTOperatorWeightedShareList) Size

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

func (*LSTOperatorWeightedShareList) String

func (*LSTOperatorWeightedShareList) Unmarshal

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

func (*LSTOperatorWeightedShareList) XXX_DiscardUnknown

func (m *LSTOperatorWeightedShareList) XXX_DiscardUnknown()

func (*LSTOperatorWeightedShareList) XXX_Marshal

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

func (*LSTOperatorWeightedShareList) XXX_Merge

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

func (*LSTOperatorWeightedShareList) XXX_Size

func (m *LSTOperatorWeightedShareList) XXX_Size() int

func (*LSTOperatorWeightedShareList) XXX_Unmarshal

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

type LSTRegistryRouterAddress

type LSTRegistryRouterAddress struct {
	RegistryRouterAddress      string `` /* 126-byte string literal not displayed */
	StakeRegistryRouterAddress string `` /* 143-byte string literal not displayed */
}

LSTRegistryRouterAddress is the address of the LST registry router and stake registry router

func (*LSTRegistryRouterAddress) Descriptor

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

func (*LSTRegistryRouterAddress) GetRegistryRouterAddress

func (m *LSTRegistryRouterAddress) GetRegistryRouterAddress() string

func (*LSTRegistryRouterAddress) GetStakeRegistryRouterAddress

func (m *LSTRegistryRouterAddress) GetStakeRegistryRouterAddress() string

func (*LSTRegistryRouterAddress) Marshal

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

func (*LSTRegistryRouterAddress) MarshalTo

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

func (*LSTRegistryRouterAddress) MarshalToSizedBuffer

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

func (*LSTRegistryRouterAddress) ProtoMessage

func (*LSTRegistryRouterAddress) ProtoMessage()

func (*LSTRegistryRouterAddress) Reset

func (m *LSTRegistryRouterAddress) Reset()

func (*LSTRegistryRouterAddress) Size

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

func (*LSTRegistryRouterAddress) String

func (m *LSTRegistryRouterAddress) String() string

func (*LSTRegistryRouterAddress) Unmarshal

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

func (*LSTRegistryRouterAddress) XXX_DiscardUnknown

func (m *LSTRegistryRouterAddress) XXX_DiscardUnknown()

func (*LSTRegistryRouterAddress) XXX_Marshal

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

func (*LSTRegistryRouterAddress) XXX_Merge

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

func (*LSTRegistryRouterAddress) XXX_Size

func (m *LSTRegistryRouterAddress) XXX_Size() int

func (*LSTRegistryRouterAddress) XXX_Unmarshal

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

type LSTStakingEnabled

type LSTStakingEnabled struct {
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
}

LSTStakingEnabled is the enable status of LST staking

func (*LSTStakingEnabled) Descriptor

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

func (*LSTStakingEnabled) GetEnabled

func (m *LSTStakingEnabled) GetEnabled() bool

func (*LSTStakingEnabled) Marshal

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

func (*LSTStakingEnabled) MarshalTo

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

func (*LSTStakingEnabled) MarshalToSizedBuffer

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

func (*LSTStakingEnabled) ProtoMessage

func (*LSTStakingEnabled) ProtoMessage()

func (*LSTStakingEnabled) Reset

func (m *LSTStakingEnabled) Reset()

func (*LSTStakingEnabled) Size

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

func (*LSTStakingEnabled) String

func (m *LSTStakingEnabled) String() string

func (*LSTStakingEnabled) Unmarshal

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

func (*LSTStakingEnabled) XXX_DiscardUnknown

func (m *LSTStakingEnabled) XXX_DiscardUnknown()

func (*LSTStakingEnabled) XXX_Marshal

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

func (*LSTStakingEnabled) XXX_Merge

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

func (*LSTStakingEnabled) XXX_Size

func (m *LSTStakingEnabled) XXX_Size() int

func (*LSTStakingEnabled) XXX_Unmarshal

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

type LSTVotingPowerRatio

type LSTVotingPowerRatio struct {
	Numerator   cosmossdk_io_math.Int `protobuf:"bytes,1,opt,name=numerator,proto3,customtype=cosmossdk.io/math.Int" json:"numerator"`
	Denominator cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=denominator,proto3,customtype=cosmossdk.io/math.Int" json:"denominator"`
}

LSTVotingPowerRatio is the ratio of voting power

func (*LSTVotingPowerRatio) Descriptor

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

func (*LSTVotingPowerRatio) Marshal

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

func (*LSTVotingPowerRatio) MarshalTo

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

func (*LSTVotingPowerRatio) MarshalToSizedBuffer

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

func (*LSTVotingPowerRatio) ProtoMessage

func (*LSTVotingPowerRatio) ProtoMessage()

func (*LSTVotingPowerRatio) Reset

func (m *LSTVotingPowerRatio) Reset()

func (*LSTVotingPowerRatio) Size

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

func (*LSTVotingPowerRatio) String

func (m *LSTVotingPowerRatio) String() string

func (*LSTVotingPowerRatio) Unmarshal

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

func (*LSTVotingPowerRatio) XXX_DiscardUnknown

func (m *LSTVotingPowerRatio) XXX_DiscardUnknown()

func (*LSTVotingPowerRatio) XXX_Marshal

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

func (*LSTVotingPowerRatio) XXX_Merge

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

func (*LSTVotingPowerRatio) XXX_Size

func (m *LSTVotingPowerRatio) XXX_Size() int

func (*LSTVotingPowerRatio) XXX_Unmarshal

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

type LightclientKeeper

type LightclientKeeper interface {
	CheckNewBlockHeader(
		ctx sdk.Context,
		chainID int64,
		blockHash []byte,
		height int64,
		header proofs.HeaderData,
	) ([]byte, error)
	AddBlockHeader(
		ctx sdk.Context,
		chainID int64,
		height int64,
		blockHash []byte,
		header proofs.HeaderData,
		parentHash []byte,
	)
}

type MsgAddPools

type MsgAddPools struct {
	Signer      string              `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	GroupNumber int64               `protobuf:"varint,2,opt,name=group_number,json=groupNumber,proto3" json:"group_number,omitempty"`
	Pools       []*types.PoolParams `protobuf:"bytes,3,rep,name=pools,proto3" json:"pools,omitempty"`
}

MsgAddPool adds strategies to a DVS group

func NewMsgAddPools

func NewMsgAddPools(signer string, poolParams []*types.PoolParams) *MsgAddPools

func (*MsgAddPools) Descriptor

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

func (*MsgAddPools) GetGroupNumber

func (m *MsgAddPools) GetGroupNumber() int64

func (*MsgAddPools) GetPools

func (m *MsgAddPools) GetPools() []*types.PoolParams

func (*MsgAddPools) GetSignBytes

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

func (*MsgAddPools) GetSigner

func (m *MsgAddPools) GetSigner() string

func (*MsgAddPools) GetSigners

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

func (*MsgAddPools) Marshal

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

func (*MsgAddPools) MarshalTo

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

func (*MsgAddPools) MarshalToSizedBuffer

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

func (*MsgAddPools) ProtoMessage

func (*MsgAddPools) ProtoMessage()

func (*MsgAddPools) Reset

func (m *MsgAddPools) Reset()

func (*MsgAddPools) Route

func (msg *MsgAddPools) Route() string

func (*MsgAddPools) Size

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

func (*MsgAddPools) String

func (m *MsgAddPools) String() string

func (*MsgAddPools) Type

func (msg *MsgAddPools) Type() string

func (*MsgAddPools) Unmarshal

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

func (*MsgAddPools) ValidateBasic

func (msg *MsgAddPools) ValidateBasic() error

func (*MsgAddPools) XXX_DiscardUnknown

func (m *MsgAddPools) XXX_DiscardUnknown()

func (*MsgAddPools) XXX_Marshal

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

func (*MsgAddPools) XXX_Merge

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

func (*MsgAddPools) XXX_Size

func (m *MsgAddPools) XXX_Size() int

func (*MsgAddPools) XXX_Unmarshal

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

type MsgAddPoolsResponse

type MsgAddPoolsResponse struct {
}

MsgAddPoolResponse is the response for MsgAddPool

func (*MsgAddPoolsResponse) Descriptor

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

func (*MsgAddPoolsResponse) Marshal

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

func (*MsgAddPoolsResponse) MarshalTo

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

func (*MsgAddPoolsResponse) MarshalToSizedBuffer

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

func (*MsgAddPoolsResponse) ProtoMessage

func (*MsgAddPoolsResponse) ProtoMessage()

func (*MsgAddPoolsResponse) Reset

func (m *MsgAddPoolsResponse) Reset()

func (*MsgAddPoolsResponse) Size

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

func (*MsgAddPoolsResponse) String

func (m *MsgAddPoolsResponse) String() string

func (*MsgAddPoolsResponse) Unmarshal

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

func (*MsgAddPoolsResponse) XXX_DiscardUnknown

func (m *MsgAddPoolsResponse) XXX_DiscardUnknown()

func (*MsgAddPoolsResponse) XXX_Marshal

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

func (*MsgAddPoolsResponse) XXX_Merge

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

func (*MsgAddPoolsResponse) XXX_Size

func (m *MsgAddPoolsResponse) XXX_Size() int

func (*MsgAddPoolsResponse) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	// CreateRegistryRouter creates a registry router
	CreateRegistryRouter(ctx context.Context, in *MsgCreateRegistryRouter, opts ...grpc.CallOption) (*MsgCreateRegistryRouterResponse, error)
	// CreateGroup creates a group
	CreateGroup(ctx context.Context, in *MsgCreateGroup, opts ...grpc.CallOption) (*MsgCreateGroupResponse, error)
	// SetGroupParam sets the parameters of a DVS group
	SetGroupParam(ctx context.Context, in *MsgSetGroupParam, opts ...grpc.CallOption) (*MsgSetGroupParamResponse, error)
	// AddPools adds strategies to a DVS group
	AddPools(ctx context.Context, in *MsgAddPools, opts ...grpc.CallOption) (*MsgAddPoolsResponse, error)
	// RemovePools removes strategies from a DVS group
	RemovePools(ctx context.Context, in *MsgRemovePools, opts ...grpc.CallOption) (*MsgRemovePoolsResponse, error)
	// RegisterOperator registers an operator
	RegisterOperator(ctx context.Context, in *MsgRegisterOperator, opts ...grpc.CallOption) (*MsgRegisterOperatorResponse, error)
	// UpdateVotingPowerRatio updates the voting power ratio
	UpdateVotingPowerRatio(ctx context.Context, in *MsgUpdateVotingPowerRatio, opts ...grpc.CallOption) (*MsgUpdateVotingPowerRatioResponse, error)
	// UpdateLSTStakingEnabled updates the LST staking enabled status
	UpdateLSTStakingEnabled(ctx context.Context, in *MsgUpdateLSTStakingEnabled, opts ...grpc.CallOption) (*MsgUpdateLSTStakingEnabledResponse, 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 MsgCreateGroup

type MsgCreateGroup struct {
	Signer              string                    `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	OperatorSetParams   *types.OperatorSetParam   `protobuf:"bytes,2,opt,name=operator_set_params,json=operatorSetParams,proto3" json:"operator_set_params,omitempty"`
	PoolParams          []*types.PoolParams       `protobuf:"bytes,3,rep,name=pool_params,json=poolParams,proto3" json:"pool_params,omitempty"`
	GroupEjectionParams *types.GroupEjectionParam `protobuf:"bytes,4,opt,name=group_ejection_params,json=groupEjectionParams,proto3" json:"group_ejection_params,omitempty"`
	MinStake            cosmossdk_io_math.Int     `protobuf:"bytes,5,opt,name=min_stake,json=minStake,proto3,customtype=cosmossdk.io/math.Int" json:"min_stake"`
}

MsgCreateGroup creates a DVS group

func NewMsgCreateGroup

func NewMsgCreateGroup(signer string, operatorSetParams *types.OperatorSetParam, poolParams []*types.PoolParams, groupEjectionParams *types.GroupEjectionParam, minStake sdkmath.Int) *MsgCreateGroup

func (*MsgCreateGroup) Descriptor

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

func (*MsgCreateGroup) GetGroupEjectionParams

func (m *MsgCreateGroup) GetGroupEjectionParams() *types.GroupEjectionParam

func (*MsgCreateGroup) GetOperatorSetParams

func (m *MsgCreateGroup) GetOperatorSetParams() *types.OperatorSetParam

func (*MsgCreateGroup) GetPoolParams

func (m *MsgCreateGroup) GetPoolParams() []*types.PoolParams

func (*MsgCreateGroup) GetSignBytes

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

func (*MsgCreateGroup) GetSigner

func (m *MsgCreateGroup) GetSigner() string

func (*MsgCreateGroup) GetSigners

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

func (*MsgCreateGroup) Marshal

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

func (*MsgCreateGroup) MarshalTo

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

func (*MsgCreateGroup) MarshalToSizedBuffer

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

func (*MsgCreateGroup) ProtoMessage

func (*MsgCreateGroup) ProtoMessage()

func (*MsgCreateGroup) Reset

func (m *MsgCreateGroup) Reset()

func (*MsgCreateGroup) Route

func (msg *MsgCreateGroup) Route() string

func (*MsgCreateGroup) Size

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

func (*MsgCreateGroup) String

func (m *MsgCreateGroup) String() string

func (*MsgCreateGroup) Type

func (msg *MsgCreateGroup) Type() string

func (*MsgCreateGroup) Unmarshal

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

func (*MsgCreateGroup) ValidateBasic

func (msg *MsgCreateGroup) ValidateBasic() error

func (*MsgCreateGroup) XXX_DiscardUnknown

func (m *MsgCreateGroup) XXX_DiscardUnknown()

func (*MsgCreateGroup) XXX_Marshal

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

func (*MsgCreateGroup) XXX_Merge

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

func (*MsgCreateGroup) XXX_Size

func (m *MsgCreateGroup) XXX_Size() int

func (*MsgCreateGroup) XXX_Unmarshal

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

type MsgCreateGroupResponse

type MsgCreateGroupResponse struct {
}

MsgCreateGroupResponse is the response for MsgCreateDVSGroup

func (*MsgCreateGroupResponse) Descriptor

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

func (*MsgCreateGroupResponse) Marshal

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

func (*MsgCreateGroupResponse) MarshalTo

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

func (*MsgCreateGroupResponse) MarshalToSizedBuffer

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

func (*MsgCreateGroupResponse) ProtoMessage

func (*MsgCreateGroupResponse) ProtoMessage()

func (*MsgCreateGroupResponse) Reset

func (m *MsgCreateGroupResponse) Reset()

func (*MsgCreateGroupResponse) Size

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

func (*MsgCreateGroupResponse) String

func (m *MsgCreateGroupResponse) String() string

func (*MsgCreateGroupResponse) Unmarshal

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

func (*MsgCreateGroupResponse) XXX_DiscardUnknown

func (m *MsgCreateGroupResponse) XXX_DiscardUnknown()

func (*MsgCreateGroupResponse) XXX_Marshal

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

func (*MsgCreateGroupResponse) XXX_Merge

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

func (*MsgCreateGroupResponse) XXX_Size

func (m *MsgCreateGroupResponse) XXX_Size() int

func (*MsgCreateGroupResponse) XXX_Unmarshal

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

type MsgCreateRegistryRouter

type MsgCreateRegistryRouter struct {
	Signer              string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	ChainApprover       string `protobuf:"bytes,2,opt,name=chain_approver,json=chainApprover,proto3" json:"chain_approver,omitempty"`
	ChurnApprover       string `protobuf:"bytes,3,opt,name=churn_approver,json=churnApprover,proto3" json:"churn_approver,omitempty"`
	Ejector             string `protobuf:"bytes,4,opt,name=ejector,proto3" json:"ejector,omitempty"`
	Pauser              string `protobuf:"bytes,5,opt,name=pauser,proto3" json:"pauser,omitempty"`
	Unpauser            string `protobuf:"bytes,6,opt,name=unpauser,proto3" json:"unpauser,omitempty"`
	InitialPausedStatus int64  `protobuf:"varint,7,opt,name=initial_paused_status,json=initialPausedStatus,proto3" json:"initial_paused_status,omitempty"`
}

MsgCreateRegistryRouter creates a registry router

func NewMsgCreateRegistryRouter

func NewMsgCreateRegistryRouter(signer, chainApprover, churnApprover, ejector, pauser, unpauser string, initialPausedStatus int64) *MsgCreateRegistryRouter

func (*MsgCreateRegistryRouter) Descriptor

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

func (*MsgCreateRegistryRouter) GetChainApprover

func (m *MsgCreateRegistryRouter) GetChainApprover() string

func (*MsgCreateRegistryRouter) GetChurnApprover

func (m *MsgCreateRegistryRouter) GetChurnApprover() string

func (*MsgCreateRegistryRouter) GetEjector

func (m *MsgCreateRegistryRouter) GetEjector() string

func (*MsgCreateRegistryRouter) GetInitialPausedStatus

func (m *MsgCreateRegistryRouter) GetInitialPausedStatus() int64

func (*MsgCreateRegistryRouter) GetPauser

func (m *MsgCreateRegistryRouter) GetPauser() string

func (*MsgCreateRegistryRouter) GetSignBytes

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

func (*MsgCreateRegistryRouter) GetSigner

func (m *MsgCreateRegistryRouter) GetSigner() string

func (*MsgCreateRegistryRouter) GetSigners

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

func (*MsgCreateRegistryRouter) GetUnpauser

func (m *MsgCreateRegistryRouter) GetUnpauser() string

func (*MsgCreateRegistryRouter) Marshal

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

func (*MsgCreateRegistryRouter) MarshalTo

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

func (*MsgCreateRegistryRouter) MarshalToSizedBuffer

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

func (*MsgCreateRegistryRouter) ProtoMessage

func (*MsgCreateRegistryRouter) ProtoMessage()

func (*MsgCreateRegistryRouter) Reset

func (m *MsgCreateRegistryRouter) Reset()

func (*MsgCreateRegistryRouter) Route

func (msg *MsgCreateRegistryRouter) Route() string

func (*MsgCreateRegistryRouter) Size

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

func (*MsgCreateRegistryRouter) String

func (m *MsgCreateRegistryRouter) String() string

func (*MsgCreateRegistryRouter) Type

func (msg *MsgCreateRegistryRouter) Type() string

func (*MsgCreateRegistryRouter) Unmarshal

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

func (*MsgCreateRegistryRouter) ValidateBasic

func (msg *MsgCreateRegistryRouter) ValidateBasic() error

func (*MsgCreateRegistryRouter) XXX_DiscardUnknown

func (m *MsgCreateRegistryRouter) XXX_DiscardUnknown()

func (*MsgCreateRegistryRouter) XXX_Marshal

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

func (*MsgCreateRegistryRouter) XXX_Merge

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

func (*MsgCreateRegistryRouter) XXX_Size

func (m *MsgCreateRegistryRouter) XXX_Size() int

func (*MsgCreateRegistryRouter) XXX_Unmarshal

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

type MsgCreateRegistryRouterResponse

type MsgCreateRegistryRouterResponse struct {
}

MsgCreateRegistryRouterResponse is the response for MsgCreateRegistryRouter

func (*MsgCreateRegistryRouterResponse) Descriptor

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

func (*MsgCreateRegistryRouterResponse) Marshal

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

func (*MsgCreateRegistryRouterResponse) MarshalTo

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

func (*MsgCreateRegistryRouterResponse) MarshalToSizedBuffer

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

func (*MsgCreateRegistryRouterResponse) ProtoMessage

func (*MsgCreateRegistryRouterResponse) ProtoMessage()

func (*MsgCreateRegistryRouterResponse) Reset

func (*MsgCreateRegistryRouterResponse) Size

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

func (*MsgCreateRegistryRouterResponse) String

func (*MsgCreateRegistryRouterResponse) Unmarshal

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

func (*MsgCreateRegistryRouterResponse) XXX_DiscardUnknown

func (m *MsgCreateRegistryRouterResponse) XXX_DiscardUnknown()

func (*MsgCreateRegistryRouterResponse) XXX_Marshal

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

func (*MsgCreateRegistryRouterResponse) XXX_Merge

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

func (*MsgCreateRegistryRouterResponse) XXX_Size

func (m *MsgCreateRegistryRouterResponse) XXX_Size() int

func (*MsgCreateRegistryRouterResponse) XXX_Unmarshal

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

type MsgRegisterOperator

type MsgRegisterOperator struct {
	Signer                string                 `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	RegisterOperatorParam *RegisterOperatorParam `` /* 126-byte string literal not displayed */
	OperatorAddress       string                 `protobuf:"bytes,3,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"`
}

MsgRegisterOperator registers an operator

func (*MsgRegisterOperator) Descriptor

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

func (*MsgRegisterOperator) GetOperatorAddress

func (m *MsgRegisterOperator) GetOperatorAddress() string

func (*MsgRegisterOperator) GetRegisterOperatorParam

func (m *MsgRegisterOperator) GetRegisterOperatorParam() *RegisterOperatorParam

func (*MsgRegisterOperator) GetSigner

func (m *MsgRegisterOperator) GetSigner() string

func (*MsgRegisterOperator) Marshal

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

func (*MsgRegisterOperator) MarshalTo

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

func (*MsgRegisterOperator) MarshalToSizedBuffer

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

func (*MsgRegisterOperator) ProtoMessage

func (*MsgRegisterOperator) ProtoMessage()

func (*MsgRegisterOperator) Reset

func (m *MsgRegisterOperator) Reset()

func (*MsgRegisterOperator) Size

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

func (*MsgRegisterOperator) String

func (m *MsgRegisterOperator) String() string

func (*MsgRegisterOperator) Unmarshal

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

func (*MsgRegisterOperator) XXX_DiscardUnknown

func (m *MsgRegisterOperator) XXX_DiscardUnknown()

func (*MsgRegisterOperator) XXX_Marshal

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

func (*MsgRegisterOperator) XXX_Merge

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

func (*MsgRegisterOperator) XXX_Size

func (m *MsgRegisterOperator) XXX_Size() int

func (*MsgRegisterOperator) XXX_Unmarshal

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

type MsgRegisterOperatorResponse

type MsgRegisterOperatorResponse struct {
}

MsgRegisterOperatorResponse is the response for MsgRegisterOperator

func (*MsgRegisterOperatorResponse) Descriptor

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

func (*MsgRegisterOperatorResponse) Marshal

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

func (*MsgRegisterOperatorResponse) MarshalTo

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

func (*MsgRegisterOperatorResponse) MarshalToSizedBuffer

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

func (*MsgRegisterOperatorResponse) ProtoMessage

func (*MsgRegisterOperatorResponse) ProtoMessage()

func (*MsgRegisterOperatorResponse) Reset

func (m *MsgRegisterOperatorResponse) Reset()

func (*MsgRegisterOperatorResponse) Size

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

func (*MsgRegisterOperatorResponse) String

func (m *MsgRegisterOperatorResponse) String() string

func (*MsgRegisterOperatorResponse) Unmarshal

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

func (*MsgRegisterOperatorResponse) XXX_DiscardUnknown

func (m *MsgRegisterOperatorResponse) XXX_DiscardUnknown()

func (*MsgRegisterOperatorResponse) XXX_Marshal

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

func (*MsgRegisterOperatorResponse) XXX_Merge

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

func (*MsgRegisterOperatorResponse) XXX_Size

func (m *MsgRegisterOperatorResponse) XXX_Size() int

func (*MsgRegisterOperatorResponse) XXX_Unmarshal

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

type MsgRemovePools

type MsgRemovePools struct {
	Signer      string              `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	GroupNumber int64               `protobuf:"varint,2,opt,name=group_number,json=groupNumber,proto3" json:"group_number,omitempty"`
	Pools       []*types.PoolParams `protobuf:"bytes,3,rep,name=pools,proto3" json:"pools,omitempty"`
}

MsgRemovePool removes strategies from a DVS group

func NewMsgRemovePools

func NewMsgRemovePools(signer string, poolParams []*types.PoolParams) *MsgRemovePools

func (*MsgRemovePools) Descriptor

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

func (*MsgRemovePools) GetGroupNumber

func (m *MsgRemovePools) GetGroupNumber() int64

func (*MsgRemovePools) GetPools

func (m *MsgRemovePools) GetPools() []*types.PoolParams

func (*MsgRemovePools) GetSignBytes

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

func (*MsgRemovePools) GetSigner

func (m *MsgRemovePools) GetSigner() string

func (*MsgRemovePools) GetSigners

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

func (*MsgRemovePools) Marshal

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

func (*MsgRemovePools) MarshalTo

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

func (*MsgRemovePools) MarshalToSizedBuffer

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

func (*MsgRemovePools) ProtoMessage

func (*MsgRemovePools) ProtoMessage()

func (*MsgRemovePools) Reset

func (m *MsgRemovePools) Reset()

func (*MsgRemovePools) Route

func (msg *MsgRemovePools) Route() string

func (*MsgRemovePools) Size

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

func (*MsgRemovePools) String

func (m *MsgRemovePools) String() string

func (*MsgRemovePools) Type

func (msg *MsgRemovePools) Type() string

func (*MsgRemovePools) Unmarshal

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

func (*MsgRemovePools) ValidateBasic

func (msg *MsgRemovePools) ValidateBasic() error

func (*MsgRemovePools) XXX_DiscardUnknown

func (m *MsgRemovePools) XXX_DiscardUnknown()

func (*MsgRemovePools) XXX_Marshal

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

func (*MsgRemovePools) XXX_Merge

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

func (*MsgRemovePools) XXX_Size

func (m *MsgRemovePools) XXX_Size() int

func (*MsgRemovePools) XXX_Unmarshal

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

type MsgRemovePoolsResponse

type MsgRemovePoolsResponse struct {
}

MsgRemovePoolResponse is the response for MsgRemovePool

func (*MsgRemovePoolsResponse) Descriptor

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

func (*MsgRemovePoolsResponse) Marshal

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

func (*MsgRemovePoolsResponse) MarshalTo

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

func (*MsgRemovePoolsResponse) MarshalToSizedBuffer

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

func (*MsgRemovePoolsResponse) ProtoMessage

func (*MsgRemovePoolsResponse) ProtoMessage()

func (*MsgRemovePoolsResponse) Reset

func (m *MsgRemovePoolsResponse) Reset()

func (*MsgRemovePoolsResponse) Size

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

func (*MsgRemovePoolsResponse) String

func (m *MsgRemovePoolsResponse) String() string

func (*MsgRemovePoolsResponse) Unmarshal

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

func (*MsgRemovePoolsResponse) XXX_DiscardUnknown

func (m *MsgRemovePoolsResponse) XXX_DiscardUnknown()

func (*MsgRemovePoolsResponse) XXX_Marshal

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

func (*MsgRemovePoolsResponse) XXX_Merge

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

func (*MsgRemovePoolsResponse) XXX_Size

func (m *MsgRemovePoolsResponse) XXX_Size() int

func (*MsgRemovePoolsResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
	// CreateRegistryRouter creates a registry router
	CreateRegistryRouter(context.Context, *MsgCreateRegistryRouter) (*MsgCreateRegistryRouterResponse, error)
	// CreateGroup creates a group
	CreateGroup(context.Context, *MsgCreateGroup) (*MsgCreateGroupResponse, error)
	// SetGroupParam sets the parameters of a DVS group
	SetGroupParam(context.Context, *MsgSetGroupParam) (*MsgSetGroupParamResponse, error)
	// AddPools adds strategies to a DVS group
	AddPools(context.Context, *MsgAddPools) (*MsgAddPoolsResponse, error)
	// RemovePools removes strategies from a DVS group
	RemovePools(context.Context, *MsgRemovePools) (*MsgRemovePoolsResponse, error)
	// RegisterOperator registers an operator
	RegisterOperator(context.Context, *MsgRegisterOperator) (*MsgRegisterOperatorResponse, error)
	// UpdateVotingPowerRatio updates the voting power ratio
	UpdateVotingPowerRatio(context.Context, *MsgUpdateVotingPowerRatio) (*MsgUpdateVotingPowerRatioResponse, error)
	// UpdateLSTStakingEnabled updates the LST staking enabled status
	UpdateLSTStakingEnabled(context.Context, *MsgUpdateLSTStakingEnabled) (*MsgUpdateLSTStakingEnabledResponse, error)
}

MsgServer is the server API for Msg service.

type MsgSetGroupParam

type MsgSetGroupParam struct {
	Signer            string                  `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	OperatorSetParams *types.OperatorSetParam `protobuf:"bytes,3,opt,name=operator_set_params,json=operatorSetParams,proto3" json:"operator_set_params,omitempty"`
}

MsgSetGroupParam sets the parameters of a DVS group

func NewMsgSetGroupParam

func NewMsgSetGroupParam(signer string, param *types.OperatorSetParam) *MsgSetGroupParam

func (*MsgSetGroupParam) Descriptor

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

func (*MsgSetGroupParam) GetOperatorSetParams

func (m *MsgSetGroupParam) GetOperatorSetParams() *types.OperatorSetParam

func (*MsgSetGroupParam) GetSignBytes

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

func (*MsgSetGroupParam) GetSigner

func (m *MsgSetGroupParam) GetSigner() string

func (*MsgSetGroupParam) GetSigners

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

func (*MsgSetGroupParam) Marshal

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

func (*MsgSetGroupParam) MarshalTo

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

func (*MsgSetGroupParam) MarshalToSizedBuffer

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

func (*MsgSetGroupParam) ProtoMessage

func (*MsgSetGroupParam) ProtoMessage()

func (*MsgSetGroupParam) Reset

func (m *MsgSetGroupParam) Reset()

func (*MsgSetGroupParam) Route

func (msg *MsgSetGroupParam) Route() string

func (*MsgSetGroupParam) Size

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

func (*MsgSetGroupParam) String

func (m *MsgSetGroupParam) String() string

func (*MsgSetGroupParam) Type

func (msg *MsgSetGroupParam) Type() string

func (*MsgSetGroupParam) Unmarshal

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

func (*MsgSetGroupParam) ValidateBasic

func (msg *MsgSetGroupParam) ValidateBasic() error

func (*MsgSetGroupParam) XXX_DiscardUnknown

func (m *MsgSetGroupParam) XXX_DiscardUnknown()

func (*MsgSetGroupParam) XXX_Marshal

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

func (*MsgSetGroupParam) XXX_Merge

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

func (*MsgSetGroupParam) XXX_Size

func (m *MsgSetGroupParam) XXX_Size() int

func (*MsgSetGroupParam) XXX_Unmarshal

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

type MsgSetGroupParamResponse

type MsgSetGroupParamResponse struct {
}

MsgSetGroupParamResponse is the response for MsgSetGroupParam

func (*MsgSetGroupParamResponse) Descriptor

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

func (*MsgSetGroupParamResponse) Marshal

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

func (*MsgSetGroupParamResponse) MarshalTo

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

func (*MsgSetGroupParamResponse) MarshalToSizedBuffer

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

func (*MsgSetGroupParamResponse) ProtoMessage

func (*MsgSetGroupParamResponse) ProtoMessage()

func (*MsgSetGroupParamResponse) Reset

func (m *MsgSetGroupParamResponse) Reset()

func (*MsgSetGroupParamResponse) Size

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

func (*MsgSetGroupParamResponse) String

func (m *MsgSetGroupParamResponse) String() string

func (*MsgSetGroupParamResponse) Unmarshal

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

func (*MsgSetGroupParamResponse) XXX_DiscardUnknown

func (m *MsgSetGroupParamResponse) XXX_DiscardUnknown()

func (*MsgSetGroupParamResponse) XXX_Marshal

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

func (*MsgSetGroupParamResponse) XXX_Merge

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

func (*MsgSetGroupParamResponse) XXX_Size

func (m *MsgSetGroupParamResponse) XXX_Size() int

func (*MsgSetGroupParamResponse) XXX_Unmarshal

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

type MsgUpdateLSTStakingEnabled

type MsgUpdateLSTStakingEnabled struct {
	Signer  string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	Enabled bool   `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
}

MsgUpdateLSTStakingEnabled updates the LST staking enabled status

func NewMsgUpdateLSTStakingEnabled

func NewMsgUpdateLSTStakingEnabled(signer string, enabled bool) *MsgUpdateLSTStakingEnabled

func (*MsgUpdateLSTStakingEnabled) Descriptor

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

func (*MsgUpdateLSTStakingEnabled) GetEnabled

func (m *MsgUpdateLSTStakingEnabled) GetEnabled() bool

func (*MsgUpdateLSTStakingEnabled) GetSignBytes

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

func (*MsgUpdateLSTStakingEnabled) GetSigner

func (m *MsgUpdateLSTStakingEnabled) GetSigner() string

func (*MsgUpdateLSTStakingEnabled) GetSigners

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

func (*MsgUpdateLSTStakingEnabled) Marshal

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

func (*MsgUpdateLSTStakingEnabled) MarshalTo

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

func (*MsgUpdateLSTStakingEnabled) MarshalToSizedBuffer

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

func (*MsgUpdateLSTStakingEnabled) ProtoMessage

func (*MsgUpdateLSTStakingEnabled) ProtoMessage()

func (*MsgUpdateLSTStakingEnabled) Reset

func (m *MsgUpdateLSTStakingEnabled) Reset()

func (*MsgUpdateLSTStakingEnabled) Route

func (msg *MsgUpdateLSTStakingEnabled) Route() string

func (*MsgUpdateLSTStakingEnabled) Size

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

func (*MsgUpdateLSTStakingEnabled) String

func (m *MsgUpdateLSTStakingEnabled) String() string

func (*MsgUpdateLSTStakingEnabled) Type

func (msg *MsgUpdateLSTStakingEnabled) Type() string

func (*MsgUpdateLSTStakingEnabled) Unmarshal

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

func (*MsgUpdateLSTStakingEnabled) ValidateBasic

func (msg *MsgUpdateLSTStakingEnabled) ValidateBasic() error

func (*MsgUpdateLSTStakingEnabled) XXX_DiscardUnknown

func (m *MsgUpdateLSTStakingEnabled) XXX_DiscardUnknown()

func (*MsgUpdateLSTStakingEnabled) XXX_Marshal

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

func (*MsgUpdateLSTStakingEnabled) XXX_Merge

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

func (*MsgUpdateLSTStakingEnabled) XXX_Size

func (m *MsgUpdateLSTStakingEnabled) XXX_Size() int

func (*MsgUpdateLSTStakingEnabled) XXX_Unmarshal

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

type MsgUpdateLSTStakingEnabledResponse

type MsgUpdateLSTStakingEnabledResponse struct {
}

MsgUpdateLSTStakingEnabledResponse is the response for MsgUpdateLSTStakingEnabled

func (*MsgUpdateLSTStakingEnabledResponse) Descriptor

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

func (*MsgUpdateLSTStakingEnabledResponse) Marshal

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

func (*MsgUpdateLSTStakingEnabledResponse) MarshalTo

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

func (*MsgUpdateLSTStakingEnabledResponse) MarshalToSizedBuffer

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

func (*MsgUpdateLSTStakingEnabledResponse) ProtoMessage

func (*MsgUpdateLSTStakingEnabledResponse) ProtoMessage()

func (*MsgUpdateLSTStakingEnabledResponse) Reset

func (*MsgUpdateLSTStakingEnabledResponse) Size

func (*MsgUpdateLSTStakingEnabledResponse) String

func (*MsgUpdateLSTStakingEnabledResponse) Unmarshal

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

func (*MsgUpdateLSTStakingEnabledResponse) XXX_DiscardUnknown

func (m *MsgUpdateLSTStakingEnabledResponse) XXX_DiscardUnknown()

func (*MsgUpdateLSTStakingEnabledResponse) XXX_Marshal

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

func (*MsgUpdateLSTStakingEnabledResponse) XXX_Merge

func (*MsgUpdateLSTStakingEnabledResponse) XXX_Size

func (*MsgUpdateLSTStakingEnabledResponse) XXX_Unmarshal

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

type MsgUpdateVotingPowerRatio

type MsgUpdateVotingPowerRatio struct {
	Signer      string                `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	Numerator   cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=numerator,proto3,customtype=cosmossdk.io/math.Int" json:"numerator"`
	Denominator cosmossdk_io_math.Int `protobuf:"bytes,3,opt,name=denominator,proto3,customtype=cosmossdk.io/math.Int" json:"denominator"`
}

MsgUpdateVotingPowerRatio updates the voting power ratio

func NewMsgUpdateVotingPowerRatio

func NewMsgUpdateVotingPowerRatio(signer string, numerator, denominator math.Int) *MsgUpdateVotingPowerRatio

func (*MsgUpdateVotingPowerRatio) Descriptor

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

func (*MsgUpdateVotingPowerRatio) GetSignBytes

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

func (*MsgUpdateVotingPowerRatio) GetSigner

func (m *MsgUpdateVotingPowerRatio) GetSigner() string

func (*MsgUpdateVotingPowerRatio) GetSigners

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

func (*MsgUpdateVotingPowerRatio) Marshal

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

func (*MsgUpdateVotingPowerRatio) MarshalTo

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

func (*MsgUpdateVotingPowerRatio) MarshalToSizedBuffer

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

func (*MsgUpdateVotingPowerRatio) ProtoMessage

func (*MsgUpdateVotingPowerRatio) ProtoMessage()

func (*MsgUpdateVotingPowerRatio) Reset

func (m *MsgUpdateVotingPowerRatio) Reset()

func (*MsgUpdateVotingPowerRatio) Route

func (msg *MsgUpdateVotingPowerRatio) Route() string

func (*MsgUpdateVotingPowerRatio) Size

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

func (*MsgUpdateVotingPowerRatio) String

func (m *MsgUpdateVotingPowerRatio) String() string

func (*MsgUpdateVotingPowerRatio) Type

func (msg *MsgUpdateVotingPowerRatio) Type() string

func (*MsgUpdateVotingPowerRatio) Unmarshal

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

func (*MsgUpdateVotingPowerRatio) ValidateBasic

func (msg *MsgUpdateVotingPowerRatio) ValidateBasic() error

func (*MsgUpdateVotingPowerRatio) XXX_DiscardUnknown

func (m *MsgUpdateVotingPowerRatio) XXX_DiscardUnknown()

func (*MsgUpdateVotingPowerRatio) XXX_Marshal

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

func (*MsgUpdateVotingPowerRatio) XXX_Merge

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

func (*MsgUpdateVotingPowerRatio) XXX_Size

func (m *MsgUpdateVotingPowerRatio) XXX_Size() int

func (*MsgUpdateVotingPowerRatio) XXX_Unmarshal

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

type MsgUpdateVotingPowerRatioResponse

type MsgUpdateVotingPowerRatioResponse struct {
}

MsgUpdateVotingPowerRatioResponse is the response for MsgUpdateVotingPowerRatio

func (*MsgUpdateVotingPowerRatioResponse) Descriptor

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

func (*MsgUpdateVotingPowerRatioResponse) Marshal

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

func (*MsgUpdateVotingPowerRatioResponse) MarshalTo

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

func (*MsgUpdateVotingPowerRatioResponse) MarshalToSizedBuffer

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

func (*MsgUpdateVotingPowerRatioResponse) ProtoMessage

func (*MsgUpdateVotingPowerRatioResponse) ProtoMessage()

func (*MsgUpdateVotingPowerRatioResponse) Reset

func (*MsgUpdateVotingPowerRatioResponse) Size

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

func (*MsgUpdateVotingPowerRatioResponse) String

func (*MsgUpdateVotingPowerRatioResponse) Unmarshal

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

func (*MsgUpdateVotingPowerRatioResponse) XXX_DiscardUnknown

func (m *MsgUpdateVotingPowerRatioResponse) XXX_DiscardUnknown()

func (*MsgUpdateVotingPowerRatioResponse) XXX_Marshal

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

func (*MsgUpdateVotingPowerRatioResponse) XXX_Merge

func (*MsgUpdateVotingPowerRatioResponse) XXX_Size

func (m *MsgUpdateVotingPowerRatioResponse) XXX_Size() int

func (*MsgUpdateVotingPowerRatioResponse) XXX_Unmarshal

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

type PevmKeeper

type PevmKeeper interface {
	CallUpdateDestinationAddressOnPellGateway(
		ctx context.Context,
		chainId int64,
		destinationAddress string,
	) error
	CallUpdateSourceAddressOnPellGateway(
		ctx context.Context,
		chainId int64,
		sourceAddress string,
	) error
	CallUpdateDestinationAddressOnGasSwapPEVM(
		ctx context.Context,
		chainId int64,
		destinationAddress string,
	) error

	CallRegistryRouterFactory(
		ctx context.Context,
		dvsChainApprover, churnApprover, ejector, pauser, unpauser ethcommon.Address,
		initialPausedStatus uint,
	) (*evmtypes.MsgEthereumTxResponse, bool, error)
	CallRegistryRouterToCreateGroup(
		ctx sdk.Context,
		registryRouterAddress ethcommon.Address,
		operatorSetParams restakingtypes.OperatorSetParam,
		minimumStake int64,
		poolParams []restakingtypes.PoolParams,
		groupEjectionParams restakingtypes.GroupEjectionParam,
	) (*evmtypes.MsgEthereumTxResponse, bool, error)
	CallRegistryRouterToRegisterOperator(
		ctx sdk.Context,
		registryRouterAddress ethcommon.Address,
		param RegisterOperatorParam,
		operatorAddress ethcommon.Address,
		groupNumbers uint64,
	) (*evmtypes.MsgEthereumTxResponse, bool, error)
	CallStakelRegistryRouterToAddPools(
		ctx sdk.Context,
		stakeRegistryRouterAddress ethcommon.Address,
		groupNumbers uint64,
		poolParams []*restakingtypes.PoolParams,
	) (*evmtypes.MsgEthereumTxResponse, bool, error)
	CallStakelRegistryRouterToRemovePools(
		ctx sdk.Context,
		stakeRegistryRouterAddress ethcommon.Address,
		groupNumbers uint64,
		indicesToRemove []uint,
	) (*evmtypes.MsgEthereumTxResponse, bool, error)
	CallRegistryRouterToSetOperatorSetParams(
		ctx sdk.Context,
		stakeRegistryRouterAddress ethcommon.Address,
		groupNumbers uint64,
		operatorSetParams *restakingtypes.OperatorSetParam,
	) (*evmtypes.MsgEthereumTxResponse, bool, error)
}

type PubkeyRegistrationParams

type PubkeyRegistrationParams struct {
	PubkeyRegistrationSignature *G1Point `` /* 144-byte string literal not displayed */
	PubkeyG1                    *G1Point `protobuf:"bytes,2,opt,name=pubkey_g1,json=pubkeyG1,proto3" json:"pubkey_g1,omitempty"`
	PubkeyG2                    *G2Point `protobuf:"bytes,3,opt,name=pubkey_g2,json=pubkeyG2,proto3" json:"pubkey_g2,omitempty"`
}

PubkeyRegistrationParams is the parameters for registering a pubkey

func (*PubkeyRegistrationParams) Descriptor

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

func (*PubkeyRegistrationParams) GetPubkeyG1

func (m *PubkeyRegistrationParams) GetPubkeyG1() *G1Point

func (*PubkeyRegistrationParams) GetPubkeyG2

func (m *PubkeyRegistrationParams) GetPubkeyG2() *G2Point

func (*PubkeyRegistrationParams) GetPubkeyRegistrationSignature

func (m *PubkeyRegistrationParams) GetPubkeyRegistrationSignature() *G1Point

func (*PubkeyRegistrationParams) Marshal

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

func (*PubkeyRegistrationParams) MarshalTo

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

func (*PubkeyRegistrationParams) MarshalToSizedBuffer

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

func (*PubkeyRegistrationParams) ProtoMessage

func (*PubkeyRegistrationParams) ProtoMessage()

func (*PubkeyRegistrationParams) Reset

func (m *PubkeyRegistrationParams) Reset()

func (*PubkeyRegistrationParams) Size

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

func (*PubkeyRegistrationParams) String

func (m *PubkeyRegistrationParams) String() string

func (*PubkeyRegistrationParams) Unmarshal

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

func (*PubkeyRegistrationParams) XXX_DiscardUnknown

func (m *PubkeyRegistrationParams) XXX_DiscardUnknown()

func (*PubkeyRegistrationParams) XXX_Marshal

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

func (*PubkeyRegistrationParams) XXX_Merge

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

func (*PubkeyRegistrationParams) XXX_Size

func (m *PubkeyRegistrationParams) XXX_Size() int

func (*PubkeyRegistrationParams) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// GetLSTRegistryRouterAddress returns the LST registry router address
	QueryRegistryRouterAddress(ctx context.Context, in *QueryRegistryRouterAddressRequest, opts ...grpc.CallOption) (*QueryRegistryRouterAddressResponse, error)
	// QueryGroupInfo returns the group info
	QueryGroupInfo(ctx context.Context, in *QueryGroupInfoRequest, opts ...grpc.CallOption) (*QueryGroupInfoResponse, error)
	// QueryOperatorRegistrationList returns the operator registration list
	QueryOperatorRegistrationList(ctx context.Context, in *QueryOperatorRegistrationListRequest, opts ...grpc.CallOption) (*QueryOperatorRegistrationListResponse, error)
	// QueryOperatorWeightedShares returns the operator weighted shares
	QueryOperatorWeightedShares(ctx context.Context, in *QueryOperatorWeightedSharesRequest, opts ...grpc.CallOption) (*QueryOperatorWeightedSharesResponse, error)
	// QueryVotingPowerRatio returns the voting power ratio
	QueryVotingPowerRatio(ctx context.Context, in *QueryVotingPowerRatioRequest, opts ...grpc.CallOption) (*QueryVotingPowerRatioResponse, error)
	// QueryLSTStakingEnabled returns the LST staking enabled status
	QueryLSTStakingEnabled(ctx context.Context, in *QueryLSTStakingEnabledRequest, opts ...grpc.CallOption) (*QueryLSTStakingEnabledResponse, 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 QueryGroupInfoRequest

type QueryGroupInfoRequest struct {
}

QueryGroupInfoRequest is the request type for the QueryGroupInfo method.

func (*QueryGroupInfoRequest) Descriptor

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

func (*QueryGroupInfoRequest) Marshal

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

func (*QueryGroupInfoRequest) MarshalTo

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

func (*QueryGroupInfoRequest) MarshalToSizedBuffer

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

func (*QueryGroupInfoRequest) ProtoMessage

func (*QueryGroupInfoRequest) ProtoMessage()

func (*QueryGroupInfoRequest) Reset

func (m *QueryGroupInfoRequest) Reset()

func (*QueryGroupInfoRequest) Size

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

func (*QueryGroupInfoRequest) String

func (m *QueryGroupInfoRequest) String() string

func (*QueryGroupInfoRequest) Unmarshal

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

func (*QueryGroupInfoRequest) XXX_DiscardUnknown

func (m *QueryGroupInfoRequest) XXX_DiscardUnknown()

func (*QueryGroupInfoRequest) XXX_Marshal

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

func (*QueryGroupInfoRequest) XXX_Merge

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

func (*QueryGroupInfoRequest) XXX_Size

func (m *QueryGroupInfoRequest) XXX_Size() int

func (*QueryGroupInfoRequest) XXX_Unmarshal

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

type QueryGroupInfoResponse

type QueryGroupInfoResponse struct {
	GroupNumber        uint64                    `protobuf:"varint,1,opt,name=group_number,json=groupNumber,proto3" json:"group_number,omitempty"`
	OperatorSetParam   *types.OperatorSetParam   `protobuf:"bytes,2,opt,name=operator_set_param,json=operatorSetParam,proto3" json:"operator_set_param,omitempty"`
	MinimumStake       string                    `protobuf:"bytes,3,opt,name=minimum_stake,json=minimumStake,proto3" json:"minimum_stake,omitempty"`
	PoolParams         []*types.PoolParams       `protobuf:"bytes,4,rep,name=pool_params,json=poolParams,proto3" json:"pool_params,omitempty"`
	GroupEjectionParam *types.GroupEjectionParam `protobuf:"bytes,5,opt,name=group_ejection_param,json=groupEjectionParam,proto3" json:"group_ejection_param,omitempty"`
}

QueryGroupInfoResponse is the response type for the QueryGroupInfo method.

func (*QueryGroupInfoResponse) Descriptor

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

func (*QueryGroupInfoResponse) GetGroupEjectionParam

func (m *QueryGroupInfoResponse) GetGroupEjectionParam() *types.GroupEjectionParam

func (*QueryGroupInfoResponse) GetGroupNumber

func (m *QueryGroupInfoResponse) GetGroupNumber() uint64

func (*QueryGroupInfoResponse) GetMinimumStake

func (m *QueryGroupInfoResponse) GetMinimumStake() string

func (*QueryGroupInfoResponse) GetOperatorSetParam

func (m *QueryGroupInfoResponse) GetOperatorSetParam() *types.OperatorSetParam

func (*QueryGroupInfoResponse) GetPoolParams

func (m *QueryGroupInfoResponse) GetPoolParams() []*types.PoolParams

func (*QueryGroupInfoResponse) Marshal

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

func (*QueryGroupInfoResponse) MarshalTo

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

func (*QueryGroupInfoResponse) MarshalToSizedBuffer

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

func (*QueryGroupInfoResponse) ProtoMessage

func (*QueryGroupInfoResponse) ProtoMessage()

func (*QueryGroupInfoResponse) Reset

func (m *QueryGroupInfoResponse) Reset()

func (*QueryGroupInfoResponse) Size

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

func (*QueryGroupInfoResponse) String

func (m *QueryGroupInfoResponse) String() string

func (*QueryGroupInfoResponse) Unmarshal

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

func (*QueryGroupInfoResponse) XXX_DiscardUnknown

func (m *QueryGroupInfoResponse) XXX_DiscardUnknown()

func (*QueryGroupInfoResponse) XXX_Marshal

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

func (*QueryGroupInfoResponse) XXX_Merge

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

func (*QueryGroupInfoResponse) XXX_Size

func (m *QueryGroupInfoResponse) XXX_Size() int

func (*QueryGroupInfoResponse) XXX_Unmarshal

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

type QueryLSTStakingEnabledRequest

type QueryLSTStakingEnabledRequest struct {
}

QueryLSTStakingEnabledRequest is the request type for the QueryLSTStakingEnabled method.

func (*QueryLSTStakingEnabledRequest) Descriptor

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

func (*QueryLSTStakingEnabledRequest) Marshal

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

func (*QueryLSTStakingEnabledRequest) MarshalTo

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

func (*QueryLSTStakingEnabledRequest) MarshalToSizedBuffer

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

func (*QueryLSTStakingEnabledRequest) ProtoMessage

func (*QueryLSTStakingEnabledRequest) ProtoMessage()

func (*QueryLSTStakingEnabledRequest) Reset

func (m *QueryLSTStakingEnabledRequest) Reset()

func (*QueryLSTStakingEnabledRequest) Size

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

func (*QueryLSTStakingEnabledRequest) String

func (*QueryLSTStakingEnabledRequest) Unmarshal

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

func (*QueryLSTStakingEnabledRequest) XXX_DiscardUnknown

func (m *QueryLSTStakingEnabledRequest) XXX_DiscardUnknown()

func (*QueryLSTStakingEnabledRequest) XXX_Marshal

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

func (*QueryLSTStakingEnabledRequest) XXX_Merge

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

func (*QueryLSTStakingEnabledRequest) XXX_Size

func (m *QueryLSTStakingEnabledRequest) XXX_Size() int

func (*QueryLSTStakingEnabledRequest) XXX_Unmarshal

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

type QueryLSTStakingEnabledResponse

type QueryLSTStakingEnabledResponse struct {
	LstStakingEnabled bool `protobuf:"varint,1,opt,name=lst_staking_enabled,json=lstStakingEnabled,proto3" json:"lst_staking_enabled,omitempty"`
}

QueryLSTStakingEnabledResponse is the response type for the QueryLSTStakingEnabled method.

func (*QueryLSTStakingEnabledResponse) Descriptor

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

func (*QueryLSTStakingEnabledResponse) GetLstStakingEnabled

func (m *QueryLSTStakingEnabledResponse) GetLstStakingEnabled() bool

func (*QueryLSTStakingEnabledResponse) Marshal

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

func (*QueryLSTStakingEnabledResponse) MarshalTo

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

func (*QueryLSTStakingEnabledResponse) MarshalToSizedBuffer

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

func (*QueryLSTStakingEnabledResponse) ProtoMessage

func (*QueryLSTStakingEnabledResponse) ProtoMessage()

func (*QueryLSTStakingEnabledResponse) Reset

func (m *QueryLSTStakingEnabledResponse) Reset()

func (*QueryLSTStakingEnabledResponse) Size

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

func (*QueryLSTStakingEnabledResponse) String

func (*QueryLSTStakingEnabledResponse) Unmarshal

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

func (*QueryLSTStakingEnabledResponse) XXX_DiscardUnknown

func (m *QueryLSTStakingEnabledResponse) XXX_DiscardUnknown()

func (*QueryLSTStakingEnabledResponse) XXX_Marshal

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

func (*QueryLSTStakingEnabledResponse) XXX_Merge

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

func (*QueryLSTStakingEnabledResponse) XXX_Size

func (m *QueryLSTStakingEnabledResponse) XXX_Size() int

func (*QueryLSTStakingEnabledResponse) XXX_Unmarshal

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

type QueryOperatorRegistrationListRequest

type QueryOperatorRegistrationListRequest struct {
}

QueryOperatorRegistrationListRequest is the request type for the QueryOperatorRegistrationList method.

func (*QueryOperatorRegistrationListRequest) Descriptor

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

func (*QueryOperatorRegistrationListRequest) Marshal

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

func (*QueryOperatorRegistrationListRequest) MarshalTo

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

func (*QueryOperatorRegistrationListRequest) MarshalToSizedBuffer

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

func (*QueryOperatorRegistrationListRequest) ProtoMessage

func (*QueryOperatorRegistrationListRequest) ProtoMessage()

func (*QueryOperatorRegistrationListRequest) Reset

func (*QueryOperatorRegistrationListRequest) Size

func (*QueryOperatorRegistrationListRequest) String

func (*QueryOperatorRegistrationListRequest) Unmarshal

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

func (*QueryOperatorRegistrationListRequest) XXX_DiscardUnknown

func (m *QueryOperatorRegistrationListRequest) XXX_DiscardUnknown()

func (*QueryOperatorRegistrationListRequest) XXX_Marshal

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

func (*QueryOperatorRegistrationListRequest) XXX_Merge

func (*QueryOperatorRegistrationListRequest) XXX_Size

func (*QueryOperatorRegistrationListRequest) XXX_Unmarshal

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

type QueryOperatorRegistrationListResponse

type QueryOperatorRegistrationListResponse struct {
	OperatorRegistrations []*LSTOperatorRegistration `protobuf:"bytes,1,rep,name=operator_registrations,json=operatorRegistrations,proto3" json:"operator_registrations,omitempty"`
}

QueryOperatorRegistrationListResponse is the response type for the QueryOperatorRegistrationList method.

func (*QueryOperatorRegistrationListResponse) Descriptor

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

func (*QueryOperatorRegistrationListResponse) GetOperatorRegistrations

func (m *QueryOperatorRegistrationListResponse) GetOperatorRegistrations() []*LSTOperatorRegistration

func (*QueryOperatorRegistrationListResponse) Marshal

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

func (*QueryOperatorRegistrationListResponse) MarshalTo

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

func (*QueryOperatorRegistrationListResponse) MarshalToSizedBuffer

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

func (*QueryOperatorRegistrationListResponse) ProtoMessage

func (*QueryOperatorRegistrationListResponse) ProtoMessage()

func (*QueryOperatorRegistrationListResponse) Reset

func (*QueryOperatorRegistrationListResponse) Size

func (*QueryOperatorRegistrationListResponse) String

func (*QueryOperatorRegistrationListResponse) Unmarshal

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

func (*QueryOperatorRegistrationListResponse) XXX_DiscardUnknown

func (m *QueryOperatorRegistrationListResponse) XXX_DiscardUnknown()

func (*QueryOperatorRegistrationListResponse) XXX_Marshal

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

func (*QueryOperatorRegistrationListResponse) XXX_Merge

func (*QueryOperatorRegistrationListResponse) XXX_Size

func (*QueryOperatorRegistrationListResponse) XXX_Unmarshal

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

type QueryOperatorWeightedSharesRequest

type QueryOperatorWeightedSharesRequest struct {
}

QueryOperatorWeightedSharesRequest is the request type for the QueryOperatorWeightedShares method.

func (*QueryOperatorWeightedSharesRequest) Descriptor

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

func (*QueryOperatorWeightedSharesRequest) Marshal

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

func (*QueryOperatorWeightedSharesRequest) MarshalTo

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

func (*QueryOperatorWeightedSharesRequest) MarshalToSizedBuffer

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

func (*QueryOperatorWeightedSharesRequest) ProtoMessage

func (*QueryOperatorWeightedSharesRequest) ProtoMessage()

func (*QueryOperatorWeightedSharesRequest) Reset

func (*QueryOperatorWeightedSharesRequest) Size

func (*QueryOperatorWeightedSharesRequest) String

func (*QueryOperatorWeightedSharesRequest) Unmarshal

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

func (*QueryOperatorWeightedSharesRequest) XXX_DiscardUnknown

func (m *QueryOperatorWeightedSharesRequest) XXX_DiscardUnknown()

func (*QueryOperatorWeightedSharesRequest) XXX_Marshal

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

func (*QueryOperatorWeightedSharesRequest) XXX_Merge

func (*QueryOperatorWeightedSharesRequest) XXX_Size

func (*QueryOperatorWeightedSharesRequest) XXX_Unmarshal

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

type QueryOperatorWeightedSharesResponse

type QueryOperatorWeightedSharesResponse struct {
	OperatorWeightedShares []*LSTOperatorWeightedShare `` /* 129-byte string literal not displayed */
}

QueryOperatorWeightedSharesResponse is the response type for the QueryOperatorWeightedShares method.

func (*QueryOperatorWeightedSharesResponse) Descriptor

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

func (*QueryOperatorWeightedSharesResponse) GetOperatorWeightedShares

func (m *QueryOperatorWeightedSharesResponse) GetOperatorWeightedShares() []*LSTOperatorWeightedShare

func (*QueryOperatorWeightedSharesResponse) Marshal

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

func (*QueryOperatorWeightedSharesResponse) MarshalTo

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

func (*QueryOperatorWeightedSharesResponse) MarshalToSizedBuffer

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

func (*QueryOperatorWeightedSharesResponse) ProtoMessage

func (*QueryOperatorWeightedSharesResponse) ProtoMessage()

func (*QueryOperatorWeightedSharesResponse) Reset

func (*QueryOperatorWeightedSharesResponse) Size

func (*QueryOperatorWeightedSharesResponse) String

func (*QueryOperatorWeightedSharesResponse) Unmarshal

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

func (*QueryOperatorWeightedSharesResponse) XXX_DiscardUnknown

func (m *QueryOperatorWeightedSharesResponse) XXX_DiscardUnknown()

func (*QueryOperatorWeightedSharesResponse) XXX_Marshal

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

func (*QueryOperatorWeightedSharesResponse) XXX_Merge

func (*QueryOperatorWeightedSharesResponse) XXX_Size

func (*QueryOperatorWeightedSharesResponse) XXX_Unmarshal

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

type QueryRegistryRouterAddressRequest

type QueryRegistryRouterAddressRequest struct {
}

QueryGetLSTRegistryRouterAddressRequest is the request type for the GetLSTRegistryRouterAddress method.

func (*QueryRegistryRouterAddressRequest) Descriptor

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

func (*QueryRegistryRouterAddressRequest) Marshal

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

func (*QueryRegistryRouterAddressRequest) MarshalTo

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

func (*QueryRegistryRouterAddressRequest) MarshalToSizedBuffer

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

func (*QueryRegistryRouterAddressRequest) ProtoMessage

func (*QueryRegistryRouterAddressRequest) ProtoMessage()

func (*QueryRegistryRouterAddressRequest) Reset

func (*QueryRegistryRouterAddressRequest) Size

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

func (*QueryRegistryRouterAddressRequest) String

func (*QueryRegistryRouterAddressRequest) Unmarshal

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

func (*QueryRegistryRouterAddressRequest) XXX_DiscardUnknown

func (m *QueryRegistryRouterAddressRequest) XXX_DiscardUnknown()

func (*QueryRegistryRouterAddressRequest) XXX_Marshal

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

func (*QueryRegistryRouterAddressRequest) XXX_Merge

func (*QueryRegistryRouterAddressRequest) XXX_Size

func (m *QueryRegistryRouterAddressRequest) XXX_Size() int

func (*QueryRegistryRouterAddressRequest) XXX_Unmarshal

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

type QueryRegistryRouterAddressResponse

type QueryRegistryRouterAddressResponse struct {
	RegistryRouterAddress      string `` /* 126-byte string literal not displayed */
	StakeRegistryRouterAddress string `` /* 143-byte string literal not displayed */
}

QueryGetLSTRegistryRouterAddressResponse is the response type for the GetLSTRegistryRouterAddress method.

func (*QueryRegistryRouterAddressResponse) Descriptor

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

func (*QueryRegistryRouterAddressResponse) GetRegistryRouterAddress

func (m *QueryRegistryRouterAddressResponse) GetRegistryRouterAddress() string

func (*QueryRegistryRouterAddressResponse) GetStakeRegistryRouterAddress

func (m *QueryRegistryRouterAddressResponse) GetStakeRegistryRouterAddress() string

func (*QueryRegistryRouterAddressResponse) Marshal

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

func (*QueryRegistryRouterAddressResponse) MarshalTo

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

func (*QueryRegistryRouterAddressResponse) MarshalToSizedBuffer

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

func (*QueryRegistryRouterAddressResponse) ProtoMessage

func (*QueryRegistryRouterAddressResponse) ProtoMessage()

func (*QueryRegistryRouterAddressResponse) Reset

func (*QueryRegistryRouterAddressResponse) Size

func (*QueryRegistryRouterAddressResponse) String

func (*QueryRegistryRouterAddressResponse) Unmarshal

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

func (*QueryRegistryRouterAddressResponse) XXX_DiscardUnknown

func (m *QueryRegistryRouterAddressResponse) XXX_DiscardUnknown()

func (*QueryRegistryRouterAddressResponse) XXX_Marshal

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

func (*QueryRegistryRouterAddressResponse) XXX_Merge

func (*QueryRegistryRouterAddressResponse) XXX_Size

func (*QueryRegistryRouterAddressResponse) XXX_Unmarshal

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

type QueryServer

type QueryServer interface {
	// GetLSTRegistryRouterAddress returns the LST registry router address
	QueryRegistryRouterAddress(context.Context, *QueryRegistryRouterAddressRequest) (*QueryRegistryRouterAddressResponse, error)
	// QueryGroupInfo returns the group info
	QueryGroupInfo(context.Context, *QueryGroupInfoRequest) (*QueryGroupInfoResponse, error)
	// QueryOperatorRegistrationList returns the operator registration list
	QueryOperatorRegistrationList(context.Context, *QueryOperatorRegistrationListRequest) (*QueryOperatorRegistrationListResponse, error)
	// QueryOperatorWeightedShares returns the operator weighted shares
	QueryOperatorWeightedShares(context.Context, *QueryOperatorWeightedSharesRequest) (*QueryOperatorWeightedSharesResponse, error)
	// QueryVotingPowerRatio returns the voting power ratio
	QueryVotingPowerRatio(context.Context, *QueryVotingPowerRatioRequest) (*QueryVotingPowerRatioResponse, error)
	// QueryLSTStakingEnabled returns the LST staking enabled status
	QueryLSTStakingEnabled(context.Context, *QueryLSTStakingEnabledRequest) (*QueryLSTStakingEnabledResponse, error)
}

QueryServer is the server API for Query service.

type QueryVotingPowerRatioRequest

type QueryVotingPowerRatioRequest struct {
}

LSTOperatorWeightedShare represents the weighted shares of an operator

func (*QueryVotingPowerRatioRequest) Descriptor

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

func (*QueryVotingPowerRatioRequest) Marshal

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

func (*QueryVotingPowerRatioRequest) MarshalTo

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

func (*QueryVotingPowerRatioRequest) MarshalToSizedBuffer

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

func (*QueryVotingPowerRatioRequest) ProtoMessage

func (*QueryVotingPowerRatioRequest) ProtoMessage()

func (*QueryVotingPowerRatioRequest) Reset

func (m *QueryVotingPowerRatioRequest) Reset()

func (*QueryVotingPowerRatioRequest) Size

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

func (*QueryVotingPowerRatioRequest) String

func (*QueryVotingPowerRatioRequest) Unmarshal

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

func (*QueryVotingPowerRatioRequest) XXX_DiscardUnknown

func (m *QueryVotingPowerRatioRequest) XXX_DiscardUnknown()

func (*QueryVotingPowerRatioRequest) XXX_Marshal

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

func (*QueryVotingPowerRatioRequest) XXX_Merge

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

func (*QueryVotingPowerRatioRequest) XXX_Size

func (m *QueryVotingPowerRatioRequest) XXX_Size() int

func (*QueryVotingPowerRatioRequest) XXX_Unmarshal

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

type QueryVotingPowerRatioResponse

type QueryVotingPowerRatioResponse struct {
	Numerator   uint64 `protobuf:"varint,1,opt,name=numerator,proto3" json:"numerator,omitempty"`
	Denominator uint64 `protobuf:"varint,2,opt,name=denominator,proto3" json:"denominator,omitempty"`
}

QueryVotingPowerRatioResponse is the response type for the QueryVotingPowerRatio method.

func (*QueryVotingPowerRatioResponse) Descriptor

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

func (*QueryVotingPowerRatioResponse) GetDenominator

func (m *QueryVotingPowerRatioResponse) GetDenominator() uint64

func (*QueryVotingPowerRatioResponse) GetNumerator

func (m *QueryVotingPowerRatioResponse) GetNumerator() uint64

func (*QueryVotingPowerRatioResponse) Marshal

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

func (*QueryVotingPowerRatioResponse) MarshalTo

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

func (*QueryVotingPowerRatioResponse) MarshalToSizedBuffer

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

func (*QueryVotingPowerRatioResponse) ProtoMessage

func (*QueryVotingPowerRatioResponse) ProtoMessage()

func (*QueryVotingPowerRatioResponse) Reset

func (m *QueryVotingPowerRatioResponse) Reset()

func (*QueryVotingPowerRatioResponse) Size

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

func (*QueryVotingPowerRatioResponse) String

func (*QueryVotingPowerRatioResponse) Unmarshal

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

func (*QueryVotingPowerRatioResponse) XXX_DiscardUnknown

func (m *QueryVotingPowerRatioResponse) XXX_DiscardUnknown()

func (*QueryVotingPowerRatioResponse) XXX_Marshal

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

func (*QueryVotingPowerRatioResponse) XXX_Merge

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

func (*QueryVotingPowerRatioResponse) XXX_Size

func (m *QueryVotingPowerRatioResponse) XXX_Size() int

func (*QueryVotingPowerRatioResponse) XXX_Unmarshal

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

type RegisterOperatorParam

type RegisterOperatorParam struct {
	Socket       string                            `protobuf:"bytes,1,opt,name=socket,proto3" json:"socket,omitempty"`
	PubkeyParams *PubkeyRegistrationParams         `protobuf:"bytes,2,opt,name=pubkey_params,json=pubkeyParams,proto3" json:"pubkey_params,omitempty"`
	Signature    *types.SignatureWithSaltAndExpiry `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
}

RegisterOperatorParam is the parameters for registering an operator

func (*RegisterOperatorParam) Descriptor

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

func (*RegisterOperatorParam) GetPubkeyParams

func (m *RegisterOperatorParam) GetPubkeyParams() *PubkeyRegistrationParams

func (*RegisterOperatorParam) GetSignature

func (*RegisterOperatorParam) GetSocket

func (m *RegisterOperatorParam) GetSocket() string

func (*RegisterOperatorParam) Marshal

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

func (*RegisterOperatorParam) MarshalTo

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

func (*RegisterOperatorParam) MarshalToSizedBuffer

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

func (*RegisterOperatorParam) ProtoMessage

func (*RegisterOperatorParam) ProtoMessage()

func (*RegisterOperatorParam) Reset

func (m *RegisterOperatorParam) Reset()

func (*RegisterOperatorParam) Size

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

func (*RegisterOperatorParam) String

func (m *RegisterOperatorParam) String() string

func (*RegisterOperatorParam) Unmarshal

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

func (*RegisterOperatorParam) XXX_DiscardUnknown

func (m *RegisterOperatorParam) XXX_DiscardUnknown()

func (*RegisterOperatorParam) XXX_Marshal

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

func (*RegisterOperatorParam) XXX_Merge

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

func (*RegisterOperatorParam) XXX_Size

func (m *RegisterOperatorParam) XXX_Size() int

func (*RegisterOperatorParam) XXX_Unmarshal

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

type RelayerKeeper

type RelayerKeeper interface {
}

type RestakingKeeper

type RestakingKeeper interface {
	GetAllShares(ctx sdk.Context) []*restakingtypes.OperatorShares
}

type SlashingKeeper

type SlashingKeeper interface {
	IsTombstoned(ctx context.Context, addr sdk.ConsAddress) bool
	SetValidatorSigningInfo(ctx context.Context, address sdk.ConsAddress, info slashingtypes.ValidatorSigningInfo) error
}

type StakingHooks

type StakingHooks interface {
	AfterValidatorRemoved(ctx context.Context, consAddr sdk.ConsAddress, valAddr sdk.ValAddress) error
	AfterValidatorBeginUnbonding(ctx context.Context, consAddr sdk.ConsAddress, valAddr sdk.ValAddress) error
	AfterDelegationModified(ctx context.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress) error
	BeforeValidatorSlashed(ctx context.Context, valAddr sdk.ValAddress, fraction math.LegacyDec) error
}

type StakingKeeper

type StakingKeeper interface {
	GetValidator(ctx context.Context, addr sdk.ValAddress) (validator stakingtypes.Validator, err error)
	GetDelegation(ctx context.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress) (delegation stakingtypes.Delegation, err error)
	SetValidator(ctx context.Context, validator stakingtypes.Validator) error
	BlockValidatorUpdates(ctx context.Context) ([]abci.ValidatorUpdate, error)
	GetParams(ctx context.Context) (params stakingtypes.Params, err error)
	LastValidatorsIterator(ctx context.Context) (corestore.Iterator, error)
	ValidatorsPowerStoreIterator(ctx context.Context) (corestore.Iterator, error)
	PowerReduction(ctx context.Context) math.Int
	GetBondedValidatorsByPower(ctx context.Context) ([]stakingtypes.Validator, error)
}

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) AddPools

func (*UnimplementedMsgServer) CreateGroup

func (*UnimplementedMsgServer) CreateRegistryRouter

func (*UnimplementedMsgServer) RegisterOperator

func (*UnimplementedMsgServer) RemovePools

func (*UnimplementedMsgServer) SetGroupParam

func (*UnimplementedMsgServer) UpdateLSTStakingEnabled

func (*UnimplementedMsgServer) UpdateVotingPowerRatio

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) QueryGroupInfo

func (*UnimplementedQueryServer) QueryLSTStakingEnabled

func (*UnimplementedQueryServer) QueryRegistryRouterAddress

func (*UnimplementedQueryServer) QueryVotingPowerRatio

type VotingPower

type VotingPower struct {
	Operator    string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	VotingPower uint64 `protobuf:"varint,2,opt,name=voting_power,json=votingPower,proto3" json:"voting_power,omitempty"`
}

VotingPower represents the voting power of an operator

func (*VotingPower) Descriptor

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

func (*VotingPower) GetOperator

func (m *VotingPower) GetOperator() string

func (*VotingPower) GetVotingPower

func (m *VotingPower) GetVotingPower() uint64

func (*VotingPower) Marshal

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

func (*VotingPower) MarshalTo

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

func (*VotingPower) MarshalToSizedBuffer

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

func (*VotingPower) ProtoMessage

func (*VotingPower) ProtoMessage()

func (*VotingPower) Reset

func (m *VotingPower) Reset()

func (*VotingPower) Size

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

func (*VotingPower) String

func (m *VotingPower) String() string

func (*VotingPower) Unmarshal

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

func (*VotingPower) XXX_DiscardUnknown

func (m *VotingPower) XXX_DiscardUnknown()

func (*VotingPower) XXX_Marshal

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

func (*VotingPower) XXX_Merge

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

func (*VotingPower) XXX_Size

func (m *VotingPower) XXX_Size() int

func (*VotingPower) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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