Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MigrateBridgeToken ¶
func MigrateBridgeToken(cdc codec.BinaryCodec, store sdk.KVStore)
func MigrateDepositToStaking ¶
func MigrateDepositToStaking(ctx sdk.Context, moduleName string, stakingKeeper StakingKeeper, stakingMsgServer types.StakingMsgServer, bankKeeper BankKeeper, oracles types.Oracles, delegateValAddr sdk.ValAddress, ) error
func PruneStore ¶
func PruneStore(cdc codec.BinaryCodec, kvStore sdk.KVStore)
Types ¶
type BankKeeper ¶
type StakingKeeper ¶
type StakingKeeper interface {
	GetBondedValidatorsByPower(ctx sdk.Context) []stakingtypes.Validator
	GetValidator(ctx sdk.Context, addr sdk.ValAddress) (validator stakingtypes.Validator, found bool)
	GetDelegation(ctx sdk.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress) (delegation stakingtypes.Delegation, found bool)
	RemoveDelegation(ctx sdk.Context, delegation stakingtypes.Delegation)
}
     Click to show internal directories. 
   Click to hide internal directories.