laconicd/x/bond/keeper/keeper.go
prathamesh0 e513f79b81
Add a minimal chain and placeholders for bond module (#1)
* Setup minimal chain

* Change app and command name

* Rename command folder

* Add run instructions

* Add placeholder files for bond module

* Missing new line
2024-02-01 10:18:40 +05:30

24 lines
430 B
Go

package keeper
import (
"cosmossdk.io/core/address"
"github.com/cosmos/cosmos-sdk/codec"
)
// TODO: Add genesis.go?
type Keeper struct {
cdc codec.BinaryCodec
addressCodec address.Codec
// TODO: state management
// TODO: Later: add bond usage keepers
}
// NewKeeper creates a new Keeper instance
// TODO: Implement
func NewKeeper(cdc codec.BinaryCodec, addressCodec address.Codec) Keeper {
return Keeper{}
}