Documentation ¶
Index ¶
- type EmissionAccountKeeper
- type EmissionBankKeeper
- func (_m *EmissionBankKeeper) GetBalance(ctx types.Context, addr types.AccAddress, denom string) types.Coin
- func (_m *EmissionBankKeeper) SendCoinsFromModuleToAccount(ctx types.Context, senderModule string, recipientAddr types.AccAddress, ...) error
- func (_m *EmissionBankKeeper) SendCoinsFromModuleToModule(ctx types.Context, senderModule string, recipientModule string, ...) error
- type EmissionKeeper
- type EmissionObserverKeeper
- type EmissionStakingKeeper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmissionAccountKeeper ¶
EmissionAccountKeeper is an autogenerated mock type for the EmissionAccountKeeper type
func NewEmissionAccountKeeper ¶
func NewEmissionAccountKeeper(t interface { mock.TestingT Cleanup(func()) }) *EmissionAccountKeeper
NewEmissionAccountKeeper creates a new instance of EmissionAccountKeeper. 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 (*EmissionAccountKeeper) GetModuleAccount ¶
func (_m *EmissionAccountKeeper) GetModuleAccount(ctx types.Context, moduleName string) authtypes.ModuleAccountI
GetModuleAccount provides a mock function with given fields: ctx, moduleName
type EmissionBankKeeper ¶
EmissionBankKeeper is an autogenerated mock type for the EmissionBankKeeper type
func NewEmissionBankKeeper ¶
func NewEmissionBankKeeper(t interface { mock.TestingT Cleanup(func()) }) *EmissionBankKeeper
NewEmissionBankKeeper creates a new instance of EmissionBankKeeper. 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 (*EmissionBankKeeper) GetBalance ¶
func (_m *EmissionBankKeeper) GetBalance(ctx types.Context, addr types.AccAddress, denom string) types.Coin
GetBalance provides a mock function with given fields: ctx, addr, denom
func (*EmissionBankKeeper) SendCoinsFromModuleToAccount ¶
func (_m *EmissionBankKeeper) SendCoinsFromModuleToAccount(ctx types.Context, senderModule string, recipientAddr types.AccAddress, amt types.Coins) error
SendCoinsFromModuleToAccount provides a mock function with given fields: ctx, senderModule, recipientAddr, amt
func (*EmissionBankKeeper) SendCoinsFromModuleToModule ¶
func (_m *EmissionBankKeeper) SendCoinsFromModuleToModule(ctx types.Context, senderModule string, recipientModule string, amt types.Coins) error
SendCoinsFromModuleToModule provides a mock function with given fields: ctx, senderModule, recipientModule, amt
type EmissionKeeper ¶
EmissionKeeper is an autogenerated mock type for the EmissionKeeper type
func NewEmissionKeeper ¶
func NewEmissionKeeper(t interface { mock.TestingT Cleanup(func()) }) *EmissionKeeper
NewEmissionKeeper creates a new instance of EmissionKeeper. 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.
type EmissionObserverKeeper ¶
EmissionObserverKeeper is an autogenerated mock type for the EmissionObserverKeeper type
func NewEmissionObserverKeeper ¶
func NewEmissionObserverKeeper(t interface { mock.TestingT Cleanup(func()) }) *EmissionObserverKeeper
NewEmissionObserverKeeper creates a new instance of EmissionObserverKeeper. 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 (*EmissionObserverKeeper) GetBallot ¶
func (_m *EmissionObserverKeeper) GetBallot(ctx types.Context, index string) (observertypes.Ballot, bool)
GetBallot provides a mock function with given fields: ctx, index
func (*EmissionObserverKeeper) GetMaturedBallots ¶
func (_m *EmissionObserverKeeper) GetMaturedBallots(ctx types.Context, maturityBlocks int64) (observertypes.BallotListForHeight, bool)
GetMaturedBallots provides a mock function with given fields: ctx, maturityBlocks
type EmissionStakingKeeper ¶
EmissionStakingKeeper is an autogenerated mock type for the EmissionStakingKeeper type
func NewEmissionStakingKeeper ¶
func NewEmissionStakingKeeper(t interface { mock.TestingT Cleanup(func()) }) *EmissionStakingKeeper
NewEmissionStakingKeeper creates a new instance of EmissionStakingKeeper. 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 (*EmissionStakingKeeper) BondedRatio ¶
func (_m *EmissionStakingKeeper) BondedRatio(ctx types.Context) math.LegacyDec
BondedRatio provides a mock function with given fields: ctx