Documentation ¶
Index ¶
- type BandwidthKeeper
- func (_m *BandwidthKeeper) BeginBlocker(ctx types.Context) types.Error
- func (_m *BandwidthKeeper) CheckBandwidth(ctx types.Context, addr types.AccAddress, fee authtypes.StdFee) types.Error
- func (_m *BandwidthKeeper) DecayMaxMPS(ctx types.Context) types.Error
- func (_m *BandwidthKeeper) EndBlocker(ctx types.Context) types.Error
- func (_m *BandwidthKeeper) GetAppBandwidthInfo(ctx types.Context, accKey linotypes.AccountKey) (*model.AppBandwidthInfo, types.Error)
- func (_m *BandwidthKeeper) GetBandwidthInfo(ctx types.Context) (*model.BandwidthInfo, types.Error)
- func (_m *BandwidthKeeper) GetBlockInfo(ctx types.Context) (*model.BlockInfo, types.Error)
- func (_m *BandwidthKeeper) InitGenesis(ctx types.Context) error
- func (_m *BandwidthKeeper) ReCalculateAppBandwidthInfo(ctx types.Context) types.Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BandwidthKeeper ¶
BandwidthKeeper is an autogenerated mock type for the BandwidthKeeper type
func (*BandwidthKeeper) BeginBlocker ¶
func (_m *BandwidthKeeper) BeginBlocker(ctx types.Context) types.Error
BeginBlocker provides a mock function with given fields: ctx
func (*BandwidthKeeper) CheckBandwidth ¶
func (_m *BandwidthKeeper) CheckBandwidth(ctx types.Context, addr types.AccAddress, fee authtypes.StdFee) types.Error
CheckBandwidth provides a mock function with given fields: ctx, addr, fee
func (*BandwidthKeeper) DecayMaxMPS ¶
func (_m *BandwidthKeeper) DecayMaxMPS(ctx types.Context) types.Error
DecayMaxMPS provides a mock function with given fields: ctx
func (*BandwidthKeeper) EndBlocker ¶
func (_m *BandwidthKeeper) EndBlocker(ctx types.Context) types.Error
EndBlocker provides a mock function with given fields: ctx
func (*BandwidthKeeper) GetAppBandwidthInfo ¶
func (_m *BandwidthKeeper) GetAppBandwidthInfo(ctx types.Context, accKey linotypes.AccountKey) (*model.AppBandwidthInfo, types.Error)
GetAppBandwidthInfo provides a mock function with given fields: ctx, accKey
func (*BandwidthKeeper) GetBandwidthInfo ¶
func (_m *BandwidthKeeper) GetBandwidthInfo(ctx types.Context) (*model.BandwidthInfo, types.Error)
GetBandwidthInfo provides a mock function with given fields: ctx
func (*BandwidthKeeper) GetBlockInfo ¶
GetBlockInfo provides a mock function with given fields: ctx
func (*BandwidthKeeper) InitGenesis ¶
func (_m *BandwidthKeeper) InitGenesis(ctx types.Context) error
InitGenesis provides a mock function with given fields: ctx
func (*BandwidthKeeper) ReCalculateAppBandwidthInfo ¶
func (_m *BandwidthKeeper) ReCalculateAppBandwidthInfo(ctx types.Context) types.Error
ReCalculateAppBandwidthInfo provides a mock function with given fields: ctx