Documentation
¶
Overview ¶
Package testutil is a generated GoMock package.
Index ¶
- type BankKeeper
- func (m *BankKeeper) AllBalances(arg0 context.Context, arg1 *types0.QueryAllBalancesRequest) (*types0.QueryAllBalancesResponse, error)
- func (m *BankKeeper) AppendSendRestriction(restriction types0.SendRestrictionFn)
- func (m *BankKeeper) Balance(arg0 context.Context, arg1 *types0.QueryBalanceRequest) (*types0.QueryBalanceResponse, error)
- func (m *BankKeeper) BlockedAddr(addr types.AccAddress) bool
- func (m *BankKeeper) BurnCoins(ctx context.Context, moduleName string, amt types.Coins) error
- func (m *BankKeeper) ClearSendRestriction()
- func (m *BankKeeper) DelegateCoins(ctx context.Context, delegatorAddr, moduleAccAddr types.AccAddress, ...) error
- func (m *BankKeeper) DelegateCoinsFromAccountToModule(ctx context.Context, senderAddr types.AccAddress, recipientModule string, ...) error
- func (m *BankKeeper) DeleteSendEnabled(ctx context.Context, denoms ...string)
- func (m *BankKeeper) DenomMetadata(arg0 context.Context, arg1 *types0.QueryDenomMetadataRequest) (*types0.QueryDenomMetadataResponse, error)
- func (m *BankKeeper) DenomMetadataByQueryString(arg0 context.Context, arg1 *types0.QueryDenomMetadataByQueryStringRequest) (*types0.QueryDenomMetadataByQueryStringResponse, error)
- func (m *BankKeeper) DenomOwners(arg0 context.Context, arg1 *types0.QueryDenomOwnersRequest) (*types0.QueryDenomOwnersResponse, error)
- func (m *BankKeeper) DenomOwnersByQuery(arg0 context.Context, arg1 *types0.QueryDenomOwnersByQueryRequest) (*types0.QueryDenomOwnersByQueryResponse, error)
- func (m *BankKeeper) DenomsMetadata(arg0 context.Context, arg1 *types0.QueryDenomsMetadataRequest) (*types0.QueryDenomsMetadataResponse, error)
- func (m *BankKeeper) EXPECT() *MockBankKeeperMockRecorder
- func (m *BankKeeper) ExportGenesis(arg0 context.Context) *types0.GenesisState
- func (m *BankKeeper) GetAccountsBalances(ctx context.Context) []types0.Balance
- func (m *BankKeeper) GetAllBalances(ctx context.Context, addr types.AccAddress) types.Coins
- func (m *BankKeeper) GetAllDenomMetaData(ctx context.Context) []types0.Metadata
- func (m *BankKeeper) GetAllSendEnabledEntries(ctx context.Context) []types0.SendEnabled
- func (m *BankKeeper) GetAuthority() string
- func (m *BankKeeper) GetBalance(ctx context.Context, addr types.AccAddress, denom string) types.Coin
- func (m *BankKeeper) GetBlockedAddresses() map[string]bool
- func (m *BankKeeper) GetDenomMetaData(ctx context.Context, denom string) (types0.Metadata, bool)
- func (m *BankKeeper) GetPaginatedTotalSupply(ctx context.Context, pagination *query.PageRequest) (types.Coins, *query.PageResponse, error)
- func (m *BankKeeper) GetParams(ctx context.Context) types0.Params
- func (m *BankKeeper) GetSendEnabledEntry(ctx context.Context, denom string) (types0.SendEnabled, bool)
- func (m *BankKeeper) GetSupply(ctx context.Context, denom string) types.Coin
- func (m *BankKeeper) HasBalance(ctx context.Context, addr types.AccAddress, amt types.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(arg0 context.Context, arg1 *types0.GenesisState)
- func (m *BankKeeper) InputOutputCoins(ctx context.Context, input types0.Input, outputs []types0.Output) error
- func (m *BankKeeper) IsSendEnabledCoin(ctx context.Context, coin types.Coin) bool
- func (m *BankKeeper) IsSendEnabledCoins(ctx context.Context, coins ...types.Coin) error
- func (m *BankKeeper) IsSendEnabledDenom(ctx context.Context, denom string) bool
- func (m *BankKeeper) IterateAccountBalances(ctx context.Context, addr types.AccAddress, cb func(types.Coin) bool)
- func (m *BankKeeper) IterateAllBalances(ctx context.Context, cb func(types.AccAddress, types.Coin) bool)
- func (m *BankKeeper) IterateAllDenomMetaData(ctx context.Context, cb func(types0.Metadata) bool)
- func (m *BankKeeper) IterateSendEnabledEntries(ctx context.Context, cb func(string, bool) bool)
- func (m *BankKeeper) IterateTotalSupply(ctx context.Context, cb func(types.Coin) bool)
- func (m *BankKeeper) LockedCoins(ctx context.Context, addr types.AccAddress) types.Coins
- func (m *BankKeeper) MintCoins(ctx context.Context, moduleName string, amt types.Coins) error
- func (m *BankKeeper) Params(arg0 context.Context, arg1 *types0.QueryParamsRequest) (*types0.QueryParamsResponse, error)
- func (m *BankKeeper) PrependSendRestriction(restriction types0.SendRestrictionFn)
- func (m *BankKeeper) SendCoins(ctx context.Context, fromAddr, toAddr types.AccAddress, amt types.Coins) error
- func (m *BankKeeper) SendCoinsFromAccountToModule(ctx context.Context, senderAddr types.AccAddress, recipientModule string, ...) error
- func (m *BankKeeper) SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr types.AccAddress, ...) error
- func (m *BankKeeper) SendCoinsFromModuleToModule(ctx context.Context, senderModule, recipientModule string, amt types.Coins) error
- func (m *BankKeeper) SendEnabled(arg0 context.Context, arg1 *types0.QuerySendEnabledRequest) (*types0.QuerySendEnabledResponse, error)
- func (m *BankKeeper) SetAllSendEnabled(ctx context.Context, sendEnableds []*types0.SendEnabled)
- func (m *BankKeeper) SetDenomMetaData(ctx context.Context, denomMetaData types0.Metadata)
- func (m *BankKeeper) SetParams(ctx context.Context, params types0.Params) error
- func (m *BankKeeper) SetSendEnabled(ctx context.Context, denom string, value bool)
- func (m *BankKeeper) SpendableBalanceByDenom(arg0 context.Context, arg1 *types0.QuerySpendableBalanceByDenomRequest) (*types0.QuerySpendableBalanceByDenomResponse, error)
- func (m *BankKeeper) SpendableBalances(arg0 context.Context, arg1 *types0.QuerySpendableBalancesRequest) (*types0.QuerySpendableBalancesResponse, error)
- func (m *BankKeeper) SpendableCoin(ctx context.Context, addr types.AccAddress, denom string) types.Coin
- func (m *BankKeeper) SpendableCoins(ctx context.Context, addr types.AccAddress) types.Coins
- func (m *BankKeeper) SupplyOf(arg0 context.Context, arg1 *types0.QuerySupplyOfRequest) (*types0.QuerySupplyOfResponse, error)
- func (m *BankKeeper) TotalSupply(arg0 context.Context, arg1 *types0.QueryTotalSupplyRequest) (*types0.QueryTotalSupplyResponse, error)
- func (m *BankKeeper) UndelegateCoins(ctx context.Context, moduleAccAddr, delegatorAddr types.AccAddress, ...) error
- func (m *BankKeeper) UndelegateCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr types.AccAddress, ...) error
- func (m *BankKeeper) ValidateBalance(ctx context.Context, addr types.AccAddress) error
- func (m *BankKeeper) WithMintCoinsRestriction(arg0 types0.MintingRestrictionFn) keeper.BaseKeeper
- type EVMKeeper
- func (_m *EVMKeeper) ApplyMessage(ctx types.Context, msg core.Message, tracer *tracing.Hooks, commit bool, ...) (*vmtypes.MsgEthereumTxResponse, error)
- func (_m *EVMKeeper) CallEVM(ctx types.Context, _a1 abi.ABI, from common.Address, contract common.Address, ...) (*vmtypes.MsgEthereumTxResponse, error)
- func (_m *EVMKeeper) CallEVMWithData(ctx types.Context, from common.Address, contract *common.Address, data []byte, ...) (*vmtypes.MsgEthereumTxResponse, error)
- func (_m *EVMKeeper) DeleteAccount(ctx types.Context, addr common.Address) error
- func (_m *EVMKeeper) EstimateGasInternal(c context.Context, req *vmtypes.EthCallRequest, fromType vmtypes.CallType) (*vmtypes.EstimateGasResponse, error)
- func (_m *EVMKeeper) GetAccount(ctx types.Context, address common.Address) *statedb.Account
- func (_m *EVMKeeper) GetAccountWithoutBalance(ctx types.Context, addr common.Address) *statedb.Account
- func (_m *EVMKeeper) GetCode(ctx types.Context, hash common.Hash) []byte
- func (_m *EVMKeeper) GetParams(ctx types.Context) vmtypes.Params
- func (_m *EVMKeeper) IsAvailableStaticPrecompile(params *vmtypes.Params, address common.Address) bool
- func (_m *EVMKeeper) SetAccount(ctx types.Context, address common.Address, account statedb.Account) error
- func (_m *EVMKeeper) SetCode(ctx types.Context, hash []byte, bytecode []byte)
- type MockBankKeeperMockRecorder
- func (mr *MockBankKeeperMockRecorder) AllBalances(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) AppendSendRestriction(restriction interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) Balance(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) BlockedAddr(addr interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) BurnCoins(ctx, moduleName, amt interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) ClearSendRestriction() *gomock.Call
- func (mr *MockBankKeeperMockRecorder) DelegateCoins(ctx, delegatorAddr, moduleAccAddr, amt interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) DelegateCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) DeleteSendEnabled(ctx interface{}, denoms ...interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) DenomMetadata(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) DenomMetadataByQueryString(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) DenomOwners(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) DenomsMetadata(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) ExportGenesis(arg0 interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) GetAccountsBalances(ctx interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) GetAllBalances(ctx, addr interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) GetAllDenomMetaData(ctx interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) GetAllSendEnabledEntries(ctx interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) GetAuthority() *gomock.Call
- func (mr *MockBankKeeperMockRecorder) GetBalance(ctx, addr, denom interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) GetBlockedAddresses() *gomock.Call
- func (mr *MockBankKeeperMockRecorder) GetDenomMetaData(ctx, denom interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) GetPaginatedTotalSupply(ctx, pagination interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) GetParams(ctx interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) GetSendEnabledEntry(ctx, denom interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) GetSupply(ctx, denom interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) HasBalance(ctx, addr, amt interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) HasDenomMetaData(ctx, denom interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) HasSupply(ctx, denom interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) InitGenesis(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) InputOutputCoins(ctx, input, outputs interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) IsSendEnabledCoin(ctx, coin interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) IsSendEnabledCoins(ctx interface{}, coins ...interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) IsSendEnabledDenom(ctx, denom interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) IterateAccountBalances(ctx, addr, cb interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) IterateAllBalances(ctx, cb interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) IterateAllDenomMetaData(ctx, cb interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) IterateSendEnabledEntries(ctx, cb interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) IterateTotalSupply(ctx, cb interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) LockedCoins(ctx, addr interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) MintCoins(ctx, moduleName, amt interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) Params(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) PrependSendRestriction(restriction interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SendCoins(ctx, fromAddr, toAddr, amt interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SendCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount(ctx, senderModule, recipientAddr, amt interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToModule(ctx, senderModule, recipientModule, amt interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SendEnabled(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SetAllSendEnabled(ctx, sendEnableds interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SetDenomMetaData(ctx, denomMetaData interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SetParams(ctx, params interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SetSendEnabled(ctx, denom, value interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SpendableBalanceByDenom(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SpendableBalances(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SpendableCoin(ctx, addr, denom interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SpendableCoins(ctx, addr interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SupplyOf(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) TotalSupply(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) UndelegateCoins(ctx, moduleAccAddr, delegatorAddr, amt interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) UndelegateCoinsFromModuleToAccount(ctx, senderModule, recipientAddr, amt interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) ValidateBalance(ctx, addr interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) WithMintCoinsRestriction(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BankKeeper ¶
type BankKeeper struct {
// contains filtered or unexported fields
}
BankKeeper is a mock of BankKeeper interface.
func NewMockBankKeeper ¶
func NewMockBankKeeper(ctrl *gomock.Controller) *BankKeeper
NewMockBankKeeper creates a new mock instance.
func (*BankKeeper) AllBalances ¶
func (m *BankKeeper) AllBalances(arg0 context.Context, arg1 *types0.QueryAllBalancesRequest) (*types0.QueryAllBalancesResponse, error)
AllBalances mocks base method.
func (*BankKeeper) AppendSendRestriction ¶
func (m *BankKeeper) AppendSendRestriction(restriction types0.SendRestrictionFn)
AppendSendRestriction mocks base method.
func (*BankKeeper) Balance ¶
func (m *BankKeeper) Balance(arg0 context.Context, arg1 *types0.QueryBalanceRequest) (*types0.QueryBalanceResponse, error)
Balance mocks base method.
func (*BankKeeper) BlockedAddr ¶
func (m *BankKeeper) BlockedAddr(addr types.AccAddress) bool
BlockedAddr mocks base method.
func (*BankKeeper) ClearSendRestriction ¶
func (m *BankKeeper) ClearSendRestriction()
ClearSendRestriction mocks base method.
func (*BankKeeper) DelegateCoins ¶
func (m *BankKeeper) DelegateCoins(ctx context.Context, delegatorAddr, moduleAccAddr types.AccAddress, amt types.Coins) error
DelegateCoins mocks base method.
func (*BankKeeper) DelegateCoinsFromAccountToModule ¶
func (m *BankKeeper) DelegateCoinsFromAccountToModule(ctx context.Context, senderAddr types.AccAddress, recipientModule string, amt types.Coins) error
DelegateCoinsFromAccountToModule mocks base method.
func (*BankKeeper) DeleteSendEnabled ¶
func (m *BankKeeper) DeleteSendEnabled(ctx context.Context, denoms ...string)
DeleteSendEnabled mocks base method.
func (*BankKeeper) DenomMetadata ¶
func (m *BankKeeper) DenomMetadata(arg0 context.Context, arg1 *types0.QueryDenomMetadataRequest) (*types0.QueryDenomMetadataResponse, error)
DenomMetadata mocks base method.
func (*BankKeeper) DenomMetadataByQueryString ¶
func (m *BankKeeper) DenomMetadataByQueryString(arg0 context.Context, arg1 *types0.QueryDenomMetadataByQueryStringRequest) (*types0.QueryDenomMetadataByQueryStringResponse, error)
DenomMetadataByQueryString mocks base method.
func (*BankKeeper) DenomOwners ¶
func (m *BankKeeper) DenomOwners(arg0 context.Context, arg1 *types0.QueryDenomOwnersRequest) (*types0.QueryDenomOwnersResponse, error)
DenomOwners mocks base method.
func (*BankKeeper) DenomOwnersByQuery ¶
func (m *BankKeeper) DenomOwnersByQuery(arg0 context.Context, arg1 *types0.QueryDenomOwnersByQueryRequest) (*types0.QueryDenomOwnersByQueryResponse, error)
DenomOwnersByQuery mocks base method.
func (*BankKeeper) DenomsMetadata ¶
func (m *BankKeeper) DenomsMetadata(arg0 context.Context, arg1 *types0.QueryDenomsMetadataRequest) (*types0.QueryDenomsMetadataResponse, error)
DenomsMetadata mocks base method.
func (*BankKeeper) EXPECT ¶
func (m *BankKeeper) EXPECT() *MockBankKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*BankKeeper) ExportGenesis ¶
func (m *BankKeeper) ExportGenesis(arg0 context.Context) *types0.GenesisState
ExportGenesis mocks base method.
func (*BankKeeper) GetAccountsBalances ¶
func (m *BankKeeper) GetAccountsBalances(ctx context.Context) []types0.Balance
GetAccountsBalances mocks base method.
func (*BankKeeper) GetAllBalances ¶
func (m *BankKeeper) GetAllBalances(ctx context.Context, addr types.AccAddress) types.Coins
GetAllBalances mocks base method.
func (*BankKeeper) GetAllDenomMetaData ¶
func (m *BankKeeper) GetAllDenomMetaData(ctx context.Context) []types0.Metadata
GetAllDenomMetaData mocks base method.
func (*BankKeeper) GetAllSendEnabledEntries ¶
func (m *BankKeeper) GetAllSendEnabledEntries(ctx context.Context) []types0.SendEnabled
GetAllSendEnabledEntries mocks base method.
func (*BankKeeper) GetAuthority ¶
func (m *BankKeeper) GetAuthority() string
GetAuthority mocks base method.
func (*BankKeeper) GetBalance ¶
func (m *BankKeeper) GetBalance(ctx context.Context, addr types.AccAddress, denom string) types.Coin
GetBalance mocks base method.
func (*BankKeeper) GetBlockedAddresses ¶
func (m *BankKeeper) GetBlockedAddresses() map[string]bool
GetBlockedAddresses mocks base method.
func (*BankKeeper) GetDenomMetaData ¶
GetDenomMetaData mocks base method.
func (*BankKeeper) GetPaginatedTotalSupply ¶
func (m *BankKeeper) GetPaginatedTotalSupply(ctx context.Context, pagination *query.PageRequest) (types.Coins, *query.PageResponse, error)
GetPaginatedTotalSupply mocks base method.
func (*BankKeeper) GetParams ¶
func (m *BankKeeper) GetParams(ctx context.Context) types0.Params
GetParams mocks base method.
func (*BankKeeper) GetSendEnabledEntry ¶
func (m *BankKeeper) GetSendEnabledEntry(ctx context.Context, denom string) (types0.SendEnabled, bool)
GetSendEnabledEntry mocks base method.
func (*BankKeeper) HasBalance ¶
func (m *BankKeeper) HasBalance(ctx context.Context, addr types.AccAddress, amt types.Coin) bool
HasBalance mocks base method.
func (*BankKeeper) HasDenomMetaData ¶
func (m *BankKeeper) HasDenomMetaData(ctx context.Context, denom string) bool
HasDenomMetaData mocks base method.
func (*BankKeeper) HasSupply ¶
func (m *BankKeeper) HasSupply(ctx context.Context, denom string) bool
HasSupply mocks base method.
func (*BankKeeper) InitGenesis ¶
func (m *BankKeeper) InitGenesis(arg0 context.Context, arg1 *types0.GenesisState)
InitGenesis mocks base method.
func (*BankKeeper) InputOutputCoins ¶
func (m *BankKeeper) InputOutputCoins(ctx context.Context, input types0.Input, outputs []types0.Output) error
InputOutputCoins mocks base method.
func (*BankKeeper) IsSendEnabledCoin ¶
IsSendEnabledCoin mocks base method.
func (*BankKeeper) IsSendEnabledCoins ¶
IsSendEnabledCoins mocks base method.
func (*BankKeeper) IsSendEnabledDenom ¶
func (m *BankKeeper) IsSendEnabledDenom(ctx context.Context, denom string) bool
IsSendEnabledDenom mocks base method.
func (*BankKeeper) IterateAccountBalances ¶
func (m *BankKeeper) IterateAccountBalances(ctx context.Context, addr types.AccAddress, cb func(types.Coin) bool)
IterateAccountBalances mocks base method.
func (*BankKeeper) IterateAllBalances ¶
func (m *BankKeeper) IterateAllBalances(ctx context.Context, cb func(types.AccAddress, types.Coin) bool)
IterateAllBalances mocks base method.
func (*BankKeeper) IterateAllDenomMetaData ¶
IterateAllDenomMetaData mocks base method.
func (*BankKeeper) IterateSendEnabledEntries ¶
IterateSendEnabledEntries mocks base method.
func (*BankKeeper) IterateTotalSupply ¶
IterateTotalSupply mocks base method.
func (*BankKeeper) LockedCoins ¶
func (m *BankKeeper) LockedCoins(ctx context.Context, addr types.AccAddress) types.Coins
LockedCoins mocks base method.
func (*BankKeeper) Params ¶
func (m *BankKeeper) Params(arg0 context.Context, arg1 *types0.QueryParamsRequest) (*types0.QueryParamsResponse, error)
Params mocks base method.
func (*BankKeeper) PrependSendRestriction ¶
func (m *BankKeeper) PrependSendRestriction(restriction types0.SendRestrictionFn)
PrependSendRestriction mocks base method.
func (*BankKeeper) SendCoins ¶
func (m *BankKeeper) SendCoins(ctx context.Context, fromAddr, toAddr types.AccAddress, amt types.Coins) error
SendCoins mocks base method.
func (*BankKeeper) SendCoinsFromAccountToModule ¶
func (m *BankKeeper) SendCoinsFromAccountToModule(ctx context.Context, senderAddr types.AccAddress, recipientModule string, amt types.Coins) error
SendCoinsFromAccountToModule mocks base method.
func (*BankKeeper) SendCoinsFromModuleToAccount ¶
func (m *BankKeeper) SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr types.AccAddress, amt types.Coins) error
SendCoinsFromModuleToAccount mocks base method.
func (*BankKeeper) SendCoinsFromModuleToModule ¶
func (m *BankKeeper) SendCoinsFromModuleToModule(ctx context.Context, senderModule, recipientModule string, amt types.Coins) error
SendCoinsFromModuleToModule mocks base method.
func (*BankKeeper) SendEnabled ¶
func (m *BankKeeper) SendEnabled(arg0 context.Context, arg1 *types0.QuerySendEnabledRequest) (*types0.QuerySendEnabledResponse, error)
SendEnabled mocks base method.
func (*BankKeeper) SetAllSendEnabled ¶
func (m *BankKeeper) SetAllSendEnabled(ctx context.Context, sendEnableds []*types0.SendEnabled)
SetAllSendEnabled mocks base method.
func (*BankKeeper) SetDenomMetaData ¶
func (m *BankKeeper) SetDenomMetaData(ctx context.Context, denomMetaData types0.Metadata)
SetDenomMetaData mocks base method.
func (*BankKeeper) SetSendEnabled ¶
func (m *BankKeeper) SetSendEnabled(ctx context.Context, denom string, value bool)
SetSendEnabled mocks base method.
func (*BankKeeper) SpendableBalanceByDenom ¶
func (m *BankKeeper) SpendableBalanceByDenom(arg0 context.Context, arg1 *types0.QuerySpendableBalanceByDenomRequest) (*types0.QuerySpendableBalanceByDenomResponse, error)
SpendableBalanceByDenom mocks base method.
func (*BankKeeper) SpendableBalances ¶
func (m *BankKeeper) SpendableBalances(arg0 context.Context, arg1 *types0.QuerySpendableBalancesRequest) (*types0.QuerySpendableBalancesResponse, error)
SpendableBalances mocks base method.
func (*BankKeeper) SpendableCoin ¶
func (m *BankKeeper) SpendableCoin(ctx context.Context, addr types.AccAddress, denom string) types.Coin
SpendableCoin mocks base method.
func (*BankKeeper) SpendableCoins ¶
func (m *BankKeeper) SpendableCoins(ctx context.Context, addr types.AccAddress) types.Coins
SpendableCoins mocks base method.
func (*BankKeeper) SupplyOf ¶
func (m *BankKeeper) SupplyOf(arg0 context.Context, arg1 *types0.QuerySupplyOfRequest) (*types0.QuerySupplyOfResponse, error)
SupplyOf mocks base method.
func (*BankKeeper) TotalSupply ¶
func (m *BankKeeper) TotalSupply(arg0 context.Context, arg1 *types0.QueryTotalSupplyRequest) (*types0.QueryTotalSupplyResponse, error)
TotalSupply mocks base method.
func (*BankKeeper) UndelegateCoins ¶
func (m *BankKeeper) UndelegateCoins(ctx context.Context, moduleAccAddr, delegatorAddr types.AccAddress, amt types.Coins) error
UndelegateCoins mocks base method.
func (*BankKeeper) UndelegateCoinsFromModuleToAccount ¶
func (m *BankKeeper) UndelegateCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr types.AccAddress, amt types.Coins) error
UndelegateCoinsFromModuleToAccount mocks base method.
func (*BankKeeper) ValidateBalance ¶
func (m *BankKeeper) ValidateBalance(ctx context.Context, addr types.AccAddress) error
ValidateBalance mocks base method.
func (*BankKeeper) WithMintCoinsRestriction ¶
func (m *BankKeeper) WithMintCoinsRestriction(arg0 types0.MintingRestrictionFn) keeper.BaseKeeper
WithMintCoinsRestriction mocks base method.
type EVMKeeper ¶
EVMKeeper is an autogenerated mock type for the EVMKeeper type
func NewEVMKeeper ¶
NewEVMKeeper creates a new instance of EVMKeeper. 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 (*EVMKeeper) ApplyMessage ¶
func (_m *EVMKeeper) ApplyMessage(ctx types.Context, msg core.Message, tracer *tracing.Hooks, commit bool, internal bool) (*vmtypes.MsgEthereumTxResponse, error)
ApplyMessage provides a mock function with given fields: ctx, msg, tracer, commit
func (*EVMKeeper) CallEVM ¶
func (_m *EVMKeeper) CallEVM(ctx types.Context, _a1 abi.ABI, from common.Address, contract common.Address, commit bool, gasCap *big.Int, method string, args ...interface{}) (*vmtypes.MsgEthereumTxResponse, error)
CallEVM provides a mock function with given fields: ctx, _a1, from, contract, commit, gasCap, method, args
func (*EVMKeeper) CallEVMWithData ¶
func (_m *EVMKeeper) CallEVMWithData(ctx types.Context, from common.Address, contract *common.Address, data []byte, commit bool, gasCap *big.Int) (*vmtypes.MsgEthereumTxResponse, error)
CallEVMWithData provides a mock function with given fields: ctx, from, contract, data, commit, gasCap
func (*EVMKeeper) DeleteAccount ¶
DeleteAccount provides a mock function with given fields: ctx, addr
func (*EVMKeeper) EstimateGasInternal ¶
func (_m *EVMKeeper) EstimateGasInternal(c context.Context, req *vmtypes.EthCallRequest, fromType vmtypes.CallType) (*vmtypes.EstimateGasResponse, error)
EstimateGasInternal provides a mock function with given fields: c, req, fromType
func (*EVMKeeper) GetAccount ¶
GetAccount provides a mock function with given fields: ctx, address
func (*EVMKeeper) GetAccountWithoutBalance ¶
func (_m *EVMKeeper) GetAccountWithoutBalance(ctx types.Context, addr common.Address) *statedb.Account
GetAccountWithoutBalance provides a mock function with given fields: ctx, addr
func (*EVMKeeper) IsAvailableStaticPrecompile ¶
func (_m *EVMKeeper) IsAvailableStaticPrecompile(params *vmtypes.Params, address common.Address) bool
IsAvailableStaticPrecompile provides a mock function with given fields: params, address
type MockBankKeeperMockRecorder ¶
type MockBankKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockBankKeeperMockRecorder is the mock recorder for MockBankKeeper.
func (*MockBankKeeperMockRecorder) AllBalances ¶
func (mr *MockBankKeeperMockRecorder) AllBalances(arg0, arg1 interface{}) *gomock.Call
AllBalances indicates an expected call of AllBalances.
func (*MockBankKeeperMockRecorder) AppendSendRestriction ¶
func (mr *MockBankKeeperMockRecorder) AppendSendRestriction(restriction interface{}) *gomock.Call
AppendSendRestriction indicates an expected call of AppendSendRestriction.
func (*MockBankKeeperMockRecorder) Balance ¶
func (mr *MockBankKeeperMockRecorder) Balance(arg0, arg1 interface{}) *gomock.Call
Balance indicates an expected call of Balance.
func (*MockBankKeeperMockRecorder) BlockedAddr ¶
func (mr *MockBankKeeperMockRecorder) BlockedAddr(addr interface{}) *gomock.Call
BlockedAddr indicates an expected call of BlockedAddr.
func (*MockBankKeeperMockRecorder) BurnCoins ¶
func (mr *MockBankKeeperMockRecorder) BurnCoins(ctx, moduleName, amt interface{}) *gomock.Call
BurnCoins indicates an expected call of BurnCoins.
func (*MockBankKeeperMockRecorder) ClearSendRestriction ¶
func (mr *MockBankKeeperMockRecorder) ClearSendRestriction() *gomock.Call
ClearSendRestriction indicates an expected call of ClearSendRestriction.
func (*MockBankKeeperMockRecorder) DelegateCoins ¶
func (mr *MockBankKeeperMockRecorder) DelegateCoins(ctx, delegatorAddr, moduleAccAddr, amt interface{}) *gomock.Call
DelegateCoins indicates an expected call of DelegateCoins.
func (*MockBankKeeperMockRecorder) DelegateCoinsFromAccountToModule ¶
func (mr *MockBankKeeperMockRecorder) DelegateCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt interface{}) *gomock.Call
DelegateCoinsFromAccountToModule indicates an expected call of DelegateCoinsFromAccountToModule.
func (*MockBankKeeperMockRecorder) DeleteSendEnabled ¶
func (mr *MockBankKeeperMockRecorder) DeleteSendEnabled(ctx interface{}, denoms ...interface{}) *gomock.Call
DeleteSendEnabled indicates an expected call of DeleteSendEnabled.
func (*MockBankKeeperMockRecorder) DenomMetadata ¶
func (mr *MockBankKeeperMockRecorder) DenomMetadata(arg0, arg1 interface{}) *gomock.Call
DenomMetadata indicates an expected call of DenomMetadata.
func (*MockBankKeeperMockRecorder) DenomMetadataByQueryString ¶
func (mr *MockBankKeeperMockRecorder) DenomMetadataByQueryString(arg0, arg1 interface{}) *gomock.Call
DenomMetadataByQueryString indicates an expected call of DenomMetadataByQueryString.
func (*MockBankKeeperMockRecorder) DenomOwners ¶
func (mr *MockBankKeeperMockRecorder) DenomOwners(arg0, arg1 interface{}) *gomock.Call
DenomOwners indicates an expected call of DenomOwners.
func (*MockBankKeeperMockRecorder) DenomsMetadata ¶
func (mr *MockBankKeeperMockRecorder) DenomsMetadata(arg0, arg1 interface{}) *gomock.Call
DenomsMetadata indicates an expected call of DenomsMetadata.
func (*MockBankKeeperMockRecorder) ExportGenesis ¶
func (mr *MockBankKeeperMockRecorder) ExportGenesis(arg0 interface{}) *gomock.Call
ExportGenesis indicates an expected call of ExportGenesis.
func (*MockBankKeeperMockRecorder) GetAccountsBalances ¶
func (mr *MockBankKeeperMockRecorder) GetAccountsBalances(ctx interface{}) *gomock.Call
GetAccountsBalances indicates an expected call of GetAccountsBalances.
func (*MockBankKeeperMockRecorder) GetAllBalances ¶
func (mr *MockBankKeeperMockRecorder) GetAllBalances(ctx, addr interface{}) *gomock.Call
GetAllBalances indicates an expected call of GetAllBalances.
func (*MockBankKeeperMockRecorder) GetAllDenomMetaData ¶
func (mr *MockBankKeeperMockRecorder) GetAllDenomMetaData(ctx interface{}) *gomock.Call
GetAllDenomMetaData indicates an expected call of GetAllDenomMetaData.
func (*MockBankKeeperMockRecorder) GetAllSendEnabledEntries ¶
func (mr *MockBankKeeperMockRecorder) GetAllSendEnabledEntries(ctx interface{}) *gomock.Call
GetAllSendEnabledEntries indicates an expected call of GetAllSendEnabledEntries.
func (*MockBankKeeperMockRecorder) GetAuthority ¶
func (mr *MockBankKeeperMockRecorder) GetAuthority() *gomock.Call
GetAuthority indicates an expected call of GetAuthority.
func (*MockBankKeeperMockRecorder) GetBalance ¶
func (mr *MockBankKeeperMockRecorder) GetBalance(ctx, addr, denom interface{}) *gomock.Call
GetBalance indicates an expected call of GetBalance.
func (*MockBankKeeperMockRecorder) GetBlockedAddresses ¶
func (mr *MockBankKeeperMockRecorder) GetBlockedAddresses() *gomock.Call
GetBlockedAddresses indicates an expected call of GetBlockedAddresses.
func (*MockBankKeeperMockRecorder) GetDenomMetaData ¶
func (mr *MockBankKeeperMockRecorder) GetDenomMetaData(ctx, denom interface{}) *gomock.Call
GetDenomMetaData indicates an expected call of GetDenomMetaData.
func (*MockBankKeeperMockRecorder) GetPaginatedTotalSupply ¶
func (mr *MockBankKeeperMockRecorder) GetPaginatedTotalSupply(ctx, pagination interface{}) *gomock.Call
GetPaginatedTotalSupply indicates an expected call of GetPaginatedTotalSupply.
func (*MockBankKeeperMockRecorder) GetParams ¶
func (mr *MockBankKeeperMockRecorder) GetParams(ctx interface{}) *gomock.Call
GetParams indicates an expected call of GetParams.
func (*MockBankKeeperMockRecorder) GetSendEnabledEntry ¶
func (mr *MockBankKeeperMockRecorder) GetSendEnabledEntry(ctx, denom interface{}) *gomock.Call
GetSendEnabledEntry indicates an expected call of GetSendEnabledEntry.
func (*MockBankKeeperMockRecorder) GetSupply ¶
func (mr *MockBankKeeperMockRecorder) GetSupply(ctx, denom interface{}) *gomock.Call
GetSupply indicates an expected call of GetSupply.
func (*MockBankKeeperMockRecorder) HasBalance ¶
func (mr *MockBankKeeperMockRecorder) HasBalance(ctx, addr, amt interface{}) *gomock.Call
HasBalance indicates an expected call of HasBalance.
func (*MockBankKeeperMockRecorder) HasDenomMetaData ¶
func (mr *MockBankKeeperMockRecorder) HasDenomMetaData(ctx, denom interface{}) *gomock.Call
HasDenomMetaData indicates an expected call of HasDenomMetaData.
func (*MockBankKeeperMockRecorder) HasSupply ¶
func (mr *MockBankKeeperMockRecorder) HasSupply(ctx, denom interface{}) *gomock.Call
HasSupply indicates an expected call of HasSupply.
func (*MockBankKeeperMockRecorder) InitGenesis ¶
func (mr *MockBankKeeperMockRecorder) InitGenesis(arg0, arg1 interface{}) *gomock.Call
InitGenesis indicates an expected call of InitGenesis.
func (*MockBankKeeperMockRecorder) InputOutputCoins ¶
func (mr *MockBankKeeperMockRecorder) InputOutputCoins(ctx, input, outputs interface{}) *gomock.Call
InputOutputCoins indicates an expected call of InputOutputCoins.
func (*MockBankKeeperMockRecorder) IsSendEnabledCoin ¶
func (mr *MockBankKeeperMockRecorder) IsSendEnabledCoin(ctx, coin interface{}) *gomock.Call
IsSendEnabledCoin indicates an expected call of IsSendEnabledCoin.
func (*MockBankKeeperMockRecorder) IsSendEnabledCoins ¶
func (mr *MockBankKeeperMockRecorder) IsSendEnabledCoins(ctx interface{}, coins ...interface{}) *gomock.Call
IsSendEnabledCoins indicates an expected call of IsSendEnabledCoins.
func (*MockBankKeeperMockRecorder) IsSendEnabledDenom ¶
func (mr *MockBankKeeperMockRecorder) IsSendEnabledDenom(ctx, denom interface{}) *gomock.Call
IsSendEnabledDenom indicates an expected call of IsSendEnabledDenom.
func (*MockBankKeeperMockRecorder) IterateAccountBalances ¶
func (mr *MockBankKeeperMockRecorder) IterateAccountBalances(ctx, addr, cb interface{}) *gomock.Call
IterateAccountBalances indicates an expected call of IterateAccountBalances.
func (*MockBankKeeperMockRecorder) IterateAllBalances ¶
func (mr *MockBankKeeperMockRecorder) IterateAllBalances(ctx, cb interface{}) *gomock.Call
IterateAllBalances indicates an expected call of IterateAllBalances.
func (*MockBankKeeperMockRecorder) IterateAllDenomMetaData ¶
func (mr *MockBankKeeperMockRecorder) IterateAllDenomMetaData(ctx, cb interface{}) *gomock.Call
IterateAllDenomMetaData indicates an expected call of IterateAllDenomMetaData.
func (*MockBankKeeperMockRecorder) IterateSendEnabledEntries ¶
func (mr *MockBankKeeperMockRecorder) IterateSendEnabledEntries(ctx, cb interface{}) *gomock.Call
IterateSendEnabledEntries indicates an expected call of IterateSendEnabledEntries.
func (*MockBankKeeperMockRecorder) IterateTotalSupply ¶
func (mr *MockBankKeeperMockRecorder) IterateTotalSupply(ctx, cb interface{}) *gomock.Call
IterateTotalSupply indicates an expected call of IterateTotalSupply.
func (*MockBankKeeperMockRecorder) LockedCoins ¶
func (mr *MockBankKeeperMockRecorder) LockedCoins(ctx, addr interface{}) *gomock.Call
LockedCoins indicates an expected call of LockedCoins.
func (*MockBankKeeperMockRecorder) MintCoins ¶
func (mr *MockBankKeeperMockRecorder) MintCoins(ctx, moduleName, amt interface{}) *gomock.Call
MintCoins indicates an expected call of MintCoins.
func (*MockBankKeeperMockRecorder) Params ¶
func (mr *MockBankKeeperMockRecorder) Params(arg0, arg1 interface{}) *gomock.Call
Params indicates an expected call of Params.
func (*MockBankKeeperMockRecorder) PrependSendRestriction ¶
func (mr *MockBankKeeperMockRecorder) PrependSendRestriction(restriction interface{}) *gomock.Call
PrependSendRestriction indicates an expected call of PrependSendRestriction.
func (*MockBankKeeperMockRecorder) SendCoins ¶
func (mr *MockBankKeeperMockRecorder) SendCoins(ctx, fromAddr, toAddr, amt interface{}) *gomock.Call
SendCoins indicates an expected call of SendCoins.
func (*MockBankKeeperMockRecorder) SendCoinsFromAccountToModule ¶
func (mr *MockBankKeeperMockRecorder) SendCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt interface{}) *gomock.Call
SendCoinsFromAccountToModule indicates an expected call of SendCoinsFromAccountToModule.
func (*MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount ¶
func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount(ctx, senderModule, recipientAddr, amt interface{}) *gomock.Call
SendCoinsFromModuleToAccount indicates an expected call of SendCoinsFromModuleToAccount.
func (*MockBankKeeperMockRecorder) SendCoinsFromModuleToModule ¶
func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToModule(ctx, senderModule, recipientModule, amt interface{}) *gomock.Call
SendCoinsFromModuleToModule indicates an expected call of SendCoinsFromModuleToModule.
func (*MockBankKeeperMockRecorder) SendEnabled ¶
func (mr *MockBankKeeperMockRecorder) SendEnabled(arg0, arg1 interface{}) *gomock.Call
SendEnabled indicates an expected call of SendEnabled.
func (*MockBankKeeperMockRecorder) SetAllSendEnabled ¶
func (mr *MockBankKeeperMockRecorder) SetAllSendEnabled(ctx, sendEnableds interface{}) *gomock.Call
SetAllSendEnabled indicates an expected call of SetAllSendEnabled.
func (*MockBankKeeperMockRecorder) SetDenomMetaData ¶
func (mr *MockBankKeeperMockRecorder) SetDenomMetaData(ctx, denomMetaData interface{}) *gomock.Call
SetDenomMetaData indicates an expected call of SetDenomMetaData.
func (*MockBankKeeperMockRecorder) SetParams ¶
func (mr *MockBankKeeperMockRecorder) SetParams(ctx, params interface{}) *gomock.Call
SetParams indicates an expected call of SetParams.
func (*MockBankKeeperMockRecorder) SetSendEnabled ¶
func (mr *MockBankKeeperMockRecorder) SetSendEnabled(ctx, denom, value interface{}) *gomock.Call
SetSendEnabled indicates an expected call of SetSendEnabled.
func (*MockBankKeeperMockRecorder) SpendableBalanceByDenom ¶
func (mr *MockBankKeeperMockRecorder) SpendableBalanceByDenom(arg0, arg1 interface{}) *gomock.Call
SpendableBalanceByDenom indicates an expected call of SpendableBalanceByDenom.
func (*MockBankKeeperMockRecorder) SpendableBalances ¶
func (mr *MockBankKeeperMockRecorder) SpendableBalances(arg0, arg1 interface{}) *gomock.Call
SpendableBalances indicates an expected call of SpendableBalances.
func (*MockBankKeeperMockRecorder) SpendableCoin ¶
func (mr *MockBankKeeperMockRecorder) SpendableCoin(ctx, addr, denom interface{}) *gomock.Call
SpendableCoin indicates an expected call of SpendableCoin.
func (*MockBankKeeperMockRecorder) SpendableCoins ¶
func (mr *MockBankKeeperMockRecorder) SpendableCoins(ctx, addr interface{}) *gomock.Call
SpendableCoins indicates an expected call of SpendableCoins.
func (*MockBankKeeperMockRecorder) SupplyOf ¶
func (mr *MockBankKeeperMockRecorder) SupplyOf(arg0, arg1 interface{}) *gomock.Call
SupplyOf indicates an expected call of SupplyOf.
func (*MockBankKeeperMockRecorder) TotalSupply ¶
func (mr *MockBankKeeperMockRecorder) TotalSupply(arg0, arg1 interface{}) *gomock.Call
TotalSupply indicates an expected call of TotalSupply.
func (*MockBankKeeperMockRecorder) UndelegateCoins ¶
func (mr *MockBankKeeperMockRecorder) UndelegateCoins(ctx, moduleAccAddr, delegatorAddr, amt interface{}) *gomock.Call
UndelegateCoins indicates an expected call of UndelegateCoins.
func (*MockBankKeeperMockRecorder) UndelegateCoinsFromModuleToAccount ¶
func (mr *MockBankKeeperMockRecorder) UndelegateCoinsFromModuleToAccount(ctx, senderModule, recipientAddr, amt interface{}) *gomock.Call
UndelegateCoinsFromModuleToAccount indicates an expected call of UndelegateCoinsFromModuleToAccount.
func (*MockBankKeeperMockRecorder) ValidateBalance ¶
func (mr *MockBankKeeperMockRecorder) ValidateBalance(ctx, addr interface{}) *gomock.Call
ValidateBalance indicates an expected call of ValidateBalance.
func (*MockBankKeeperMockRecorder) WithMintCoinsRestriction ¶
func (mr *MockBankKeeperMockRecorder) WithMintCoinsRestriction(arg0 interface{}) *gomock.Call
WithMintCoinsRestriction indicates an expected call of WithMintCoinsRestriction.