Documentation ¶
Index ¶
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) GetModuleAddress ¶
func (_m *AccountKeeper) GetModuleAddress(moduleName string) types.AccAddress
GetModuleAddress provides a mock function with given fields: moduleName
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 types.Context, addr types.AccAddress, denom string) types.Coin
GetBalance provides a mock function with given fields: ctx, addr, denom
func (*BankKeeper) SendCoins ¶
func (_m *BankKeeper) SendCoins(ctx types.Context, fromAddr types.AccAddress, toAddr types.AccAddress, amt types.Coins) error
SendCoins provides a mock function with given fields: ctx, fromAddr, toAddr, amt
type DistributionKeeper ¶
DistributionKeeper is an autogenerated mock type for the DistributionKeeper type
func NewDistributionKeeper ¶
func NewDistributionKeeper(t interface { mock.TestingT Cleanup(func()) }, ) *DistributionKeeper
NewDistributionKeeper creates a new instance of DistributionKeeper. 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 (*DistributionKeeper) GetPreviousProposerConsAddr ¶
func (_m *DistributionKeeper) GetPreviousProposerConsAddr(ctx types.Context) types.ConsAddress
GetPreviousProposerConsAddr provides a mock function with given fields: ctx
type RewardsAddressProvider ¶
RewardsAddressProvider is an autogenerated mock type for the RewardsAddressProvider type
func NewRewardsAddressProvider ¶
func NewRewardsAddressProvider(t interface { mock.TestingT Cleanup(func()) }, ) *RewardsAddressProvider
NewRewardsAddressProvider creates a new instance of RewardsAddressProvider. 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 (*RewardsAddressProvider) GetRewardsAddress ¶
func (_m *RewardsAddressProvider) GetRewardsAddress(context types.Context) (types.AccAddress, error)
GetRewardsAddress provides a mock function with given fields: context
type StakingKeeper ¶
StakingKeeper is an autogenerated mock type for the StakingKeeper type
func NewStakingKeeper ¶
func NewStakingKeeper(t interface { mock.TestingT Cleanup(func()) }, ) *StakingKeeper
NewStakingKeeper creates a new instance of StakingKeeper. 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 (*StakingKeeper) ValidatorByConsAddr ¶
func (_m *StakingKeeper) ValidatorByConsAddr(_a0 types.Context, _a1 types.ConsAddress) stakingtypes.ValidatorI
ValidatorByConsAddr provides a mock function with given fields: _a0, _a1