Documentation ¶
Index ¶
- type AccountKeeper
- type BankKeeper
- func (_m *BankKeeper) BurnCoins(ctx context.Context, moduleName string, amts types.Coins) error
- func (_m *BankKeeper) MintCoins(ctx context.Context, name string, 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) SpendableCoins(ctx context.Context, addr types.AccAddress) types.Coins
- type OracleKeeper
- func (_m *OracleKeeper) GetAggregateBefore(ctx context.Context, queryId []byte, timestampBefore time.Time) (*types.Aggregate, time.Time, error)
- func (_m *OracleKeeper) GetAggregateByIndex(ctx context.Context, queryId []byte, index uint64) (*types.Aggregate, time.Time, error)
- func (_m *OracleKeeper) GetAggregateByTimestamp(ctx context.Context, queryId []byte, timestamp time.Time) (types.Aggregate, error)
- func (_m *OracleKeeper) GetAggregatedReportsByHeight(ctx context.Context, height uint64) []types.Aggregate
- func (_m *OracleKeeper) GetTimestampAfter(ctx context.Context, queryId []byte, timestamp time.Time) (time.Time, error)
- func (_m *OracleKeeper) GetTimestampBefore(ctx context.Context, queryId []byte, timestamp time.Time) (time.Time, error)
- func (_m *OracleKeeper) SetAggregate(ctx context.Context, report *types.Aggregate) error
- type ReporterKeeper
- type StakingKeeper
- func (_m *StakingKeeper) GetAllValidators(ctx context.Context) ([]types.Validator, error)
- func (_m *StakingKeeper) GetValidator(ctx context.Context, addr cosmos_sdktypes.ValAddress) (types.Validator, error)
- func (_m *StakingKeeper) GetValidators(ctx context.Context, maxRetrieve uint32) ([]types.Validator, error)
- func (_m *StakingKeeper) TotalBondedTokens(ctx context.Context) (math.Int, 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 mockConstructorTestingTNewAccountKeeper) *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.
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
type BankKeeper ¶
BankKeeper is an autogenerated mock type for the BankKeeper type
func NewBankKeeper ¶
func NewBankKeeper(t mockConstructorTestingTNewBankKeeper) *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.
func (*BankKeeper) BurnCoins ¶
BurnCoins provides a mock function with given fields: ctx, moduleName, amts
func (*BankKeeper) SendCoinsFromAccountToModule ¶
func (_m *BankKeeper) SendCoinsFromAccountToModule(ctx context.Context, senderAddr types.AccAddress, recipientModule string, amts types.Coins) error
SendCoinsFromAccountToModule provides a mock function with given fields: ctx, senderAddr, recipientModule, amts
func (*BankKeeper) SendCoinsFromModuleToAccount ¶
func (_m *BankKeeper) SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr types.AccAddress, amt types.Coins) error
SendCoinsFromModuleToAccount provides a mock function with given fields: ctx, senderModule, recipientAddr, amt
func (*BankKeeper) SpendableCoins ¶
func (_m *BankKeeper) SpendableCoins(ctx context.Context, addr types.AccAddress) types.Coins
SpendableCoins provides a mock function with given fields: ctx, addr
type OracleKeeper ¶
OracleKeeper is an autogenerated mock type for the OracleKeeper type
func NewOracleKeeper ¶
func NewOracleKeeper(t mockConstructorTestingTNewOracleKeeper) *OracleKeeper
NewOracleKeeper creates a new instance of OracleKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*OracleKeeper) GetAggregateBefore ¶
func (_m *OracleKeeper) GetAggregateBefore(ctx context.Context, queryId []byte, timestampBefore time.Time) (*types.Aggregate, time.Time, error)
GetAggregateBefore provides a mock function with given fields: ctx, queryId, timestampBefore
func (*OracleKeeper) GetAggregateByIndex ¶
func (_m *OracleKeeper) GetAggregateByIndex(ctx context.Context, queryId []byte, index uint64) (*types.Aggregate, time.Time, error)
GetAggregateByIndex provides a mock function with given fields: ctx, queryId, index
func (*OracleKeeper) GetAggregateByTimestamp ¶
func (_m *OracleKeeper) GetAggregateByTimestamp(ctx context.Context, queryId []byte, timestamp time.Time) (types.Aggregate, error)
GetAggregateByTimestamp provides a mock function with given fields: ctx, queryId, timestamp
func (*OracleKeeper) GetAggregatedReportsByHeight ¶
func (_m *OracleKeeper) GetAggregatedReportsByHeight(ctx context.Context, height uint64) []types.Aggregate
GetAggregatedReportsByHeight provides a mock function with given fields: ctx, height
func (*OracleKeeper) GetTimestampAfter ¶
func (_m *OracleKeeper) GetTimestampAfter(ctx context.Context, queryId []byte, timestamp time.Time) (time.Time, error)
GetTimestampAfter provides a mock function with given fields: ctx, queryId, timestamp
func (*OracleKeeper) GetTimestampBefore ¶
func (_m *OracleKeeper) GetTimestampBefore(ctx context.Context, queryId []byte, timestamp time.Time) (time.Time, error)
GetTimestampBefore provides a mock function with given fields: ctx, queryId, timestamp
func (*OracleKeeper) SetAggregate ¶
SetAggregate provides a mock function with given fields: ctx, report
type ReporterKeeper ¶
ReporterKeeper is an autogenerated mock type for the ReporterKeeper type
func NewReporterKeeper ¶
func NewReporterKeeper(t mockConstructorTestingTNewReporterKeeper) *ReporterKeeper
NewReporterKeeper creates a new instance of ReporterKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ReporterKeeper) TotalReporterPower ¶
TotalReporterPower provides a mock function with given fields: ctx
type StakingKeeper ¶
StakingKeeper is an autogenerated mock type for the StakingKeeper type
func NewStakingKeeper ¶
func NewStakingKeeper(t mockConstructorTestingTNewStakingKeeper) *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.
func (*StakingKeeper) GetAllValidators ¶
GetAllValidators provides a mock function with given fields: ctx
func (*StakingKeeper) GetValidator ¶
func (_m *StakingKeeper) GetValidator(ctx context.Context, addr cosmos_sdktypes.ValAddress) (types.Validator, error)
GetValidator provides a mock function with given fields: ctx, addr
func (*StakingKeeper) GetValidators ¶
func (_m *StakingKeeper) GetValidators(ctx context.Context, maxRetrieve uint32) ([]types.Validator, error)
GetValidators provides a mock function with given fields: ctx, maxRetrieve
func (*StakingKeeper) TotalBondedTokens ¶
TotalBondedTokens provides a mock function with given fields: ctx