Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BankKeeper ¶
type BankKeeper struct {
types.BankKeeper
}
BankKeeper wraps the bankkeeper.BaseKeeper.
func NewBankKeeper ¶
func NewBankKeeper(bk types.BankKeeper) BankKeeper
NewBankKeeper returns a new BankKeeper.
func (BankKeeper) SendCoins ¶
func (k BankKeeper) SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error
SendCoins transfers amt coins from a sending account to a receiving account. An error is returned upon failure, or when the from/to address is blocked.
func (BankKeeper) SpendableBalance ¶
func (k BankKeeper) SpendableBalance(ctx sdk.Context, address sdk.AccAddress, denom string) sdk.Coin
SpendableBalance returns the spendable balance of a specific denomination for a given account by address
Click to show internal directories.
Click to hide internal directories.