mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-27 00:35:18 +00:00
27 lines
511 B
Go
27 lines
511 B
Go
|
package keeper
|
||
|
|
||
|
import (
|
||
|
"github.com/kava-labs/kava/x/router/types"
|
||
|
)
|
||
|
|
||
|
// Keeper is the keeper for the module
|
||
|
type Keeper struct {
|
||
|
earnKeeper types.EarnKeeper
|
||
|
liquidKeeper types.LiquidKeeper
|
||
|
stakingKeeper types.StakingKeeper
|
||
|
}
|
||
|
|
||
|
// NewKeeper creates a new keeper
|
||
|
func NewKeeper(
|
||
|
earnKeeper types.EarnKeeper,
|
||
|
liquidKeeper types.LiquidKeeper,
|
||
|
stakingKeeper types.StakingKeeper,
|
||
|
) Keeper {
|
||
|
|
||
|
return Keeper{
|
||
|
earnKeeper: earnKeeper,
|
||
|
liquidKeeper: liquidKeeper,
|
||
|
stakingKeeper: stakingKeeper,
|
||
|
}
|
||
|
}
|