Documentation
¶
Index ¶
- type AccountKeeper
- func (_m *AccountKeeper) AddressCodec() address.Codec
- func (_m *AccountKeeper) GetAccount(ctx context.Context, addr types.AccAddress) types.AccountI
- func (_m *AccountKeeper) GetModuleAccount(ctx context.Context, name string) types.ModuleAccountI
- func (_m *AccountKeeper) GetModuleAddress(moduleName string) types.AccAddress
- func (_m *AccountKeeper) GetParams(ctx context.Context) authtypes.Params
- func (_m *AccountKeeper) NewAccountWithAddress(ctx context.Context, addr types.AccAddress) types.AccountI
- func (_m *AccountKeeper) SetAccount(ctx context.Context, acc types.AccountI)
- type BankKeeper
- func (_m *BankKeeper) AllBalances(_a0 context.Context, _a1 *types.QueryAllBalancesRequest) (*types.QueryAllBalancesResponse, error)
- func (_m *BankKeeper) AppendSendRestriction(restriction types.SendRestrictionFn)
- func (_m *BankKeeper) Balance(_a0 context.Context, _a1 *types.QueryBalanceRequest) (*types.QueryBalanceResponse, error)
- func (_m *BankKeeper) BlockedAddr(addr cosmos_sdktypes.AccAddress) bool
- func (_m *BankKeeper) BurnCoins(ctx context.Context, moduleName string, amt cosmos_sdktypes.Coins) error
- func (_m *BankKeeper) ClearSendRestriction()
- func (_m *BankKeeper) DelegateCoins(ctx context.Context, delegatorAddr cosmos_sdktypes.AccAddress, ...) error
- func (_m *BankKeeper) DelegateCoinsFromAccountToModule(ctx context.Context, senderAddr cosmos_sdktypes.AccAddress, ...) error
- func (_m *BankKeeper) DeleteSendEnabled(ctx context.Context, denoms ...string)
- func (_m *BankKeeper) DenomMetadata(_a0 context.Context, _a1 *types.QueryDenomMetadataRequest) (*types.QueryDenomMetadataResponse, error)
- func (_m *BankKeeper) DenomMetadataByQueryString(_a0 context.Context, _a1 *types.QueryDenomMetadataByQueryStringRequest) (*types.QueryDenomMetadataByQueryStringResponse, error)
- func (_m *BankKeeper) DenomOwners(_a0 context.Context, _a1 *types.QueryDenomOwnersRequest) (*types.QueryDenomOwnersResponse, error)
- func (_m *BankKeeper) DenomOwnersByQuery(_a0 context.Context, _a1 *types.QueryDenomOwnersByQueryRequest) (*types.QueryDenomOwnersByQueryResponse, error)
- func (_m *BankKeeper) DenomsMetadata(_a0 context.Context, _a1 *types.QueryDenomsMetadataRequest) (*types.QueryDenomsMetadataResponse, error)
- func (_m *BankKeeper) ExportGenesis(_a0 context.Context) *types.GenesisState
- func (_m *BankKeeper) GetAccountsBalances(ctx context.Context) []types.Balance
- func (_m *BankKeeper) GetAllBalances(ctx context.Context, addr cosmos_sdktypes.AccAddress) cosmos_sdktypes.Coins
- func (_m *BankKeeper) GetAllDenomMetaData(ctx context.Context) []types.Metadata
- func (_m *BankKeeper) GetAllSendEnabledEntries(ctx context.Context) []types.SendEnabled
- func (_m *BankKeeper) GetAuthority() string
- func (_m *BankKeeper) GetBalance(ctx context.Context, addr cosmos_sdktypes.AccAddress, denom string) cosmos_sdktypes.Coin
- func (_m *BankKeeper) GetBlockedAddresses() map[string]bool
- func (_m *BankKeeper) GetDenomMetaData(ctx context.Context, denom string) (types.Metadata, bool)
- func (_m *BankKeeper) GetPaginatedTotalSupply(ctx context.Context, pagination *query.PageRequest) (cosmos_sdktypes.Coins, *query.PageResponse, error)
- func (_m *BankKeeper) GetParams(ctx context.Context) types.Params
- func (_m *BankKeeper) GetSendEnabledEntry(ctx context.Context, denom string) (types.SendEnabled, bool)
- func (_m *BankKeeper) GetSupply(ctx context.Context, denom string) cosmos_sdktypes.Coin
- func (_m *BankKeeper) HasBalance(ctx context.Context, addr cosmos_sdktypes.AccAddress, amt cosmos_sdktypes.Coin) bool
- func (_m *BankKeeper) HasDenomMetaData(ctx context.Context, denom string) bool
- func (_m *BankKeeper) HasSupply(ctx context.Context, denom string) bool
- func (_m *BankKeeper) InitGenesis(_a0 context.Context, _a1 *types.GenesisState)
- func (_m *BankKeeper) InputOutputCoins(ctx context.Context, input types.Input, outputs []types.Output) error
- func (_m *BankKeeper) IsSendEnabledCoin(ctx context.Context, coin cosmos_sdktypes.Coin) bool
- func (_m *BankKeeper) IsSendEnabledCoins(ctx context.Context, coins ...cosmos_sdktypes.Coin) error
- func (_m *BankKeeper) IsSendEnabledDenom(ctx context.Context, denom string) bool
- func (_m *BankKeeper) IterateAccountBalances(ctx context.Context, addr cosmos_sdktypes.AccAddress, ...)
- func (_m *BankKeeper) IterateAllBalances(ctx context.Context, ...)
- func (_m *BankKeeper) IterateAllDenomMetaData(ctx context.Context, cb func(types.Metadata) bool)
- func (_m *BankKeeper) IterateSendEnabledEntries(ctx context.Context, cb func(string, bool) bool)
- func (_m *BankKeeper) IterateTotalSupply(ctx context.Context, cb func(cosmos_sdktypes.Coin) bool)
- func (_m *BankKeeper) LockedCoins(ctx context.Context, addr cosmos_sdktypes.AccAddress) cosmos_sdktypes.Coins
- func (_m *BankKeeper) MintCoins(ctx context.Context, moduleName string, amt cosmos_sdktypes.Coins) error
- func (_m *BankKeeper) Params(_a0 context.Context, _a1 *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (_m *BankKeeper) PrependSendRestriction(restriction types.SendRestrictionFn)
- func (_m *BankKeeper) SendCoins(ctx context.Context, fromAddr cosmos_sdktypes.AccAddress, ...) error
- func (_m *BankKeeper) SendCoinsFromAccountToModule(ctx context.Context, senderAddr cosmos_sdktypes.AccAddress, ...) error
- func (_m *BankKeeper) SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, ...) error
- func (_m *BankKeeper) SendCoinsFromModuleToModule(ctx context.Context, senderModule string, recipientModule string, ...) error
- func (_m *BankKeeper) SendEnabled(_a0 context.Context, _a1 *types.QuerySendEnabledRequest) (*types.QuerySendEnabledResponse, error)
- func (_m *BankKeeper) SetAllSendEnabled(ctx context.Context, sendEnableds []*types.SendEnabled)
- func (_m *BankKeeper) SetDenomMetaData(ctx context.Context, denomMetaData types.Metadata)
- func (_m *BankKeeper) SetParams(ctx context.Context, params types.Params) error
- func (_m *BankKeeper) SetSendEnabled(ctx context.Context, denom string, value bool)
- func (_m *BankKeeper) SpendableBalanceByDenom(_a0 context.Context, _a1 *types.QuerySpendableBalanceByDenomRequest) (*types.QuerySpendableBalanceByDenomResponse, error)
- func (_m *BankKeeper) SpendableBalances(_a0 context.Context, _a1 *types.QuerySpendableBalancesRequest) (*types.QuerySpendableBalancesResponse, error)
- func (_m *BankKeeper) SpendableCoin(ctx context.Context, addr cosmos_sdktypes.AccAddress, denom string) cosmos_sdktypes.Coin
- func (_m *BankKeeper) SpendableCoins(ctx context.Context, addr cosmos_sdktypes.AccAddress) cosmos_sdktypes.Coins
- func (_m *BankKeeper) SupplyOf(_a0 context.Context, _a1 *types.QuerySupplyOfRequest) (*types.QuerySupplyOfResponse, error)
- func (_m *BankKeeper) TotalSupply(_a0 context.Context, _a1 *types.QueryTotalSupplyRequest) (*types.QueryTotalSupplyResponse, error)
- func (_m *BankKeeper) UndelegateCoins(ctx context.Context, moduleAccAddr cosmos_sdktypes.AccAddress, ...) error
- func (_m *BankKeeper) UndelegateCoinsFromModuleToAccount(ctx context.Context, senderModule string, ...) error
- func (_m *BankKeeper) ValidateBalance(ctx context.Context, addr cosmos_sdktypes.AccAddress) error
- func (_m *BankKeeper) WithMintCoinsRestriction(_a0 types.MintingRestrictionFn) keeper.BaseKeeper
- type FeeGrantKeeper
- type FeeMarketKeeper
- func (_m *FeeMarketKeeper) GetMinGasPrice(ctx types.Context, denom string) (types.DecCoin, error)
- func (_m *FeeMarketKeeper) GetParams(ctx types.Context) (feemarkettypes.Params, error)
- func (_m *FeeMarketKeeper) GetState(ctx types.Context) (feemarkettypes.State, error)
- func (_m *FeeMarketKeeper) ResolveToDenom(ctx types.Context, coin types.DecCoin, denom string) (types.DecCoin, error)
- func (_m *FeeMarketKeeper) SetParams(ctx types.Context, params feemarkettypes.Params) error
- func (_m *FeeMarketKeeper) SetState(ctx types.Context, state feemarkettypes.State) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountKeeper ¶
AccountKeeper is an autogenerated mock type for the AccountKeeper type
func NewAccountKeeper ¶
func NewAccountKeeper(t interface {
mock.TestingT
Cleanup(func())
},
) *AccountKeeper
NewAccountKeeper creates a new instance of AccountKeeper. 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 (*AccountKeeper) AddressCodec ¶
func (_m *AccountKeeper) AddressCodec() address.Codec
AddressCodec provides a mock function with given fields:
func (*AccountKeeper) GetAccount ¶
func (_m *AccountKeeper) GetAccount(ctx context.Context, addr types.AccAddress) types.AccountI
GetAccount provides a mock function with given fields: ctx, addr
func (*AccountKeeper) GetModuleAccount ¶
func (_m *AccountKeeper) GetModuleAccount(ctx context.Context, name string) types.ModuleAccountI
GetModuleAccount provides a mock function with given fields: ctx, name
func (*AccountKeeper) GetModuleAddress ¶
func (_m *AccountKeeper) GetModuleAddress(moduleName string) types.AccAddress
GetModuleAddress provides a mock function with given fields: moduleName
func (*AccountKeeper) GetParams ¶
func (_m *AccountKeeper) GetParams(ctx context.Context) authtypes.Params
GetParams provides a mock function with given fields: ctx
func (*AccountKeeper) NewAccountWithAddress ¶
func (_m *AccountKeeper) NewAccountWithAddress(ctx context.Context, addr types.AccAddress) types.AccountI
NewAccountWithAddress provides a mock function with given fields: ctx, addr
func (*AccountKeeper) SetAccount ¶
func (_m *AccountKeeper) SetAccount(ctx context.Context, acc types.AccountI)
SetAccount provides a mock function with given fields: ctx, acc
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) AllBalances ¶ added in v1.1.1
func (_m *BankKeeper) AllBalances(_a0 context.Context, _a1 *types.QueryAllBalancesRequest) (*types.QueryAllBalancesResponse, error)
AllBalances provides a mock function with given fields: _a0, _a1
func (*BankKeeper) AppendSendRestriction ¶ added in v1.1.1
func (_m *BankKeeper) AppendSendRestriction(restriction types.SendRestrictionFn)
AppendSendRestriction provides a mock function with given fields: restriction
func (*BankKeeper) Balance ¶ added in v1.1.1
func (_m *BankKeeper) Balance(_a0 context.Context, _a1 *types.QueryBalanceRequest) (*types.QueryBalanceResponse, error)
Balance provides a mock function with given fields: _a0, _a1
func (*BankKeeper) BlockedAddr ¶ added in v1.1.1
func (_m *BankKeeper) BlockedAddr(addr cosmos_sdktypes.AccAddress) bool
BlockedAddr provides a mock function with given fields: addr
func (*BankKeeper) BurnCoins ¶ added in v1.1.1
func (_m *BankKeeper) BurnCoins(ctx context.Context, moduleName string, amt cosmos_sdktypes.Coins) error
BurnCoins provides a mock function with given fields: ctx, moduleName, amt
func (*BankKeeper) ClearSendRestriction ¶ added in v1.1.1
func (_m *BankKeeper) ClearSendRestriction()
ClearSendRestriction provides a mock function with given fields:
func (*BankKeeper) DelegateCoins ¶ added in v1.1.1
func (_m *BankKeeper) DelegateCoins(ctx context.Context, delegatorAddr cosmos_sdktypes.AccAddress, moduleAccAddr cosmos_sdktypes.AccAddress, amt cosmos_sdktypes.Coins) error
DelegateCoins provides a mock function with given fields: ctx, delegatorAddr, moduleAccAddr, amt
func (*BankKeeper) DelegateCoinsFromAccountToModule ¶ added in v1.1.1
func (_m *BankKeeper) DelegateCoinsFromAccountToModule(ctx context.Context, senderAddr cosmos_sdktypes.AccAddress, recipientModule string, amt cosmos_sdktypes.Coins) error
DelegateCoinsFromAccountToModule provides a mock function with given fields: ctx, senderAddr, recipientModule, amt
func (*BankKeeper) DeleteSendEnabled ¶ added in v1.1.1
func (_m *BankKeeper) DeleteSendEnabled(ctx context.Context, denoms ...string)
DeleteSendEnabled provides a mock function with given fields: ctx, denoms
func (*BankKeeper) DenomMetadata ¶ added in v1.1.1
func (_m *BankKeeper) DenomMetadata(_a0 context.Context, _a1 *types.QueryDenomMetadataRequest) (*types.QueryDenomMetadataResponse, error)
DenomMetadata provides a mock function with given fields: _a0, _a1
func (*BankKeeper) DenomMetadataByQueryString ¶ added in v1.1.1
func (_m *BankKeeper) DenomMetadataByQueryString(_a0 context.Context, _a1 *types.QueryDenomMetadataByQueryStringRequest) (*types.QueryDenomMetadataByQueryStringResponse, error)
DenomMetadataByQueryString provides a mock function with given fields: _a0, _a1
func (*BankKeeper) DenomOwners ¶ added in v1.1.1
func (_m *BankKeeper) DenomOwners(_a0 context.Context, _a1 *types.QueryDenomOwnersRequest) (*types.QueryDenomOwnersResponse, error)
DenomOwners provides a mock function with given fields: _a0, _a1
func (*BankKeeper) DenomOwnersByQuery ¶ added in v1.1.1
func (_m *BankKeeper) DenomOwnersByQuery(_a0 context.Context, _a1 *types.QueryDenomOwnersByQueryRequest) (*types.QueryDenomOwnersByQueryResponse, error)
DenomOwnersByQuery provides a mock function with given fields: _a0, _a1
func (*BankKeeper) DenomsMetadata ¶ added in v1.1.1
func (_m *BankKeeper) DenomsMetadata(_a0 context.Context, _a1 *types.QueryDenomsMetadataRequest) (*types.QueryDenomsMetadataResponse, error)
DenomsMetadata provides a mock function with given fields: _a0, _a1
func (*BankKeeper) ExportGenesis ¶ added in v1.1.1
func (_m *BankKeeper) ExportGenesis(_a0 context.Context) *types.GenesisState
ExportGenesis provides a mock function with given fields: _a0
func (*BankKeeper) GetAccountsBalances ¶ added in v1.1.1
func (_m *BankKeeper) GetAccountsBalances(ctx context.Context) []types.Balance
GetAccountsBalances provides a mock function with given fields: ctx
func (*BankKeeper) GetAllBalances ¶ added in v1.1.1
func (_m *BankKeeper) GetAllBalances(ctx context.Context, addr cosmos_sdktypes.AccAddress) cosmos_sdktypes.Coins
GetAllBalances provides a mock function with given fields: ctx, addr
func (*BankKeeper) GetAllDenomMetaData ¶ added in v1.1.1
func (_m *BankKeeper) GetAllDenomMetaData(ctx context.Context) []types.Metadata
GetAllDenomMetaData provides a mock function with given fields: ctx
func (*BankKeeper) GetAllSendEnabledEntries ¶ added in v1.1.1
func (_m *BankKeeper) GetAllSendEnabledEntries(ctx context.Context) []types.SendEnabled
GetAllSendEnabledEntries provides a mock function with given fields: ctx
func (*BankKeeper) GetAuthority ¶ added in v1.1.1
func (_m *BankKeeper) GetAuthority() string
GetAuthority provides a mock function with given fields:
func (*BankKeeper) GetBalance ¶ added in v1.1.1
func (_m *BankKeeper) GetBalance(ctx context.Context, addr cosmos_sdktypes.AccAddress, denom string) cosmos_sdktypes.Coin
GetBalance provides a mock function with given fields: ctx, addr, denom
func (*BankKeeper) GetBlockedAddresses ¶ added in v1.1.1
func (_m *BankKeeper) GetBlockedAddresses() map[string]bool
GetBlockedAddresses provides a mock function with given fields:
func (*BankKeeper) GetDenomMetaData ¶ added in v1.1.1
GetDenomMetaData provides a mock function with given fields: ctx, denom
func (*BankKeeper) GetPaginatedTotalSupply ¶ added in v1.1.1
func (_m *BankKeeper) GetPaginatedTotalSupply(ctx context.Context, pagination *query.PageRequest) (cosmos_sdktypes.Coins, *query.PageResponse, error)
GetPaginatedTotalSupply provides a mock function with given fields: ctx, pagination
func (*BankKeeper) GetParams ¶ added in v1.1.1
func (_m *BankKeeper) GetParams(ctx context.Context) types.Params
GetParams provides a mock function with given fields: ctx
func (*BankKeeper) GetSendEnabledEntry ¶ added in v1.1.1
func (_m *BankKeeper) GetSendEnabledEntry(ctx context.Context, denom string) (types.SendEnabled, bool)
GetSendEnabledEntry provides a mock function with given fields: ctx, denom
func (*BankKeeper) GetSupply ¶ added in v1.1.1
func (_m *BankKeeper) GetSupply(ctx context.Context, denom string) cosmos_sdktypes.Coin
GetSupply provides a mock function with given fields: ctx, denom
func (*BankKeeper) HasBalance ¶ added in v1.1.1
func (_m *BankKeeper) HasBalance(ctx context.Context, addr cosmos_sdktypes.AccAddress, amt cosmos_sdktypes.Coin) bool
HasBalance provides a mock function with given fields: ctx, addr, amt
func (*BankKeeper) HasDenomMetaData ¶ added in v1.1.1
func (_m *BankKeeper) HasDenomMetaData(ctx context.Context, denom string) bool
HasDenomMetaData provides a mock function with given fields: ctx, denom
func (*BankKeeper) HasSupply ¶ added in v1.1.1
func (_m *BankKeeper) HasSupply(ctx context.Context, denom string) bool
HasSupply provides a mock function with given fields: ctx, denom
func (*BankKeeper) InitGenesis ¶ added in v1.1.1
func (_m *BankKeeper) InitGenesis(_a0 context.Context, _a1 *types.GenesisState)
InitGenesis provides a mock function with given fields: _a0, _a1
func (*BankKeeper) InputOutputCoins ¶ added in v1.1.1
func (_m *BankKeeper) InputOutputCoins(ctx context.Context, input types.Input, outputs []types.Output) error
InputOutputCoins provides a mock function with given fields: ctx, input, outputs
func (*BankKeeper) IsSendEnabledCoin ¶ added in v1.1.1
func (_m *BankKeeper) IsSendEnabledCoin(ctx context.Context, coin cosmos_sdktypes.Coin) bool
IsSendEnabledCoin provides a mock function with given fields: ctx, coin
func (*BankKeeper) IsSendEnabledCoins ¶
func (_m *BankKeeper) IsSendEnabledCoins(ctx context.Context, coins ...cosmos_sdktypes.Coin) error
IsSendEnabledCoins provides a mock function with given fields: ctx, coins
func (*BankKeeper) IsSendEnabledDenom ¶ added in v1.1.1
func (_m *BankKeeper) IsSendEnabledDenom(ctx context.Context, denom string) bool
IsSendEnabledDenom provides a mock function with given fields: ctx, denom
func (*BankKeeper) IterateAccountBalances ¶ added in v1.1.1
func (_m *BankKeeper) IterateAccountBalances(ctx context.Context, addr cosmos_sdktypes.AccAddress, cb func(cosmos_sdktypes.Coin) bool)
IterateAccountBalances provides a mock function with given fields: ctx, addr, cb
func (*BankKeeper) IterateAllBalances ¶ added in v1.1.1
func (_m *BankKeeper) IterateAllBalances(ctx context.Context, cb func(cosmos_sdktypes.AccAddress, cosmos_sdktypes.Coin) bool)
IterateAllBalances provides a mock function with given fields: ctx, cb
func (*BankKeeper) IterateAllDenomMetaData ¶ added in v1.1.1
IterateAllDenomMetaData provides a mock function with given fields: ctx, cb
func (*BankKeeper) IterateSendEnabledEntries ¶ added in v1.1.1
IterateSendEnabledEntries provides a mock function with given fields: ctx, cb
func (*BankKeeper) IterateTotalSupply ¶ added in v1.1.1
func (_m *BankKeeper) IterateTotalSupply(ctx context.Context, cb func(cosmos_sdktypes.Coin) bool)
IterateTotalSupply provides a mock function with given fields: ctx, cb
func (*BankKeeper) LockedCoins ¶ added in v1.1.1
func (_m *BankKeeper) LockedCoins(ctx context.Context, addr cosmos_sdktypes.AccAddress) cosmos_sdktypes.Coins
LockedCoins provides a mock function with given fields: ctx, addr
func (*BankKeeper) MintCoins ¶ added in v1.1.1
func (_m *BankKeeper) MintCoins(ctx context.Context, moduleName string, amt cosmos_sdktypes.Coins) error
MintCoins provides a mock function with given fields: ctx, moduleName, amt
func (*BankKeeper) Params ¶ added in v1.1.1
func (_m *BankKeeper) Params(_a0 context.Context, _a1 *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
Params provides a mock function with given fields: _a0, _a1
func (*BankKeeper) PrependSendRestriction ¶ added in v1.1.1
func (_m *BankKeeper) PrependSendRestriction(restriction types.SendRestrictionFn)
PrependSendRestriction provides a mock function with given fields: restriction
func (*BankKeeper) SendCoins ¶
func (_m *BankKeeper) SendCoins(ctx context.Context, fromAddr cosmos_sdktypes.AccAddress, toAddr cosmos_sdktypes.AccAddress, amt cosmos_sdktypes.Coins) error
SendCoins provides a mock function with given fields: ctx, fromAddr, toAddr, amt
func (*BankKeeper) SendCoinsFromAccountToModule ¶
func (_m *BankKeeper) SendCoinsFromAccountToModule(ctx context.Context, senderAddr cosmos_sdktypes.AccAddress, recipientModule string, amt cosmos_sdktypes.Coins) error
SendCoinsFromAccountToModule provides a mock function with given fields: ctx, senderAddr, recipientModule, amt
func (*BankKeeper) SendCoinsFromModuleToAccount ¶ added in v1.1.0
func (_m *BankKeeper) SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr cosmos_sdktypes.AccAddress, amt cosmos_sdktypes.Coins) error
SendCoinsFromModuleToAccount provides a mock function with given fields: ctx, senderModule, recipientAddr, amt
func (*BankKeeper) SendCoinsFromModuleToModule ¶ added in v1.1.0
func (_m *BankKeeper) SendCoinsFromModuleToModule(ctx context.Context, senderModule string, recipientModule string, amt cosmos_sdktypes.Coins) error
SendCoinsFromModuleToModule provides a mock function with given fields: ctx, senderModule, recipientModule, amt
func (*BankKeeper) SendEnabled ¶ added in v1.1.1
func (_m *BankKeeper) SendEnabled(_a0 context.Context, _a1 *types.QuerySendEnabledRequest) (*types.QuerySendEnabledResponse, error)
SendEnabled provides a mock function with given fields: _a0, _a1
func (*BankKeeper) SetAllSendEnabled ¶ added in v1.1.1
func (_m *BankKeeper) SetAllSendEnabled(ctx context.Context, sendEnableds []*types.SendEnabled)
SetAllSendEnabled provides a mock function with given fields: ctx, sendEnableds
func (*BankKeeper) SetDenomMetaData ¶ added in v1.1.1
func (_m *BankKeeper) SetDenomMetaData(ctx context.Context, denomMetaData types.Metadata)
SetDenomMetaData provides a mock function with given fields: ctx, denomMetaData
func (*BankKeeper) SetParams ¶ added in v1.1.1
SetParams provides a mock function with given fields: ctx, params
func (*BankKeeper) SetSendEnabled ¶ added in v1.1.1
func (_m *BankKeeper) SetSendEnabled(ctx context.Context, denom string, value bool)
SetSendEnabled provides a mock function with given fields: ctx, denom, value
func (*BankKeeper) SpendableBalanceByDenom ¶ added in v1.1.1
func (_m *BankKeeper) SpendableBalanceByDenom(_a0 context.Context, _a1 *types.QuerySpendableBalanceByDenomRequest) (*types.QuerySpendableBalanceByDenomResponse, error)
SpendableBalanceByDenom provides a mock function with given fields: _a0, _a1
func (*BankKeeper) SpendableBalances ¶ added in v1.1.1
func (_m *BankKeeper) SpendableBalances(_a0 context.Context, _a1 *types.QuerySpendableBalancesRequest) (*types.QuerySpendableBalancesResponse, error)
SpendableBalances provides a mock function with given fields: _a0, _a1
func (*BankKeeper) SpendableCoin ¶ added in v1.1.1
func (_m *BankKeeper) SpendableCoin(ctx context.Context, addr cosmos_sdktypes.AccAddress, denom string) cosmos_sdktypes.Coin
SpendableCoin provides a mock function with given fields: ctx, addr, denom
func (*BankKeeper) SpendableCoins ¶ added in v1.1.1
func (_m *BankKeeper) SpendableCoins(ctx context.Context, addr cosmos_sdktypes.AccAddress) cosmos_sdktypes.Coins
SpendableCoins provides a mock function with given fields: ctx, addr
func (*BankKeeper) SupplyOf ¶ added in v1.1.1
func (_m *BankKeeper) SupplyOf(_a0 context.Context, _a1 *types.QuerySupplyOfRequest) (*types.QuerySupplyOfResponse, error)
SupplyOf provides a mock function with given fields: _a0, _a1
func (*BankKeeper) TotalSupply ¶ added in v1.1.1
func (_m *BankKeeper) TotalSupply(_a0 context.Context, _a1 *types.QueryTotalSupplyRequest) (*types.QueryTotalSupplyResponse, error)
TotalSupply provides a mock function with given fields: _a0, _a1
func (*BankKeeper) UndelegateCoins ¶ added in v1.1.1
func (_m *BankKeeper) UndelegateCoins(ctx context.Context, moduleAccAddr cosmos_sdktypes.AccAddress, delegatorAddr cosmos_sdktypes.AccAddress, amt cosmos_sdktypes.Coins) error
UndelegateCoins provides a mock function with given fields: ctx, moduleAccAddr, delegatorAddr, amt
func (*BankKeeper) UndelegateCoinsFromModuleToAccount ¶ added in v1.1.1
func (_m *BankKeeper) UndelegateCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr cosmos_sdktypes.AccAddress, amt cosmos_sdktypes.Coins) error
UndelegateCoinsFromModuleToAccount provides a mock function with given fields: ctx, senderModule, recipientAddr, amt
func (*BankKeeper) ValidateBalance ¶ added in v1.1.1
func (_m *BankKeeper) ValidateBalance(ctx context.Context, addr cosmos_sdktypes.AccAddress) error
ValidateBalance provides a mock function with given fields: ctx, addr
func (*BankKeeper) WithMintCoinsRestriction ¶ added in v1.1.1
func (_m *BankKeeper) WithMintCoinsRestriction(_a0 types.MintingRestrictionFn) keeper.BaseKeeper
WithMintCoinsRestriction provides a mock function with given fields: _a0
type FeeGrantKeeper ¶
FeeGrantKeeper is an autogenerated mock type for the FeeGrantKeeper type
func NewFeeGrantKeeper ¶
func NewFeeGrantKeeper(t interface {
mock.TestingT
Cleanup(func())
},
) *FeeGrantKeeper
NewFeeGrantKeeper creates a new instance of FeeGrantKeeper. 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 (*FeeGrantKeeper) UseGrantedFees ¶
func (_m *FeeGrantKeeper) UseGrantedFees(ctx context.Context, granter types.AccAddress, grantee types.AccAddress, fee types.Coins, msgs []proto.Message) error
UseGrantedFees provides a mock function with given fields: ctx, granter, grantee, fee, msgs
type FeeMarketKeeper ¶
FeeMarketKeeper is an autogenerated mock type for the FeeMarketKeeper type
func NewFeeMarketKeeper ¶
func NewFeeMarketKeeper(t interface {
mock.TestingT
Cleanup(func())
},
) *FeeMarketKeeper
NewFeeMarketKeeper creates a new instance of FeeMarketKeeper. 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 (*FeeMarketKeeper) GetMinGasPrice ¶
GetMinGasPrice provides a mock function with given fields: ctx, denom
func (*FeeMarketKeeper) GetParams ¶
func (_m *FeeMarketKeeper) GetParams(ctx types.Context) (feemarkettypes.Params, error)
GetParams provides a mock function with given fields: ctx
func (*FeeMarketKeeper) GetState ¶
func (_m *FeeMarketKeeper) GetState(ctx types.Context) (feemarkettypes.State, error)
GetState provides a mock function with given fields: ctx
func (*FeeMarketKeeper) ResolveToDenom ¶
func (_m *FeeMarketKeeper) ResolveToDenom(ctx types.Context, coin types.DecCoin, denom string) (types.DecCoin, error)
ResolveToDenom provides a mock function with given fields: ctx, coin, denom
func (*FeeMarketKeeper) SetParams ¶
func (_m *FeeMarketKeeper) SetParams(ctx types.Context, params feemarkettypes.Params) error
SetParams provides a mock function with given fields: ctx, params
func (*FeeMarketKeeper) SetState ¶
func (_m *FeeMarketKeeper) SetState(ctx types.Context, state feemarkettypes.State) error
SetState provides a mock function with given fields: ctx, state