Documentation
¶
Index ¶
- type BankKeeper
- func (_m *BankKeeper) GetBalance(ctx context.Context, addr types.AccAddress, denom string) types.Coin
- func (_m *BankKeeper) GetDenomMetaData(ctx context.Context, denom string) (banktypes.Metadata, bool)
- func (_m *BankKeeper) GetSupply(ctx context.Context, denom string) types.Coin
- func (_m *BankKeeper) IterateAccountBalances(ctx context.Context, account types.AccAddress, cb func(types.Coin) bool)
- func (_m *BankKeeper) IterateTotalSupply(ctx context.Context, cb func(types.Coin) bool)
- func (_m *BankKeeper) SendCoins(ctx context.Context, fromAddr types.AccAddress, toAddr types.AccAddress, ...) error
- func (_m *BankKeeper) SetDenomMetaData(ctx context.Context, denomMetaData banktypes.Metadata)
- func (_m *BankKeeper) SpendableCoin(ctx context.Context, addr types.AccAddress, denom string) types.Coin
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BankKeeper ¶
BankKeeper is an autogenerated mock type for the BankKeeper type
func NewBankKeeper ¶
func NewBankKeeper(t interface { mock.TestingT Cleanup(func()) }, ) *BankKeeper
NewBankKeeper creates a new instance of BankKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*BankKeeper) GetBalance ¶
func (_m *BankKeeper) GetBalance(ctx context.Context, addr types.AccAddress, denom string) types.Coin
GetBalance provides a mock function with given fields: ctx, addr, denom
func (*BankKeeper) GetDenomMetaData ¶
func (_m *BankKeeper) GetDenomMetaData(ctx context.Context, denom string) (banktypes.Metadata, bool)
GetDenomMetaData provides a mock function with given fields: ctx, denom
func (*BankKeeper) IterateAccountBalances ¶
func (_m *BankKeeper) IterateAccountBalances(ctx context.Context, account types.AccAddress, cb func(types.Coin) bool)
IterateAccountBalances provides a mock function with given fields: ctx, account, cb
func (*BankKeeper) IterateTotalSupply ¶
IterateTotalSupply provides a mock function with given fields: ctx, cb
func (*BankKeeper) SendCoins ¶
func (_m *BankKeeper) SendCoins(ctx context.Context, fromAddr types.AccAddress, toAddr types.AccAddress, amt types.Coins) error
SendCoins provides a mock function with given fields: ctx, fromAddr, toAddr, amt
func (*BankKeeper) SetDenomMetaData ¶
func (_m *BankKeeper) SetDenomMetaData(ctx context.Context, denomMetaData banktypes.Metadata)
SetDenomMetaData provides a mock function with given fields: ctx, denomMetaData
func (*BankKeeper) SpendableCoin ¶
func (_m *BankKeeper) SpendableCoin(ctx context.Context, addr types.AccAddress, denom string) types.Coin
SpendableCoin provides a mock function with given fields: ctx, addr, denom