Documentation ¶
Index ¶
- func CheckInitialize(ctx sdk.Context, moduleName string, paramsKey sdk.StoreKey) bool
- func MigrateDepositToStaking(ctx sdk.Context, moduleName string, stakingKeeper StakingKeeper, ...) error
- func MigrateOracle(ctx sdk.Context, cdc codec.BinaryCodec, storeKey sdk.StoreKey, ...) (types.Oracles, sdk.ValAddress, error)
- func MigrateParams(ctx sdk.Context, moduleName string, legacyAmino *codec.LegacyAmino, ...) error
- func MigratePruneKey(store sdk.KVStore, key []byte)
- func MigrateStore(ctx sdk.Context, storeKey sdk.StoreKey)
- type BankKeeper
- type StakingKeeper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckInitialize ¶
func MigrateDepositToStaking ¶
func MigrateDepositToStaking(ctx sdk.Context, moduleName string, stakingKeeper StakingKeeper, bankKeeper BankKeeper, oracles types.Oracles, delegateValAddr sdk.ValAddress) error
func MigrateOracle ¶
func MigrateOracle(ctx sdk.Context, cdc codec.BinaryCodec, storeKey sdk.StoreKey, stakingKeeper StakingKeeper) (types.Oracles, sdk.ValAddress, error)
func MigrateParams ¶
func MigratePruneKey ¶
Types ¶
type BankKeeper ¶
type StakingKeeper ¶
type StakingKeeper interface { GetBondedValidatorsByPower(ctx sdk.Context) []stakingtypes.Validator Delegate(ctx sdk.Context, delAddr sdk.AccAddress, bondAmt sdk.Int, tokenSrc stakingtypes.BondStatus, validator stakingtypes.Validator, subtractAccount bool) (newShares sdk.Dec, err error) GetValidator(ctx sdk.Context, addr sdk.ValAddress) (validator stakingtypes.Validator, found bool) }
Click to show internal directories.
Click to hide internal directories.