Documentation ¶
Index ¶
- type Keeper
- func (k Keeper) Codec() *codec.Codec
- func (k Keeper) Create(ctx sdk.Context, provider types.Provider) error
- func (k Keeper) Delete(ctx sdk.Context, id sdk.Address)
- func (k Keeper) Get(ctx sdk.Context, id sdk.Address) (types.Provider, bool)
- func (k Keeper) Update(ctx sdk.Context, provider types.Provider) error
- func (k Keeper) WithProviders(ctx sdk.Context, fn func(types.Provider) bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper of the provider store
func SetupTestInput ¶
func SetupTestInput() (sdk.Context, auth.AccountKeeper, params.Keeper, bank.BaseKeeper, Keeper)
SetupTestInput will setup test inputs and return context and keeper
func (Keeper) Create ¶
Create creates a new provider or returns an error if the provider exists already
Click to show internal directories.
Click to hide internal directories.