Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶
func NewServer(storeKey storetypes.StoreKey, accountKeeper ecocredit.AccountKeeper, bankKeeper ecocredit.BankKeeper, authority sdk.AccAddress) serverImpl
Types ¶
type Keeper ¶
type Keeper interface { PruneOrders(ctx sdk.Context) error RegisterInvariants(sdk.InvariantRegistry) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, data json.RawMessage) ([]types.ValidatorUpdate, error) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) (json.RawMessage, error) QueryServers() (basetypes.QueryServer, baskettypes.QueryServer, markettypes.QueryServer) GetStateStores() (api.StateStore, basketapi.StateStore, marketapi.StateStore) }
Keeper defines a set of methods the ecocredit module exposes.
type Migrator ¶
type Migrator struct {
// contains filtered or unexported fields
}
Migrator is a struct for handling in-place store migrations.
func NewMigrator ¶
func NewMigrator(keeper Keeper, legacySubspace paramtypes.Subspace) Migrator
NewMigrator returns a new Migrator.
func (Migrator) Migrate2to3 ¶
Migrate2to3 migrates from version 2 to 3.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.