Documentation ¶
Index ¶
- func MakeTestCodec() *codec.Codec
- type Keeper
- func (k Keeper) Add(ctx sdk.Context, address sdk.AccAddress, coins sdk.Coins) sdk.Error
- func (k Keeper) GetDeposit(ctx sdk.Context, address sdk.AccAddress) (deposit types.Deposit, found bool)
- func (k Keeper) GetDeposits(ctx sdk.Context) (items types.Deposits)
- func (k Keeper) IterateDeposits(ctx sdk.Context, fn func(index int64, item types.Deposit) (stop bool))
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) SendCoinsFromAccountToDeposit(ctx sdk.Context, from, to sdk.AccAddress, coins sdk.Coins) sdk.Error
- func (k Keeper) SendCoinsFromDepositToAccount(ctx sdk.Context, from, to sdk.AccAddress, coins sdk.Coins) sdk.Error
- func (k Keeper) SetDeposit(ctx sdk.Context, deposit types.Deposit)
- func (k Keeper) Store(ctx sdk.Context) sdk.KVStore
- func (k Keeper) Subtract(ctx sdk.Context, address sdk.AccAddress, coins sdk.Coins) sdk.Error
- func (k *Keeper) WithSupplyKeeper(keeper expected.SupplyKeeper)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeTestCodec ¶ added in v0.2.0
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func CreateTestInput ¶ added in v0.2.0
func (Keeper) GetDeposit ¶
func (Keeper) GetDeposits ¶ added in v0.3.0
func (Keeper) IterateDeposits ¶
func (Keeper) SendCoinsFromAccountToDeposit ¶ added in v0.3.0
func (Keeper) SendCoinsFromDepositToAccount ¶ added in v0.3.0
func (*Keeper) WithSupplyKeeper ¶ added in v0.3.0
func (k *Keeper) WithSupplyKeeper(keeper expected.SupplyKeeper)
Click to show internal directories.
Click to hide internal directories.