Documentation ¶
Index ¶
- Constants
- func NewHandler(am auth.AccountMapper) sdkTypes.Handler
- func NewQuerier(am auth.AccountMapper, cdc *amino.Codec) sdk.Querier
- func RegisterCodec(cdc *amino.Codec) *amino.Codec
- type Keeper
- func (k Keeper) AddCoin(ctx sdk.Context, addr sdk.AccAddress, amt types.Coin) (types.Coins, sdk.Error)
- func (k Keeper) AddCoins(ctx sdk.Context, addr sdk.AccAddress, amt types.Coins) (types.Coins, sdk.Error)
- func (k Keeper) GetCoins(ctx sdk.Context, addr sdk.AccAddress) types.Coins
- func (k Keeper) SetCoins(ctx sdk.Context, addr sdk.AccAddress, amt types.Coins) sdk.Error
- func (k Keeper) SubtractCoin(ctx sdk.Context, addr sdk.AccAddress, amt types.Coin) (types.Coins, sdk.Error)
- func (k Keeper) SubtractCoins(ctx sdk.Context, addr sdk.AccAddress, amt types.Coins) (types.Coins, sdk.Error)
- type QueryBalanceParams
Constants ¶
View Source
const (
QueryBalance = "balance"
)
query endpoints supported by auth querier
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func NewHandler(am auth.AccountMapper) sdkTypes.Handler
func NewQuerier ¶ added in v0.2.0
func RegisterCodec ¶
func RegisterCodec(cdc *amino.Codec) *amino.Codec
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper(_am auth.AccountMapper) Keeper
func (Keeper) SubtractCoin ¶
type QueryBalanceParams ¶ added in v0.2.0
type QueryBalanceParams struct {
Address sdk.AccAddress
}
Click to show internal directories.
Click to hide internal directories.