Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Migrate1To2 ¶
func Migrate1To2( ctx sdk.Context, storeKey storetypes.StoreKey, cdc codec.Codec, restakingKeeper RestakingKeeper, operatorsKeeper OperatorsKeeper, servicesKeeper ServicesKeeper, ) error
Types ¶
type OperatorsKeeper ¶
type OperatorsKeeper interface { GetOperator(ctx sdk.Context, operatorID uint32) (operatorstypes.Operator, bool) SaveOperatorParams(ctx sdk.Context, operatorID uint32, params operatorstypes.OperatorParams) error }
type RestakingKeeper ¶
type RestakingKeeper interface { AddServiceToOperatorJoinedServices(ctx sdk.Context, operatorID uint32, serviceID uint32) error AddOperatorToServiceAllowList(ctx sdk.Context, serviceID uint32, operatorID uint32) error AddPoolToServiceSecuringPools(ctx sdk.Context, serviceID uint32, poolID uint32) error }
type ServicesKeeper ¶
Click to show internal directories.
Click to hide internal directories.