types

package
v6.1.0 Latest Latest
Warning

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

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

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	EventTypeCompleteUnbonding       = "complete_unbonding"
	EventTypeJoinService             = "join_service"
	EventTypeLeaveService            = "leave_service"
	EventTypeAllowOperator           = "allow_operator"
	EventTypeRemoveAllowedOperator   = "remove_allowed_operator"
	EventTypeBorrowPoolSecurity      = "borrow_pool_security"
	EventTypeCeasePoolSecurityBorrow = "cease_pool_security_borrow"
	EventTypeDelegatePool            = "delegate_pool"
	EventTypeDelegateOperator        = "delegate_operator"
	EventTypeDelegateService         = "delegate_service"
	EventTypeUnbondPool              = "unbond_pool"
	EventTypeUnbondOperator          = "unbond_operator"
	EventTypeUnbondService           = "unbond_service"
	EventTypeSetUserPreferences      = "set_user_preferences"

	AttributeKeyDelegator            = "delegator"
	AttributeKeyNewShares            = "new_shares"
	AttributeKeyCompletionTime       = "completion_time"
	AttributeUnbondingDelegationType = "unbonding_delegation"
	AttributeTargetID                = "target_id"
	AttributeKeyUser                 = "user"
)
View Source
const (
	ModuleName = "restaking"
	StoreKey   = ModuleName
)
View Source
const (
	DefaultUnbondingTime = 3 * 24 * time.Hour
)

Variables

View Source
var (
	ErrInvalidGenesis                 = errors.Register(ModuleName, 1, "invalid genesis state")
	ErrInvalidShares                  = errors.Register(ModuleName, 2, "invalid shares amount")
	ErrDelegatorShareExRateInvalid    = errors.Register(ModuleName, 3, "cannot delegate to pool/operator/service with invalid (zero) ex-rate")
	ErrDelegationNotFound             = errors.Register(ModuleName, 4, "delegation not found")
	ErrNotEnoughDelegationShares      = errors.Register(ModuleName, 5, "not enough delegation shares")
	ErrInvalidDelegationType          = errors.Register(ModuleName, 6, "invalid delegation type")
	ErrNoUnbondingDelegation          = errors.Register(ModuleName, 7, "no unbonding delegation found")
	ErrServiceAlreadyJoinedByOperator = errors.Register(ModuleName, 8, "service already joined by operator")
	ErrServiceNotJoinedByOperator     = errors.Register(ModuleName, 9, "the service has not been joined by the operator")
	ErrOperatorAlreadyAllowed         = errors.Register(ModuleName, 10, "operator already allowed")
	ErrOperatorNotAllowed             = errors.Register(ModuleName, 11, "operator not allowed")
	ErrPoolAlreadySecuringService     = errors.Register(ModuleName, 12, "pool already securing the service")
	ErrPoolNotSecuringService         = errors.Register(ModuleName, 13, "pool not securing the service")
	ErrDenomNotRestakable             = errors.Register(ModuleName, 14, "denom not restakable")
	ErrRestakingCapExceeded           = errors.Register(ModuleName, 15, "restaking cap exceeded")
)
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 (
	ParamsKey         = []byte{0x01}
	UnbondingIDKey    = []byte{0x02}
	UnbondingIndexKey = []byte{0x03}
	UnbondingTypeKey  = []byte{0x04}

	OperatorJoinedServicesPrefix       = []byte{0x13}
	ServiceOperatorsAllowListPrefix    = []byte{0x14}
	ServiceSecuringPoolsPrefix         = []byte{0x15}
	ServiceJoinedByOperatorIndexPrefix = []byte{0x16}

	PoolDelegationPrefix          = []byte{0xa1}
	PoolDelegationsByPoolIDPrefix = []byte{0xa2}
	PoolUnbondingDelegationPrefix = []byte{0xa3}

	OperatorDelegationPrefix          = []byte{0xb1}
	OperatorDelegationByOperatorID    = []byte{0xb2}
	OperatorUnbondingDelegationPrefix = []byte{0xb3}

	ServiceDelegationPrefix            = []byte{0xc1}
	ServiceDelegationByServiceIDPrefix = []byte{0xc2}
	ServiceUnbondingDelegationPrefix   = []byte{0xc3}

	UnbondingQueueKey = []byte{0xd1}

	UserPreferencesPrefix = []byte{0xe1}
)
View Source
var (
	ErrInvalidLengthMessages        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMessages          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMessages = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthModels        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowModels          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupModels = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var AminoCdc = codec.NewLegacyAmino()

AminoCdc references the global x/services module codec. Note, the codec should ONLY be used in certain instances of tests and for JSON encoding as Amino is still used for that purpose.

The actual codec used for serialization should be provided to x/services and defined at the application level.

View Source
var (
	DefaultRestakingCap = math.LegacyZeroDec() // no cap
)
View Source
var DelegationType_name = map[int32]string{
	0: "DELEGATION_TYPE_UNSPECIFIED",
	1: "DELEGATION_TYPE_POOL",
	2: "DELEGATION_TYPE_OPERATOR",
	3: "DELEGATION_TYPE_SERVICE",
}
View Source
var DelegationType_value = map[string]int32{
	"DELEGATION_TYPE_UNSPECIFIED": 0,
	"DELEGATION_TYPE_POOL":        1,
	"DELEGATION_TYPE_OPERATOR":    2,
	"DELEGATION_TYPE_SERVICE":     3,
}
View Source
var Msg_serviceDesc = _Msg_serviceDesc
View Source
var Query_serviceDesc = _Query_serviceDesc

Functions

func DelegationByOperatorIDStoreKey

func DelegationByOperatorIDStoreKey(operatorID uint32, delegatorAddress string) []byte

DelegationByOperatorIDStoreKey returns the key used to store the operator -> user delegation association

func DelegationByPoolIDStoreKey

func DelegationByPoolIDStoreKey(poolID uint32, delegatorAddress string) []byte

DelegationByPoolIDStoreKey returns the key used to store the pool -> user delegation association

func DelegationByServiceIDStoreKey

func DelegationByServiceIDStoreKey(serviceID uint32, delegatorAddress string) []byte

DelegationByServiceIDStoreKey returns the key used to store the service -> user delegation association

func DelegationsByOperatorIDStorePrefix

func DelegationsByOperatorIDStorePrefix(operatorID uint32) []byte

DelegationsByOperatorIDStorePrefix returns the prefix used to store the delegations to a given operator

func DelegationsByPoolIDStorePrefix

func DelegationsByPoolIDStorePrefix(poolID uint32) []byte

DelegationsByPoolIDStorePrefix returns the prefix used to store the delegations to a given pool

func DelegationsByServiceIDStorePrefix

func DelegationsByServiceIDStorePrefix(serviceID uint32) []byte

DelegationsByServiceIDStorePrefix returns the prefix used to store the delegations to a given service

func GetUnbondingDelegationTimeKey

func GetUnbondingDelegationTimeKey(timestamp time.Time) []byte

GetUnbondingDelegationTimeKey creates the prefix for all unbonding delegations from a delegator

func GetUnbondingIndexKey

func GetUnbondingIndexKey(id uint64) []byte

GetUnbondingIndexKey returns a key for the index for looking up UnbondingDelegations by the UnbondingDelegationEntries they contain

func GetUnbondingTypeKey

func GetUnbondingTypeKey(id uint64) []byte

GetUnbondingTypeKey returns a key for an index containing the type of unbonding operations

func MarshalUnbondingDelegation

func MarshalUnbondingDelegation(cdc codec.BinaryCodec, unbondingDelegation UnbondingDelegation) []byte

MarshalUnbondingDelegation marshals the unbonding delegation using the provided codec

func MustMarshalDelegation

func MustMarshalDelegation(cdc codec.BinaryCodec, delegation Delegation) []byte

MustMarshalDelegation marshals the given pool delegation using the provided codec

func MustMarshalUnbondingDelegation

func MustMarshalUnbondingDelegation(cdc codec.BinaryCodec, unbondingDelegation UnbondingDelegation) []byte

MustMarshalUnbondingDelegation marshals the unbonding delegation using the provided codec

func OperatorUnbondingDelegationsStorePrefix

func OperatorUnbondingDelegationsStorePrefix(delegatorAddress string) []byte

OperatorUnbondingDelegationsStorePrefix returns the prefix used to store all the unbonding delegations to a given pool

func PoolUnbondingDelegationsStorePrefix

func PoolUnbondingDelegationsStorePrefix(delegatorAddress string) []byte

PoolUnbondingDelegationsStorePrefix returns the prefix used to store all the unbonding delegations to a given pool

func RegisterInterfaces

func RegisterInterfaces(registry types.InterfaceRegistry)

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

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

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

func RegisterQueryHandlerClient

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

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

func RegisterQueryHandlerFromEndpoint

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

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

func RegisterQueryHandlerServer

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

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

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func ServiceUnbondingDelegationsStorePrefix

func ServiceUnbondingDelegationsStorePrefix(delegatorAddress string) []byte

ServiceUnbondingDelegationsStorePrefix returns the prefix used to store all the unbonding delegations to a given pool

func UserOperatorDelegationStoreKey

func UserOperatorDelegationStoreKey(delegator string, operatorID uint32) []byte

UserOperatorDelegationStoreKey returns the key used to store the user -> operator delegation association

func UserOperatorDelegationsStorePrefix

func UserOperatorDelegationsStorePrefix(userAddress string) []byte

UserOperatorDelegationsStorePrefix returns the prefix used to store all the delegations to a given operator

func UserOperatorUnbondingDelegationKey

func UserOperatorUnbondingDelegationKey(delegatorAddress string, operatorID uint32) []byte

UserOperatorUnbondingDelegationKey returns the key used to store the unbonding delegation for the given pool and delegator

func UserPoolDelegationStoreKey

func UserPoolDelegationStoreKey(delegator string, poolID uint32) []byte

UserPoolDelegationStoreKey returns the key used to store the user -> pool delegation association

func UserPoolDelegationsStorePrefix

func UserPoolDelegationsStorePrefix(userAddress string) []byte

UserPoolDelegationsStorePrefix returns the prefix used to store all the delegations to a given pool

func UserPoolUnbondingDelegationKey

func UserPoolUnbondingDelegationKey(delegatorAddress string, poolID uint32) []byte

UserPoolUnbondingDelegationKey returns the key used to store the unbonding delegation for the given pool and delegator

func UserServiceDelegationStoreKey

func UserServiceDelegationStoreKey(delegator string, serviceID uint32) []byte

UserServiceDelegationStoreKey returns the key used to store the user -> service delegation association

func UserServiceDelegationsStorePrefix

func UserServiceDelegationsStorePrefix(userAddress string) []byte

UserServiceDelegationsStorePrefix returns the prefix used to store all the delegations to a given service

func UserServiceUnbondingDelegationKey

func UserServiceUnbondingDelegationKey(delegatorAddress string, serviceID uint32) []byte

UserServiceUnbondingDelegationKey returns the key used to store the unbonding delegation for the given pool and delegator

Types

type AccountKeeper

type AccountKeeper interface {
	AddressCodec() address.Codec
}

type AssetsKeeper

type AssetsKeeper interface {
	GetAsset(ctx context.Context, denom string) (assetstypes.Asset, error)
}

type BankKeeper

type BankKeeper interface {
	SendCoins(ctx context.Context, fromAddr, toAddr sdk.AccAddress, amt sdk.Coins) error
	GetBalance(ctx context.Context, addr sdk.AccAddress, denom string) sdk.Coin
	GetAllBalances(ctx context.Context, addr sdk.AccAddress) sdk.Coins
}

type DTData

type DTData struct {
	UnbondingDelegationType DelegationType `` /* 175-byte string literal not displayed */
	DelegatorAddress        string         `protobuf:"bytes,2,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	TargetID                uint32         `protobuf:"varint,3,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
}

DTData is a struct that contains the basic information about an unbonding delegation. It is intended to be used as a marshalable pointer. For example, a DTData can be used to construct the key to getting an UnbondingDelegation from state.

func (*DTData) Descriptor

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

func (*DTData) Marshal

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

func (*DTData) MarshalTo

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

func (*DTData) MarshalToSizedBuffer

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

func (*DTData) ProtoMessage

func (*DTData) ProtoMessage()

func (*DTData) Reset

func (m *DTData) Reset()

func (*DTData) Size

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

func (*DTData) String

func (m *DTData) String() string

func (*DTData) Unmarshal

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

func (*DTData) XXX_DiscardUnknown

func (m *DTData) XXX_DiscardUnknown()

func (*DTData) XXX_Marshal

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

func (*DTData) XXX_Merge

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

func (*DTData) XXX_Size

func (m *DTData) XXX_Size() int

func (*DTData) XXX_Unmarshal

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

type DTDataList

type DTDataList struct {
	Data []DTData `protobuf:"bytes,1,rep,name=data,proto3" json:"data"`
}

DTDataList defines an array of DTData objects.

func (*DTDataList) Descriptor

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

func (*DTDataList) GetData

func (m *DTDataList) GetData() []DTData

func (*DTDataList) Marshal

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

func (*DTDataList) MarshalTo

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

func (*DTDataList) MarshalToSizedBuffer

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

func (*DTDataList) ProtoMessage

func (*DTDataList) ProtoMessage()

func (*DTDataList) Reset

func (m *DTDataList) Reset()

func (*DTDataList) Size

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

func (*DTDataList) String

func (m *DTDataList) String() string

func (*DTDataList) Unmarshal

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

func (*DTDataList) XXX_DiscardUnknown

func (m *DTDataList) XXX_DiscardUnknown()

func (*DTDataList) XXX_Marshal

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

func (*DTDataList) XXX_Merge

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

func (*DTDataList) XXX_Size

func (m *DTDataList) XXX_Size() int

func (*DTDataList) XXX_Unmarshal

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

type Delegation

type Delegation struct {
	// Type is the type of delegation.
	Type DelegationType `protobuf:"varint,1,opt,name=type,proto3,enum=milkyway.restaking.v1.DelegationType" json:"type,omitempty"`
	// UserAddress is the encoded address of the user.
	UserAddress string `protobuf:"bytes,2,opt,name=user_address,json=userAddress,proto3" json:"user_address,omitempty"`
	// TargetID is the id of the target to which the delegation is associated
	// (pool, operator, service).
	TargetID uint32 `protobuf:"varint,3,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
	// Shares define the delegation shares received.
	Shares github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,4,rep,name=shares,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"shares"`
}

Delegation represents the bond with tokens held by an account with a given target.

func MustUnmarshalDelegation

func MustUnmarshalDelegation(cdc codec.BinaryCodec, bz []byte) Delegation

MustUnmarshalDelegation unmarshals a pool delegation from the given bytes using the provided codec

func NewOperatorDelegation

func NewOperatorDelegation(operatorID uint32, userAddress string, shares sdk.DecCoins) Delegation

NewOperatorDelegation creates a new Delegation instance representing a delegation to an operator

func NewPoolDelegation

func NewPoolDelegation(poolID uint32, userAddress string, shares sdk.DecCoins) Delegation

NewPoolDelegation creates a new Delegation instance representing a pool delegation

func NewServiceDelegation

func NewServiceDelegation(serviceID uint32, userAddress string, shares sdk.DecCoins) Delegation

NewServiceDelegation creates a new Delegation instance representing a delegation to a service

func UnmarshalDelegation

func UnmarshalDelegation(cdc codec.BinaryCodec, bz []byte) (Delegation, error)

UnmarshalDelegation unmarshals a pool delegation from the given bytes using the provided codec

func (*Delegation) Descriptor

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

func (*Delegation) Marshal

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

func (*Delegation) MarshalTo

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

func (*Delegation) MarshalToSizedBuffer

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

func (*Delegation) ProtoMessage

func (*Delegation) ProtoMessage()

func (*Delegation) Reset

func (m *Delegation) Reset()

func (*Delegation) Size

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

func (*Delegation) String

func (m *Delegation) String() string

func (*Delegation) Unmarshal

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

func (Delegation) Validate

func (d Delegation) Validate() error

Validate validates the delegation

func (*Delegation) XXX_DiscardUnknown

func (m *Delegation) XXX_DiscardUnknown()

func (*Delegation) XXX_Marshal

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

func (*Delegation) XXX_Merge

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

func (*Delegation) XXX_Size

func (m *Delegation) XXX_Size() int

func (*Delegation) XXX_Unmarshal

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

type DelegationBuilder

type DelegationBuilder func(targetID uint32, delegator string, shares sdk.DecCoins) Delegation

DelegationBuilder represents a function that allows to build a new delegation

type DelegationByTargetIDBuilder

type DelegationByTargetIDBuilder func(targetID uint32, delegationAddress string) []byte

type DelegationData

type DelegationData struct {
	Amount           sdk.Coins
	Delegator        string
	Target           DelegationTarget
	BuildDelegation  DelegationBuilder
	UpdateDelegation DelegationUpdater
	Hooks            DelegationHooks
}

DelegationData contains the data required to perform a delegation.

type DelegationGetter

type DelegationGetter func(ctx context.Context, receiverID uint32, delegator string) (Delegation, bool)

DelegationGetter represents a function that allows to retrieve an existing delegation

type DelegationHooks

type DelegationHooks struct {
	BeforeDelegationSharesModified func(ctx context.Context, receiverID uint32, delegator string) error
	BeforeDelegationCreated        func(ctx context.Context, receiverID uint32, delegator string) error
	AfterDelegationModified        func(ctx context.Context, receiverID uint32, delegator string) error
	BeforeDelegationRemoved        func(ctx context.Context, receiverID uint32, delegator string) error
}

DelegationHooks contains the hooks that can be called before and after a delegation is modified.

type DelegationKeyBuilder

type DelegationKeyBuilder func(delegatorAddress string, targetID uint32) []byte

type DelegationResponse

type DelegationResponse struct {
	Delegation Delegation                               `protobuf:"bytes,1,opt,name=delegation,proto3" json:"delegation"`
	Balance    github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=balance,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"balance"`
}

DelegationResponse is equivalent to Delegation except that it contains a balance in addition to shares which is more suitable for client responses.

func NewDelegationResponse

func NewDelegationResponse(delegation Delegation, balance sdk.Coins) DelegationResponse

NewDelegationResponse creates a new DelegationResponse instance

func (*DelegationResponse) Descriptor

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

func (*DelegationResponse) GetBalance

func (*DelegationResponse) GetDelegation

func (m *DelegationResponse) GetDelegation() Delegation

func (*DelegationResponse) Marshal

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

func (*DelegationResponse) MarshalTo

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

func (*DelegationResponse) MarshalToSizedBuffer

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

func (*DelegationResponse) ProtoMessage

func (*DelegationResponse) ProtoMessage()

func (*DelegationResponse) Reset

func (m *DelegationResponse) Reset()

func (*DelegationResponse) Size

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

func (*DelegationResponse) String

func (m *DelegationResponse) String() string

func (*DelegationResponse) Unmarshal

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

func (*DelegationResponse) XXX_DiscardUnknown

func (m *DelegationResponse) XXX_DiscardUnknown()

func (*DelegationResponse) XXX_Marshal

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

func (*DelegationResponse) XXX_Merge

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

func (*DelegationResponse) XXX_Size

func (m *DelegationResponse) XXX_Size() int

func (*DelegationResponse) XXX_Unmarshal

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

type DelegationTarget

type DelegationTarget interface {
	GetID() uint32
	GetAddress() string
	GetTokens() sdk.Coins
	GetDelegatorShares() sdk.DecCoins
	InvalidExRate() bool
	GetSharesDenom(tokenDenom string) string
	TokensFromShares(shares sdk.DecCoins) sdk.DecCoins
	TokensFromSharesTruncated(shares sdk.DecCoins) sdk.DecCoins
	SharesFromTokens(amt sdk.Coins) (sdk.DecCoins, error)
	SharesFromTokensTruncated(tokens sdk.Coins) (sdk.DecCoins, error)
	SharesFromDecCoins(amt sdk.DecCoins) (sdk.DecCoins, error)
}

DelegationTarget is an interface that represents the target of a delegation (operator, pool, service, etc).

type DelegationType

type DelegationType int32

DelegationType defines the type of delegation.

const (
	// DELEGATION_TYPE_UNSPECIFIED defines an unspecified delegation type.
	DELEGATION_TYPE_UNSPECIFIED DelegationType = 0
	// DELEGATION_TYPE_POOL defines a delegation to a pool.
	DELEGATION_TYPE_POOL DelegationType = 1
	// DELEGATION_TYPE_OPERATOR defines a delegation to an operator.
	DELEGATION_TYPE_OPERATOR DelegationType = 2
	// DELEGATION_TYPE_SERVICE defines a delegation to a service.
	DELEGATION_TYPE_SERVICE DelegationType = 3
)

func GetDelegationTypeFromTarget

func GetDelegationTypeFromTarget(target DelegationTarget) (DelegationType, error)

GetDelegationTypeFromTarget returns the delegation type based on the target

func (DelegationType) EnumDescriptor

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

func (DelegationType) String

func (x DelegationType) String() string

type DelegationUpdater

type DelegationUpdater func(ctx context.Context, delegation Delegation) (newShares sdk.DecCoins, err error)

DelegationUpdater represents a function that allows to update an existing delegation

type GenesisState

type GenesisState struct {
	// Params defines the parameters of the module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	// OperatorsJoinedServices defines the list of the services that each operator
	// has joined.
	OperatorsJoinedServices []OperatorJoinedServices `protobuf:"bytes,2,rep,name=operators_joined_services,json=operatorsJoinedServices,proto3" json:"operators_joined_services"`
	// ServiceAllowedOperators defines the operators allowed to secure each
	// service.
	ServicesAllowedOperators []ServiceAllowedOperators `protobuf:"bytes,3,rep,name=services_allowed_operators,json=servicesAllowedOperators,proto3" json:"services_allowed_operators"`
	// ServicesSecuringPools defines the whitelisted pools for each service.
	ServicesSecuringPools []ServiceSecuringPools `protobuf:"bytes,4,rep,name=services_securing_pools,json=servicesSecuringPools,proto3" json:"services_securing_pools"`
	// Delegations represents the delegations.
	Delegations []Delegation `protobuf:"bytes,5,rep,name=delegations,proto3" json:"delegations"`
	// UnbondingDelegations represents the unbonding delegations.
	UnbondingDelegations []UnbondingDelegation `protobuf:"bytes,6,rep,name=unbonding_delegations,json=unbondingDelegations,proto3" json:"unbonding_delegations"`
	// UserPreferences represents the user preferences.
	UsersPreferences []UserPreferencesEntry `protobuf:"bytes,7,rep,name=users_preferences,json=usersPreferences,proto3" json:"users_preferences"`
}

GenesisState defines the restaking module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns a default genesis state

func NewGenesis

func NewGenesis(
	operatorsJoinedServices []OperatorJoinedServices,
	servicesAllowedOperators []ServiceAllowedOperators,
	servicesSecuringPools []ServiceSecuringPools,
	delegations []Delegation,
	unbondingDelegations []UnbondingDelegation,
	usersPreferencesEntries []UserPreferencesEntry,
	params Params,
) *GenesisState

NewGenesis creates a new genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetDelegations

func (m *GenesisState) GetDelegations() []Delegation

func (*GenesisState) GetOperatorsJoinedServices

func (m *GenesisState) GetOperatorsJoinedServices() []OperatorJoinedServices

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetServicesAllowedOperators

func (m *GenesisState) GetServicesAllowedOperators() []ServiceAllowedOperators

func (*GenesisState) GetServicesSecuringPools

func (m *GenesisState) GetServicesSecuringPools() []ServiceSecuringPools

func (*GenesisState) GetUnbondingDelegations

func (m *GenesisState) GetUnbondingDelegations() []UnbondingDelegation

func (*GenesisState) GetUsersPreferences

func (m *GenesisState) GetUsersPreferences() []UserPreferencesEntry

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 (g *GenesisState) Validate() error

Validate performs basic validation of genesis data

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 MsgAddOperatorToAllowList

type MsgAddOperatorToAllowList struct {
	Sender     string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	ServiceID  uint32 `protobuf:"varint,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	OperatorID uint32 `protobuf:"varint,3,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"`
}

MsgAddOperatorToAllowList defines the message structure for the AddOperatorToAllowList gRPC service method. It allows the service admin to add an operator to the list of allowed operator to secure the service.

func NewMsgAddOperatorToAllowList

func NewMsgAddOperatorToAllowList(serviceID uint32, operatorID uint32, sender string) *MsgAddOperatorToAllowList

NewMsgAddOperatorToAllowList creates a new MsgAddOperatorToAllowList instance

func (*MsgAddOperatorToAllowList) Descriptor

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

func (*MsgAddOperatorToAllowList) GetOperatorID

func (m *MsgAddOperatorToAllowList) GetOperatorID() uint32

func (*MsgAddOperatorToAllowList) GetSender

func (m *MsgAddOperatorToAllowList) GetSender() string

func (*MsgAddOperatorToAllowList) GetServiceID

func (m *MsgAddOperatorToAllowList) GetServiceID() uint32

func (*MsgAddOperatorToAllowList) Marshal

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

func (*MsgAddOperatorToAllowList) MarshalTo

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

func (*MsgAddOperatorToAllowList) MarshalToSizedBuffer

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

func (*MsgAddOperatorToAllowList) ProtoMessage

func (*MsgAddOperatorToAllowList) ProtoMessage()

func (*MsgAddOperatorToAllowList) Reset

func (m *MsgAddOperatorToAllowList) Reset()

func (*MsgAddOperatorToAllowList) Size

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

func (*MsgAddOperatorToAllowList) String

func (m *MsgAddOperatorToAllowList) String() string

func (*MsgAddOperatorToAllowList) Unmarshal

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

func (*MsgAddOperatorToAllowList) ValidateBasic

func (msg *MsgAddOperatorToAllowList) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgAddOperatorToAllowList) XXX_DiscardUnknown

func (m *MsgAddOperatorToAllowList) XXX_DiscardUnknown()

func (*MsgAddOperatorToAllowList) XXX_Marshal

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

func (*MsgAddOperatorToAllowList) XXX_Merge

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

func (*MsgAddOperatorToAllowList) XXX_Size

func (m *MsgAddOperatorToAllowList) XXX_Size() int

func (*MsgAddOperatorToAllowList) XXX_Unmarshal

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

type MsgAddOperatorToAllowListResponse

type MsgAddOperatorToAllowListResponse struct {
}

MsgAddOperatorToAllowListResponse is the return value of MsgAddOperatorToAllowList.

func (*MsgAddOperatorToAllowListResponse) Descriptor

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

func (*MsgAddOperatorToAllowListResponse) Marshal

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

func (*MsgAddOperatorToAllowListResponse) MarshalTo

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

func (*MsgAddOperatorToAllowListResponse) MarshalToSizedBuffer

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

func (*MsgAddOperatorToAllowListResponse) ProtoMessage

func (*MsgAddOperatorToAllowListResponse) ProtoMessage()

func (*MsgAddOperatorToAllowListResponse) Reset

func (*MsgAddOperatorToAllowListResponse) Size

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

func (*MsgAddOperatorToAllowListResponse) String

func (*MsgAddOperatorToAllowListResponse) Unmarshal

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

func (*MsgAddOperatorToAllowListResponse) XXX_DiscardUnknown

func (m *MsgAddOperatorToAllowListResponse) XXX_DiscardUnknown()

func (*MsgAddOperatorToAllowListResponse) XXX_Marshal

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

func (*MsgAddOperatorToAllowListResponse) XXX_Merge

func (*MsgAddOperatorToAllowListResponse) XXX_Size

func (m *MsgAddOperatorToAllowListResponse) XXX_Size() int

func (*MsgAddOperatorToAllowListResponse) XXX_Unmarshal

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

type MsgBorrowPoolSecurity

type MsgBorrowPoolSecurity struct {
	Sender    string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	ServiceID uint32 `protobuf:"varint,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	PoolID    uint32 `protobuf:"varint,3,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
}

MsgBorrowPoolSecurity defines the message structure for the BorrowPoolSecurity gRPC service method. It allows the service admin to add a pool to the list of pools from which the service has chosen to borrow security.

func NewMsgBorrowPoolSecurity

func NewMsgBorrowPoolSecurity(serviceID uint32, poolID uint32, sender string) *MsgBorrowPoolSecurity

NewMsgBorrowPoolSecurity creates a new MsgBorrowPoolSecurity instance

func (*MsgBorrowPoolSecurity) Descriptor

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

func (*MsgBorrowPoolSecurity) GetPoolID

func (m *MsgBorrowPoolSecurity) GetPoolID() uint32

func (*MsgBorrowPoolSecurity) GetSender

func (m *MsgBorrowPoolSecurity) GetSender() string

func (*MsgBorrowPoolSecurity) GetServiceID

func (m *MsgBorrowPoolSecurity) GetServiceID() uint32

func (*MsgBorrowPoolSecurity) Marshal

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

func (*MsgBorrowPoolSecurity) MarshalTo

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

func (*MsgBorrowPoolSecurity) MarshalToSizedBuffer

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

func (*MsgBorrowPoolSecurity) ProtoMessage

func (*MsgBorrowPoolSecurity) ProtoMessage()

func (*MsgBorrowPoolSecurity) Reset

func (m *MsgBorrowPoolSecurity) Reset()

func (*MsgBorrowPoolSecurity) Size

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

func (*MsgBorrowPoolSecurity) String

func (m *MsgBorrowPoolSecurity) String() string

func (*MsgBorrowPoolSecurity) Unmarshal

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

func (*MsgBorrowPoolSecurity) ValidateBasic

func (msg *MsgBorrowPoolSecurity) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgBorrowPoolSecurity) XXX_DiscardUnknown

func (m *MsgBorrowPoolSecurity) XXX_DiscardUnknown()

func (*MsgBorrowPoolSecurity) XXX_Marshal

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

func (*MsgBorrowPoolSecurity) XXX_Merge

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

func (*MsgBorrowPoolSecurity) XXX_Size

func (m *MsgBorrowPoolSecurity) XXX_Size() int

func (*MsgBorrowPoolSecurity) XXX_Unmarshal

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

type MsgBorrowPoolSecurityResponse

type MsgBorrowPoolSecurityResponse struct {
}

MsgBorrowPoolSecurityResponse is the return value of MsgBorrowPoolSecurity.

func (*MsgBorrowPoolSecurityResponse) Descriptor

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

func (*MsgBorrowPoolSecurityResponse) Marshal

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

func (*MsgBorrowPoolSecurityResponse) MarshalTo

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

func (*MsgBorrowPoolSecurityResponse) MarshalToSizedBuffer

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

func (*MsgBorrowPoolSecurityResponse) ProtoMessage

func (*MsgBorrowPoolSecurityResponse) ProtoMessage()

func (*MsgBorrowPoolSecurityResponse) Reset

func (m *MsgBorrowPoolSecurityResponse) Reset()

func (*MsgBorrowPoolSecurityResponse) Size

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

func (*MsgBorrowPoolSecurityResponse) String

func (*MsgBorrowPoolSecurityResponse) Unmarshal

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

func (*MsgBorrowPoolSecurityResponse) XXX_DiscardUnknown

func (m *MsgBorrowPoolSecurityResponse) XXX_DiscardUnknown()

func (*MsgBorrowPoolSecurityResponse) XXX_Marshal

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

func (*MsgBorrowPoolSecurityResponse) XXX_Merge

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

func (*MsgBorrowPoolSecurityResponse) XXX_Size

func (m *MsgBorrowPoolSecurityResponse) XXX_Size() int

func (*MsgBorrowPoolSecurityResponse) XXX_Unmarshal

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

type MsgCeasePoolSecurityBorrow

type MsgCeasePoolSecurityBorrow struct {
	Sender    string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	ServiceID uint32 `protobuf:"varint,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	PoolID    uint32 `protobuf:"varint,3,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
}

MsgCeasePoolSecurityBorrow defines the message structure for the CeaseBorrowPoolSecurity gRPC service method. It allows the service admin to remove a pool from the list of pools from which the service has chosen to borrow security.

func NewMsgCeasePoolSecurityBorrow

func NewMsgCeasePoolSecurityBorrow(serviceID uint32, poolID uint32, sender string) *MsgCeasePoolSecurityBorrow

NewMsgCeasePoolSecurityBorrow creates a new MsgCeasePoolSecurityBorrow instance

func (*MsgCeasePoolSecurityBorrow) Descriptor

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

func (*MsgCeasePoolSecurityBorrow) GetPoolID

func (m *MsgCeasePoolSecurityBorrow) GetPoolID() uint32

func (*MsgCeasePoolSecurityBorrow) GetSender

func (m *MsgCeasePoolSecurityBorrow) GetSender() string

func (*MsgCeasePoolSecurityBorrow) GetServiceID

func (m *MsgCeasePoolSecurityBorrow) GetServiceID() uint32

func (*MsgCeasePoolSecurityBorrow) Marshal

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

func (*MsgCeasePoolSecurityBorrow) MarshalTo

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

func (*MsgCeasePoolSecurityBorrow) MarshalToSizedBuffer

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

func (*MsgCeasePoolSecurityBorrow) ProtoMessage

func (*MsgCeasePoolSecurityBorrow) ProtoMessage()

func (*MsgCeasePoolSecurityBorrow) Reset

func (m *MsgCeasePoolSecurityBorrow) Reset()

func (*MsgCeasePoolSecurityBorrow) Size

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

func (*MsgCeasePoolSecurityBorrow) String

func (m *MsgCeasePoolSecurityBorrow) String() string

func (*MsgCeasePoolSecurityBorrow) Unmarshal

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

func (*MsgCeasePoolSecurityBorrow) ValidateBasic

func (msg *MsgCeasePoolSecurityBorrow) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgCeasePoolSecurityBorrow) XXX_DiscardUnknown

func (m *MsgCeasePoolSecurityBorrow) XXX_DiscardUnknown()

func (*MsgCeasePoolSecurityBorrow) XXX_Marshal

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

func (*MsgCeasePoolSecurityBorrow) XXX_Merge

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

func (*MsgCeasePoolSecurityBorrow) XXX_Size

func (m *MsgCeasePoolSecurityBorrow) XXX_Size() int

func (*MsgCeasePoolSecurityBorrow) XXX_Unmarshal

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

type MsgCeasePoolSecurityBorrowResponse

type MsgCeasePoolSecurityBorrowResponse struct {
}

MsgCeasePoolSecurityBorrowResponse is the return value of MsgCeasePoolSecurityBorrow.

func (*MsgCeasePoolSecurityBorrowResponse) Descriptor

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

func (*MsgCeasePoolSecurityBorrowResponse) Marshal

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

func (*MsgCeasePoolSecurityBorrowResponse) MarshalTo

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

func (*MsgCeasePoolSecurityBorrowResponse) MarshalToSizedBuffer

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

func (*MsgCeasePoolSecurityBorrowResponse) ProtoMessage

func (*MsgCeasePoolSecurityBorrowResponse) ProtoMessage()

func (*MsgCeasePoolSecurityBorrowResponse) Reset

func (*MsgCeasePoolSecurityBorrowResponse) Size

func (*MsgCeasePoolSecurityBorrowResponse) String

func (*MsgCeasePoolSecurityBorrowResponse) Unmarshal

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

func (*MsgCeasePoolSecurityBorrowResponse) XXX_DiscardUnknown

func (m *MsgCeasePoolSecurityBorrowResponse) XXX_DiscardUnknown()

func (*MsgCeasePoolSecurityBorrowResponse) XXX_Marshal

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

func (*MsgCeasePoolSecurityBorrowResponse) XXX_Merge

func (*MsgCeasePoolSecurityBorrowResponse) XXX_Size

func (*MsgCeasePoolSecurityBorrowResponse) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	// JoinService defines the operation that allows the operator admin
	// to start securing an AVS
	JoinService(ctx context.Context, in *MsgJoinService, opts ...grpc.CallOption) (*MsgJoinServiceResponse, error)
	// LeaveService defines the operation that allows the operator admin
	// to stop securing an AVS
	LeaveService(ctx context.Context, in *MsgLeaveService, opts ...grpc.CallOption) (*MsgLeaveServiceResponse, error)
	// AddOperatorToAllowList defines the operation that allows the service admin
	// to add an operator to the list of allowed operator to secure the service
	AddOperatorToAllowList(ctx context.Context, in *MsgAddOperatorToAllowList, opts ...grpc.CallOption) (*MsgAddOperatorToAllowListResponse, error)
	// RemoveOperatorFromAllowlist defines the operation that allows the service
	// admin to remove a previously added operator from the list of allowed
	// operators to secure the service
	RemoveOperatorFromAllowlist(ctx context.Context, in *MsgRemoveOperatorFromAllowlist, opts ...grpc.CallOption) (*MsgRemoveOperatorFromAllowlistResponse, error)
	// BorrowPoolSecurity defines the operation that allows the service admin
	// to add a pool to the list of pools from which the service has chosen
	// to borrow security.
	BorrowPoolSecurity(ctx context.Context, in *MsgBorrowPoolSecurity, opts ...grpc.CallOption) (*MsgBorrowPoolSecurityResponse, error)
	// CeasePoolSecurityBorrow defines the operation that allows the service admin
	// to remove a pool from the list of pools from which the service has chosen
	// to borrow security.
	CeasePoolSecurityBorrow(ctx context.Context, in *MsgCeasePoolSecurityBorrow, opts ...grpc.CallOption) (*MsgCeasePoolSecurityBorrowResponse, error)
	// DelegatePool defines the operation that allows users to delegate any amount
	// of an asset to a pool that can then be used to provide services with
	// cryptoeconomic security.
	DelegatePool(ctx context.Context, in *MsgDelegatePool, opts ...grpc.CallOption) (*MsgDelegatePoolResponse, error)
	// DelegateOperator defines the operation that allows users to delegate their
	// assets to a specific operator.
	DelegateOperator(ctx context.Context, in *MsgDelegateOperator, opts ...grpc.CallOption) (*MsgDelegateOperatorResponse, error)
	// DelegateService defines the operation that allows users to delegate their
	// assets to a specific service.
	DelegateService(ctx context.Context, in *MsgDelegateService, opts ...grpc.CallOption) (*MsgDelegateServiceResponse, error)
	// UpdateParams defines a (governance) operation for updating the module
	// parameters.
	// The authority defaults to the x/gov module account.
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
	// UndelegatePool defines the operation that allows users to undelegate their
	// assets from a pool.
	UndelegatePool(ctx context.Context, in *MsgUndelegatePool, opts ...grpc.CallOption) (*MsgUndelegateResponse, error)
	// UndelegateOperator defines the operation that allows users to undelegate
	// their assets from a specific operator.
	UndelegateOperator(ctx context.Context, in *MsgUndelegateOperator, opts ...grpc.CallOption) (*MsgUndelegateResponse, error)
	// UndelegateService defines the operation that allows users to undelegate
	// their assets from a specific service.
	UndelegateService(ctx context.Context, in *MsgUndelegateService, opts ...grpc.CallOption) (*MsgUndelegateResponse, error)
	// SetUserPreferences defines the operation that allows users to set their
	// preferences for the restaking module.
	SetUserPreferences(ctx context.Context, in *MsgSetUserPreferences, opts ...grpc.CallOption) (*MsgSetUserPreferencesResponse, 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 MsgDelegateOperator

type MsgDelegateOperator struct {
	// Delegator is the address of the user delegating to the operator
	Delegator string `protobuf:"bytes,1,opt,name=delegator,proto3" json:"delegator,omitempty"`
	// OperatorID is the ID of the operator to delegate to
	OperatorID uint32 `protobuf:"varint,2,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"`
	// Amount is the amount of coins to be delegated
	Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
}

MsgDelegateOperator defines the message structure for the DelegateOperator gRPC service method. It allows a user to delegate their assets to an operator.

func NewMsgDelegateOperator

func NewMsgDelegateOperator(operatorID uint32, amount sdk.Coins, delegator string) *MsgDelegateOperator

NewMsgDelegateOperator creates a new MsgDelegateOperator instance

func (*MsgDelegateOperator) Descriptor

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

func (*MsgDelegateOperator) GetAmount

func (*MsgDelegateOperator) GetDelegator

func (m *MsgDelegateOperator) GetDelegator() string

func (*MsgDelegateOperator) GetOperatorID

func (m *MsgDelegateOperator) GetOperatorID() uint32

func (*MsgDelegateOperator) GetSignBytes

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

GetSignBytes implements sdk.Msg

func (*MsgDelegateOperator) GetSigners

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

GetSigners implements sdk.Msg

func (*MsgDelegateOperator) Marshal

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

func (*MsgDelegateOperator) MarshalTo

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

func (*MsgDelegateOperator) MarshalToSizedBuffer

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

func (*MsgDelegateOperator) ProtoMessage

func (*MsgDelegateOperator) ProtoMessage()

func (*MsgDelegateOperator) Reset

func (m *MsgDelegateOperator) Reset()

func (*MsgDelegateOperator) Size

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

func (*MsgDelegateOperator) String

func (m *MsgDelegateOperator) String() string

func (*MsgDelegateOperator) Unmarshal

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

func (*MsgDelegateOperator) ValidateBasic

func (msg *MsgDelegateOperator) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgDelegateOperator) XXX_DiscardUnknown

func (m *MsgDelegateOperator) XXX_DiscardUnknown()

func (*MsgDelegateOperator) XXX_Marshal

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

func (*MsgDelegateOperator) XXX_Merge

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

func (*MsgDelegateOperator) XXX_Size

func (m *MsgDelegateOperator) XXX_Size() int

func (*MsgDelegateOperator) XXX_Unmarshal

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

type MsgDelegateOperatorResponse

type MsgDelegateOperatorResponse struct {
}

MsgDelegateOperatorResponse is the return value of MsgDelegateOperator.

func (*MsgDelegateOperatorResponse) Descriptor

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

func (*MsgDelegateOperatorResponse) Marshal

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

func (*MsgDelegateOperatorResponse) MarshalTo

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

func (*MsgDelegateOperatorResponse) MarshalToSizedBuffer

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

func (*MsgDelegateOperatorResponse) ProtoMessage

func (*MsgDelegateOperatorResponse) ProtoMessage()

func (*MsgDelegateOperatorResponse) Reset

func (m *MsgDelegateOperatorResponse) Reset()

func (*MsgDelegateOperatorResponse) Size

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

func (*MsgDelegateOperatorResponse) String

func (m *MsgDelegateOperatorResponse) String() string

func (*MsgDelegateOperatorResponse) Unmarshal

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

func (*MsgDelegateOperatorResponse) XXX_DiscardUnknown

func (m *MsgDelegateOperatorResponse) XXX_DiscardUnknown()

func (*MsgDelegateOperatorResponse) XXX_Marshal

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

func (*MsgDelegateOperatorResponse) XXX_Merge

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

func (*MsgDelegateOperatorResponse) XXX_Size

func (m *MsgDelegateOperatorResponse) XXX_Size() int

func (*MsgDelegateOperatorResponse) XXX_Unmarshal

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

type MsgDelegatePool

type MsgDelegatePool struct {
	// Delegator is the address of the user joining the pool
	Delegator string `protobuf:"bytes,1,opt,name=delegator,proto3" json:"delegator,omitempty"`
	// Amount is the amount of coins to be staked
	Amount types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount"`
}

MsgDelegatePool defines the message structure for the DelegatePool gRPC service method. It allows a user to put their assets into a restaking pool that will later be used to provide cryptoeconomic security to services that choose it.

func NewMsgDelegatePool

func NewMsgDelegatePool(amount sdk.Coin, delegator string) *MsgDelegatePool

NewMsgDelegatePool creates a new MsgDelegatePool instance

func (*MsgDelegatePool) Descriptor

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

func (*MsgDelegatePool) GetAmount

func (m *MsgDelegatePool) GetAmount() types.Coin

func (*MsgDelegatePool) GetDelegator

func (m *MsgDelegatePool) GetDelegator() string

func (*MsgDelegatePool) GetSignBytes

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

GetSignBytes implements sdk.Msg

func (*MsgDelegatePool) GetSigners

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

GetSigners implements sdk.Msg

func (*MsgDelegatePool) Marshal

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

func (*MsgDelegatePool) MarshalTo

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

func (*MsgDelegatePool) MarshalToSizedBuffer

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

func (*MsgDelegatePool) ProtoMessage

func (*MsgDelegatePool) ProtoMessage()

func (*MsgDelegatePool) Reset

func (m *MsgDelegatePool) Reset()

func (*MsgDelegatePool) Size

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

func (*MsgDelegatePool) String

func (m *MsgDelegatePool) String() string

func (*MsgDelegatePool) Unmarshal

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

func (*MsgDelegatePool) ValidateBasic

func (msg *MsgDelegatePool) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgDelegatePool) XXX_DiscardUnknown

func (m *MsgDelegatePool) XXX_DiscardUnknown()

func (*MsgDelegatePool) XXX_Marshal

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

func (*MsgDelegatePool) XXX_Merge

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

func (*MsgDelegatePool) XXX_Size

func (m *MsgDelegatePool) XXX_Size() int

func (*MsgDelegatePool) XXX_Unmarshal

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

type MsgDelegatePoolResponse

type MsgDelegatePoolResponse struct {
}

MsgDelegatePoolResponse defines the return value of MsgDelegatePool.

func (*MsgDelegatePoolResponse) Descriptor

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

func (*MsgDelegatePoolResponse) Marshal

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

func (*MsgDelegatePoolResponse) MarshalTo

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

func (*MsgDelegatePoolResponse) MarshalToSizedBuffer

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

func (*MsgDelegatePoolResponse) ProtoMessage

func (*MsgDelegatePoolResponse) ProtoMessage()

func (*MsgDelegatePoolResponse) Reset

func (m *MsgDelegatePoolResponse) Reset()

func (*MsgDelegatePoolResponse) Size

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

func (*MsgDelegatePoolResponse) String

func (m *MsgDelegatePoolResponse) String() string

func (*MsgDelegatePoolResponse) Unmarshal

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

func (*MsgDelegatePoolResponse) XXX_DiscardUnknown

func (m *MsgDelegatePoolResponse) XXX_DiscardUnknown()

func (*MsgDelegatePoolResponse) XXX_Marshal

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

func (*MsgDelegatePoolResponse) XXX_Merge

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

func (*MsgDelegatePoolResponse) XXX_Size

func (m *MsgDelegatePoolResponse) XXX_Size() int

func (*MsgDelegatePoolResponse) XXX_Unmarshal

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

type MsgDelegateService

type MsgDelegateService struct {
	// Delegator is the address of the user delegating to the service
	Delegator string `protobuf:"bytes,1,opt,name=delegator,proto3" json:"delegator,omitempty"`
	// ServiceID is the ID of the service to delegate to
	ServiceID uint32 `protobuf:"varint,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// Amount is the amount of coins to be delegated
	Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
}

MsgDelegateService defines the message structure for the DelegateService gRPC service method. It allows a user to delegate their assets to a service.

func NewMsgDelegateService

func NewMsgDelegateService(serviceID uint32, amount sdk.Coins, delegator string) *MsgDelegateService

NewMsgDelegateService creates a new MsgDelegateService instance

func (*MsgDelegateService) Descriptor

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

func (*MsgDelegateService) GetAmount

func (*MsgDelegateService) GetDelegator

func (m *MsgDelegateService) GetDelegator() string

func (*MsgDelegateService) GetServiceID

func (m *MsgDelegateService) GetServiceID() uint32

func (*MsgDelegateService) GetSignBytes

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

GetSignBytes implements sdk.Msg

func (*MsgDelegateService) GetSigners

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

GetSigners implements sdk.Msg

func (*MsgDelegateService) Marshal

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

func (*MsgDelegateService) MarshalTo

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

func (*MsgDelegateService) MarshalToSizedBuffer

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

func (*MsgDelegateService) ProtoMessage

func (*MsgDelegateService) ProtoMessage()

func (*MsgDelegateService) Reset

func (m *MsgDelegateService) Reset()

func (*MsgDelegateService) Size

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

func (*MsgDelegateService) String

func (m *MsgDelegateService) String() string

func (*MsgDelegateService) Unmarshal

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

func (*MsgDelegateService) ValidateBasic

func (msg *MsgDelegateService) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgDelegateService) XXX_DiscardUnknown

func (m *MsgDelegateService) XXX_DiscardUnknown()

func (*MsgDelegateService) XXX_Marshal

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

func (*MsgDelegateService) XXX_Merge

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

func (*MsgDelegateService) XXX_Size

func (m *MsgDelegateService) XXX_Size() int

func (*MsgDelegateService) XXX_Unmarshal

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

type MsgDelegateServiceResponse

type MsgDelegateServiceResponse struct {
}

MsgDelegateServiceResponse is the return value of MsgDelegateService.

func (*MsgDelegateServiceResponse) Descriptor

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

func (*MsgDelegateServiceResponse) Marshal

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

func (*MsgDelegateServiceResponse) MarshalTo

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

func (*MsgDelegateServiceResponse) MarshalToSizedBuffer

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

func (*MsgDelegateServiceResponse) ProtoMessage

func (*MsgDelegateServiceResponse) ProtoMessage()

func (*MsgDelegateServiceResponse) Reset

func (m *MsgDelegateServiceResponse) Reset()

func (*MsgDelegateServiceResponse) Size

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

func (*MsgDelegateServiceResponse) String

func (m *MsgDelegateServiceResponse) String() string

func (*MsgDelegateServiceResponse) Unmarshal

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

func (*MsgDelegateServiceResponse) XXX_DiscardUnknown

func (m *MsgDelegateServiceResponse) XXX_DiscardUnknown()

func (*MsgDelegateServiceResponse) XXX_Marshal

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

func (*MsgDelegateServiceResponse) XXX_Merge

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

func (*MsgDelegateServiceResponse) XXX_Size

func (m *MsgDelegateServiceResponse) XXX_Size() int

func (*MsgDelegateServiceResponse) XXX_Unmarshal

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

type MsgJoinService

type MsgJoinService struct {
	Sender     string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	OperatorID uint32 `protobuf:"varint,2,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"`
	ServiceID  uint32 `protobuf:"varint,3,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
}

MsgJoinService defines the message structure for the JoinService gRPC service method. It allows the operator admin to start securing a AVS.

func NewMsgJoinService

func NewMsgJoinService(operatorID uint32, serviceID uint32, sender string) *MsgJoinService

NewMsgJoinService creates a new MsgJoinService instance

func (*MsgJoinService) Descriptor

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

func (*MsgJoinService) GetOperatorID

func (m *MsgJoinService) GetOperatorID() uint32

func (*MsgJoinService) GetSender

func (m *MsgJoinService) GetSender() string

func (*MsgJoinService) GetServiceID

func (m *MsgJoinService) GetServiceID() uint32

func (*MsgJoinService) Marshal

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

func (*MsgJoinService) MarshalTo

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

func (*MsgJoinService) MarshalToSizedBuffer

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

func (*MsgJoinService) ProtoMessage

func (*MsgJoinService) ProtoMessage()

func (*MsgJoinService) Reset

func (m *MsgJoinService) Reset()

func (*MsgJoinService) Size

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

func (*MsgJoinService) String

func (m *MsgJoinService) String() string

func (*MsgJoinService) Unmarshal

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

func (*MsgJoinService) ValidateBasic

func (msg *MsgJoinService) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgJoinService) XXX_DiscardUnknown

func (m *MsgJoinService) XXX_DiscardUnknown()

func (*MsgJoinService) XXX_Marshal

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

func (*MsgJoinService) XXX_Merge

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

func (*MsgJoinService) XXX_Size

func (m *MsgJoinService) XXX_Size() int

func (*MsgJoinService) XXX_Unmarshal

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

type MsgJoinServiceResponse

type MsgJoinServiceResponse struct {
}

MsgJoinServiceResponse is the return value of MsgJoinService.

func (*MsgJoinServiceResponse) Descriptor

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

func (*MsgJoinServiceResponse) Marshal

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

func (*MsgJoinServiceResponse) MarshalTo

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

func (*MsgJoinServiceResponse) MarshalToSizedBuffer

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

func (*MsgJoinServiceResponse) ProtoMessage

func (*MsgJoinServiceResponse) ProtoMessage()

func (*MsgJoinServiceResponse) Reset

func (m *MsgJoinServiceResponse) Reset()

func (*MsgJoinServiceResponse) Size

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

func (*MsgJoinServiceResponse) String

func (m *MsgJoinServiceResponse) String() string

func (*MsgJoinServiceResponse) Unmarshal

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

func (*MsgJoinServiceResponse) XXX_DiscardUnknown

func (m *MsgJoinServiceResponse) XXX_DiscardUnknown()

func (*MsgJoinServiceResponse) XXX_Marshal

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

func (*MsgJoinServiceResponse) XXX_Merge

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

func (*MsgJoinServiceResponse) XXX_Size

func (m *MsgJoinServiceResponse) XXX_Size() int

func (*MsgJoinServiceResponse) XXX_Unmarshal

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

type MsgLeaveService

type MsgLeaveService struct {
	Sender     string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	OperatorID uint32 `protobuf:"varint,2,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"`
	ServiceID  uint32 `protobuf:"varint,3,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
}

MsgLeaveService defines the message structure for the LeaveService gRPC service method. It allows the operator admin to stop securing a AVS.

func NewMsgLeaveService

func NewMsgLeaveService(operatorID uint32, serviceID uint32, sender string) *MsgLeaveService

NewMsgLeaveService creates a new MsgLeaveService instance

func (*MsgLeaveService) Descriptor

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

func (*MsgLeaveService) GetOperatorID

func (m *MsgLeaveService) GetOperatorID() uint32

func (*MsgLeaveService) GetSender

func (m *MsgLeaveService) GetSender() string

func (*MsgLeaveService) GetServiceID

func (m *MsgLeaveService) GetServiceID() uint32

func (*MsgLeaveService) Marshal

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

func (*MsgLeaveService) MarshalTo

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

func (*MsgLeaveService) MarshalToSizedBuffer

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

func (*MsgLeaveService) ProtoMessage

func (*MsgLeaveService) ProtoMessage()

func (*MsgLeaveService) Reset

func (m *MsgLeaveService) Reset()

func (*MsgLeaveService) Size

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

func (*MsgLeaveService) String

func (m *MsgLeaveService) String() string

func (*MsgLeaveService) Unmarshal

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

func (*MsgLeaveService) ValidateBasic

func (msg *MsgLeaveService) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgLeaveService) XXX_DiscardUnknown

func (m *MsgLeaveService) XXX_DiscardUnknown()

func (*MsgLeaveService) XXX_Marshal

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

func (*MsgLeaveService) XXX_Merge

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

func (*MsgLeaveService) XXX_Size

func (m *MsgLeaveService) XXX_Size() int

func (*MsgLeaveService) XXX_Unmarshal

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

type MsgLeaveServiceResponse

type MsgLeaveServiceResponse struct {
}

MsgLeaveServiceResponse is the return value of MsgLeaveService.

func (*MsgLeaveServiceResponse) Descriptor

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

func (*MsgLeaveServiceResponse) Marshal

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

func (*MsgLeaveServiceResponse) MarshalTo

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

func (*MsgLeaveServiceResponse) MarshalToSizedBuffer

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

func (*MsgLeaveServiceResponse) ProtoMessage

func (*MsgLeaveServiceResponse) ProtoMessage()

func (*MsgLeaveServiceResponse) Reset

func (m *MsgLeaveServiceResponse) Reset()

func (*MsgLeaveServiceResponse) Size

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

func (*MsgLeaveServiceResponse) String

func (m *MsgLeaveServiceResponse) String() string

func (*MsgLeaveServiceResponse) Unmarshal

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

func (*MsgLeaveServiceResponse) XXX_DiscardUnknown

func (m *MsgLeaveServiceResponse) XXX_DiscardUnknown()

func (*MsgLeaveServiceResponse) XXX_Marshal

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

func (*MsgLeaveServiceResponse) XXX_Merge

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

func (*MsgLeaveServiceResponse) XXX_Size

func (m *MsgLeaveServiceResponse) XXX_Size() int

func (*MsgLeaveServiceResponse) XXX_Unmarshal

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

type MsgRemoveOperatorFromAllowlist

type MsgRemoveOperatorFromAllowlist struct {
	Sender     string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	ServiceID  uint32 `protobuf:"varint,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	OperatorID uint32 `protobuf:"varint,3,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"`
}

MsgRemoveOperatorFromAllowlist defines the message structure for the RemoveOperatorFromAllowlist gRPC service method. It allows the service admin to remove a previously added operator from the list of allowed operators to secure the service.

func NewMsgRemoveOperatorFromAllowList

func NewMsgRemoveOperatorFromAllowList(serviceID uint32, operatorID uint32, sender string) *MsgRemoveOperatorFromAllowlist

NewMsgRemoveOperatorFromAllowList creates a new MsgRemoveOperatorFromAllowlist instance

func (*MsgRemoveOperatorFromAllowlist) Descriptor

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

func (*MsgRemoveOperatorFromAllowlist) GetOperatorID

func (m *MsgRemoveOperatorFromAllowlist) GetOperatorID() uint32

func (*MsgRemoveOperatorFromAllowlist) GetSender

func (m *MsgRemoveOperatorFromAllowlist) GetSender() string

func (*MsgRemoveOperatorFromAllowlist) GetServiceID

func (m *MsgRemoveOperatorFromAllowlist) GetServiceID() uint32

func (*MsgRemoveOperatorFromAllowlist) Marshal

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

func (*MsgRemoveOperatorFromAllowlist) MarshalTo

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

func (*MsgRemoveOperatorFromAllowlist) MarshalToSizedBuffer

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

func (*MsgRemoveOperatorFromAllowlist) ProtoMessage

func (*MsgRemoveOperatorFromAllowlist) ProtoMessage()

func (*MsgRemoveOperatorFromAllowlist) Reset

func (m *MsgRemoveOperatorFromAllowlist) Reset()

func (*MsgRemoveOperatorFromAllowlist) Size

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

func (*MsgRemoveOperatorFromAllowlist) String

func (*MsgRemoveOperatorFromAllowlist) Unmarshal

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

func (*MsgRemoveOperatorFromAllowlist) ValidateBasic

func (msg *MsgRemoveOperatorFromAllowlist) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgRemoveOperatorFromAllowlist) XXX_DiscardUnknown

func (m *MsgRemoveOperatorFromAllowlist) XXX_DiscardUnknown()

func (*MsgRemoveOperatorFromAllowlist) XXX_Marshal

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

func (*MsgRemoveOperatorFromAllowlist) XXX_Merge

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

func (*MsgRemoveOperatorFromAllowlist) XXX_Size

func (m *MsgRemoveOperatorFromAllowlist) XXX_Size() int

func (*MsgRemoveOperatorFromAllowlist) XXX_Unmarshal

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

type MsgRemoveOperatorFromAllowlistResponse

type MsgRemoveOperatorFromAllowlistResponse struct {
}

MsgRemoveOperatorFromAllowlistResponse is the return value of MsgRemoveOperatorFromAllowlist.

func (*MsgRemoveOperatorFromAllowlistResponse) Descriptor

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

func (*MsgRemoveOperatorFromAllowlistResponse) Marshal

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

func (*MsgRemoveOperatorFromAllowlistResponse) MarshalTo

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

func (*MsgRemoveOperatorFromAllowlistResponse) MarshalToSizedBuffer

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

func (*MsgRemoveOperatorFromAllowlistResponse) ProtoMessage

func (*MsgRemoveOperatorFromAllowlistResponse) Reset

func (*MsgRemoveOperatorFromAllowlistResponse) Size

func (*MsgRemoveOperatorFromAllowlistResponse) String

func (*MsgRemoveOperatorFromAllowlistResponse) Unmarshal

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

func (*MsgRemoveOperatorFromAllowlistResponse) XXX_DiscardUnknown

func (m *MsgRemoveOperatorFromAllowlistResponse) XXX_DiscardUnknown()

func (*MsgRemoveOperatorFromAllowlistResponse) XXX_Marshal

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

func (*MsgRemoveOperatorFromAllowlistResponse) XXX_Merge

func (*MsgRemoveOperatorFromAllowlistResponse) XXX_Size

func (*MsgRemoveOperatorFromAllowlistResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
	// JoinService defines the operation that allows the operator admin
	// to start securing an AVS
	JoinService(context.Context, *MsgJoinService) (*MsgJoinServiceResponse, error)
	// LeaveService defines the operation that allows the operator admin
	// to stop securing an AVS
	LeaveService(context.Context, *MsgLeaveService) (*MsgLeaveServiceResponse, error)
	// AddOperatorToAllowList defines the operation that allows the service admin
	// to add an operator to the list of allowed operator to secure the service
	AddOperatorToAllowList(context.Context, *MsgAddOperatorToAllowList) (*MsgAddOperatorToAllowListResponse, error)
	// RemoveOperatorFromAllowlist defines the operation that allows the service
	// admin to remove a previously added operator from the list of allowed
	// operators to secure the service
	RemoveOperatorFromAllowlist(context.Context, *MsgRemoveOperatorFromAllowlist) (*MsgRemoveOperatorFromAllowlistResponse, error)
	// BorrowPoolSecurity defines the operation that allows the service admin
	// to add a pool to the list of pools from which the service has chosen
	// to borrow security.
	BorrowPoolSecurity(context.Context, *MsgBorrowPoolSecurity) (*MsgBorrowPoolSecurityResponse, error)
	// CeasePoolSecurityBorrow defines the operation that allows the service admin
	// to remove a pool from the list of pools from which the service has chosen
	// to borrow security.
	CeasePoolSecurityBorrow(context.Context, *MsgCeasePoolSecurityBorrow) (*MsgCeasePoolSecurityBorrowResponse, error)
	// DelegatePool defines the operation that allows users to delegate any amount
	// of an asset to a pool that can then be used to provide services with
	// cryptoeconomic security.
	DelegatePool(context.Context, *MsgDelegatePool) (*MsgDelegatePoolResponse, error)
	// DelegateOperator defines the operation that allows users to delegate their
	// assets to a specific operator.
	DelegateOperator(context.Context, *MsgDelegateOperator) (*MsgDelegateOperatorResponse, error)
	// DelegateService defines the operation that allows users to delegate their
	// assets to a specific service.
	DelegateService(context.Context, *MsgDelegateService) (*MsgDelegateServiceResponse, error)
	// UpdateParams defines a (governance) operation for updating the module
	// parameters.
	// The authority defaults to the x/gov module account.
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
	// UndelegatePool defines the operation that allows users to undelegate their
	// assets from a pool.
	UndelegatePool(context.Context, *MsgUndelegatePool) (*MsgUndelegateResponse, error)
	// UndelegateOperator defines the operation that allows users to undelegate
	// their assets from a specific operator.
	UndelegateOperator(context.Context, *MsgUndelegateOperator) (*MsgUndelegateResponse, error)
	// UndelegateService defines the operation that allows users to undelegate
	// their assets from a specific service.
	UndelegateService(context.Context, *MsgUndelegateService) (*MsgUndelegateResponse, error)
	// SetUserPreferences defines the operation that allows users to set their
	// preferences for the restaking module.
	SetUserPreferences(context.Context, *MsgSetUserPreferences) (*MsgSetUserPreferencesResponse, error)
}

MsgServer is the server API for Msg service.

type MsgSetUserPreferences

type MsgSetUserPreferences struct {
	// User is the address of the user setting their preferences
	User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// Preferences is the user's preferences
	Preferences UserPreferences `protobuf:"bytes,2,opt,name=preferences,proto3" json:"preferences"`
}

MsgSetUserPreferences is the message structure for the SetUserPreferences gRPC service method. It allows a user to set their preferences for the restaking module.

func NewMsgSetUserPreferences

func NewMsgSetUserPreferences(preferences UserPreferences, userAddress string) *MsgSetUserPreferences

NewMsgSetUserPreferences creates a new MsgSetUserPreferences instance

func (*MsgSetUserPreferences) Descriptor

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

func (*MsgSetUserPreferences) GetPreferences

func (m *MsgSetUserPreferences) GetPreferences() UserPreferences

func (*MsgSetUserPreferences) GetSignBytes

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

GetSignBytes implements sdk.Msg

func (*MsgSetUserPreferences) GetSigners

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

GetSigners implements sdk.Msg

func (*MsgSetUserPreferences) GetUser

func (m *MsgSetUserPreferences) GetUser() string

func (*MsgSetUserPreferences) Marshal

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

func (*MsgSetUserPreferences) MarshalTo

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

func (*MsgSetUserPreferences) MarshalToSizedBuffer

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

func (*MsgSetUserPreferences) ProtoMessage

func (*MsgSetUserPreferences) ProtoMessage()

func (*MsgSetUserPreferences) Reset

func (m *MsgSetUserPreferences) Reset()

func (*MsgSetUserPreferences) Size

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

func (*MsgSetUserPreferences) String

func (m *MsgSetUserPreferences) String() string

func (*MsgSetUserPreferences) Unmarshal

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

func (*MsgSetUserPreferences) ValidateBasic

func (msg *MsgSetUserPreferences) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgSetUserPreferences) XXX_DiscardUnknown

func (m *MsgSetUserPreferences) XXX_DiscardUnknown()

func (*MsgSetUserPreferences) XXX_Marshal

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

func (*MsgSetUserPreferences) XXX_Merge

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

func (*MsgSetUserPreferences) XXX_Size

func (m *MsgSetUserPreferences) XXX_Size() int

func (*MsgSetUserPreferences) XXX_Unmarshal

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

type MsgSetUserPreferencesResponse

type MsgSetUserPreferencesResponse struct {
}

MsgSetUserPreferencesResponse is the return value of MsgSetUserPreferences.

func (*MsgSetUserPreferencesResponse) Descriptor

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

func (*MsgSetUserPreferencesResponse) Marshal

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

func (*MsgSetUserPreferencesResponse) MarshalTo

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

func (*MsgSetUserPreferencesResponse) MarshalToSizedBuffer

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

func (*MsgSetUserPreferencesResponse) ProtoMessage

func (*MsgSetUserPreferencesResponse) ProtoMessage()

func (*MsgSetUserPreferencesResponse) Reset

func (m *MsgSetUserPreferencesResponse) Reset()

func (*MsgSetUserPreferencesResponse) Size

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

func (*MsgSetUserPreferencesResponse) String

func (*MsgSetUserPreferencesResponse) Unmarshal

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

func (*MsgSetUserPreferencesResponse) XXX_DiscardUnknown

func (m *MsgSetUserPreferencesResponse) XXX_DiscardUnknown()

func (*MsgSetUserPreferencesResponse) XXX_Marshal

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

func (*MsgSetUserPreferencesResponse) XXX_Merge

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

func (*MsgSetUserPreferencesResponse) XXX_Size

func (m *MsgSetUserPreferencesResponse) XXX_Size() int

func (*MsgSetUserPreferencesResponse) XXX_Unmarshal

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

type MsgUndelegateOperator

type MsgUndelegateOperator struct {
	// Delegator is the address of the user undelegating from the operator.
	Delegator string `protobuf:"bytes,1,opt,name=delegator,proto3" json:"delegator,omitempty"`
	// OperatorID is the ID of the operator to undelegate from.
	OperatorID uint32 `protobuf:"varint,2,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"`
	// Amount is the amount of coins to be undelegated.
	Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
}

MsgUndelegateOperator the message structure for the UndelegateOperator gRPC service method. It allows a user to undelegate their assets from a restaking operator.

func NewMsgUndelegateOperator

func NewMsgUndelegateOperator(operatorID uint32, amount sdk.Coins, delegator string) *MsgUndelegateOperator

NewMsgUndelegateOperator creates a new MsgUndelegateOperator instance

func (*MsgUndelegateOperator) Descriptor

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

func (*MsgUndelegateOperator) GetSignBytes

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

GetSignBytes implements sdk.Msg

func (*MsgUndelegateOperator) GetSigners

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

GetSigners implements sdk.Msg

func (*MsgUndelegateOperator) Marshal

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

func (*MsgUndelegateOperator) MarshalTo

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

func (*MsgUndelegateOperator) MarshalToSizedBuffer

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

func (*MsgUndelegateOperator) ProtoMessage

func (*MsgUndelegateOperator) ProtoMessage()

func (*MsgUndelegateOperator) Reset

func (m *MsgUndelegateOperator) Reset()

func (*MsgUndelegateOperator) Size

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

func (*MsgUndelegateOperator) String

func (m *MsgUndelegateOperator) String() string

func (*MsgUndelegateOperator) Unmarshal

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

func (*MsgUndelegateOperator) ValidateBasic

func (msg *MsgUndelegateOperator) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgUndelegateOperator) XXX_DiscardUnknown

func (m *MsgUndelegateOperator) XXX_DiscardUnknown()

func (*MsgUndelegateOperator) XXX_Marshal

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

func (*MsgUndelegateOperator) XXX_Merge

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

func (*MsgUndelegateOperator) XXX_Size

func (m *MsgUndelegateOperator) XXX_Size() int

func (*MsgUndelegateOperator) XXX_Unmarshal

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

type MsgUndelegatePool

type MsgUndelegatePool struct {
	// Delegator is the address of the user undelegating from the pool.
	Delegator string `protobuf:"bytes,1,opt,name=delegator,proto3" json:"delegator,omitempty"`
	// Amount is the amount of coins to be undelegated.
	Amount types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount"`
}

MsgUndelegatePool the message structure for the UndelegatePool gRPC service method. It allows a user to undelegate their assets from a restaking pool.

func NewMsgUndelegatePool

func NewMsgUndelegatePool(amount sdk.Coin, delegator string) *MsgUndelegatePool

NewMsgUndelegatePool creates a new MsgUndelegatePool instance

func (*MsgUndelegatePool) Descriptor

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

func (*MsgUndelegatePool) GetSignBytes

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

GetSignBytes implements sdk.Msg

func (*MsgUndelegatePool) GetSigners

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

GetSigners implements sdk.Msg

func (*MsgUndelegatePool) Marshal

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

func (*MsgUndelegatePool) MarshalTo

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

func (*MsgUndelegatePool) MarshalToSizedBuffer

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

func (*MsgUndelegatePool) ProtoMessage

func (*MsgUndelegatePool) ProtoMessage()

func (*MsgUndelegatePool) Reset

func (m *MsgUndelegatePool) Reset()

func (*MsgUndelegatePool) Size

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

func (*MsgUndelegatePool) String

func (m *MsgUndelegatePool) String() string

func (*MsgUndelegatePool) Unmarshal

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

func (*MsgUndelegatePool) ValidateBasic

func (msg *MsgUndelegatePool) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgUndelegatePool) XXX_DiscardUnknown

func (m *MsgUndelegatePool) XXX_DiscardUnknown()

func (*MsgUndelegatePool) XXX_Marshal

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

func (*MsgUndelegatePool) XXX_Merge

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

func (*MsgUndelegatePool) XXX_Size

func (m *MsgUndelegatePool) XXX_Size() int

func (*MsgUndelegatePool) XXX_Unmarshal

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

type MsgUndelegateResponse

type MsgUndelegateResponse struct {
	// CompletionTime represents the time at which the undelegation will be
	// complete
	CompletionTime time.Time `protobuf:"bytes,1,opt,name=completion_time,json=completionTime,proto3,stdtime" json:"completion_time"`
}

MsgUndelegateResponse defines the response type for the undelegation methods.

func (*MsgUndelegateResponse) Descriptor

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

func (*MsgUndelegateResponse) GetCompletionTime

func (m *MsgUndelegateResponse) GetCompletionTime() time.Time

func (*MsgUndelegateResponse) Marshal

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

func (*MsgUndelegateResponse) MarshalTo

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

func (*MsgUndelegateResponse) MarshalToSizedBuffer

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

func (*MsgUndelegateResponse) ProtoMessage

func (*MsgUndelegateResponse) ProtoMessage()

func (*MsgUndelegateResponse) Reset

func (m *MsgUndelegateResponse) Reset()

func (*MsgUndelegateResponse) Size

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

func (*MsgUndelegateResponse) String

func (m *MsgUndelegateResponse) String() string

func (*MsgUndelegateResponse) Unmarshal

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

func (*MsgUndelegateResponse) XXX_DiscardUnknown

func (m *MsgUndelegateResponse) XXX_DiscardUnknown()

func (*MsgUndelegateResponse) XXX_Marshal

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

func (*MsgUndelegateResponse) XXX_Merge

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

func (*MsgUndelegateResponse) XXX_Size

func (m *MsgUndelegateResponse) XXX_Size() int

func (*MsgUndelegateResponse) XXX_Unmarshal

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

type MsgUndelegateService

type MsgUndelegateService struct {
	// Delegator is the address of the user undelegating from the service.
	Delegator string `protobuf:"bytes,1,opt,name=delegator,proto3" json:"delegator,omitempty"`
	// ServiceID is the ID of the service to undelegate from.
	ServiceID uint32 `protobuf:"varint,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// Amount is the amount of coins to be undelegated.
	Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
}

MsgUndelegateService the message structure for the UndelegateService gRPC service method. It allows a user to undelegate their assets from a restaking service.

func NewMsgUndelegateService

func NewMsgUndelegateService(serviceID uint32, amount sdk.Coins, delegator string) *MsgUndelegateService

NewMsgUndelegateService creates a new MsgUndelegateService instance

func (*MsgUndelegateService) Descriptor

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

func (*MsgUndelegateService) GetSignBytes

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

GetSignBytes implements sdk.Msg

func (*MsgUndelegateService) GetSigners

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

GetSigners implements sdk.Msg

func (*MsgUndelegateService) Marshal

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

func (*MsgUndelegateService) MarshalTo

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

func (*MsgUndelegateService) MarshalToSizedBuffer

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

func (*MsgUndelegateService) ProtoMessage

func (*MsgUndelegateService) ProtoMessage()

func (*MsgUndelegateService) Reset

func (m *MsgUndelegateService) Reset()

func (*MsgUndelegateService) Size

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

func (*MsgUndelegateService) String

func (m *MsgUndelegateService) String() string

func (*MsgUndelegateService) Unmarshal

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

func (*MsgUndelegateService) ValidateBasic

func (msg *MsgUndelegateService) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgUndelegateService) XXX_DiscardUnknown

func (m *MsgUndelegateService) XXX_DiscardUnknown()

func (*MsgUndelegateService) XXX_Marshal

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

func (*MsgUndelegateService) XXX_Merge

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

func (*MsgUndelegateService) XXX_Size

func (m *MsgUndelegateService) XXX_Size() int

func (*MsgUndelegateService) XXX_Unmarshal

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

type MsgUpdateParams

type MsgUpdateParams struct {
	// Authority is the address that controls the module (defaults to x/gov unless
	// overwritten).
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty" yaml:"authority"`
	// Params define the parameters to update.
	//
	// NOTE: All parameters must be supplied.
	Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}

MsgUpdateParams defines the message structure for the UpdateParams gRPC service method. It allows the authority to update the module parameters.

func NewMsgUpdateParams

func NewMsgUpdateParams(params Params, authority string) *MsgUpdateParams

NewMsgUpdateParams creates a new MsgUpdateParams instance

func (*MsgUpdateParams) Descriptor

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

func (*MsgUpdateParams) GetAuthority

func (m *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (m *MsgUpdateParams) GetParams() Params

func (*MsgUpdateParams) GetSignBytes

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

GetSignBytes implements sdk.Msg

func (*MsgUpdateParams) GetSigners

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

GetSigners implements sdk.Msg

func (*MsgUpdateParams) Marshal

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

func (*MsgUpdateParams) MarshalTo

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

func (*MsgUpdateParams) MarshalToSizedBuffer

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

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) Reset

func (m *MsgUpdateParams) Reset()

func (*MsgUpdateParams) Size

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

func (*MsgUpdateParams) String

func (m *MsgUpdateParams) String() string

func (*MsgUpdateParams) Unmarshal

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

func (*MsgUpdateParams) ValidateBasic

func (msg *MsgUpdateParams) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgUpdateParams) XXX_DiscardUnknown

func (m *MsgUpdateParams) XXX_DiscardUnknown()

func (*MsgUpdateParams) XXX_Marshal

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

func (*MsgUpdateParams) XXX_Merge

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

func (*MsgUpdateParams) XXX_Size

func (m *MsgUpdateParams) XXX_Size() int

func (*MsgUpdateParams) XXX_Unmarshal

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

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
}

MsgUpdateParamsResponse is the return value of MsgUpdateParams.

func (*MsgUpdateParamsResponse) Descriptor

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

func (*MsgUpdateParamsResponse) Marshal

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

func (*MsgUpdateParamsResponse) MarshalTo

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

func (*MsgUpdateParamsResponse) MarshalToSizedBuffer

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

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) Reset

func (m *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) Size

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

func (*MsgUpdateParamsResponse) String

func (m *MsgUpdateParamsResponse) String() string

func (*MsgUpdateParamsResponse) Unmarshal

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

func (*MsgUpdateParamsResponse) XXX_DiscardUnknown

func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateParamsResponse) XXX_Marshal

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

func (*MsgUpdateParamsResponse) XXX_Merge

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

func (*MsgUpdateParamsResponse) XXX_Size

func (m *MsgUpdateParamsResponse) XXX_Size() int

func (*MsgUpdateParamsResponse) XXX_Unmarshal

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

type OperatorJoinedServices

type OperatorJoinedServices struct {
	// OperatorID is the ID of the operator.
	OperatorID uint32 `protobuf:"varint,1,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"`
	// ServiceIDs represents the list of services joined by the operator.
	ServiceIDs []uint32 `protobuf:"varint,2,rep,packed,name=service_ids,json=serviceIds,proto3" json:"service_ids,omitempty"`
}

OperatorJoinedServicesRecord represents the services joined by a individual operator.

func NewOperatorJoinedServices

func NewOperatorJoinedServices(operatorID uint32, serviceIDs []uint32) OperatorJoinedServices

NewOperatorJoinedServices creates a new instance of OperatorServiceIdRecord.

func (*OperatorJoinedServices) Descriptor

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

func (*OperatorJoinedServices) GetOperatorID

func (m *OperatorJoinedServices) GetOperatorID() uint32

func (*OperatorJoinedServices) GetServiceIDs

func (m *OperatorJoinedServices) GetServiceIDs() []uint32

func (*OperatorJoinedServices) Marshal

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

func (*OperatorJoinedServices) MarshalTo

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

func (*OperatorJoinedServices) MarshalToSizedBuffer

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

func (*OperatorJoinedServices) ProtoMessage

func (*OperatorJoinedServices) ProtoMessage()

func (*OperatorJoinedServices) Reset

func (m *OperatorJoinedServices) Reset()

func (*OperatorJoinedServices) Size

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

func (*OperatorJoinedServices) String

func (m *OperatorJoinedServices) String() string

func (*OperatorJoinedServices) Unmarshal

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

func (*OperatorJoinedServices) Validate

func (o *OperatorJoinedServices) Validate() error

func (*OperatorJoinedServices) XXX_DiscardUnknown

func (m *OperatorJoinedServices) XXX_DiscardUnknown()

func (*OperatorJoinedServices) XXX_Marshal

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

func (*OperatorJoinedServices) XXX_Merge

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

func (*OperatorJoinedServices) XXX_Size

func (m *OperatorJoinedServices) XXX_Size() int

func (*OperatorJoinedServices) XXX_Unmarshal

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

type OperatorRestakingHooks

type OperatorRestakingHooks interface {
	BeforeOperatorDelegationCreated(ctx context.Context, operatorID uint32, delegator string) error
	BeforeOperatorDelegationSharesModified(ctx context.Context, operatorID uint32, delegator string) error
	AfterOperatorDelegationModified(ctx context.Context, operatorID uint32, delegator string) error
	BeforeOperatorDelegationRemoved(ctx context.Context, operatorID uint32, delegator string) error
}

type OperatorsKeeper

type OperatorsKeeper interface {
	GetOperator(ctx context.Context, operatorID uint32) (operatorstypes.Operator, error)
	SaveOperator(ctx context.Context, operator operatorstypes.Operator) error
	IterateOperators(ctx context.Context, cb func(operatorstypes.Operator) (bool, error)) error
	GetOperators(ctx context.Context) ([]operatorstypes.Operator, error)
	SaveOperatorParams(ctx context.Context, operatorID uint32, params operatorstypes.OperatorParams) error
	GetOperatorParams(ctx context.Context, operatorID uint32) (operatorstypes.OperatorParams, error)
}

type OracleKeeper

type OracleKeeper interface {
	GetPriceWithNonceForCurrencyPair(ctx sdk.Context, cp connecttypes.CurrencyPair) (oracletypes.QuotePriceWithNonce, error)
	GetDecimalsForCurrencyPair(ctx sdk.Context, cp connecttypes.CurrencyPair) (decimals uint64, err error)
}

type Params

type Params struct {
	// UnbondingTime represents the time that will take for assets to be unbonded
	// after the user initiates an unbonding request. This will be applied to all
	// types of restaking: pool, operator and service restaking.
	UnbondingTime time.Duration `protobuf:"varint,1,opt,name=unbonding_time,json=unbondingTime,proto3,stdduration" json:"unbonding_time,omitempty"`
	// AllowedDenoms represents the list of denoms allowed for restaking
	// and that will be considered when computing rewards. If no denoms are set,
	// all denoms will be considered as restakable.
	AllowedDenoms []string `protobuf:"bytes,2,rep,name=allowed_denoms,json=allowedDenoms,proto3" json:"allowed_denoms,omitempty"`
	// RestakingCap represents the maximum USD value of overall restaked assets
	// inside the chain. If set to 0, it indicates no limit, allowing any amount
	// of assets to be restaked.
	RestakingCap cosmossdk_io_math.LegacyDec `` /* 126-byte string literal not displayed */
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams return a Params instance with default values set

func NewParams

func NewParams(unbondingTime time.Duration, allowedDenoms []string, restakingCap math.LegacyDec) Params

NewParams returns a new Params instance

func (*Params) Descriptor

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

func (*Params) GetAllowedDenoms

func (m *Params) GetAllowedDenoms() []string

func (*Params) GetUnbondingTime

func (m *Params) GetUnbondingTime() time.Duration

func (*Params) Marshal

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

func (*Params) MarshalTo

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

func (*Params) MarshalToSizedBuffer

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

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

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

func (*Params) Validate

func (p *Params) Validate() error

Validate performs basic validation of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

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

func (*Params) XXX_Merge

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

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

type PoolRestakingHooks

type PoolRestakingHooks interface {
	BeforePoolDelegationCreated(ctx context.Context, poolID uint32, delegator string) error
	BeforePoolDelegationSharesModified(ctx context.Context, poolID uint32, delegator string) error
	AfterPoolDelegationModified(ctx context.Context, poolID uint32, delegator string) error
	BeforePoolDelegationRemoved(ctx context.Context, poolID uint32, delegator string) error
}

type PoolsKeeper

type PoolsKeeper interface {
	GetPoolByDenom(ctx context.Context, denom string) (poolstypes.Pool, bool, error)
	CreateOrGetPoolByDenom(ctx context.Context, denom string) (poolstypes.Pool, error)
	GetPool(ctx context.Context, poolID uint32) (poolstypes.Pool, error)
	SavePool(ctx context.Context, pool poolstypes.Pool) error
	IteratePools(ctx context.Context, cb func(poolstypes.Pool) (bool, error)) error
	GetPools(ctx context.Context) ([]poolstypes.Pool, error)
}

type QueryClient

type QueryClient interface {
	// OperatorJoinedServices queries the services that an operator has joined.
	OperatorJoinedServices(ctx context.Context, in *QueryOperatorJoinedServicesRequest, opts ...grpc.CallOption) (*QueryOperatorJoinedServicesResponse, error)
	// ServiceAllowedOperators queries the allowed operators for a given service.
	ServiceAllowedOperators(ctx context.Context, in *QueryServiceAllowedOperatorsRequest, opts ...grpc.CallOption) (*QueryServiceAllowedOperatorsResponse, error)
	// ServiceSecuringPools queries the pools that are securing a given service.
	ServiceSecuringPools(ctx context.Context, in *QueryServiceSecuringPoolsRequest, opts ...grpc.CallOption) (*QueryServiceSecuringPoolsResponse, error)
	// ServiceOperators queries the operators for a given service.
	ServiceOperators(ctx context.Context, in *QueryServiceOperatorsRequest, opts ...grpc.CallOption) (*QueryServiceOperatorsResponse, error)
	// PoolDelegations queries the delegations info for the given pool.
	PoolDelegations(ctx context.Context, in *QueryPoolDelegationsRequest, opts ...grpc.CallOption) (*QueryPoolDelegationsResponse, error)
	// PoolDelegation queries the delegation info for the given pool and
	// delegator.
	PoolDelegation(ctx context.Context, in *QueryPoolDelegationRequest, opts ...grpc.CallOption) (*QueryPoolDelegationResponse, error)
	// PoolUnbondingDelegations queries the unbonding delegations info for the
	// given pool.
	PoolUnbondingDelegations(ctx context.Context, in *QueryPoolUnbondingDelegationsRequest, opts ...grpc.CallOption) (*QueryPoolUnbondingDelegationsResponse, error)
	// PoolUnbondingDelegation queries the unbonding delegation info for the given
	// pool and delegator.
	PoolUnbondingDelegation(ctx context.Context, in *QueryPoolUnbondingDelegationRequest, opts ...grpc.CallOption) (*QueryPoolUnbondingDelegationResponse, error)
	// OperatorDelegations queries the delegations info for the given operator.
	OperatorDelegations(ctx context.Context, in *QueryOperatorDelegationsRequest, opts ...grpc.CallOption) (*QueryOperatorDelegationsResponse, error)
	// OperatorDelegation queries the delegation info for the given operator and
	// delegator.
	OperatorDelegation(ctx context.Context, in *QueryOperatorDelegationRequest, opts ...grpc.CallOption) (*QueryOperatorDelegationResponse, error)
	// OperatorUnbondingDelegations queries the unbonding delegations info for the
	// given operator.
	OperatorUnbondingDelegations(ctx context.Context, in *QueryOperatorUnbondingDelegationsRequest, opts ...grpc.CallOption) (*QueryOperatorUnbondingDelegationsResponse, error)
	// OperatorUnbondingDelegation queries the unbonding delegation info for the
	// given operator and delegator.
	OperatorUnbondingDelegation(ctx context.Context, in *QueryOperatorUnbondingDelegationRequest, opts ...grpc.CallOption) (*QueryOperatorUnbondingDelegationResponse, error)
	// ServiceDelegations queries the delegations info for the given service.
	ServiceDelegations(ctx context.Context, in *QueryServiceDelegationsRequest, opts ...grpc.CallOption) (*QueryServiceDelegationsResponse, error)
	// ServiceDelegation queries the delegation info for the given service and
	// delegator.
	ServiceDelegation(ctx context.Context, in *QueryServiceDelegationRequest, opts ...grpc.CallOption) (*QueryServiceDelegationResponse, error)
	// ServiceUnbondingDelegations queries the unbonding delegations info for the
	// given service.
	ServiceUnbondingDelegations(ctx context.Context, in *QueryServiceUnbondingDelegationsRequest, opts ...grpc.CallOption) (*QueryServiceUnbondingDelegationsResponse, error)
	// ServiceUnbondingDelegation queries the unbonding delegation info for the
	// given service and delegator.
	ServiceUnbondingDelegation(ctx context.Context, in *QueryServiceUnbondingDelegationRequest, opts ...grpc.CallOption) (*QueryServiceUnbondingDelegationResponse, error)
	// DelegatorPoolDelegations queries all the pool delegations of a given
	// delegator address.
	DelegatorPoolDelegations(ctx context.Context, in *QueryDelegatorPoolDelegationsRequest, opts ...grpc.CallOption) (*QueryDelegatorPoolDelegationsResponse, error)
	// DelegatorPoolUnbondingDelegations queries all the pool unbonding
	// delegations of a given delegator address.
	DelegatorPoolUnbondingDelegations(ctx context.Context, in *QueryDelegatorPoolUnbondingDelegationsRequest, opts ...grpc.CallOption) (*QueryDelegatorPoolUnbondingDelegationsResponse, error)
	// DelegatorOperatorDelegations queries all the operator delegations of a
	// given delegator address.
	DelegatorOperatorDelegations(ctx context.Context, in *QueryDelegatorOperatorDelegationsRequest, opts ...grpc.CallOption) (*QueryDelegatorOperatorDelegationsResponse, error)
	// DelegatorOperatorUnbondingDelegations queries all the operator unbonding
	// delegations of a given delegator address.
	DelegatorOperatorUnbondingDelegations(ctx context.Context, in *QueryDelegatorOperatorUnbondingDelegationsRequest, opts ...grpc.CallOption) (*QueryDelegatorOperatorUnbondingDelegationsResponse, error)
	// DelegatorServiceDelegations queries all the service delegations of a given
	// delegator address.
	DelegatorServiceDelegations(ctx context.Context, in *QueryDelegatorServiceDelegationsRequest, opts ...grpc.CallOption) (*QueryDelegatorServiceDelegationsResponse, error)
	// DelegatorServiceUnbondingDelegations queries all the service unbonding
	// delegations of a given delegator address.
	DelegatorServiceUnbondingDelegations(ctx context.Context, in *QueryDelegatorServiceUnbondingDelegationsRequest, opts ...grpc.CallOption) (*QueryDelegatorServiceUnbondingDelegationsResponse, error)
	// DelegatorPools queries all pools info for given delegator
	// address.
	DelegatorPools(ctx context.Context, in *QueryDelegatorPoolsRequest, opts ...grpc.CallOption) (*QueryDelegatorPoolsResponse, error)
	// DelegatorPool queries the pool info for given delegator and pool id.
	DelegatorPool(ctx context.Context, in *QueryDelegatorPoolRequest, opts ...grpc.CallOption) (*QueryDelegatorPoolResponse, error)
	// DelegatorOperators queries all operators info for given delegator
	DelegatorOperators(ctx context.Context, in *QueryDelegatorOperatorsRequest, opts ...grpc.CallOption) (*QueryDelegatorOperatorsResponse, error)
	// DelegatorOperator queries the operator info for given delegator and
	// operator id.
	DelegatorOperator(ctx context.Context, in *QueryDelegatorOperatorRequest, opts ...grpc.CallOption) (*QueryDelegatorOperatorResponse, error)
	// DelegatorServices queries all services info for given delegator
	DelegatorServices(ctx context.Context, in *QueryDelegatorServicesRequest, opts ...grpc.CallOption) (*QueryDelegatorServicesResponse, error)
	// DelegatorService queries the service info for given delegator and service
	// id.
	DelegatorService(ctx context.Context, in *QueryDelegatorServiceRequest, opts ...grpc.CallOption) (*QueryDelegatorServiceResponse, error)
	// UserPreferences queries the user preferences.
	UserPreferences(ctx context.Context, in *QueryUserPreferencesRequest, opts ...grpc.CallOption) (*QueryUserPreferencesResponse, error)
	// Params queries the restaking parameters.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
}

QueryClient is the client API for Query service.

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

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryDelegatorOperatorDelegationsRequest

type QueryDelegatorOperatorDelegationsRequest struct {
	// DelegatorAddress is the address of the delegator to query
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	// Pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryDelegatorOperatorDelegationsRequest is request type for the Query/DelegatorOperatorDelegations RPC method.

func NewQueryDelegatorOperatorDelegationsRequest

func NewQueryDelegatorOperatorDelegationsRequest(delegatorAddress string, pagination *query.PageRequest) *QueryDelegatorOperatorDelegationsRequest

NewQueryDelegatorOperatorDelegationsRequest creates a new QueryDelegatorOperatorDelegationsRequest instance

func (*QueryDelegatorOperatorDelegationsRequest) Descriptor

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

func (*QueryDelegatorOperatorDelegationsRequest) GetDelegatorAddress

func (m *QueryDelegatorOperatorDelegationsRequest) GetDelegatorAddress() string

func (*QueryDelegatorOperatorDelegationsRequest) GetPagination

func (*QueryDelegatorOperatorDelegationsRequest) Marshal

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

func (*QueryDelegatorOperatorDelegationsRequest) MarshalTo

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

func (*QueryDelegatorOperatorDelegationsRequest) MarshalToSizedBuffer

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

func (*QueryDelegatorOperatorDelegationsRequest) ProtoMessage

func (*QueryDelegatorOperatorDelegationsRequest) Reset

func (*QueryDelegatorOperatorDelegationsRequest) Size

func (*QueryDelegatorOperatorDelegationsRequest) String

func (*QueryDelegatorOperatorDelegationsRequest) Unmarshal

func (*QueryDelegatorOperatorDelegationsRequest) XXX_DiscardUnknown

func (m *QueryDelegatorOperatorDelegationsRequest) XXX_DiscardUnknown()

func (*QueryDelegatorOperatorDelegationsRequest) XXX_Marshal

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

func (*QueryDelegatorOperatorDelegationsRequest) XXX_Merge

func (*QueryDelegatorOperatorDelegationsRequest) XXX_Size

func (*QueryDelegatorOperatorDelegationsRequest) XXX_Unmarshal

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

type QueryDelegatorOperatorDelegationsResponse

type QueryDelegatorOperatorDelegationsResponse struct {
	// Delegations is the list of delegations
	Delegations []DelegationResponse `protobuf:"bytes,1,rep,name=delegations,proto3" json:"delegations"`
	// Pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryDelegatorOperatorDelegationsResponse is response type for the Query/DelegatorOperatorDelegations RPC method.

func (*QueryDelegatorOperatorDelegationsResponse) Descriptor

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

func (*QueryDelegatorOperatorDelegationsResponse) GetDelegations

func (*QueryDelegatorOperatorDelegationsResponse) GetPagination

func (*QueryDelegatorOperatorDelegationsResponse) Marshal

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

func (*QueryDelegatorOperatorDelegationsResponse) MarshalTo

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

func (*QueryDelegatorOperatorDelegationsResponse) MarshalToSizedBuffer

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

func (*QueryDelegatorOperatorDelegationsResponse) ProtoMessage

func (*QueryDelegatorOperatorDelegationsResponse) Reset

func (*QueryDelegatorOperatorDelegationsResponse) Size

func (*QueryDelegatorOperatorDelegationsResponse) String

func (*QueryDelegatorOperatorDelegationsResponse) Unmarshal

func (*QueryDelegatorOperatorDelegationsResponse) XXX_DiscardUnknown

func (m *QueryDelegatorOperatorDelegationsResponse) XXX_DiscardUnknown()

func (*QueryDelegatorOperatorDelegationsResponse) XXX_Marshal

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

func (*QueryDelegatorOperatorDelegationsResponse) XXX_Merge

func (*QueryDelegatorOperatorDelegationsResponse) XXX_Size

func (*QueryDelegatorOperatorDelegationsResponse) XXX_Unmarshal

type QueryDelegatorOperatorRequest

type QueryDelegatorOperatorRequest struct {
	// DelegatorAddress is the address of the delegator to query
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	// OperatorId is the ID of the operator to query
	OperatorId uint32 `protobuf:"varint,2,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"`
}

QueryDelegatorOperatorRequest is request type for the Query/DelegatorOperator RPC method.

func NewQueryDelegatorOperatorRequest

func NewQueryDelegatorOperatorRequest(delegatorAddress string, operatorID uint32) *QueryDelegatorOperatorRequest

NewQueryDelegatorOperatorRequest creates a new QueryDelegatorOperatorRequest instance

func (*QueryDelegatorOperatorRequest) Descriptor

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

func (*QueryDelegatorOperatorRequest) GetDelegatorAddress

func (m *QueryDelegatorOperatorRequest) GetDelegatorAddress() string

func (*QueryDelegatorOperatorRequest) GetOperatorId

func (m *QueryDelegatorOperatorRequest) GetOperatorId() uint32

func (*QueryDelegatorOperatorRequest) Marshal

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

func (*QueryDelegatorOperatorRequest) MarshalTo

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

func (*QueryDelegatorOperatorRequest) MarshalToSizedBuffer

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

func (*QueryDelegatorOperatorRequest) ProtoMessage

func (*QueryDelegatorOperatorRequest) ProtoMessage()

func (*QueryDelegatorOperatorRequest) Reset

func (m *QueryDelegatorOperatorRequest) Reset()

func (*QueryDelegatorOperatorRequest) Size

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

func (*QueryDelegatorOperatorRequest) String

func (*QueryDelegatorOperatorRequest) Unmarshal

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

func (*QueryDelegatorOperatorRequest) XXX_DiscardUnknown

func (m *QueryDelegatorOperatorRequest) XXX_DiscardUnknown()

func (*QueryDelegatorOperatorRequest) XXX_Marshal

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

func (*QueryDelegatorOperatorRequest) XXX_Merge

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

func (*QueryDelegatorOperatorRequest) XXX_Size

func (m *QueryDelegatorOperatorRequest) XXX_Size() int

func (*QueryDelegatorOperatorRequest) XXX_Unmarshal

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

type QueryDelegatorOperatorResponse

type QueryDelegatorOperatorResponse struct {
	// Operator is the operator
	Operator types.Operator `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator"`
}

QueryDelegatorOperatorResponse is response type for the Query/DelegatorOperator RPC method.

func (*QueryDelegatorOperatorResponse) Descriptor

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

func (*QueryDelegatorOperatorResponse) GetOperator

func (*QueryDelegatorOperatorResponse) Marshal

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

func (*QueryDelegatorOperatorResponse) MarshalTo

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

func (*QueryDelegatorOperatorResponse) MarshalToSizedBuffer

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

func (*QueryDelegatorOperatorResponse) ProtoMessage

func (*QueryDelegatorOperatorResponse) ProtoMessage()

func (*QueryDelegatorOperatorResponse) Reset

func (m *QueryDelegatorOperatorResponse) Reset()

func (*QueryDelegatorOperatorResponse) Size

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

func (*QueryDelegatorOperatorResponse) String

func (*QueryDelegatorOperatorResponse) Unmarshal

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

func (*QueryDelegatorOperatorResponse) XXX_DiscardUnknown

func (m *QueryDelegatorOperatorResponse) XXX_DiscardUnknown()

func (*QueryDelegatorOperatorResponse) XXX_Marshal

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

func (*QueryDelegatorOperatorResponse) XXX_Merge

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

func (*QueryDelegatorOperatorResponse) XXX_Size

func (m *QueryDelegatorOperatorResponse) XXX_Size() int

func (*QueryDelegatorOperatorResponse) XXX_Unmarshal

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

type QueryDelegatorOperatorUnbondingDelegationsRequest

type QueryDelegatorOperatorUnbondingDelegationsRequest struct {
	// DelegatorAddress is the address of the delegator to query
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	// Pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryDelegatorOperatorUnbondingDelegationsRequest is request type for the Query/DelegatorOperatorUnbondingDelegations RPC method.

func NewQueryDelegatorOperatorUnbondingDelegationsRequest

func NewQueryDelegatorOperatorUnbondingDelegationsRequest(delegatorAddress string, pagination *query.PageRequest) *QueryDelegatorOperatorUnbondingDelegationsRequest

NewQueryDelegatorOperatorUnbondingDelegationsRequest creates a new QueryDelegatorOperatorUnbondingDelegationsRequest instance

func (*QueryDelegatorOperatorUnbondingDelegationsRequest) Descriptor

func (*QueryDelegatorOperatorUnbondingDelegationsRequest) GetDelegatorAddress

func (*QueryDelegatorOperatorUnbondingDelegationsRequest) GetPagination

func (*QueryDelegatorOperatorUnbondingDelegationsRequest) Marshal

func (*QueryDelegatorOperatorUnbondingDelegationsRequest) MarshalTo

func (*QueryDelegatorOperatorUnbondingDelegationsRequest) MarshalToSizedBuffer

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

func (*QueryDelegatorOperatorUnbondingDelegationsRequest) ProtoMessage

func (*QueryDelegatorOperatorUnbondingDelegationsRequest) Reset

func (*QueryDelegatorOperatorUnbondingDelegationsRequest) Size

func (*QueryDelegatorOperatorUnbondingDelegationsRequest) String

func (*QueryDelegatorOperatorUnbondingDelegationsRequest) Unmarshal

func (*QueryDelegatorOperatorUnbondingDelegationsRequest) XXX_DiscardUnknown

func (m *QueryDelegatorOperatorUnbondingDelegationsRequest) XXX_DiscardUnknown()

func (*QueryDelegatorOperatorUnbondingDelegationsRequest) XXX_Marshal

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

func (*QueryDelegatorOperatorUnbondingDelegationsRequest) XXX_Merge

func (*QueryDelegatorOperatorUnbondingDelegationsRequest) XXX_Size

func (*QueryDelegatorOperatorUnbondingDelegationsRequest) XXX_Unmarshal

type QueryDelegatorOperatorUnbondingDelegationsResponse

type QueryDelegatorOperatorUnbondingDelegationsResponse struct {
	// UnbondingDelegations is the list of unbonding delegations
	UnbondingDelegations []UnbondingDelegation `protobuf:"bytes,1,rep,name=unbonding_delegations,json=unbondingDelegations,proto3" json:"unbonding_delegations"`
	// Pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryDelegatorOperatorUnbondingDelegationsResponse is response type for the Query/DelegatorOperatorUnbondingDelegations RPC method.

func (*QueryDelegatorOperatorUnbondingDelegationsResponse) Descriptor

func (*QueryDelegatorOperatorUnbondingDelegationsResponse) GetPagination

func (*QueryDelegatorOperatorUnbondingDelegationsResponse) GetUnbondingDelegations

func (*QueryDelegatorOperatorUnbondingDelegationsResponse) Marshal

func (*QueryDelegatorOperatorUnbondingDelegationsResponse) MarshalTo

func (*QueryDelegatorOperatorUnbondingDelegationsResponse) MarshalToSizedBuffer

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

func (*QueryDelegatorOperatorUnbondingDelegationsResponse) ProtoMessage

func (*QueryDelegatorOperatorUnbondingDelegationsResponse) Reset

func (*QueryDelegatorOperatorUnbondingDelegationsResponse) Size

func (*QueryDelegatorOperatorUnbondingDelegationsResponse) String

func (*QueryDelegatorOperatorUnbondingDelegationsResponse) Unmarshal

func (*QueryDelegatorOperatorUnbondingDelegationsResponse) XXX_DiscardUnknown

func (*QueryDelegatorOperatorUnbondingDelegationsResponse) XXX_Marshal

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

func (*QueryDelegatorOperatorUnbondingDelegationsResponse) XXX_Merge

func (*QueryDelegatorOperatorUnbondingDelegationsResponse) XXX_Size

func (*QueryDelegatorOperatorUnbondingDelegationsResponse) XXX_Unmarshal

type QueryDelegatorOperatorsRequest

type QueryDelegatorOperatorsRequest struct {
	// DelegatorAddress is the address of the delegator to query
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	// Pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryDelegatorOperatorsRequest is request type for the Query/DelegatorOperators RPC method.

func NewQueryDelegatorOperatorsRequest

func NewQueryDelegatorOperatorsRequest(delegatorAddress string, pagination *query.PageRequest) *QueryDelegatorOperatorsRequest

NewQueryDelegatorOperatorsRequest creates a new QueryDelegatorOperatorsRequest instance

func (*QueryDelegatorOperatorsRequest) Descriptor

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

func (*QueryDelegatorOperatorsRequest) GetDelegatorAddress

func (m *QueryDelegatorOperatorsRequest) GetDelegatorAddress() string

func (*QueryDelegatorOperatorsRequest) GetPagination

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

func (*QueryDelegatorOperatorsRequest) Marshal

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

func (*QueryDelegatorOperatorsRequest) MarshalTo

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

func (*QueryDelegatorOperatorsRequest) MarshalToSizedBuffer

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

func (*QueryDelegatorOperatorsRequest) ProtoMessage

func (*QueryDelegatorOperatorsRequest) ProtoMessage()

func (*QueryDelegatorOperatorsRequest) Reset

func (m *QueryDelegatorOperatorsRequest) Reset()

func (*QueryDelegatorOperatorsRequest) Size

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

func (*QueryDelegatorOperatorsRequest) String

func (*QueryDelegatorOperatorsRequest) Unmarshal

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

func (*QueryDelegatorOperatorsRequest) XXX_DiscardUnknown

func (m *QueryDelegatorOperatorsRequest) XXX_DiscardUnknown()

func (*QueryDelegatorOperatorsRequest) XXX_Marshal

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

func (*QueryDelegatorOperatorsRequest) XXX_Merge

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

func (*QueryDelegatorOperatorsRequest) XXX_Size

func (m *QueryDelegatorOperatorsRequest) XXX_Size() int

func (*QueryDelegatorOperatorsRequest) XXX_Unmarshal

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

type QueryDelegatorOperatorsResponse

type QueryDelegatorOperatorsResponse struct {
	// Operators is the list of operators
	Operators []types.Operator `protobuf:"bytes,1,rep,name=operators,proto3" json:"operators"`
	// Pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryDelegatorOperatorsResponse is response type for the Query/DelegatorOperators RPC method.

func (*QueryDelegatorOperatorsResponse) Descriptor

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

func (*QueryDelegatorOperatorsResponse) GetOperators

func (m *QueryDelegatorOperatorsResponse) GetOperators() []types.Operator

func (*QueryDelegatorOperatorsResponse) GetPagination

func (*QueryDelegatorOperatorsResponse) Marshal

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

func (*QueryDelegatorOperatorsResponse) MarshalTo

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

func (*QueryDelegatorOperatorsResponse) MarshalToSizedBuffer

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

func (*QueryDelegatorOperatorsResponse) ProtoMessage

func (*QueryDelegatorOperatorsResponse) ProtoMessage()

func (*QueryDelegatorOperatorsResponse) Reset

func (*QueryDelegatorOperatorsResponse) Size

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

func (*QueryDelegatorOperatorsResponse) String

func (*QueryDelegatorOperatorsResponse) Unmarshal

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

func (*QueryDelegatorOperatorsResponse) XXX_DiscardUnknown

func (m *QueryDelegatorOperatorsResponse) XXX_DiscardUnknown()

func (*QueryDelegatorOperatorsResponse) XXX_Marshal

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

func (*QueryDelegatorOperatorsResponse) XXX_Merge

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

func (*QueryDelegatorOperatorsResponse) XXX_Size

func (m *QueryDelegatorOperatorsResponse) XXX_Size() int

func (*QueryDelegatorOperatorsResponse) XXX_Unmarshal

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

type QueryDelegatorPoolDelegationsRequest

type QueryDelegatorPoolDelegationsRequest struct {
	// DelegatorAddress is the address of the delegator to query
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	// Pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryDelegatorPoolDelegationsRequest is request type for the Query/DelegatorPoolDelegations RPC method.

func NewQueryDelegatorPoolDelegationsRequest

func NewQueryDelegatorPoolDelegationsRequest(delegatorAddress string, pagination *query.PageRequest) *QueryDelegatorPoolDelegationsRequest

NewQueryDelegatorPoolDelegationsRequest creates a new QueryDelegatorPoolDelegationsRequest instance

func (*QueryDelegatorPoolDelegationsRequest) Descriptor

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

func (*QueryDelegatorPoolDelegationsRequest) GetDelegatorAddress

func (m *QueryDelegatorPoolDelegationsRequest) GetDelegatorAddress() string

func (*QueryDelegatorPoolDelegationsRequest) GetPagination

func (*QueryDelegatorPoolDelegationsRequest) Marshal

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

func (*QueryDelegatorPoolDelegationsRequest) MarshalTo

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

func (*QueryDelegatorPoolDelegationsRequest) MarshalToSizedBuffer

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

func (*QueryDelegatorPoolDelegationsRequest) ProtoMessage

func (*QueryDelegatorPoolDelegationsRequest) ProtoMessage()

func (*QueryDelegatorPoolDelegationsRequest) Reset

func (*QueryDelegatorPoolDelegationsRequest) Size

func (*QueryDelegatorPoolDelegationsRequest) String

func (*QueryDelegatorPoolDelegationsRequest) Unmarshal

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

func (*QueryDelegatorPoolDelegationsRequest) XXX_DiscardUnknown

func (m *QueryDelegatorPoolDelegationsRequest) XXX_DiscardUnknown()

func (*QueryDelegatorPoolDelegationsRequest) XXX_Marshal

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

func (*QueryDelegatorPoolDelegationsRequest) XXX_Merge

func (*QueryDelegatorPoolDelegationsRequest) XXX_Size

func (*QueryDelegatorPoolDelegationsRequest) XXX_Unmarshal

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

type QueryDelegatorPoolDelegationsResponse

type QueryDelegatorPoolDelegationsResponse struct {
	// Delegations is the list of delegations
	Delegations []DelegationResponse `protobuf:"bytes,1,rep,name=delegations,proto3" json:"delegations"`
	// Pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryDelegatorPoolDelegationsResponse is response type for the Query/DelegatorPoolDelegations RPC method.

func (*QueryDelegatorPoolDelegationsResponse) Descriptor

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

func (*QueryDelegatorPoolDelegationsResponse) GetDelegations

func (*QueryDelegatorPoolDelegationsResponse) GetPagination

func (*QueryDelegatorPoolDelegationsResponse) Marshal

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

func (*QueryDelegatorPoolDelegationsResponse) MarshalTo

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

func (*QueryDelegatorPoolDelegationsResponse) MarshalToSizedBuffer

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

func (*QueryDelegatorPoolDelegationsResponse) ProtoMessage

func (*QueryDelegatorPoolDelegationsResponse) ProtoMessage()

func (*QueryDelegatorPoolDelegationsResponse) Reset

func (*QueryDelegatorPoolDelegationsResponse) Size

func (*QueryDelegatorPoolDelegationsResponse) String

func (*QueryDelegatorPoolDelegationsResponse) Unmarshal

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

func (*QueryDelegatorPoolDelegationsResponse) XXX_DiscardUnknown

func (m *QueryDelegatorPoolDelegationsResponse) XXX_DiscardUnknown()

func (*QueryDelegatorPoolDelegationsResponse) XXX_Marshal

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

func (*QueryDelegatorPoolDelegationsResponse) XXX_Merge

func (*QueryDelegatorPoolDelegationsResponse) XXX_Size

func (*QueryDelegatorPoolDelegationsResponse) XXX_Unmarshal

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

type QueryDelegatorPoolRequest

type QueryDelegatorPoolRequest struct {
	// DelegatorAddress is the address of the delegator to query
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	// PoolId is the ID of the pool to query
	PoolId uint32 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
}

QueryDelegatorPoolRequest is request type for the Query/DelegatorPool RPC method.

func NewQueryDelegatorPoolRequest

func NewQueryDelegatorPoolRequest(delegatorAddress string, poolID uint32) *QueryDelegatorPoolRequest

NewQueryDelegatorPoolRequest creates a new QueryDelegatorPoolRequest instance

func (*QueryDelegatorPoolRequest) Descriptor

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

func (*QueryDelegatorPoolRequest) GetDelegatorAddress

func (m *QueryDelegatorPoolRequest) GetDelegatorAddress() string

func (*QueryDelegatorPoolRequest) GetPoolId

func (m *QueryDelegatorPoolRequest) GetPoolId() uint32

func (*QueryDelegatorPoolRequest) Marshal

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

func (*QueryDelegatorPoolRequest) MarshalTo

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

func (*QueryDelegatorPoolRequest) MarshalToSizedBuffer

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

func (*QueryDelegatorPoolRequest) ProtoMessage

func (*QueryDelegatorPoolRequest) ProtoMessage()

func (*QueryDelegatorPoolRequest) Reset

func (m *QueryDelegatorPoolRequest) Reset()

func (*QueryDelegatorPoolRequest) Size

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

func (*QueryDelegatorPoolRequest) String

func (m *QueryDelegatorPoolRequest) String() string

func (*QueryDelegatorPoolRequest) Unmarshal

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

func (*QueryDelegatorPoolRequest) XXX_DiscardUnknown

func (m *QueryDelegatorPoolRequest) XXX_DiscardUnknown()

func (*QueryDelegatorPoolRequest) XXX_Marshal

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

func (*QueryDelegatorPoolRequest) XXX_Merge

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

func (*QueryDelegatorPoolRequest) XXX_Size

func (m *QueryDelegatorPoolRequest) XXX_Size() int

func (*QueryDelegatorPoolRequest) XXX_Unmarshal

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

type QueryDelegatorPoolResponse

type QueryDelegatorPoolResponse struct {
	// Pool is the pool
	Pool types1.Pool `protobuf:"bytes,1,opt,name=pool,proto3" json:"pool"`
}

QueryDelegatorPoolResponse is response type for the Query/DelegatorPool RPC method.

func (*QueryDelegatorPoolResponse) Descriptor

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

func (*QueryDelegatorPoolResponse) GetPool

func (m *QueryDelegatorPoolResponse) GetPool() types1.Pool

func (*QueryDelegatorPoolResponse) Marshal

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

func (*QueryDelegatorPoolResponse) MarshalTo

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

func (*QueryDelegatorPoolResponse) MarshalToSizedBuffer

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

func (*QueryDelegatorPoolResponse) ProtoMessage

func (*QueryDelegatorPoolResponse) ProtoMessage()

func (*QueryDelegatorPoolResponse) Reset

func (m *QueryDelegatorPoolResponse) Reset()

func (*QueryDelegatorPoolResponse) Size

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

func (*QueryDelegatorPoolResponse) String

func (m *QueryDelegatorPoolResponse) String() string

func (*QueryDelegatorPoolResponse) Unmarshal

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

func (*QueryDelegatorPoolResponse) XXX_DiscardUnknown

func (m *QueryDelegatorPoolResponse) XXX_DiscardUnknown()

func (*QueryDelegatorPoolResponse) XXX_Marshal

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

func (*QueryDelegatorPoolResponse) XXX_Merge

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

func (*QueryDelegatorPoolResponse) XXX_Size

func (m *QueryDelegatorPoolResponse) XXX_Size() int

func (*QueryDelegatorPoolResponse) XXX_Unmarshal

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

type QueryDelegatorPoolUnbondingDelegationsRequest

type QueryDelegatorPoolUnbondingDelegationsRequest struct {
	// DelegatorAddress is the address of the delegator to query
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	// Pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryDelegatorPoolUnbondingDelegationsRequest is request type for the Query/DelegatorPoolUnbondingDelegations RPC method.

func NewQueryDelegatorPoolUnbondingDelegationsRequest

func NewQueryDelegatorPoolUnbondingDelegationsRequest(delegatorAddress string, pagination *query.PageRequest) *QueryDelegatorPoolUnbondingDelegationsRequest

NewQueryDelegatorPoolUnbondingDelegationsRequest creates a new QueryDelegatorPoolUnbondingDelegationsRequest instance

func (*QueryDelegatorPoolUnbondingDelegationsRequest) Descriptor

func (*QueryDelegatorPoolUnbondingDelegationsRequest) GetDelegatorAddress

func (m *QueryDelegatorPoolUnbondingDelegationsRequest) GetDelegatorAddress() string

func (*QueryDelegatorPoolUnbondingDelegationsRequest) GetPagination

func (*QueryDelegatorPoolUnbondingDelegationsRequest) Marshal

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

func (*QueryDelegatorPoolUnbondingDelegationsRequest) MarshalTo

func (*QueryDelegatorPoolUnbondingDelegationsRequest) MarshalToSizedBuffer

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

func (*QueryDelegatorPoolUnbondingDelegationsRequest) ProtoMessage

func (*QueryDelegatorPoolUnbondingDelegationsRequest) Reset

func (*QueryDelegatorPoolUnbondingDelegationsRequest) Size

func (*QueryDelegatorPoolUnbondingDelegationsRequest) String

func (*QueryDelegatorPoolUnbondingDelegationsRequest) Unmarshal

func (*QueryDelegatorPoolUnbondingDelegationsRequest) XXX_DiscardUnknown

func (m *QueryDelegatorPoolUnbondingDelegationsRequest) XXX_DiscardUnknown()

func (*QueryDelegatorPoolUnbondingDelegationsRequest) XXX_Marshal

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

func (*QueryDelegatorPoolUnbondingDelegationsRequest) XXX_Merge

func (*QueryDelegatorPoolUnbondingDelegationsRequest) XXX_Size

func (*QueryDelegatorPoolUnbondingDelegationsRequest) XXX_Unmarshal

type QueryDelegatorPoolUnbondingDelegationsResponse

type QueryDelegatorPoolUnbondingDelegationsResponse struct {
	// UnbondingDelegations is the list of unbonding delegations
	UnbondingDelegations []UnbondingDelegation `protobuf:"bytes,1,rep,name=unbonding_delegations,json=unbondingDelegations,proto3" json:"unbonding_delegations"`
	// Pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryDelegatorPoolUnbondingDelegationsResponse is response type for the Query/DelegatorPoolUnbondingDelegations RPC method.

func (*QueryDelegatorPoolUnbondingDelegationsResponse) Descriptor

func (*QueryDelegatorPoolUnbondingDelegationsResponse) GetPagination

func (*QueryDelegatorPoolUnbondingDelegationsResponse) GetUnbondingDelegations

func (*QueryDelegatorPoolUnbondingDelegationsResponse) Marshal

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

func (*QueryDelegatorPoolUnbondingDelegationsResponse) MarshalTo

func (*QueryDelegatorPoolUnbondingDelegationsResponse) MarshalToSizedBuffer

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

func (*QueryDelegatorPoolUnbondingDelegationsResponse) ProtoMessage

func (*QueryDelegatorPoolUnbondingDelegationsResponse) Reset

func (*QueryDelegatorPoolUnbondingDelegationsResponse) Size

func (*QueryDelegatorPoolUnbondingDelegationsResponse) String

func (*QueryDelegatorPoolUnbondingDelegationsResponse) Unmarshal

func (*QueryDelegatorPoolUnbondingDelegationsResponse) XXX_DiscardUnknown

func (m *QueryDelegatorPoolUnbondingDelegationsResponse) XXX_DiscardUnknown()

func (*QueryDelegatorPoolUnbondingDelegationsResponse) XXX_Marshal

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

func (*QueryDelegatorPoolUnbondingDelegationsResponse) XXX_Merge

func (*QueryDelegatorPoolUnbondingDelegationsResponse) XXX_Size

func (*QueryDelegatorPoolUnbondingDelegationsResponse) XXX_Unmarshal

type QueryDelegatorPoolsRequest

type QueryDelegatorPoolsRequest struct {
	// DelegatorAddress is the address of the delegator to query
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	// Pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryDelegatorPoolsRequest is request type for the Query/DelegatorPools RPC method.

func NewQueryDelegatorPoolsRequest

func NewQueryDelegatorPoolsRequest(delegatorAddress string, pagination *query.PageRequest) *QueryDelegatorPoolsRequest

NewQueryDelegatorPoolsRequest creates a new QueryDelegatorPoolsRequest instance

func (*QueryDelegatorPoolsRequest) Descriptor

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

func (*QueryDelegatorPoolsRequest) GetDelegatorAddress

func (m *QueryDelegatorPoolsRequest) GetDelegatorAddress() string

func (*QueryDelegatorPoolsRequest) GetPagination

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

func (*QueryDelegatorPoolsRequest) Marshal

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

func (*QueryDelegatorPoolsRequest) MarshalTo

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

func (*QueryDelegatorPoolsRequest) MarshalToSizedBuffer

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

func (*QueryDelegatorPoolsRequest) ProtoMessage

func (*QueryDelegatorPoolsRequest) ProtoMessage()

func (*QueryDelegatorPoolsRequest) Reset

func (m *QueryDelegatorPoolsRequest) Reset()

func (*QueryDelegatorPoolsRequest) Size

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

func (*QueryDelegatorPoolsRequest) String

func (m *QueryDelegatorPoolsRequest) String() string

func (*QueryDelegatorPoolsRequest) Unmarshal

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

func (*QueryDelegatorPoolsRequest) XXX_DiscardUnknown

func (m *QueryDelegatorPoolsRequest) XXX_DiscardUnknown()

func (*QueryDelegatorPoolsRequest) XXX_Marshal

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

func (*QueryDelegatorPoolsRequest) XXX_Merge

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

func (*QueryDelegatorPoolsRequest) XXX_Size

func (m *QueryDelegatorPoolsRequest) XXX_Size() int

func (*QueryDelegatorPoolsRequest) XXX_Unmarshal

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

type QueryDelegatorPoolsResponse

type QueryDelegatorPoolsResponse struct {
	// Pools is the list of pools
	Pools []types1.Pool `protobuf:"bytes,1,rep,name=pools,proto3" json:"pools"`
	// Pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryDelegatorPoolsResponse is response type for the Query/DelegatorPools RPC method.

func (*QueryDelegatorPoolsResponse) Descriptor

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

func (*QueryDelegatorPoolsResponse) GetPagination

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

func (*QueryDelegatorPoolsResponse) GetPools

func (m *QueryDelegatorPoolsResponse) GetPools() []types1.Pool

func (*QueryDelegatorPoolsResponse) Marshal

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

func (*QueryDelegatorPoolsResponse) MarshalTo

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

func (*QueryDelegatorPoolsResponse) MarshalToSizedBuffer

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

func (*QueryDelegatorPoolsResponse) ProtoMessage

func (*QueryDelegatorPoolsResponse) ProtoMessage()

func (*QueryDelegatorPoolsResponse) Reset

func (m *QueryDelegatorPoolsResponse) Reset()

func (*QueryDelegatorPoolsResponse) Size

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

func (*QueryDelegatorPoolsResponse) String

func (m *QueryDelegatorPoolsResponse) String() string

func (*QueryDelegatorPoolsResponse) Unmarshal

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

func (*QueryDelegatorPoolsResponse) XXX_DiscardUnknown

func (m *QueryDelegatorPoolsResponse) XXX_DiscardUnknown()

func (*QueryDelegatorPoolsResponse) XXX_Marshal

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

func (*QueryDelegatorPoolsResponse) XXX_Merge

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

func (*QueryDelegatorPoolsResponse) XXX_Size

func (m *QueryDelegatorPoolsResponse) XXX_Size() int

func (*QueryDelegatorPoolsResponse) XXX_Unmarshal

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

type QueryDelegatorServiceDelegationsRequest

type QueryDelegatorServiceDelegationsRequest struct {
	// DelegatorAddress is the address of the delegator to query
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	// Pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryDelegatorServiceDelegationsRequest is request type for the Query/DelegatorServiceDelegations RPC method.

func NewQueryDelegatorServiceDelegationsRequest

func NewQueryDelegatorServiceDelegationsRequest(delegatorAddress string, pagination *query.PageRequest) *QueryDelegatorServiceDelegationsRequest

NewQueryDelegatorServiceDelegationsRequest creates a new QueryDelegatorServiceDelegationsRequest instance

func (*QueryDelegatorServiceDelegationsRequest) Descriptor

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

func (*QueryDelegatorServiceDelegationsRequest) GetDelegatorAddress

func (m *QueryDelegatorServiceDelegationsRequest) GetDelegatorAddress() string

func (*QueryDelegatorServiceDelegationsRequest) GetPagination

func (*QueryDelegatorServiceDelegationsRequest) Marshal

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

func (*QueryDelegatorServiceDelegationsRequest) MarshalTo

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

func (*QueryDelegatorServiceDelegationsRequest) MarshalToSizedBuffer

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

func (*QueryDelegatorServiceDelegationsRequest) ProtoMessage

func (*QueryDelegatorServiceDelegationsRequest) Reset

func (*QueryDelegatorServiceDelegationsRequest) Size

func (*QueryDelegatorServiceDelegationsRequest) String

func (*QueryDelegatorServiceDelegationsRequest) Unmarshal

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

func (*QueryDelegatorServiceDelegationsRequest) XXX_DiscardUnknown

func (m *QueryDelegatorServiceDelegationsRequest) XXX_DiscardUnknown()

func (*QueryDelegatorServiceDelegationsRequest) XXX_Marshal

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

func (*QueryDelegatorServiceDelegationsRequest) XXX_Merge

func (*QueryDelegatorServiceDelegationsRequest) XXX_Size

func (*QueryDelegatorServiceDelegationsRequest) XXX_Unmarshal

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

type QueryDelegatorServiceDelegationsResponse

type QueryDelegatorServiceDelegationsResponse struct {
	// Delegations is the list of delegations
	Delegations []DelegationResponse `protobuf:"bytes,1,rep,name=delegations,proto3" json:"delegations"`
	// Pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryDelegatorServiceDelegationsResponse is response type for the Query/DelegatorServiceDelegations RPC method.

func (*QueryDelegatorServiceDelegationsResponse) Descriptor

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

func (*QueryDelegatorServiceDelegationsResponse) GetDelegations

func (*QueryDelegatorServiceDelegationsResponse) GetPagination

func (*QueryDelegatorServiceDelegationsResponse) Marshal

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

func (*QueryDelegatorServiceDelegationsResponse) MarshalTo

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

func (*QueryDelegatorServiceDelegationsResponse) MarshalToSizedBuffer

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

func (*QueryDelegatorServiceDelegationsResponse) ProtoMessage

func (*QueryDelegatorServiceDelegationsResponse) Reset

func (*QueryDelegatorServiceDelegationsResponse) Size

func (*QueryDelegatorServiceDelegationsResponse) String

func (*QueryDelegatorServiceDelegationsResponse) Unmarshal

func (*QueryDelegatorServiceDelegationsResponse) XXX_DiscardUnknown

func (m *QueryDelegatorServiceDelegationsResponse) XXX_DiscardUnknown()

func (*QueryDelegatorServiceDelegationsResponse) XXX_Marshal

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

func (*QueryDelegatorServiceDelegationsResponse) XXX_Merge

func (*QueryDelegatorServiceDelegationsResponse) XXX_Size

func (*QueryDelegatorServiceDelegationsResponse) XXX_Unmarshal

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

type QueryDelegatorServiceRequest

type QueryDelegatorServiceRequest struct {
	// DelegatorAddress is the address of the delegator to query
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	// ServiceId is the ID of the service to query
	ServiceId uint32 `protobuf:"varint,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
}

QueryDelegatorServiceRequest is request type for the Query/DelegatorService RPC method.

func NewQueryDelegatorServiceRequest

func NewQueryDelegatorServiceRequest(delegatorAddress string, serviceID uint32) *QueryDelegatorServiceRequest

NewQueryDelegatorServiceRequest creates a new QueryDelegatorServiceRequest instance

func (*QueryDelegatorServiceRequest) Descriptor

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

func (*QueryDelegatorServiceRequest) GetDelegatorAddress

func (m *QueryDelegatorServiceRequest) GetDelegatorAddress() string

func (*QueryDelegatorServiceRequest) GetServiceId

func (m *QueryDelegatorServiceRequest) GetServiceId() uint32

func (*QueryDelegatorServiceRequest) Marshal

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

func (*QueryDelegatorServiceRequest) MarshalTo

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

func (*QueryDelegatorServiceRequest) MarshalToSizedBuffer

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

func (*QueryDelegatorServiceRequest) ProtoMessage

func (*QueryDelegatorServiceRequest) ProtoMessage()

func (*QueryDelegatorServiceRequest) Reset

func (m *QueryDelegatorServiceRequest) Reset()

func (*QueryDelegatorServiceRequest) Size

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

func (*QueryDelegatorServiceRequest) String

func (*QueryDelegatorServiceRequest) Unmarshal

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

func (*QueryDelegatorServiceRequest) XXX_DiscardUnknown

func (m *QueryDelegatorServiceRequest) XXX_DiscardUnknown()

func (*QueryDelegatorServiceRequest) XXX_Marshal

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

func (*QueryDelegatorServiceRequest) XXX_Merge

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

func (*QueryDelegatorServiceRequest) XXX_Size

func (m *QueryDelegatorServiceRequest) XXX_Size() int

func (*QueryDelegatorServiceRequest) XXX_Unmarshal

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

type QueryDelegatorServiceResponse

type QueryDelegatorServiceResponse struct {
	// Service is the service
	Service types2.Service `protobuf:"bytes,1,opt,name=service,proto3" json:"service"`
}

QueryDelegatorServiceResponse is response type for the Query/DelegatorService RPC method.

func (*QueryDelegatorServiceResponse) Descriptor

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

func (*QueryDelegatorServiceResponse) GetService

func (*QueryDelegatorServiceResponse) Marshal

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

func (*QueryDelegatorServiceResponse) MarshalTo

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

func (*QueryDelegatorServiceResponse) MarshalToSizedBuffer

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

func (*QueryDelegatorServiceResponse) ProtoMessage

func (*QueryDelegatorServiceResponse) ProtoMessage()

func (*QueryDelegatorServiceResponse) Reset

func (m *QueryDelegatorServiceResponse) Reset()

func (*QueryDelegatorServiceResponse) Size

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

func (*QueryDelegatorServiceResponse) String

func (*QueryDelegatorServiceResponse) Unmarshal

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

func (*QueryDelegatorServiceResponse) XXX_DiscardUnknown

func (m *QueryDelegatorServiceResponse) XXX_DiscardUnknown()

func (*QueryDelegatorServiceResponse) XXX_Marshal

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

func (*QueryDelegatorServiceResponse) XXX_Merge

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

func (*QueryDelegatorServiceResponse) XXX_Size

func (m *QueryDelegatorServiceResponse) XXX_Size() int

func (*QueryDelegatorServiceResponse) XXX_Unmarshal

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

type QueryDelegatorServiceUnbondingDelegationsRequest

type QueryDelegatorServiceUnbondingDelegationsRequest struct {
	// DelegatorAddress is the address of the delegator to query
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	// Pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryDelegatorServiceUnbondingDelegationsRequest is request type for the Query/DelegatorServiceUnbondingDelegations RPC method.

func NewQueryDelegatorServiceUnbondingDelegationsRequest

func NewQueryDelegatorServiceUnbondingDelegationsRequest(delegatorAddress string, pagination *query.PageRequest) *QueryDelegatorServiceUnbondingDelegationsRequest

NewQueryDelegatorServiceUnbondingDelegationsRequest creates a new QueryDelegatorServiceUnbondingDelegationsRequest instance

func (*QueryDelegatorServiceUnbondingDelegationsRequest) Descriptor

func (*QueryDelegatorServiceUnbondingDelegationsRequest) GetDelegatorAddress

func (*QueryDelegatorServiceUnbondingDelegationsRequest) GetPagination

func (*QueryDelegatorServiceUnbondingDelegationsRequest) Marshal

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

func (*QueryDelegatorServiceUnbondingDelegationsRequest) MarshalTo

func (*QueryDelegatorServiceUnbondingDelegationsRequest) MarshalToSizedBuffer

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

func (*QueryDelegatorServiceUnbondingDelegationsRequest) ProtoMessage

func (*QueryDelegatorServiceUnbondingDelegationsRequest) Reset

func (*QueryDelegatorServiceUnbondingDelegationsRequest) Size

func (*QueryDelegatorServiceUnbondingDelegationsRequest) String

func (*QueryDelegatorServiceUnbondingDelegationsRequest) Unmarshal

func (*QueryDelegatorServiceUnbondingDelegationsRequest) XXX_DiscardUnknown

func (m *QueryDelegatorServiceUnbondingDelegationsRequest) XXX_DiscardUnknown()

func (*QueryDelegatorServiceUnbondingDelegationsRequest) XXX_Marshal

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

func (*QueryDelegatorServiceUnbondingDelegationsRequest) XXX_Merge

func (*QueryDelegatorServiceUnbondingDelegationsRequest) XXX_Size

func (*QueryDelegatorServiceUnbondingDelegationsRequest) XXX_Unmarshal

type QueryDelegatorServiceUnbondingDelegationsResponse

type QueryDelegatorServiceUnbondingDelegationsResponse struct {
	// UnbondingDelegations is the list of unbonding delegations
	UnbondingDelegations []UnbondingDelegation `protobuf:"bytes,1,rep,name=unbonding_delegations,json=unbondingDelegations,proto3" json:"unbonding_delegations"`
	// Pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryDelegatorServiceUnbondingDelegationsResponse is response type for the Query/DelegatorServiceUnbondingDelegations RPC method.

func (*QueryDelegatorServiceUnbondingDelegationsResponse) Descriptor

func (*QueryDelegatorServiceUnbondingDelegationsResponse) GetPagination

func (*QueryDelegatorServiceUnbondingDelegationsResponse) GetUnbondingDelegations

func (*QueryDelegatorServiceUnbondingDelegationsResponse) Marshal

func (*QueryDelegatorServiceUnbondingDelegationsResponse) MarshalTo

func (*QueryDelegatorServiceUnbondingDelegationsResponse) MarshalToSizedBuffer

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

func (*QueryDelegatorServiceUnbondingDelegationsResponse) ProtoMessage

func (*QueryDelegatorServiceUnbondingDelegationsResponse) Reset

func (*QueryDelegatorServiceUnbondingDelegationsResponse) Size

func (*QueryDelegatorServiceUnbondingDelegationsResponse) String

func (*QueryDelegatorServiceUnbondingDelegationsResponse) Unmarshal

func (*QueryDelegatorServiceUnbondingDelegationsResponse) XXX_DiscardUnknown

func (m *QueryDelegatorServiceUnbondingDelegationsResponse) XXX_DiscardUnknown()

func (*QueryDelegatorServiceUnbondingDelegationsResponse) XXX_Marshal

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

func (*QueryDelegatorServiceUnbondingDelegationsResponse) XXX_Merge

func (*QueryDelegatorServiceUnbondingDelegationsResponse) XXX_Size

func (*QueryDelegatorServiceUnbondingDelegationsResponse) XXX_Unmarshal

type QueryDelegatorServicesRequest

type QueryDelegatorServicesRequest struct {
	// DelegatorAddress is the address of the delegator to query
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	// Pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryDelegatorServicesRequest is request type for the Query/DelegatorServices RPC method.

func NewQueryDelegatorServicesRequest

func NewQueryDelegatorServicesRequest(delegatorAddress string, pagination *query.PageRequest) *QueryDelegatorServicesRequest

NewQueryDelegatorServicesRequest creates a new QueryDelegatorServicesRequest instance

func (*QueryDelegatorServicesRequest) Descriptor

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

func (*QueryDelegatorServicesRequest) GetDelegatorAddress

func (m *QueryDelegatorServicesRequest) GetDelegatorAddress() string

func (*QueryDelegatorServicesRequest) GetPagination

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

func (*QueryDelegatorServicesRequest) Marshal

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

func (*QueryDelegatorServicesRequest) MarshalTo

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

func (*QueryDelegatorServicesRequest) MarshalToSizedBuffer

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

func (*QueryDelegatorServicesRequest) ProtoMessage

func (*QueryDelegatorServicesRequest) ProtoMessage()

func (*QueryDelegatorServicesRequest) Reset

func (m *QueryDelegatorServicesRequest) Reset()

func (*QueryDelegatorServicesRequest) Size

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

func (*QueryDelegatorServicesRequest) String

func (*QueryDelegatorServicesRequest) Unmarshal

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

func (*QueryDelegatorServicesRequest) XXX_DiscardUnknown

func (m *QueryDelegatorServicesRequest) XXX_DiscardUnknown()

func (*QueryDelegatorServicesRequest) XXX_Marshal

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

func (*QueryDelegatorServicesRequest) XXX_Merge

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

func (*QueryDelegatorServicesRequest) XXX_Size

func (m *QueryDelegatorServicesRequest) XXX_Size() int

func (*QueryDelegatorServicesRequest) XXX_Unmarshal

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

type QueryDelegatorServicesResponse

type QueryDelegatorServicesResponse struct {
	// Services is the list of services
	Services []types2.Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services"`
	// Pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryDelegatorServicesResponse is response type for the Query/DelegatorServices RPC method.

func (*QueryDelegatorServicesResponse) Descriptor

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

func (*QueryDelegatorServicesResponse) GetPagination

func (*QueryDelegatorServicesResponse) GetServices

func (m *QueryDelegatorServicesResponse) GetServices() []types2.Service

func (*QueryDelegatorServicesResponse) Marshal

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

func (*QueryDelegatorServicesResponse) MarshalTo

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

func (*QueryDelegatorServicesResponse) MarshalToSizedBuffer

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

func (*QueryDelegatorServicesResponse) ProtoMessage

func (*QueryDelegatorServicesResponse) ProtoMessage()

func (*QueryDelegatorServicesResponse) Reset

func (m *QueryDelegatorServicesResponse) Reset()

func (*QueryDelegatorServicesResponse) Size

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

func (*QueryDelegatorServicesResponse) String

func (*QueryDelegatorServicesResponse) Unmarshal

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

func (*QueryDelegatorServicesResponse) XXX_DiscardUnknown

func (m *QueryDelegatorServicesResponse) XXX_DiscardUnknown()

func (*QueryDelegatorServicesResponse) XXX_Marshal

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

func (*QueryDelegatorServicesResponse) XXX_Merge

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

func (*QueryDelegatorServicesResponse) XXX_Size

func (m *QueryDelegatorServicesResponse) XXX_Size() int

func (*QueryDelegatorServicesResponse) XXX_Unmarshal

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

type QueryOperatorDelegationRequest

type QueryOperatorDelegationRequest struct {
	// OperatorId is the ID of the operator to query
	OperatorId uint32 `protobuf:"varint,1,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"`
	// DelegatorAddress is the address of the delegator to query
	DelegatorAddress string `protobuf:"bytes,2,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
}

QueryOperatorDelegationRequest is request type for the Query/OperatorDelegation RPC method.

func NewQueryOperatorDelegationRequest

func NewQueryOperatorDelegationRequest(operatorID uint32, delegatorAddress string) *QueryOperatorDelegationRequest

NewQueryOperatorDelegationRequest creates a new QueryOperatorDelegationRequest instance

func (*QueryOperatorDelegationRequest) Descriptor

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

func (*QueryOperatorDelegationRequest) GetDelegatorAddress

func (m *QueryOperatorDelegationRequest) GetDelegatorAddress() string

func (*QueryOperatorDelegationRequest) GetOperatorId

func (m *QueryOperatorDelegationRequest) GetOperatorId() uint32

func (*QueryOperatorDelegationRequest) Marshal

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

func (*QueryOperatorDelegationRequest) MarshalTo

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

func (*QueryOperatorDelegationRequest) MarshalToSizedBuffer

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

func (*QueryOperatorDelegationRequest) ProtoMessage

func (*QueryOperatorDelegationRequest) ProtoMessage()

func (*QueryOperatorDelegationRequest) Reset

func (m *QueryOperatorDelegationRequest) Reset()

func (*QueryOperatorDelegationRequest) Size

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

func (*QueryOperatorDelegationRequest) String

func (*QueryOperatorDelegationRequest) Unmarshal

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

func (*QueryOperatorDelegationRequest) XXX_DiscardUnknown

func (m *QueryOperatorDelegationRequest) XXX_DiscardUnknown()

func (*QueryOperatorDelegationRequest) XXX_Marshal

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

func (*QueryOperatorDelegationRequest) XXX_Merge

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

func (*QueryOperatorDelegationRequest) XXX_Size

func (m *QueryOperatorDelegationRequest) XXX_Size() int

func (*QueryOperatorDelegationRequest) XXX_Unmarshal

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

type QueryOperatorDelegationResponse

type QueryOperatorDelegationResponse struct {
	// Delegation is the delegation
	Delegation DelegationResponse `protobuf:"bytes,1,opt,name=delegation,proto3" json:"delegation"`
}

QueryOperatorDelegationResponse is response type for the Query/OperatorDelegation RPC method.

func (*QueryOperatorDelegationResponse) Descriptor

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

func (*QueryOperatorDelegationResponse) GetDelegation

func (*QueryOperatorDelegationResponse) Marshal

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

func (*QueryOperatorDelegationResponse) MarshalTo

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

func (*QueryOperatorDelegationResponse) MarshalToSizedBuffer

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

func (*QueryOperatorDelegationResponse) ProtoMessage

func (*QueryOperatorDelegationResponse) ProtoMessage()

func (*QueryOperatorDelegationResponse) Reset

func (*QueryOperatorDelegationResponse) Size

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

func (*QueryOperatorDelegationResponse) String

func (*QueryOperatorDelegationResponse) Unmarshal

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

func (*QueryOperatorDelegationResponse) XXX_DiscardUnknown

func (m *QueryOperatorDelegationResponse) XXX_DiscardUnknown()

func (*QueryOperatorDelegationResponse) XXX_Marshal

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

func (*QueryOperatorDelegationResponse) XXX_Merge

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

func (*QueryOperatorDelegationResponse) XXX_Size

func (m *QueryOperatorDelegationResponse) XXX_Size() int

func (*QueryOperatorDelegationResponse) XXX_Unmarshal

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

type QueryOperatorDelegationsRequest

type QueryOperatorDelegationsRequest struct {
	// OperatorId is the ID of the operator to query
	OperatorId uint32 `protobuf:"varint,1,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"`
	// Pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryOperatorDelegationsRequest is request type for the Query/OperatorDelegations RPC method.

func NewQueryOperatorDelegationsRequest

func NewQueryOperatorDelegationsRequest(operatorID uint32, pagination *query.PageRequest) *QueryOperatorDelegationsRequest

NewQueryOperatorDelegationsRequest creates a new QueryOperatorDelegationsRequest instance

func (*QueryOperatorDelegationsRequest) Descriptor

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

func (*QueryOperatorDelegationsRequest) GetOperatorId

func (m *QueryOperatorDelegationsRequest) GetOperatorId() uint32

func (*QueryOperatorDelegationsRequest) GetPagination

func (*QueryOperatorDelegationsRequest) Marshal

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

func (*QueryOperatorDelegationsRequest) MarshalTo

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

func (*QueryOperatorDelegationsRequest) MarshalToSizedBuffer

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

func (*QueryOperatorDelegationsRequest) ProtoMessage

func (*QueryOperatorDelegationsRequest) ProtoMessage()

func (*QueryOperatorDelegationsRequest) Reset

func (*QueryOperatorDelegationsRequest) Size

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

func (*QueryOperatorDelegationsRequest) String

func (*QueryOperatorDelegationsRequest) Unmarshal

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

func (*QueryOperatorDelegationsRequest) XXX_DiscardUnknown

func (m *QueryOperatorDelegationsRequest) XXX_DiscardUnknown()

func (*QueryOperatorDelegationsRequest) XXX_Marshal

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

func (*QueryOperatorDelegationsRequest) XXX_Merge

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

func (*QueryOperatorDelegationsRequest) XXX_Size

func (m *QueryOperatorDelegationsRequest) XXX_Size() int

func (*QueryOperatorDelegationsRequest) XXX_Unmarshal

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

type QueryOperatorDelegationsResponse

type QueryOperatorDelegationsResponse struct {
	// Delegations is the list of delegations
	Delegations []DelegationResponse `protobuf:"bytes,1,rep,name=delegations,proto3" json:"delegations"`
	// Pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryOperatorDelegationsResponse is response type for the Query/OperatorDelegations RPC method.

func (*QueryOperatorDelegationsResponse) Descriptor

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

func (*QueryOperatorDelegationsResponse) GetDelegations

func (*QueryOperatorDelegationsResponse) GetPagination

func (*QueryOperatorDelegationsResponse) Marshal

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

func (*QueryOperatorDelegationsResponse) MarshalTo

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

func (*QueryOperatorDelegationsResponse) MarshalToSizedBuffer

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

func (*QueryOperatorDelegationsResponse) ProtoMessage

func (*QueryOperatorDelegationsResponse) ProtoMessage()

func (*QueryOperatorDelegationsResponse) Reset

func (*QueryOperatorDelegationsResponse) Size

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

func (*QueryOperatorDelegationsResponse) String

func (*QueryOperatorDelegationsResponse) Unmarshal

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

func (*QueryOperatorDelegationsResponse) XXX_DiscardUnknown

func (m *QueryOperatorDelegationsResponse) XXX_DiscardUnknown()

func (*QueryOperatorDelegationsResponse) XXX_Marshal

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

func (*QueryOperatorDelegationsResponse) XXX_Merge

func (*QueryOperatorDelegationsResponse) XXX_Size

func (m *QueryOperatorDelegationsResponse) XXX_Size() int

func (*QueryOperatorDelegationsResponse) XXX_Unmarshal

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

type QueryOperatorJoinedServicesRequest

type QueryOperatorJoinedServicesRequest struct {
	// OperatorId is the ID of the operator to query
	OperatorId uint32 `protobuf:"varint,1,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"`
	// Pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryOperatorJoinedServicesRequest is request type for the Query/OperatorJoinedServices RPC method.

func NewQueryOperatorJoinedServicesRequest

func NewQueryOperatorJoinedServicesRequest(operatorID uint32, pagination *query.PageRequest) *QueryOperatorJoinedServicesRequest

NewQueryOperatorJoinedServicesRequest creates a new QueryOperatorJoinedServicesRequest instance

func (*QueryOperatorJoinedServicesRequest) Descriptor

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

func (*QueryOperatorJoinedServicesRequest) GetOperatorId

func (m *QueryOperatorJoinedServicesRequest) GetOperatorId() uint32

func (*QueryOperatorJoinedServicesRequest) GetPagination

func (*QueryOperatorJoinedServicesRequest) Marshal

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

func (*QueryOperatorJoinedServicesRequest) MarshalTo

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

func (*QueryOperatorJoinedServicesRequest) MarshalToSizedBuffer

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

func (*QueryOperatorJoinedServicesRequest) ProtoMessage

func (*QueryOperatorJoinedServicesRequest) ProtoMessage()

func (*QueryOperatorJoinedServicesRequest) Reset

func (*QueryOperatorJoinedServicesRequest) Size

func (*QueryOperatorJoinedServicesRequest) String

func (*QueryOperatorJoinedServicesRequest) Unmarshal

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

func (*QueryOperatorJoinedServicesRequest) XXX_DiscardUnknown

func (m *QueryOperatorJoinedServicesRequest) XXX_DiscardUnknown()

func (*QueryOperatorJoinedServicesRequest) XXX_Marshal

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

func (*QueryOperatorJoinedServicesRequest) XXX_Merge

func (*QueryOperatorJoinedServicesRequest) XXX_Size

func (*QueryOperatorJoinedServicesRequest) XXX_Unmarshal

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

type QueryOperatorJoinedServicesResponse

type QueryOperatorJoinedServicesResponse struct {
	// ServiceIds is the list of services joined by the operator.
	ServiceIds []uint32 `protobuf:"varint,1,rep,packed,name=service_ids,json=serviceIds,proto3" json:"service_ids,omitempty"`
	// Pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryOperatorJoinedServicesResponse is response type for the Query/OperatorJoinedServices RPC method.

func (*QueryOperatorJoinedServicesResponse) Descriptor

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

func (*QueryOperatorJoinedServicesResponse) GetPagination

func (*QueryOperatorJoinedServicesResponse) GetServiceIds

func (m *QueryOperatorJoinedServicesResponse) GetServiceIds() []uint32

func (*QueryOperatorJoinedServicesResponse) Marshal

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

func (*QueryOperatorJoinedServicesResponse) MarshalTo

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

func (*QueryOperatorJoinedServicesResponse) MarshalToSizedBuffer

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

func (*QueryOperatorJoinedServicesResponse) ProtoMessage

func (*QueryOperatorJoinedServicesResponse) ProtoMessage()

func (*QueryOperatorJoinedServicesResponse) Reset

func (*QueryOperatorJoinedServicesResponse) Size

func (*QueryOperatorJoinedServicesResponse) String

func (*QueryOperatorJoinedServicesResponse) Unmarshal

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

func (*QueryOperatorJoinedServicesResponse) XXX_DiscardUnknown

func (m *QueryOperatorJoinedServicesResponse) XXX_DiscardUnknown()

func (*QueryOperatorJoinedServicesResponse) XXX_Marshal

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

func (*QueryOperatorJoinedServicesResponse) XXX_Merge

func (*QueryOperatorJoinedServicesResponse) XXX_Size

func (*QueryOperatorJoinedServicesResponse) XXX_Unmarshal

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

type QueryOperatorUnbondingDelegationRequest

type QueryOperatorUnbondingDelegationRequest struct {
	// OperatorId is the ID of the operator to query
	OperatorId uint32 `protobuf:"varint,1,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"`
	// DelegatorAddress is the address of the delegator to query
	DelegatorAddress string `protobuf:"bytes,2,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
}

QueryOperatorUnbondingDelegationRequest is request type for the Query/OperatorUnbondingDelegation RPC method.

func NewQueryOperatorUnbondingDelegationRequest

func NewQueryOperatorUnbondingDelegationRequest(operatorID uint32, delegatorAddress string) *QueryOperatorUnbondingDelegationRequest

NewQueryOperatorUnbondingDelegationRequest creates a new QueryOperatorUnbondingDelegationRequest instance

func (*QueryOperatorUnbondingDelegationRequest) Descriptor

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

func (*QueryOperatorUnbondingDelegationRequest) GetDelegatorAddress

func (m *QueryOperatorUnbondingDelegationRequest) GetDelegatorAddress() string

func (*QueryOperatorUnbondingDelegationRequest) GetOperatorId

func (*QueryOperatorUnbondingDelegationRequest) Marshal

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

func (*QueryOperatorUnbondingDelegationRequest) MarshalTo

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

func (*QueryOperatorUnbondingDelegationRequest) MarshalToSizedBuffer

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

func (*QueryOperatorUnbondingDelegationRequest) ProtoMessage

func (*QueryOperatorUnbondingDelegationRequest) Reset

func (*QueryOperatorUnbondingDelegationRequest) Size

func (*QueryOperatorUnbondingDelegationRequest) String

func (*QueryOperatorUnbondingDelegationRequest) Unmarshal

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

func (*QueryOperatorUnbondingDelegationRequest) XXX_DiscardUnknown

func (m *QueryOperatorUnbondingDelegationRequest) XXX_DiscardUnknown()

func (*QueryOperatorUnbondingDelegationRequest) XXX_Marshal

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

func (*QueryOperatorUnbondingDelegationRequest) XXX_Merge

func (*QueryOperatorUnbondingDelegationRequest) XXX_Size

func (*QueryOperatorUnbondingDelegationRequest) XXX_Unmarshal

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

type QueryOperatorUnbondingDelegationResponse

type QueryOperatorUnbondingDelegationResponse struct {
	// UnbondingDelegation is the unbonding delegation
	UnbondingDelegation UnbondingDelegation `protobuf:"bytes,1,opt,name=unbonding_delegation,json=unbondingDelegation,proto3" json:"unbonding_delegation"`
}

QueryOperatorUnbondingDelegationResponse is response type for the Query/OperatorUnbondingDelegation RPC method.

func (*QueryOperatorUnbondingDelegationResponse) Descriptor

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

func (*QueryOperatorUnbondingDelegationResponse) GetUnbondingDelegation

func (*QueryOperatorUnbondingDelegationResponse) Marshal

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

func (*QueryOperatorUnbondingDelegationResponse) MarshalTo

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

func (*QueryOperatorUnbondingDelegationResponse) MarshalToSizedBuffer

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

func (*QueryOperatorUnbondingDelegationResponse) ProtoMessage

func (*QueryOperatorUnbondingDelegationResponse) Reset

func (*QueryOperatorUnbondingDelegationResponse) Size

func (*QueryOperatorUnbondingDelegationResponse) String

func (*QueryOperatorUnbondingDelegationResponse) Unmarshal

func (*QueryOperatorUnbondingDelegationResponse) XXX_DiscardUnknown

func (m *QueryOperatorUnbondingDelegationResponse) XXX_DiscardUnknown()

func (*QueryOperatorUnbondingDelegationResponse) XXX_Marshal

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

func (*QueryOperatorUnbondingDelegationResponse) XXX_Merge

func (*QueryOperatorUnbondingDelegationResponse) XXX_Size

func (*QueryOperatorUnbondingDelegationResponse) XXX_Unmarshal

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

type QueryOperatorUnbondingDelegationsRequest

type QueryOperatorUnbondingDelegationsRequest struct {
	// OperatorId is the ID of the operator to query
	OperatorId uint32 `protobuf:"varint,1,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"`
	// Pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryOperatorUnbondingDelegationsRequest is request type for the Query/OperatorUnbondingDelegations RPC method.

func NewQueryOperatorUnbondingDelegationsRequest

func NewQueryOperatorUnbondingDelegationsRequest(operatorID uint32, pagination *query.PageRequest) *QueryOperatorUnbondingDelegationsRequest

NewQueryOperatorUnbondingDelegationsRequest creates a new QueryOperatorUnbondingDelegationsRequest instance

func (*QueryOperatorUnbondingDelegationsRequest) Descriptor

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

func (*QueryOperatorUnbondingDelegationsRequest) GetOperatorId

func (*QueryOperatorUnbondingDelegationsRequest) GetPagination

func (*QueryOperatorUnbondingDelegationsRequest) Marshal

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

func (*QueryOperatorUnbondingDelegationsRequest) MarshalTo

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

func (*QueryOperatorUnbondingDelegationsRequest) MarshalToSizedBuffer

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

func (*QueryOperatorUnbondingDelegationsRequest) ProtoMessage

func (*QueryOperatorUnbondingDelegationsRequest) Reset

func (*QueryOperatorUnbondingDelegationsRequest) Size

func (*QueryOperatorUnbondingDelegationsRequest) String

func (*QueryOperatorUnbondingDelegationsRequest) Unmarshal

func (*QueryOperatorUnbondingDelegationsRequest) XXX_DiscardUnknown

func (m *QueryOperatorUnbondingDelegationsRequest) XXX_DiscardUnknown()

func (*QueryOperatorUnbondingDelegationsRequest) XXX_Marshal

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

func (*QueryOperatorUnbondingDelegationsRequest) XXX_Merge

func (*QueryOperatorUnbondingDelegationsRequest) XXX_Size

func (*QueryOperatorUnbondingDelegationsRequest) XXX_Unmarshal

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

type QueryOperatorUnbondingDelegationsResponse

type QueryOperatorUnbondingDelegationsResponse struct {
	// UnbondingDelegations is the list of unbonding delegations
	UnbondingDelegations []UnbondingDelegation `protobuf:"bytes,1,rep,name=unbonding_delegations,json=unbondingDelegations,proto3" json:"unbonding_delegations"`
	// Pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryOperatorUnbondingDelegationsResponse is response type for the Query/OperatorUnbondingDelegations RPC method.

func (*QueryOperatorUnbondingDelegationsResponse) Descriptor

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

func (*QueryOperatorUnbondingDelegationsResponse) GetPagination

func (*QueryOperatorUnbondingDelegationsResponse) GetUnbondingDelegations

func (m *QueryOperatorUnbondingDelegationsResponse) GetUnbondingDelegations() []UnbondingDelegation

func (*QueryOperatorUnbondingDelegationsResponse) Marshal

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

func (*QueryOperatorUnbondingDelegationsResponse) MarshalTo

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

func (*QueryOperatorUnbondingDelegationsResponse) MarshalToSizedBuffer

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

func (*QueryOperatorUnbondingDelegationsResponse) ProtoMessage

func (*QueryOperatorUnbondingDelegationsResponse) Reset

func (*QueryOperatorUnbondingDelegationsResponse) Size

func (*QueryOperatorUnbondingDelegationsResponse) String

func (*QueryOperatorUnbondingDelegationsResponse) Unmarshal

func (*QueryOperatorUnbondingDelegationsResponse) XXX_DiscardUnknown

func (m *QueryOperatorUnbondingDelegationsResponse) XXX_DiscardUnknown()

func (*QueryOperatorUnbondingDelegationsResponse) XXX_Marshal

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

func (*QueryOperatorUnbondingDelegationsResponse) XXX_Merge

func (*QueryOperatorUnbondingDelegationsResponse) XXX_Size

func (*QueryOperatorUnbondingDelegationsResponse) XXX_Unmarshal

type QueryParamsRequest

type QueryParamsRequest struct {
}

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

func NewQueryParamsRequest

func NewQueryParamsRequest() *QueryParamsRequest

NewQueryParamsRequest creates a new QueryParamsRequest instance

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

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

func (*QueryParamsRequest) MarshalTo

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

func (*QueryParamsRequest) MarshalToSizedBuffer

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

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

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

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

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

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

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

func (*QueryParamsRequest) XXX_Merge

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

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

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

type QueryParamsResponse

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

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

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

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

func (*QueryParamsResponse) MarshalTo

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

func (*QueryParamsResponse) MarshalToSizedBuffer

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

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

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

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

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

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

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

func (*QueryParamsResponse) XXX_Merge

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

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

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

type QueryPoolDelegationRequest

type QueryPoolDelegationRequest struct {
	// PoolId is the ID of the pool to query
	PoolId uint32 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	// DelegatorAddress is the address of the delegator to query
	DelegatorAddress string `protobuf:"bytes,2,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
}

QueryPoolDelegationRequest is request type for the Query/PoolDelegation RPC method.

func NewQueryPoolDelegationRequest

func NewQueryPoolDelegationRequest(poolID uint32, delegatorAddress string) *QueryPoolDelegationRequest

NewQueryPoolDelegationRequest creates a new QueryPoolDelegationRequest instance

func (*QueryPoolDelegationRequest) Descriptor

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

func (*QueryPoolDelegationRequest) GetDelegatorAddress

func (m *QueryPoolDelegationRequest) GetDelegatorAddress() string

func (*QueryPoolDelegationRequest) GetPoolId

func (m *QueryPoolDelegationRequest) GetPoolId() uint32

func (*QueryPoolDelegationRequest) Marshal

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

func (*QueryPoolDelegationRequest) MarshalTo

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

func (*QueryPoolDelegationRequest) MarshalToSizedBuffer

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

func (*QueryPoolDelegationRequest) ProtoMessage

func (*QueryPoolDelegationRequest) ProtoMessage()

func (*QueryPoolDelegationRequest) Reset

func (m *QueryPoolDelegationRequest) Reset()

func (*QueryPoolDelegationRequest) Size

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

func (*QueryPoolDelegationRequest) String

func (m *QueryPoolDelegationRequest) String() string

func (*QueryPoolDelegationRequest) Unmarshal

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

func (*QueryPoolDelegationRequest) XXX_DiscardUnknown

func (m *QueryPoolDelegationRequest) XXX_DiscardUnknown()

func (*QueryPoolDelegationRequest) XXX_Marshal

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

func (*QueryPoolDelegationRequest) XXX_Merge

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

func (*QueryPoolDelegationRequest) XXX_Size

func (m *QueryPoolDelegationRequest) XXX_Size() int

func (*QueryPoolDelegationRequest) XXX_Unmarshal

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

type QueryPoolDelegationResponse

type QueryPoolDelegationResponse struct {
	// Delegation is the delegation
	Delegation DelegationResponse `protobuf:"bytes,1,opt,name=delegation,proto3" json:"delegation"`
}

QueryPoolDelegationResponse is response type for the Query/PoolDelegation RPC method.

func (*QueryPoolDelegationResponse) Descriptor

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

func (*QueryPoolDelegationResponse) GetDelegation

func (*QueryPoolDelegationResponse) Marshal

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

func (*QueryPoolDelegationResponse) MarshalTo

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

func (*QueryPoolDelegationResponse) MarshalToSizedBuffer

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

func (*QueryPoolDelegationResponse) ProtoMessage

func (*QueryPoolDelegationResponse) ProtoMessage()

func (*QueryPoolDelegationResponse) Reset

func (m *QueryPoolDelegationResponse) Reset()

func (*QueryPoolDelegationResponse) Size

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

func (*QueryPoolDelegationResponse) String

func (m *QueryPoolDelegationResponse) String() string

func (*QueryPoolDelegationResponse) Unmarshal

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

func (*QueryPoolDelegationResponse) XXX_DiscardUnknown

func (m *QueryPoolDelegationResponse) XXX_DiscardUnknown()

func (*QueryPoolDelegationResponse) XXX_Marshal

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

func (*QueryPoolDelegationResponse) XXX_Merge

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

func (*QueryPoolDelegationResponse) XXX_Size

func (m *QueryPoolDelegationResponse) XXX_Size() int

func (*QueryPoolDelegationResponse) XXX_Unmarshal

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

type QueryPoolDelegationsRequest

type QueryPoolDelegationsRequest struct {
	// PoolId is the ID of the pool to query.
	PoolId uint32 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	// Pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryPoolDelegationsRequest is request type for the Query/PoolDelegations RPC method.

func NewQueryPoolDelegationsRequest

func NewQueryPoolDelegationsRequest(poolID uint32, pagination *query.PageRequest) *QueryPoolDelegationsRequest

NewQueryPoolDelegationsRequest creates a new QueryPoolDelegationsRequest instance

func (*QueryPoolDelegationsRequest) Descriptor

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

func (*QueryPoolDelegationsRequest) GetPagination

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

func (*QueryPoolDelegationsRequest) GetPoolId

func (m *QueryPoolDelegationsRequest) GetPoolId() uint32

func (*QueryPoolDelegationsRequest) Marshal

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

func (*QueryPoolDelegationsRequest) MarshalTo

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

func (*QueryPoolDelegationsRequest) MarshalToSizedBuffer

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

func (*QueryPoolDelegationsRequest) ProtoMessage

func (*QueryPoolDelegationsRequest) ProtoMessage()

func (*QueryPoolDelegationsRequest) Reset

func (m *QueryPoolDelegationsRequest) Reset()

func (*QueryPoolDelegationsRequest) Size

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

func (*QueryPoolDelegationsRequest) String

func (m *QueryPoolDelegationsRequest) String() string

func (*QueryPoolDelegationsRequest) Unmarshal

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

func (*QueryPoolDelegationsRequest) XXX_DiscardUnknown

func (m *QueryPoolDelegationsRequest) XXX_DiscardUnknown()

func (*QueryPoolDelegationsRequest) XXX_Marshal

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

func (*QueryPoolDelegationsRequest) XXX_Merge

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

func (*QueryPoolDelegationsRequest) XXX_Size

func (m *QueryPoolDelegationsRequest) XXX_Size() int

func (*QueryPoolDelegationsRequest) XXX_Unmarshal

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

type QueryPoolDelegationsResponse

type QueryPoolDelegationsResponse struct {
	// Delegations is the list of delegations.
	Delegations []DelegationResponse `protobuf:"bytes,1,rep,name=delegations,proto3" json:"delegations"`
	// Pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryPoolDelegationsResponse is response type for the Query/PoolDelegations RPC method.

func (*QueryPoolDelegationsResponse) Descriptor

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

func (*QueryPoolDelegationsResponse) GetDelegations

func (m *QueryPoolDelegationsResponse) GetDelegations() []DelegationResponse

func (*QueryPoolDelegationsResponse) GetPagination

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

func (*QueryPoolDelegationsResponse) Marshal

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

func (*QueryPoolDelegationsResponse) MarshalTo

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

func (*QueryPoolDelegationsResponse) MarshalToSizedBuffer

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

func (*QueryPoolDelegationsResponse) ProtoMessage

func (*QueryPoolDelegationsResponse) ProtoMessage()

func (*QueryPoolDelegationsResponse) Reset

func (m *QueryPoolDelegationsResponse) Reset()

func (*QueryPoolDelegationsResponse) Size

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

func (*QueryPoolDelegationsResponse) String

func (*QueryPoolDelegationsResponse) Unmarshal

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

func (*QueryPoolDelegationsResponse) XXX_DiscardUnknown

func (m *QueryPoolDelegationsResponse) XXX_DiscardUnknown()

func (*QueryPoolDelegationsResponse) XXX_Marshal

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

func (*QueryPoolDelegationsResponse) XXX_Merge

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

func (*QueryPoolDelegationsResponse) XXX_Size

func (m *QueryPoolDelegationsResponse) XXX_Size() int

func (*QueryPoolDelegationsResponse) XXX_Unmarshal

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

type QueryPoolUnbondingDelegationRequest

type QueryPoolUnbondingDelegationRequest struct {
	PoolId           uint32 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	DelegatorAddress string `protobuf:"bytes,2,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
}

QueryPoolUnbondingDelegationRequest is request type for the Query/PoolUnbondingDelegation RPC method.

func NewQueryPoolUnbondingDelegationRequest

func NewQueryPoolUnbondingDelegationRequest(poolID uint32, delegatorAddress string) *QueryPoolUnbondingDelegationRequest

NewQueryPoolUnbondingDelegationRequest creates a new QueryPoolUnbondingDelegationRequest instance

func (*QueryPoolUnbondingDelegationRequest) Descriptor

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

func (*QueryPoolUnbondingDelegationRequest) GetDelegatorAddress

func (m *QueryPoolUnbondingDelegationRequest) GetDelegatorAddress() string

func (*QueryPoolUnbondingDelegationRequest) GetPoolId

func (*QueryPoolUnbondingDelegationRequest) Marshal

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

func (*QueryPoolUnbondingDelegationRequest) MarshalTo

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

func (*QueryPoolUnbondingDelegationRequest) MarshalToSizedBuffer

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

func (*QueryPoolUnbondingDelegationRequest) ProtoMessage

func (*QueryPoolUnbondingDelegationRequest) ProtoMessage()

func (*QueryPoolUnbondingDelegationRequest) Reset

func (*QueryPoolUnbondingDelegationRequest) Size

func (*QueryPoolUnbondingDelegationRequest) String

func (*QueryPoolUnbondingDelegationRequest) Unmarshal

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

func (*QueryPoolUnbondingDelegationRequest) XXX_DiscardUnknown

func (m *QueryPoolUnbondingDelegationRequest) XXX_DiscardUnknown()

func (*QueryPoolUnbondingDelegationRequest) XXX_Marshal

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

func (*QueryPoolUnbondingDelegationRequest) XXX_Merge

func (*QueryPoolUnbondingDelegationRequest) XXX_Size

func (*QueryPoolUnbondingDelegationRequest) XXX_Unmarshal

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

type QueryPoolUnbondingDelegationResponse

type QueryPoolUnbondingDelegationResponse struct {
	UnbondingDelegation UnbondingDelegation `protobuf:"bytes,1,opt,name=unbonding_delegation,json=unbondingDelegation,proto3" json:"unbonding_delegation"`
}

QueryPoolUnbondingDelegationResponse is response type for the Query/PoolUnbondingDelegation RPC method.

func (*QueryPoolUnbondingDelegationResponse) Descriptor

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

func (*QueryPoolUnbondingDelegationResponse) GetUnbondingDelegation

func (m *QueryPoolUnbondingDelegationResponse) GetUnbondingDelegation() UnbondingDelegation

func (*QueryPoolUnbondingDelegationResponse) Marshal

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

func (*QueryPoolUnbondingDelegationResponse) MarshalTo

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

func (*QueryPoolUnbondingDelegationResponse) MarshalToSizedBuffer

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

func (*QueryPoolUnbondingDelegationResponse) ProtoMessage

func (*QueryPoolUnbondingDelegationResponse) ProtoMessage()

func (*QueryPoolUnbondingDelegationResponse) Reset

func (*QueryPoolUnbondingDelegationResponse) Size

func (*QueryPoolUnbondingDelegationResponse) String

func (*QueryPoolUnbondingDelegationResponse) Unmarshal

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

func (*QueryPoolUnbondingDelegationResponse) XXX_DiscardUnknown

func (m *QueryPoolUnbondingDelegationResponse) XXX_DiscardUnknown()

func (*QueryPoolUnbondingDelegationResponse) XXX_Marshal

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

func (*QueryPoolUnbondingDelegationResponse) XXX_Merge

func (*QueryPoolUnbondingDelegationResponse) XXX_Size

func (*QueryPoolUnbondingDelegationResponse) XXX_Unmarshal

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

type QueryPoolUnbondingDelegationsRequest

type QueryPoolUnbondingDelegationsRequest struct {
	PoolId     uint32             `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryPoolUnbondingDelegationsRequest is request type for the Query/PoolUnbondingDelegations RPC method.

func NewQueryPoolUnbondingDelegationsRequest

func NewQueryPoolUnbondingDelegationsRequest(poolID uint32, pagination *query.PageRequest) *QueryPoolUnbondingDelegationsRequest

NewQueryPoolUnbondingDelegationsRequest creates a new QueryPoolUnbondingDelegationsRequest instance

func (*QueryPoolUnbondingDelegationsRequest) Descriptor

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

func (*QueryPoolUnbondingDelegationsRequest) GetPagination

func (*QueryPoolUnbondingDelegationsRequest) GetPoolId

func (*QueryPoolUnbondingDelegationsRequest) Marshal

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

func (*QueryPoolUnbondingDelegationsRequest) MarshalTo

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

func (*QueryPoolUnbondingDelegationsRequest) MarshalToSizedBuffer

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

func (*QueryPoolUnbondingDelegationsRequest) ProtoMessage

func (*QueryPoolUnbondingDelegationsRequest) ProtoMessage()

func (*QueryPoolUnbondingDelegationsRequest) Reset

func (*QueryPoolUnbondingDelegationsRequest) Size

func (*QueryPoolUnbondingDelegationsRequest) String

func (*QueryPoolUnbondingDelegationsRequest) Unmarshal

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

func (*QueryPoolUnbondingDelegationsRequest) XXX_DiscardUnknown

func (m *QueryPoolUnbondingDelegationsRequest) XXX_DiscardUnknown()

func (*QueryPoolUnbondingDelegationsRequest) XXX_Marshal

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

func (*QueryPoolUnbondingDelegationsRequest) XXX_Merge

func (*QueryPoolUnbondingDelegationsRequest) XXX_Size

func (*QueryPoolUnbondingDelegationsRequest) XXX_Unmarshal

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

type QueryPoolUnbondingDelegationsResponse

type QueryPoolUnbondingDelegationsResponse struct {
	UnbondingDelegations []UnbondingDelegation `protobuf:"bytes,1,rep,name=unbonding_delegations,json=unbondingDelegations,proto3" json:"unbonding_delegations"`
	Pagination           *query.PageResponse   `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryPoolUnbondingDelegationsResponse is response type for the Query/PoolUnbondingDelegations RPC method.

func (*QueryPoolUnbondingDelegationsResponse) Descriptor

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

func (*QueryPoolUnbondingDelegationsResponse) GetPagination

func (*QueryPoolUnbondingDelegationsResponse) GetUnbondingDelegations

func (m *QueryPoolUnbondingDelegationsResponse) GetUnbondingDelegations() []UnbondingDelegation

func (*QueryPoolUnbondingDelegationsResponse) Marshal

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

func (*QueryPoolUnbondingDelegationsResponse) MarshalTo

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

func (*QueryPoolUnbondingDelegationsResponse) MarshalToSizedBuffer

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

func (*QueryPoolUnbondingDelegationsResponse) ProtoMessage

func (*QueryPoolUnbondingDelegationsResponse) ProtoMessage()

func (*QueryPoolUnbondingDelegationsResponse) Reset

func (*QueryPoolUnbondingDelegationsResponse) Size

func (*QueryPoolUnbondingDelegationsResponse) String

func (*QueryPoolUnbondingDelegationsResponse) Unmarshal

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

func (*QueryPoolUnbondingDelegationsResponse) XXX_DiscardUnknown

func (m *QueryPoolUnbondingDelegationsResponse) XXX_DiscardUnknown()

func (*QueryPoolUnbondingDelegationsResponse) XXX_Marshal

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

func (*QueryPoolUnbondingDelegationsResponse) XXX_Merge

func (*QueryPoolUnbondingDelegationsResponse) XXX_Size

func (*QueryPoolUnbondingDelegationsResponse) XXX_Unmarshal

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

type QueryServer

type QueryServer interface {
	// OperatorJoinedServices queries the services that an operator has joined.
	OperatorJoinedServices(context.Context, *QueryOperatorJoinedServicesRequest) (*QueryOperatorJoinedServicesResponse, error)
	// ServiceAllowedOperators queries the allowed operators for a given service.
	ServiceAllowedOperators(context.Context, *QueryServiceAllowedOperatorsRequest) (*QueryServiceAllowedOperatorsResponse, error)
	// ServiceSecuringPools queries the pools that are securing a given service.
	ServiceSecuringPools(context.Context, *QueryServiceSecuringPoolsRequest) (*QueryServiceSecuringPoolsResponse, error)
	// ServiceOperators queries the operators for a given service.
	ServiceOperators(context.Context, *QueryServiceOperatorsRequest) (*QueryServiceOperatorsResponse, error)
	// PoolDelegations queries the delegations info for the given pool.
	PoolDelegations(context.Context, *QueryPoolDelegationsRequest) (*QueryPoolDelegationsResponse, error)
	// PoolDelegation queries the delegation info for the given pool and
	// delegator.
	PoolDelegation(context.Context, *QueryPoolDelegationRequest) (*QueryPoolDelegationResponse, error)
	// PoolUnbondingDelegations queries the unbonding delegations info for the
	// given pool.
	PoolUnbondingDelegations(context.Context, *QueryPoolUnbondingDelegationsRequest) (*QueryPoolUnbondingDelegationsResponse, error)
	// PoolUnbondingDelegation queries the unbonding delegation info for the given
	// pool and delegator.
	PoolUnbondingDelegation(context.Context, *QueryPoolUnbondingDelegationRequest) (*QueryPoolUnbondingDelegationResponse, error)
	// OperatorDelegations queries the delegations info for the given operator.
	OperatorDelegations(context.Context, *QueryOperatorDelegationsRequest) (*QueryOperatorDelegationsResponse, error)
	// OperatorDelegation queries the delegation info for the given operator and
	// delegator.
	OperatorDelegation(context.Context, *QueryOperatorDelegationRequest) (*QueryOperatorDelegationResponse, error)
	// OperatorUnbondingDelegations queries the unbonding delegations info for the
	// given operator.
	OperatorUnbondingDelegations(context.Context, *QueryOperatorUnbondingDelegationsRequest) (*QueryOperatorUnbondingDelegationsResponse, error)
	// OperatorUnbondingDelegation queries the unbonding delegation info for the
	// given operator and delegator.
	OperatorUnbondingDelegation(context.Context, *QueryOperatorUnbondingDelegationRequest) (*QueryOperatorUnbondingDelegationResponse, error)
	// ServiceDelegations queries the delegations info for the given service.
	ServiceDelegations(context.Context, *QueryServiceDelegationsRequest) (*QueryServiceDelegationsResponse, error)
	// ServiceDelegation queries the delegation info for the given service and
	// delegator.
	ServiceDelegation(context.Context, *QueryServiceDelegationRequest) (*QueryServiceDelegationResponse, error)
	// ServiceUnbondingDelegations queries the unbonding delegations info for the
	// given service.
	ServiceUnbondingDelegations(context.Context, *QueryServiceUnbondingDelegationsRequest) (*QueryServiceUnbondingDelegationsResponse, error)
	// ServiceUnbondingDelegation queries the unbonding delegation info for the
	// given service and delegator.
	ServiceUnbondingDelegation(context.Context, *QueryServiceUnbondingDelegationRequest) (*QueryServiceUnbondingDelegationResponse, error)
	// DelegatorPoolDelegations queries all the pool delegations of a given
	// delegator address.
	DelegatorPoolDelegations(context.Context, *QueryDelegatorPoolDelegationsRequest) (*QueryDelegatorPoolDelegationsResponse, error)
	// DelegatorPoolUnbondingDelegations queries all the pool unbonding
	// delegations of a given delegator address.
	DelegatorPoolUnbondingDelegations(context.Context, *QueryDelegatorPoolUnbondingDelegationsRequest) (*QueryDelegatorPoolUnbondingDelegationsResponse, error)
	// DelegatorOperatorDelegations queries all the operator delegations of a
	// given delegator address.
	DelegatorOperatorDelegations(context.Context, *QueryDelegatorOperatorDelegationsRequest) (*QueryDelegatorOperatorDelegationsResponse, error)
	// DelegatorOperatorUnbondingDelegations queries all the operator unbonding
	// delegations of a given delegator address.
	DelegatorOperatorUnbondingDelegations(context.Context, *QueryDelegatorOperatorUnbondingDelegationsRequest) (*QueryDelegatorOperatorUnbondingDelegationsResponse, error)
	// DelegatorServiceDelegations queries all the service delegations of a given
	// delegator address.
	DelegatorServiceDelegations(context.Context, *QueryDelegatorServiceDelegationsRequest) (*QueryDelegatorServiceDelegationsResponse, error)
	// DelegatorServiceUnbondingDelegations queries all the service unbonding
	// delegations of a given delegator address.
	DelegatorServiceUnbondingDelegations(context.Context, *QueryDelegatorServiceUnbondingDelegationsRequest) (*QueryDelegatorServiceUnbondingDelegationsResponse, error)
	// DelegatorPools queries all pools info for given delegator
	// address.
	DelegatorPools(context.Context, *QueryDelegatorPoolsRequest) (*QueryDelegatorPoolsResponse, error)
	// DelegatorPool queries the pool info for given delegator and pool id.
	DelegatorPool(context.Context, *QueryDelegatorPoolRequest) (*QueryDelegatorPoolResponse, error)
	// DelegatorOperators queries all operators info for given delegator
	DelegatorOperators(context.Context, *QueryDelegatorOperatorsRequest) (*QueryDelegatorOperatorsResponse, error)
	// DelegatorOperator queries the operator info for given delegator and
	// operator id.
	DelegatorOperator(context.Context, *QueryDelegatorOperatorRequest) (*QueryDelegatorOperatorResponse, error)
	// DelegatorServices queries all services info for given delegator
	DelegatorServices(context.Context, *QueryDelegatorServicesRequest) (*QueryDelegatorServicesResponse, error)
	// DelegatorService queries the service info for given delegator and service
	// id.
	DelegatorService(context.Context, *QueryDelegatorServiceRequest) (*QueryDelegatorServiceResponse, error)
	// UserPreferences queries the user preferences.
	UserPreferences(context.Context, *QueryUserPreferencesRequest) (*QueryUserPreferencesResponse, error)
	// Params queries the restaking parameters.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
}

QueryServer is the server API for Query service.

type QueryServiceAllowedOperatorsRequest

type QueryServiceAllowedOperatorsRequest struct {
	// ServiceId is the ID of the service to query
	ServiceId uint32 `protobuf:"varint,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// Pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryServiceAllowedOperatorsRequest is request type for the Query/ServiceAllowedOperators RPC method.

func NewQueryServiceAllowedOperatorsRequest

func NewQueryServiceAllowedOperatorsRequest(serviceID uint32, pagination *query.PageRequest) *QueryServiceAllowedOperatorsRequest

NewQueryServiceAllowedOperatorsRequest creates a new QueryServiceAllowedOperatorsRequest instance

func (*QueryServiceAllowedOperatorsRequest) Descriptor

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

func (*QueryServiceAllowedOperatorsRequest) GetPagination

func (*QueryServiceAllowedOperatorsRequest) GetServiceId

func (m *QueryServiceAllowedOperatorsRequest) GetServiceId() uint32

func (*QueryServiceAllowedOperatorsRequest) Marshal

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

func (*QueryServiceAllowedOperatorsRequest) MarshalTo

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

func (*QueryServiceAllowedOperatorsRequest) MarshalToSizedBuffer

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

func (*QueryServiceAllowedOperatorsRequest) ProtoMessage

func (*QueryServiceAllowedOperatorsRequest) ProtoMessage()

func (*QueryServiceAllowedOperatorsRequest) Reset

func (*QueryServiceAllowedOperatorsRequest) Size

func (*QueryServiceAllowedOperatorsRequest) String

func (*QueryServiceAllowedOperatorsRequest) Unmarshal

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

func (*QueryServiceAllowedOperatorsRequest) XXX_DiscardUnknown

func (m *QueryServiceAllowedOperatorsRequest) XXX_DiscardUnknown()

func (*QueryServiceAllowedOperatorsRequest) XXX_Marshal

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

func (*QueryServiceAllowedOperatorsRequest) XXX_Merge

func (*QueryServiceAllowedOperatorsRequest) XXX_Size

func (*QueryServiceAllowedOperatorsRequest) XXX_Unmarshal

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

type QueryServiceAllowedOperatorsResponse

type QueryServiceAllowedOperatorsResponse struct {
	// OperatorIds is the list of operators allowed to validate the service
	OperatorIds []uint32 `protobuf:"varint,1,rep,packed,name=operator_ids,json=operatorIds,proto3" json:"operator_ids,omitempty"`
	// Pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryServiceAllowedOperatorsResponse is response type for the Query/ServiceAllowedOperators RPC method.

func (*QueryServiceAllowedOperatorsResponse) Descriptor

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

func (*QueryServiceAllowedOperatorsResponse) GetOperatorIds

func (m *QueryServiceAllowedOperatorsResponse) GetOperatorIds() []uint32

func (*QueryServiceAllowedOperatorsResponse) GetPagination

func (*QueryServiceAllowedOperatorsResponse) Marshal

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

func (*QueryServiceAllowedOperatorsResponse) MarshalTo

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

func (*QueryServiceAllowedOperatorsResponse) MarshalToSizedBuffer

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

func (*QueryServiceAllowedOperatorsResponse) ProtoMessage

func (*QueryServiceAllowedOperatorsResponse) ProtoMessage()

func (*QueryServiceAllowedOperatorsResponse) Reset

func (*QueryServiceAllowedOperatorsResponse) Size

func (*QueryServiceAllowedOperatorsResponse) String

func (*QueryServiceAllowedOperatorsResponse) Unmarshal

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

func (*QueryServiceAllowedOperatorsResponse) XXX_DiscardUnknown

func (m *QueryServiceAllowedOperatorsResponse) XXX_DiscardUnknown()

func (*QueryServiceAllowedOperatorsResponse) XXX_Marshal

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

func (*QueryServiceAllowedOperatorsResponse) XXX_Merge

func (*QueryServiceAllowedOperatorsResponse) XXX_Size

func (*QueryServiceAllowedOperatorsResponse) XXX_Unmarshal

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

type QueryServiceDelegationRequest

type QueryServiceDelegationRequest struct {
	// ServiceId is the ID of the service to query
	ServiceId uint32 `protobuf:"varint,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// DelegatorAddress is the address of the delegator to query
	DelegatorAddress string `protobuf:"bytes,2,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
}

QueryServiceDelegationRequest is request type for the Query/ServiceDelegation RPC method.

func NewQueryServiceDelegationRequest

func NewQueryServiceDelegationRequest(serviceID uint32, delegatorAddress string) *QueryServiceDelegationRequest

NewQueryServiceDelegationRequest creates a new QueryServiceDelegationRequest instance

func (*QueryServiceDelegationRequest) Descriptor

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

func (*QueryServiceDelegationRequest) GetDelegatorAddress

func (m *QueryServiceDelegationRequest) GetDelegatorAddress() string

func (*QueryServiceDelegationRequest) GetServiceId

func (m *QueryServiceDelegationRequest) GetServiceId() uint32

func (*QueryServiceDelegationRequest) Marshal

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

func (*QueryServiceDelegationRequest) MarshalTo

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

func (*QueryServiceDelegationRequest) MarshalToSizedBuffer

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

func (*QueryServiceDelegationRequest) ProtoMessage

func (*QueryServiceDelegationRequest) ProtoMessage()

func (*QueryServiceDelegationRequest) Reset

func (m *QueryServiceDelegationRequest) Reset()

func (*QueryServiceDelegationRequest) Size

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

func (*QueryServiceDelegationRequest) String

func (*QueryServiceDelegationRequest) Unmarshal

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

func (*QueryServiceDelegationRequest) XXX_DiscardUnknown

func (m *QueryServiceDelegationRequest) XXX_DiscardUnknown()

func (*QueryServiceDelegationRequest) XXX_Marshal

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

func (*QueryServiceDelegationRequest) XXX_Merge

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

func (*QueryServiceDelegationRequest) XXX_Size

func (m *QueryServiceDelegationRequest) XXX_Size() int

func (*QueryServiceDelegationRequest) XXX_Unmarshal

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

type QueryServiceDelegationResponse

type QueryServiceDelegationResponse struct {
	// Delegation is the delegation
	Delegation DelegationResponse `protobuf:"bytes,1,opt,name=delegation,proto3" json:"delegation"`
}

QueryServiceDelegationResponse is response type for the Query/ServiceDelegation RPC method.

func (*QueryServiceDelegationResponse) Descriptor

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

func (*QueryServiceDelegationResponse) GetDelegation

func (*QueryServiceDelegationResponse) Marshal

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

func (*QueryServiceDelegationResponse) MarshalTo

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

func (*QueryServiceDelegationResponse) MarshalToSizedBuffer

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

func (*QueryServiceDelegationResponse) ProtoMessage

func (*QueryServiceDelegationResponse) ProtoMessage()

func (*QueryServiceDelegationResponse) Reset

func (m *QueryServiceDelegationResponse) Reset()

func (*QueryServiceDelegationResponse) Size

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

func (*QueryServiceDelegationResponse) String

func (*QueryServiceDelegationResponse) Unmarshal

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

func (*QueryServiceDelegationResponse) XXX_DiscardUnknown

func (m *QueryServiceDelegationResponse) XXX_DiscardUnknown()

func (*QueryServiceDelegationResponse) XXX_Marshal

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

func (*QueryServiceDelegationResponse) XXX_Merge

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

func (*QueryServiceDelegationResponse) XXX_Size

func (m *QueryServiceDelegationResponse) XXX_Size() int

func (*QueryServiceDelegationResponse) XXX_Unmarshal

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

type QueryServiceDelegationsRequest

type QueryServiceDelegationsRequest struct {
	// ServiceId is the ID of the service to query
	ServiceId uint32 `protobuf:"varint,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// Pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryServiceDelegationsRequest is request type for the Query/ServiceDelegations RPC method.

func NewQueryServiceDelegationsRequest

func NewQueryServiceDelegationsRequest(serviceID uint32, pagination *query.PageRequest) *QueryServiceDelegationsRequest

NewQueryServiceDelegationsRequest creates a new QueryServiceDelegationsRequest instance

func (*QueryServiceDelegationsRequest) Descriptor

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

func (*QueryServiceDelegationsRequest) GetPagination

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

func (*QueryServiceDelegationsRequest) GetServiceId

func (m *QueryServiceDelegationsRequest) GetServiceId() uint32

func (*QueryServiceDelegationsRequest) Marshal

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

func (*QueryServiceDelegationsRequest) MarshalTo

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

func (*QueryServiceDelegationsRequest) MarshalToSizedBuffer

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

func (*QueryServiceDelegationsRequest) ProtoMessage

func (*QueryServiceDelegationsRequest) ProtoMessage()

func (*QueryServiceDelegationsRequest) Reset

func (m *QueryServiceDelegationsRequest) Reset()

func (*QueryServiceDelegationsRequest) Size

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

func (*QueryServiceDelegationsRequest) String

func (*QueryServiceDelegationsRequest) Unmarshal

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

func (*QueryServiceDelegationsRequest) XXX_DiscardUnknown

func (m *QueryServiceDelegationsRequest) XXX_DiscardUnknown()

func (*QueryServiceDelegationsRequest) XXX_Marshal

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

func (*QueryServiceDelegationsRequest) XXX_Merge

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

func (*QueryServiceDelegationsRequest) XXX_Size

func (m *QueryServiceDelegationsRequest) XXX_Size() int

func (*QueryServiceDelegationsRequest) XXX_Unmarshal

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

type QueryServiceDelegationsResponse

type QueryServiceDelegationsResponse struct {
	// Delegations is the list of delegations
	Delegations []DelegationResponse `protobuf:"bytes,1,rep,name=delegations,proto3" json:"delegations"`
	// Pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryServiceDelegationsResponse is response type for the Query/ServiceDelegations RPC method.

func (*QueryServiceDelegationsResponse) Descriptor

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

func (*QueryServiceDelegationsResponse) GetDelegations

func (*QueryServiceDelegationsResponse) GetPagination

func (*QueryServiceDelegationsResponse) Marshal

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

func (*QueryServiceDelegationsResponse) MarshalTo

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

func (*QueryServiceDelegationsResponse) MarshalToSizedBuffer

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

func (*QueryServiceDelegationsResponse) ProtoMessage

func (*QueryServiceDelegationsResponse) ProtoMessage()

func (*QueryServiceDelegationsResponse) Reset

func (*QueryServiceDelegationsResponse) Size

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

func (*QueryServiceDelegationsResponse) String

func (*QueryServiceDelegationsResponse) Unmarshal

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

func (*QueryServiceDelegationsResponse) XXX_DiscardUnknown

func (m *QueryServiceDelegationsResponse) XXX_DiscardUnknown()

func (*QueryServiceDelegationsResponse) XXX_Marshal

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

func (*QueryServiceDelegationsResponse) XXX_Merge

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

func (*QueryServiceDelegationsResponse) XXX_Size

func (m *QueryServiceDelegationsResponse) XXX_Size() int

func (*QueryServiceDelegationsResponse) XXX_Unmarshal

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

type QueryServiceOperatorsRequest

type QueryServiceOperatorsRequest struct {
	// ServiceId is the ID of the service to query
	ServiceId uint32 `protobuf:"varint,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// Pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryServiceOperatorsRequest is request type for the Query/ServiceOperators RPC method.

func NewQueryServiceOperatorsRequest

func NewQueryServiceOperatorsRequest(serviceID uint32, pagination *query.PageRequest) *QueryServiceOperatorsRequest

NewQueryServiceOperatorsRequest creates a new QueryServiceOperatorsRequest instance

func (*QueryServiceOperatorsRequest) Descriptor

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

func (*QueryServiceOperatorsRequest) GetPagination

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

func (*QueryServiceOperatorsRequest) GetServiceId

func (m *QueryServiceOperatorsRequest) GetServiceId() uint32

func (*QueryServiceOperatorsRequest) Marshal

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

func (*QueryServiceOperatorsRequest) MarshalTo

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

func (*QueryServiceOperatorsRequest) MarshalToSizedBuffer

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

func (*QueryServiceOperatorsRequest) ProtoMessage

func (*QueryServiceOperatorsRequest) ProtoMessage()

func (*QueryServiceOperatorsRequest) Reset

func (m *QueryServiceOperatorsRequest) Reset()

func (*QueryServiceOperatorsRequest) Size

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

func (*QueryServiceOperatorsRequest) String

func (*QueryServiceOperatorsRequest) Unmarshal

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

func (*QueryServiceOperatorsRequest) XXX_DiscardUnknown

func (m *QueryServiceOperatorsRequest) XXX_DiscardUnknown()

func (*QueryServiceOperatorsRequest) XXX_Marshal

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

func (*QueryServiceOperatorsRequest) XXX_Merge

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

func (*QueryServiceOperatorsRequest) XXX_Size

func (m *QueryServiceOperatorsRequest) XXX_Size() int

func (*QueryServiceOperatorsRequest) XXX_Unmarshal

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

type QueryServiceOperatorsResponse

type QueryServiceOperatorsResponse struct {
	// Operators is the list of operators
	Operators []types.Operator `protobuf:"bytes,1,rep,name=operators,proto3" json:"operators"`
	// Pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryServiceOperatorsResponse is response type for the Query/ServiceOperators RPC method.

func (*QueryServiceOperatorsResponse) Descriptor

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

func (*QueryServiceOperatorsResponse) GetOperators

func (m *QueryServiceOperatorsResponse) GetOperators() []types.Operator

func (*QueryServiceOperatorsResponse) GetPagination

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

func (*QueryServiceOperatorsResponse) Marshal

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

func (*QueryServiceOperatorsResponse) MarshalTo

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

func (*QueryServiceOperatorsResponse) MarshalToSizedBuffer

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

func (*QueryServiceOperatorsResponse) ProtoMessage

func (*QueryServiceOperatorsResponse) ProtoMessage()

func (*QueryServiceOperatorsResponse) Reset

func (m *QueryServiceOperatorsResponse) Reset()

func (*QueryServiceOperatorsResponse) Size

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

func (*QueryServiceOperatorsResponse) String

func (*QueryServiceOperatorsResponse) Unmarshal

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

func (*QueryServiceOperatorsResponse) XXX_DiscardUnknown

func (m *QueryServiceOperatorsResponse) XXX_DiscardUnknown()

func (*QueryServiceOperatorsResponse) XXX_Marshal

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

func (*QueryServiceOperatorsResponse) XXX_Merge

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

func (*QueryServiceOperatorsResponse) XXX_Size

func (m *QueryServiceOperatorsResponse) XXX_Size() int

func (*QueryServiceOperatorsResponse) XXX_Unmarshal

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

type QueryServiceSecuringPoolsRequest

type QueryServiceSecuringPoolsRequest struct {
	// ServiceId is the ID of the service to query.
	ServiceId uint32 `protobuf:"varint,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// Pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryServiceSecuringPoolsRequest is request type for the Query/ServiceSecuringPools RPC method.

func NewQueryServiceSecuringPoolsRequest

func NewQueryServiceSecuringPoolsRequest(serviceID uint32, pagination *query.PageRequest) *QueryServiceSecuringPoolsRequest

NewQueryServiceSecuringPoolsRequest creates a new QueryServiceSecuringPoolsRequest instance

func (*QueryServiceSecuringPoolsRequest) Descriptor

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

func (*QueryServiceSecuringPoolsRequest) GetPagination

func (*QueryServiceSecuringPoolsRequest) GetServiceId

func (m *QueryServiceSecuringPoolsRequest) GetServiceId() uint32

func (*QueryServiceSecuringPoolsRequest) Marshal

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

func (*QueryServiceSecuringPoolsRequest) MarshalTo

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

func (*QueryServiceSecuringPoolsRequest) MarshalToSizedBuffer

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

func (*QueryServiceSecuringPoolsRequest) ProtoMessage

func (*QueryServiceSecuringPoolsRequest) ProtoMessage()

func (*QueryServiceSecuringPoolsRequest) Reset

func (*QueryServiceSecuringPoolsRequest) Size

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

func (*QueryServiceSecuringPoolsRequest) String

func (*QueryServiceSecuringPoolsRequest) Unmarshal

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

func (*QueryServiceSecuringPoolsRequest) XXX_DiscardUnknown

func (m *QueryServiceSecuringPoolsRequest) XXX_DiscardUnknown()

func (*QueryServiceSecuringPoolsRequest) XXX_Marshal

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

func (*QueryServiceSecuringPoolsRequest) XXX_Merge

func (*QueryServiceSecuringPoolsRequest) XXX_Size

func (m *QueryServiceSecuringPoolsRequest) XXX_Size() int

func (*QueryServiceSecuringPoolsRequest) XXX_Unmarshal

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

type QueryServiceSecuringPoolsResponse

type QueryServiceSecuringPoolsResponse struct {
	// PoolIds is the list of pools from which the service is allowed to borrow
	// security.
	PoolIds []uint32 `protobuf:"varint,1,rep,packed,name=pool_ids,json=poolIds,proto3" json:"pool_ids,omitempty"`
	// Pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryServiceSecuringPoolsResponse is response type for the Query/ServiceSecuringPools RPC method.

func (*QueryServiceSecuringPoolsResponse) Descriptor

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

func (*QueryServiceSecuringPoolsResponse) GetPagination

func (*QueryServiceSecuringPoolsResponse) GetPoolIds

func (m *QueryServiceSecuringPoolsResponse) GetPoolIds() []uint32

func (*QueryServiceSecuringPoolsResponse) Marshal

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

func (*QueryServiceSecuringPoolsResponse) MarshalTo

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

func (*QueryServiceSecuringPoolsResponse) MarshalToSizedBuffer

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

func (*QueryServiceSecuringPoolsResponse) ProtoMessage

func (*QueryServiceSecuringPoolsResponse) ProtoMessage()

func (*QueryServiceSecuringPoolsResponse) Reset

func (*QueryServiceSecuringPoolsResponse) Size

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

func (*QueryServiceSecuringPoolsResponse) String

func (*QueryServiceSecuringPoolsResponse) Unmarshal

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

func (*QueryServiceSecuringPoolsResponse) XXX_DiscardUnknown

func (m *QueryServiceSecuringPoolsResponse) XXX_DiscardUnknown()

func (*QueryServiceSecuringPoolsResponse) XXX_Marshal

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

func (*QueryServiceSecuringPoolsResponse) XXX_Merge

func (*QueryServiceSecuringPoolsResponse) XXX_Size

func (m *QueryServiceSecuringPoolsResponse) XXX_Size() int

func (*QueryServiceSecuringPoolsResponse) XXX_Unmarshal

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

type QueryServiceUnbondingDelegationRequest

type QueryServiceUnbondingDelegationRequest struct {
	// ServiceId is the ID of the service to query
	ServiceId uint32 `protobuf:"varint,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// DelegatorAddress is the address of the delegator to query
	DelegatorAddress string `protobuf:"bytes,2,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
}

QueryServiceUnbondingDelegationRequest is request type for the Query/ServiceUnbondingDelegation RPC method.

func NewQueryServiceUnbondingDelegationRequest

func NewQueryServiceUnbondingDelegationRequest(serviceID uint32, delegatorAddress string) *QueryServiceUnbondingDelegationRequest

NewQueryServiceUnbondingDelegationRequest creates a new QueryServiceUnbondingDelegationRequest instance

func (*QueryServiceUnbondingDelegationRequest) Descriptor

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

func (*QueryServiceUnbondingDelegationRequest) GetDelegatorAddress

func (m *QueryServiceUnbondingDelegationRequest) GetDelegatorAddress() string

func (*QueryServiceUnbondingDelegationRequest) GetServiceId

func (*QueryServiceUnbondingDelegationRequest) Marshal

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

func (*QueryServiceUnbondingDelegationRequest) MarshalTo

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

func (*QueryServiceUnbondingDelegationRequest) MarshalToSizedBuffer

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

func (*QueryServiceUnbondingDelegationRequest) ProtoMessage

func (*QueryServiceUnbondingDelegationRequest) Reset

func (*QueryServiceUnbondingDelegationRequest) Size

func (*QueryServiceUnbondingDelegationRequest) String

func (*QueryServiceUnbondingDelegationRequest) Unmarshal

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

func (*QueryServiceUnbondingDelegationRequest) XXX_DiscardUnknown

func (m *QueryServiceUnbondingDelegationRequest) XXX_DiscardUnknown()

func (*QueryServiceUnbondingDelegationRequest) XXX_Marshal

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

func (*QueryServiceUnbondingDelegationRequest) XXX_Merge

func (*QueryServiceUnbondingDelegationRequest) XXX_Size

func (*QueryServiceUnbondingDelegationRequest) XXX_Unmarshal

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

type QueryServiceUnbondingDelegationResponse

type QueryServiceUnbondingDelegationResponse struct {
	// UnbondingDelegation is the unbonding delegation
	UnbondingDelegation UnbondingDelegation `protobuf:"bytes,1,opt,name=unbonding_delegation,json=unbondingDelegation,proto3" json:"unbonding_delegation"`
}

QueryServiceUnbondingDelegationResponse is response type for the Query/ServiceUnbondingDelegation RPC method.

func (*QueryServiceUnbondingDelegationResponse) Descriptor

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

func (*QueryServiceUnbondingDelegationResponse) GetUnbondingDelegation

func (*QueryServiceUnbondingDelegationResponse) Marshal

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

func (*QueryServiceUnbondingDelegationResponse) MarshalTo

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

func (*QueryServiceUnbondingDelegationResponse) MarshalToSizedBuffer

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

func (*QueryServiceUnbondingDelegationResponse) ProtoMessage

func (*QueryServiceUnbondingDelegationResponse) Reset

func (*QueryServiceUnbondingDelegationResponse) Size

func (*QueryServiceUnbondingDelegationResponse) String

func (*QueryServiceUnbondingDelegationResponse) Unmarshal

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

func (*QueryServiceUnbondingDelegationResponse) XXX_DiscardUnknown

func (m *QueryServiceUnbondingDelegationResponse) XXX_DiscardUnknown()

func (*QueryServiceUnbondingDelegationResponse) XXX_Marshal

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

func (*QueryServiceUnbondingDelegationResponse) XXX_Merge

func (*QueryServiceUnbondingDelegationResponse) XXX_Size

func (*QueryServiceUnbondingDelegationResponse) XXX_Unmarshal

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

type QueryServiceUnbondingDelegationsRequest

type QueryServiceUnbondingDelegationsRequest struct {
	// ServiceId is the ID of the service to query
	ServiceId uint32 `protobuf:"varint,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// Pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryServiceUnbondingDelegationsRequest is request type for the Query/ServiceUnbondingDelegations RPC method.

func NewQueryServiceUnbondingDelegationsRequest

func NewQueryServiceUnbondingDelegationsRequest(serviceID uint32, pagination *query.PageRequest) *QueryServiceUnbondingDelegationsRequest

NewQueryServiceUnbondingDelegationsRequest creates a new QueryServiceUnbondingDelegationsRequest instance

func (*QueryServiceUnbondingDelegationsRequest) Descriptor

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

func (*QueryServiceUnbondingDelegationsRequest) GetPagination

func (*QueryServiceUnbondingDelegationsRequest) GetServiceId

func (*QueryServiceUnbondingDelegationsRequest) Marshal

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

func (*QueryServiceUnbondingDelegationsRequest) MarshalTo

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

func (*QueryServiceUnbondingDelegationsRequest) MarshalToSizedBuffer

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

func (*QueryServiceUnbondingDelegationsRequest) ProtoMessage

func (*QueryServiceUnbondingDelegationsRequest) Reset

func (*QueryServiceUnbondingDelegationsRequest) Size

func (*QueryServiceUnbondingDelegationsRequest) String

func (*QueryServiceUnbondingDelegationsRequest) Unmarshal

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

func (*QueryServiceUnbondingDelegationsRequest) XXX_DiscardUnknown

func (m *QueryServiceUnbondingDelegationsRequest) XXX_DiscardUnknown()

func (*QueryServiceUnbondingDelegationsRequest) XXX_Marshal

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

func (*QueryServiceUnbondingDelegationsRequest) XXX_Merge

func (*QueryServiceUnbondingDelegationsRequest) XXX_Size

func (*QueryServiceUnbondingDelegationsRequest) XXX_Unmarshal

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

type QueryServiceUnbondingDelegationsResponse

type QueryServiceUnbondingDelegationsResponse struct {
	// UnbondingDelegations is the list of unbonding delegations
	UnbondingDelegations []UnbondingDelegation `protobuf:"bytes,1,rep,name=unbonding_delegations,json=unbondingDelegations,proto3" json:"unbonding_delegations"`
	// Pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryServiceUnbondingDelegationsResponse is response type for the Query/ServiceUnbondingDelegations RPC method.

func (*QueryServiceUnbondingDelegationsResponse) Descriptor

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

func (*QueryServiceUnbondingDelegationsResponse) GetPagination

func (*QueryServiceUnbondingDelegationsResponse) GetUnbondingDelegations

func (m *QueryServiceUnbondingDelegationsResponse) GetUnbondingDelegations() []UnbondingDelegation

func (*QueryServiceUnbondingDelegationsResponse) Marshal

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

func (*QueryServiceUnbondingDelegationsResponse) MarshalTo

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

func (*QueryServiceUnbondingDelegationsResponse) MarshalToSizedBuffer

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

func (*QueryServiceUnbondingDelegationsResponse) ProtoMessage

func (*QueryServiceUnbondingDelegationsResponse) Reset

func (*QueryServiceUnbondingDelegationsResponse) Size

func (*QueryServiceUnbondingDelegationsResponse) String

func (*QueryServiceUnbondingDelegationsResponse) Unmarshal

func (*QueryServiceUnbondingDelegationsResponse) XXX_DiscardUnknown

func (m *QueryServiceUnbondingDelegationsResponse) XXX_DiscardUnknown()

func (*QueryServiceUnbondingDelegationsResponse) XXX_Marshal

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

func (*QueryServiceUnbondingDelegationsResponse) XXX_Merge

func (*QueryServiceUnbondingDelegationsResponse) XXX_Size

func (*QueryServiceUnbondingDelegationsResponse) XXX_Unmarshal

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

type QueryUserPreferencesRequest

type QueryUserPreferencesRequest struct {
	// UserAddress is the address of the user to query the preferences for
	UserAddress string `protobuf:"bytes,1,opt,name=user_address,json=userAddress,proto3" json:"user_address,omitempty"`
}

QueryUserPreferences is request type for the Query/UserPreferences RPC method.

func NewQueryUserPreferencesRequest

func NewQueryUserPreferencesRequest(userAddress string) *QueryUserPreferencesRequest

NewQueryUserPreferencesRequest creates a new QueryUserPreferencesRequest instance

func (*QueryUserPreferencesRequest) Descriptor

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

func (*QueryUserPreferencesRequest) GetUserAddress

func (m *QueryUserPreferencesRequest) GetUserAddress() string

func (*QueryUserPreferencesRequest) Marshal

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

func (*QueryUserPreferencesRequest) MarshalTo

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

func (*QueryUserPreferencesRequest) MarshalToSizedBuffer

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

func (*QueryUserPreferencesRequest) ProtoMessage

func (*QueryUserPreferencesRequest) ProtoMessage()

func (*QueryUserPreferencesRequest) Reset

func (m *QueryUserPreferencesRequest) Reset()

func (*QueryUserPreferencesRequest) Size

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

func (*QueryUserPreferencesRequest) String

func (m *QueryUserPreferencesRequest) String() string

func (*QueryUserPreferencesRequest) Unmarshal

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

func (*QueryUserPreferencesRequest) XXX_DiscardUnknown

func (m *QueryUserPreferencesRequest) XXX_DiscardUnknown()

func (*QueryUserPreferencesRequest) XXX_Marshal

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

func (*QueryUserPreferencesRequest) XXX_Merge

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

func (*QueryUserPreferencesRequest) XXX_Size

func (m *QueryUserPreferencesRequest) XXX_Size() int

func (*QueryUserPreferencesRequest) XXX_Unmarshal

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

type QueryUserPreferencesResponse

type QueryUserPreferencesResponse struct {
	// Preferences is the user preferences
	Preferences UserPreferences `protobuf:"bytes,1,opt,name=preferences,proto3" json:"preferences"`
}

QueryUserPreferencesResponse is response type for the Query/UserPreferences RPC method.

func (*QueryUserPreferencesResponse) Descriptor

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

func (*QueryUserPreferencesResponse) GetPreferences

func (m *QueryUserPreferencesResponse) GetPreferences() UserPreferences

func (*QueryUserPreferencesResponse) Marshal

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

func (*QueryUserPreferencesResponse) MarshalTo

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

func (*QueryUserPreferencesResponse) MarshalToSizedBuffer

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

func (*QueryUserPreferencesResponse) ProtoMessage

func (*QueryUserPreferencesResponse) ProtoMessage()

func (*QueryUserPreferencesResponse) Reset

func (m *QueryUserPreferencesResponse) Reset()

func (*QueryUserPreferencesResponse) Size

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

func (*QueryUserPreferencesResponse) String

func (*QueryUserPreferencesResponse) Unmarshal

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

func (*QueryUserPreferencesResponse) XXX_DiscardUnknown

func (m *QueryUserPreferencesResponse) XXX_DiscardUnknown()

func (*QueryUserPreferencesResponse) XXX_Marshal

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

func (*QueryUserPreferencesResponse) XXX_Merge

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

func (*QueryUserPreferencesResponse) XXX_Size

func (m *QueryUserPreferencesResponse) XXX_Size() int

func (*QueryUserPreferencesResponse) XXX_Unmarshal

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

type RestakeRestrictionFn

type RestakeRestrictionFn func(ctx context.Context, restakerAddress string, restakedAmount sdk.Coins, target DelegationTarget) error

RestakeRestrictionFn is a function that checks if a restake operation is allowed.

type RestakingHooks

type RestakingHooks interface {
	PoolRestakingHooks
	OperatorRestakingHooks
	ServiceRestakingHooks
	AfterUnbondingInitiated(ctx context.Context, unbondingDelegationID uint64) error
	AfterUserPreferencesModified(ctx context.Context, userAddress string, oldPreferences, newPreferences UserPreferences) error
}

type ServiceAllowedOperators

type ServiceAllowedOperators struct {
	// ServiceID is the ID of the service.
	ServiceID uint32 `protobuf:"varint,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// OperatorIDs defines the allowed operator IDs.
	OperatorIDs []uint32 `protobuf:"varint,2,rep,packed,name=operator_ids,json=operatorIds,proto3" json:"operator_ids,omitempty"`
}

ServiceAllowedOperators represents the operators allowed to secure a a service.

func NewServiceAllowedOperators

func NewServiceAllowedOperators(serviceID uint32, operatorIDs []uint32) ServiceAllowedOperators

NewServiceAllowedOperators creates a new instance of ServiceAllowedOperators.

func (*ServiceAllowedOperators) Descriptor

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

func (*ServiceAllowedOperators) GetOperatorIDs

func (m *ServiceAllowedOperators) GetOperatorIDs() []uint32

func (*ServiceAllowedOperators) GetServiceID

func (m *ServiceAllowedOperators) GetServiceID() uint32

func (*ServiceAllowedOperators) Marshal

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

func (*ServiceAllowedOperators) MarshalTo

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

func (*ServiceAllowedOperators) MarshalToSizedBuffer

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

func (*ServiceAllowedOperators) ProtoMessage

func (*ServiceAllowedOperators) ProtoMessage()

func (*ServiceAllowedOperators) Reset

func (m *ServiceAllowedOperators) Reset()

func (*ServiceAllowedOperators) Size

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

func (*ServiceAllowedOperators) String

func (m *ServiceAllowedOperators) String() string

func (*ServiceAllowedOperators) Unmarshal

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

func (*ServiceAllowedOperators) Validate

func (r *ServiceAllowedOperators) Validate() error

func (*ServiceAllowedOperators) XXX_DiscardUnknown

func (m *ServiceAllowedOperators) XXX_DiscardUnknown()

func (*ServiceAllowedOperators) XXX_Marshal

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

func (*ServiceAllowedOperators) XXX_Merge

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

func (*ServiceAllowedOperators) XXX_Size

func (m *ServiceAllowedOperators) XXX_Size() int

func (*ServiceAllowedOperators) XXX_Unmarshal

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

type ServiceRestakingHooks

type ServiceRestakingHooks interface {
	BeforeServiceDelegationCreated(ctx context.Context, serviceID uint32, delegator string) error
	BeforeServiceDelegationSharesModified(ctx context.Context, serviceID uint32, delegator string) error
	AfterServiceDelegationModified(ctx context.Context, serviceID uint32, delegator string) error
	BeforeServiceDelegationRemoved(ctx context.Context, serviceID uint32, delegator string) error
}

type ServiceSecuringPools

type ServiceSecuringPools struct {
	// ServiceID is the ID of the service.
	ServiceID uint32 `protobuf:"varint,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// PoolIDs defines the IDs of the pools from which the service can borrow
	// security.
	PoolIDs []uint32 `protobuf:"varint,2,rep,packed,name=pool_ids,json=poolIds,proto3" json:"pool_ids,omitempty"`
}

ServiceSecuringPools represents the list pools from which a service can borrow security

func NewServiceSecuringPools

func NewServiceSecuringPools(serviceID uint32, poolIDs []uint32) ServiceSecuringPools

NewServiceSecuringPools creates a new instance of ServiceSecuringPools.

func (*ServiceSecuringPools) Descriptor

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

func (*ServiceSecuringPools) GetPoolIDs

func (m *ServiceSecuringPools) GetPoolIDs() []uint32

func (*ServiceSecuringPools) GetServiceID

func (m *ServiceSecuringPools) GetServiceID() uint32

func (*ServiceSecuringPools) Marshal

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

func (*ServiceSecuringPools) MarshalTo

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

func (*ServiceSecuringPools) MarshalToSizedBuffer

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

func (*ServiceSecuringPools) ProtoMessage

func (*ServiceSecuringPools) ProtoMessage()

func (*ServiceSecuringPools) Reset

func (m *ServiceSecuringPools) Reset()

func (*ServiceSecuringPools) Size

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

func (*ServiceSecuringPools) String

func (m *ServiceSecuringPools) String() string

func (*ServiceSecuringPools) Unmarshal

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

func (*ServiceSecuringPools) Validate

func (r *ServiceSecuringPools) Validate() error

func (*ServiceSecuringPools) XXX_DiscardUnknown

func (m *ServiceSecuringPools) XXX_DiscardUnknown()

func (*ServiceSecuringPools) XXX_Marshal

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

func (*ServiceSecuringPools) XXX_Merge

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

func (*ServiceSecuringPools) XXX_Size

func (m *ServiceSecuringPools) XXX_Size() int

func (*ServiceSecuringPools) XXX_Unmarshal

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

type ServicesKeeper

type ServicesKeeper interface {
	HasService(ctx context.Context, serviceID uint32) (bool, error)
	GetService(ctx context.Context, serviceID uint32) (servicestypes.Service, error)
	SaveService(ctx context.Context, service servicestypes.Service) error
	IterateServices(ctx context.Context, cb func(servicestypes.Service) (bool, error)) error
	GetServices(ctx context.Context) ([]servicestypes.Service, error)
	DeactivateService(ctx context.Context, serviceID uint32) error
	GetServiceParams(ctx context.Context, serviceID uint32) (servicestypes.ServiceParams, error)
}

type UnbondingDelegation

type UnbondingDelegation struct {
	// Type is the type of the unbonding delegation.
	Type DelegationType `protobuf:"varint,1,opt,name=type,proto3,enum=milkyway.restaking.v1.DelegationType" json:"type,omitempty"`
	// DelegatorAddress is the encoded address of the delegator.
	DelegatorAddress string `protobuf:"bytes,2,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	// TargetID is the ID of the target from which the tokens will be undelegated
	// (pool, service, operator)
	TargetID uint32 `protobuf:"varint,3,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
	// Entries are the unbonding delegation entries.
	Entries []UnbondingDelegationEntry `protobuf:"bytes,4,rep,name=entries,proto3" json:"entries"`
}

UnbondingDelegation stores all of a single delegator's unbonding bonds for a single target in an time-ordered list.

func MustUnmarshalUnbondingDelegation

func MustUnmarshalUnbondingDelegation(cdc codec.BinaryCodec, bz []byte) UnbondingDelegation

MustUnmarshalUnbondingDelegation unmarshals the unbonding delegation from the given bytes using the provided codec

func NewOperatorUnbondingDelegation

func NewOperatorUnbondingDelegation(
	delegatorAddress string, operatorID uint32,
	creationHeight int64, completionTime time.Time, balance sdk.Coins, id uint64,
) UnbondingDelegation

NewOperatorUnbondingDelegation creates a new UnbondingDelegation instance representing an unbonding delegation to an operator

func NewPoolUnbondingDelegation

func NewPoolUnbondingDelegation(
	delegatorAddress string, poolID uint32,
	creationHeight int64, completionTime time.Time, balance sdk.Coins, id uint64,
) UnbondingDelegation

NewPoolUnbondingDelegation creates a new UnbondingDelegation instance representing an unbonding delegation to a pool

func NewServiceUnbondingDelegation

func NewServiceUnbondingDelegation(
	delegatorAddress string, serviceID uint32,
	creationHeight int64, completionTime time.Time, balance sdk.Coins, id uint64,
) UnbondingDelegation

NewServiceUnbondingDelegation creates a new UnbondingDelegation instance representing an unbonding delegation to a service

func UnmarshalUnbondingDelegation

func UnmarshalUnbondingDelegation(cdc codec.BinaryCodec, bz []byte) (UnbondingDelegation, error)

UnmarshalUnbondingDelegation unmarshals the unbonding delegation from the given bytes using the provided codec

func (*UnbondingDelegation) AddEntry

func (ubd *UnbondingDelegation) AddEntry(creationHeight int64, completionTime time.Time, balance sdk.Coins, unbondingID uint64) bool

AddEntry allows to append a new entry to the unbonding delegation

func (*UnbondingDelegation) Descriptor

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

func (*UnbondingDelegation) Marshal

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

func (*UnbondingDelegation) MarshalTo

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

func (*UnbondingDelegation) MarshalToSizedBuffer

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

func (*UnbondingDelegation) ProtoMessage

func (*UnbondingDelegation) ProtoMessage()

func (*UnbondingDelegation) RemoveEntry

func (ubd *UnbondingDelegation) RemoveEntry(i int64)

RemoveEntry removes the entry at index i from the unbonding delegation

func (*UnbondingDelegation) Reset

func (m *UnbondingDelegation) Reset()

func (*UnbondingDelegation) Size

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

func (*UnbondingDelegation) String

func (m *UnbondingDelegation) String() string

func (*UnbondingDelegation) Unmarshal

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

func (UnbondingDelegation) Validate

func (ubd UnbondingDelegation) Validate() error

Validate validates the unbonding delegation

func (*UnbondingDelegation) XXX_DiscardUnknown

func (m *UnbondingDelegation) XXX_DiscardUnknown()

func (*UnbondingDelegation) XXX_Marshal

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

func (*UnbondingDelegation) XXX_Merge

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

func (*UnbondingDelegation) XXX_Size

func (m *UnbondingDelegation) XXX_Size() int

func (*UnbondingDelegation) XXX_Unmarshal

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

type UnbondingDelegationBuilder

type UnbondingDelegationBuilder func(
	delegatorAddress string, targetID uint32,
	creationHeight int64, minTime time.Time, balance sdk.Coins, id uint64,
) UnbondingDelegation

type UnbondingDelegationEntry

type UnbondingDelegationEntry struct {
	// CreationHeight is the height which the unbonding took place.
	CreationHeight int64 `protobuf:"varint,1,opt,name=creation_height,json=creationHeight,proto3" json:"creation_height,omitempty"`
	// CompletionTime is the unix time for unbonding completion.
	CompletionTime time.Time `protobuf:"bytes,2,opt,name=completion_time,json=completionTime,proto3,stdtime" json:"completion_time"`
	// InitialBalance defines the tokens initially scheduled to receive at
	// completion.
	InitialBalance github_com_cosmos_cosmos_sdk_types.Coins `` /* 147-byte string literal not displayed */
	// Balance defines the tokens to receive at completion.
	Balance github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,4,rep,name=balance,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"balance"`
	// Incrementing id that uniquely identifies this entry
	UnbondingID uint64 `protobuf:"varint,5,opt,name=unbonding_id,json=unbondingId,proto3" json:"unbonding_id,omitempty"`
}

UnbondingDelegationEntry defines an unbonding object with relevant metadata.

func NewUnbondingDelegationEntry

func NewUnbondingDelegationEntry(creationHeight int64, completionTime time.Time, balance sdk.Coins, unbondingID uint64) UnbondingDelegationEntry

NewUnbondingDelegationEntry creates a new UnbondingDelegationEntry instance

func (*UnbondingDelegationEntry) Descriptor

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

func (*UnbondingDelegationEntry) Equal

func (this *UnbondingDelegationEntry) Equal(that interface{}) bool

func (*UnbondingDelegationEntry) GetBalance

func (*UnbondingDelegationEntry) GetCompletionTime

func (m *UnbondingDelegationEntry) GetCompletionTime() time.Time

func (*UnbondingDelegationEntry) GetCreationHeight

func (m *UnbondingDelegationEntry) GetCreationHeight() int64

func (*UnbondingDelegationEntry) GetInitialBalance

func (*UnbondingDelegationEntry) GetUnbondingID

func (m *UnbondingDelegationEntry) GetUnbondingID() uint64

func (UnbondingDelegationEntry) IsMature

func (e UnbondingDelegationEntry) IsMature(currentTime time.Time) bool

IsMature tells whether is the current entry mature

func (*UnbondingDelegationEntry) Marshal

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

func (*UnbondingDelegationEntry) MarshalTo

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

func (*UnbondingDelegationEntry) MarshalToSizedBuffer

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

func (*UnbondingDelegationEntry) ProtoMessage

func (*UnbondingDelegationEntry) ProtoMessage()

func (*UnbondingDelegationEntry) Reset

func (m *UnbondingDelegationEntry) Reset()

func (*UnbondingDelegationEntry) Size

func (m *UnbondingDelegationEntry) Size() (n int)

func (*UnbondingDelegationEntry) String

func (m *UnbondingDelegationEntry) String() string

func (*UnbondingDelegationEntry) Unmarshal

func (m *UnbondingDelegationEntry) Unmarshal(dAtA []byte) error

func (UnbondingDelegationEntry) Validate

func (e UnbondingDelegationEntry) Validate() error

Validate validates the unbonding delegation entry

func (*UnbondingDelegationEntry) XXX_DiscardUnknown

func (m *UnbondingDelegationEntry) XXX_DiscardUnknown()

func (*UnbondingDelegationEntry) XXX_Marshal

func (m *UnbondingDelegationEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnbondingDelegationEntry) XXX_Merge

func (m *UnbondingDelegationEntry) XXX_Merge(src proto.Message)

func (*UnbondingDelegationEntry) XXX_Size

func (m *UnbondingDelegationEntry) XXX_Size() int

func (*UnbondingDelegationEntry) XXX_Unmarshal

func (m *UnbondingDelegationEntry) XXX_Unmarshal(b []byte) error

type UnbondingDelegationKeyBuilder

type UnbondingDelegationKeyBuilder func(delegatorAddress string, targetID uint32) []byte

type UndelegationData

type UndelegationData struct {
	Amount                   sdk.Coins
	Delegator                string
	Target                   DelegationTarget
	BuildUnbondingDelegation UnbondingDelegationBuilder
	Hooks                    DelegationHooks
	Shares                   sdk.DecCoins
}

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) AddOperatorToAllowList

func (*UnimplementedMsgServer) BorrowPoolSecurity

func (*UnimplementedMsgServer) CeasePoolSecurityBorrow

func (*UnimplementedMsgServer) DelegateOperator

func (*UnimplementedMsgServer) DelegatePool

func (*UnimplementedMsgServer) DelegateService

func (*UnimplementedMsgServer) JoinService

func (*UnimplementedMsgServer) LeaveService

func (*UnimplementedMsgServer) SetUserPreferences

func (*UnimplementedMsgServer) UndelegateOperator

func (*UnimplementedMsgServer) UndelegatePool

func (*UnimplementedMsgServer) UndelegateService

func (*UnimplementedMsgServer) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) DelegatorOperator

func (*UnimplementedQueryServer) DelegatorOperators

func (*UnimplementedQueryServer) DelegatorPool

func (*UnimplementedQueryServer) DelegatorPools

func (*UnimplementedQueryServer) DelegatorService

func (*UnimplementedQueryServer) DelegatorServices

func (*UnimplementedQueryServer) OperatorDelegation

func (*UnimplementedQueryServer) OperatorDelegations

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) PoolDelegation

func (*UnimplementedQueryServer) PoolDelegations

func (*UnimplementedQueryServer) ServiceDelegation

func (*UnimplementedQueryServer) ServiceDelegations

func (*UnimplementedQueryServer) ServiceOperators

func (*UnimplementedQueryServer) UserPreferences

type UserPreferences

type UserPreferences struct {
	// TrustNonAccreditedServices tells whether the user trusts all non-accredited
	// services present on the platform.
	TrustNonAccreditedServices bool `` /* 144-byte string literal not displayed */
	// TrustAccreditedServices tells whether the user trusts all accredited
	// services present on the platform.
	TrustAccreditedServices bool `` /* 133-byte string literal not displayed */
	// TrustedServicesIDs is a list of service IDs that the user trusts (both
	// accredited and non-accredited).
	TrustedServicesIDs []uint32 `protobuf:"varint,3,rep,packed,name=trusted_services_ids,json=trustedServicesIds,proto3" json:"trusted_services_ids,omitempty"`
}

UserPreferences is a struct that contains a user's preferences for restaking.

func DefaultUserPreferences

func DefaultUserPreferences() UserPreferences

DefaultUserPreferences returns the default user preferences

func NewUserPreferences

func NewUserPreferences(trustNonAccreditedServices bool, trustAccreditedServices bool, trustedServiceIDs []uint32) UserPreferences

NewUserPreferences creates a new UserPreferences instance

func (*UserPreferences) Descriptor

func (*UserPreferences) Descriptor() ([]byte, []int)

func (*UserPreferences) GetTrustAccreditedServices

func (m *UserPreferences) GetTrustAccreditedServices() bool

func (*UserPreferences) GetTrustNonAccreditedServices

func (m *UserPreferences) GetTrustNonAccreditedServices() bool

func (*UserPreferences) GetTrustedServicesIDs

func (m *UserPreferences) GetTrustedServicesIDs() []uint32

func (UserPreferences) IsServiceTrusted

func (p UserPreferences) IsServiceTrusted(service servicestypes.Service) bool

IsServiceTrusted returns whether the user trusts the given service

func (*UserPreferences) Marshal

func (m *UserPreferences) Marshal() (dAtA []byte, err error)

func (*UserPreferences) MarshalTo

func (m *UserPreferences) MarshalTo(dAtA []byte) (int, error)

func (*UserPreferences) MarshalToSizedBuffer

func (m *UserPreferences) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UserPreferences) ProtoMessage

func (*UserPreferences) ProtoMessage()

func (*UserPreferences) Reset

func (m *UserPreferences) Reset()

func (*UserPreferences) Size

func (m *UserPreferences) Size() (n int)

func (*UserPreferences) String

func (m *UserPreferences) String() string

func (*UserPreferences) Unmarshal

func (m *UserPreferences) Unmarshal(dAtA []byte) error

func (UserPreferences) Validate

func (p UserPreferences) Validate() error

Validate validates the user preferences

func (*UserPreferences) XXX_DiscardUnknown

func (m *UserPreferences) XXX_DiscardUnknown()

func (*UserPreferences) XXX_Marshal

func (m *UserPreferences) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserPreferences) XXX_Merge

func (m *UserPreferences) XXX_Merge(src proto.Message)

func (*UserPreferences) XXX_Size

func (m *UserPreferences) XXX_Size() int

func (*UserPreferences) XXX_Unmarshal

func (m *UserPreferences) XXX_Unmarshal(b []byte) error

type UserPreferencesEntry

type UserPreferencesEntry struct {
	// UserAddress is the encoded address of the user.
	UserAddress string `protobuf:"bytes,1,opt,name=user_address,json=userAddress,proto3" json:"user_address,omitempty"`
	// Preferences is the user preferences.
	Preferences UserPreferences `protobuf:"bytes,2,opt,name=preferences,proto3" json:"preferences"`
}

UserPreferencesEntry represents the user preferences.

func NewUserPreferencesEntry

func NewUserPreferencesEntry(userAddress string, preferences UserPreferences) UserPreferencesEntry

NewUserPreferencesEntry creates a new instance of UserPreferenceEntry.

func (*UserPreferencesEntry) Descriptor

func (*UserPreferencesEntry) Descriptor() ([]byte, []int)

func (*UserPreferencesEntry) GetPreferences

func (m *UserPreferencesEntry) GetPreferences() UserPreferences

func (*UserPreferencesEntry) GetUserAddress

func (m *UserPreferencesEntry) GetUserAddress() string

func (*UserPreferencesEntry) Marshal

func (m *UserPreferencesEntry) Marshal() (dAtA []byte, err error)

func (*UserPreferencesEntry) MarshalTo

func (m *UserPreferencesEntry) MarshalTo(dAtA []byte) (int, error)

func (*UserPreferencesEntry) MarshalToSizedBuffer

func (m *UserPreferencesEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UserPreferencesEntry) ProtoMessage

func (*UserPreferencesEntry) ProtoMessage()

func (*UserPreferencesEntry) Reset

func (m *UserPreferencesEntry) Reset()

func (*UserPreferencesEntry) Size

func (m *UserPreferencesEntry) Size() (n int)

func (*UserPreferencesEntry) String

func (m *UserPreferencesEntry) String() string

func (*UserPreferencesEntry) Unmarshal

func (m *UserPreferencesEntry) Unmarshal(dAtA []byte) error

func (*UserPreferencesEntry) Validate

func (u *UserPreferencesEntry) Validate() error

Validate checks if the UserPreferenceEntry is valid

func (*UserPreferencesEntry) XXX_DiscardUnknown

func (m *UserPreferencesEntry) XXX_DiscardUnknown()

func (*UserPreferencesEntry) XXX_Marshal

func (m *UserPreferencesEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserPreferencesEntry) XXX_Merge

func (m *UserPreferencesEntry) XXX_Merge(src proto.Message)

func (*UserPreferencesEntry) XXX_Size

func (m *UserPreferencesEntry) XXX_Size() int

func (*UserPreferencesEntry) XXX_Unmarshal

func (m *UserPreferencesEntry) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL