15 lines
345 B
Go
15 lines
345 B
Go
package types
|
|||
|
|||
import (
|
|||
"time"
|
|||
|
|||
sdk "github.com/cosmos/cosmos-sdk/types"
|
|||
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
|
|||
)
|
|||
|
|||
// StakingKeeper expected staking keeper
|
|||
type StakingKeeper interface {
|
|||
GetHistoricalInfo(ctx sdk.Context, height int64) (stakingtypes.HistoricalInfo, bool)
|
|||
UnbondingTime(ctx sdk.Context) time.Duration
|
|||
}
|