Documentation ¶
Overview ¶
Package testutil is a generated GoMock package.
Index ¶
- type MockAccountKeeper
- type MockAccountKeeperMockRecorder
- type MockDistrKeeper
- type MockDistrKeeperMockRecorder
- type MockEvmStakingKeeper
- func (m *MockEvmStakingKeeper) DequeueEligibleRewardWithdrawals(ctx context.Context, maxDequeue uint32) (types1.Withdrawals, error)
- func (m *MockEvmStakingKeeper) DequeueEligibleWithdrawals(ctx context.Context, maxDequeue uint32) (types1.Withdrawals, error)
- func (m *MockEvmStakingKeeper) EXPECT() *MockEvmStakingKeeperMockRecorder
- func (m *MockEvmStakingKeeper) MaxWithdrawalPerBlock(ctx context.Context) (uint32, error)
- func (m *MockEvmStakingKeeper) ParseDepositLog(ethlog types1.Log) (*bindings.IPTokenStakingDeposit, error)
- func (m *MockEvmStakingKeeper) ParseWithdrawLog(ethlog types1.Log) (*bindings.IPTokenStakingWithdraw, error)
- func (m *MockEvmStakingKeeper) PeekEligibleRewardWithdrawals(ctx context.Context, maxPeek uint32) (types1.Withdrawals, error)
- func (m *MockEvmStakingKeeper) PeekEligibleWithdrawals(ctx context.Context, maxPeek uint32) (types1.Withdrawals, error)
- func (m *MockEvmStakingKeeper) ProcessStakingEvents(ctx context.Context, height uint64, logs []*types2.EVMEvent) error
- type MockEvmStakingKeeperMockRecorder
- func (mr *MockEvmStakingKeeperMockRecorder) DequeueEligibleRewardWithdrawals(ctx, maxDequeue any) *gomock.Call
- func (mr *MockEvmStakingKeeperMockRecorder) DequeueEligibleWithdrawals(ctx, maxDequeue any) *gomock.Call
- func (mr *MockEvmStakingKeeperMockRecorder) MaxWithdrawalPerBlock(ctx any) *gomock.Call
- func (mr *MockEvmStakingKeeperMockRecorder) ParseDepositLog(ethlog any) *gomock.Call
- func (mr *MockEvmStakingKeeperMockRecorder) ParseWithdrawLog(ethlog any) *gomock.Call
- func (mr *MockEvmStakingKeeperMockRecorder) PeekEligibleRewardWithdrawals(ctx, maxPeek any) *gomock.Call
- func (mr *MockEvmStakingKeeperMockRecorder) PeekEligibleWithdrawals(ctx, maxPeek any) *gomock.Call
- func (mr *MockEvmStakingKeeperMockRecorder) ProcessStakingEvents(ctx, height, logs any) *gomock.Call
- type MockUpgradeKeeper
- type MockUpgradeKeeperMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAccountKeeper ¶
type MockAccountKeeper struct {
// contains filtered or unexported fields
}
MockAccountKeeper is a mock of AccountKeeper interface.
func NewMockAccountKeeper ¶
func NewMockAccountKeeper(ctrl *gomock.Controller) *MockAccountKeeper
NewMockAccountKeeper creates a new mock instance.
func (*MockAccountKeeper) EXPECT ¶
func (m *MockAccountKeeper) EXPECT() *MockAccountKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAccountKeeper) GetModuleAddress ¶
func (m *MockAccountKeeper) GetModuleAddress(moduleName string) types0.AccAddress
GetModuleAddress mocks base method.
type MockAccountKeeperMockRecorder ¶
type MockAccountKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockAccountKeeperMockRecorder is the mock recorder for MockAccountKeeper.
func (*MockAccountKeeperMockRecorder) GetModuleAddress ¶
func (mr *MockAccountKeeperMockRecorder) GetModuleAddress(moduleName any) *gomock.Call
GetModuleAddress indicates an expected call of GetModuleAddress.
type MockDistrKeeper ¶ added in v0.12.0
type MockDistrKeeper struct {
// contains filtered or unexported fields
}
MockDistrKeeper is a mock of DistrKeeper interface.
func NewMockDistrKeeper ¶ added in v0.12.0
func NewMockDistrKeeper(ctrl *gomock.Controller) *MockDistrKeeper
NewMockDistrKeeper creates a new mock instance.
func (*MockDistrKeeper) EXPECT ¶ added in v0.12.0
func (m *MockDistrKeeper) EXPECT() *MockDistrKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDistrKeeperMockRecorder ¶ added in v0.12.0
type MockDistrKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockDistrKeeperMockRecorder is the mock recorder for MockDistrKeeper.
type MockEvmStakingKeeper ¶
type MockEvmStakingKeeper struct {
// contains filtered or unexported fields
}
MockEvmStakingKeeper is a mock of EvmStakingKeeper interface.
func NewMockEvmStakingKeeper ¶
func NewMockEvmStakingKeeper(ctrl *gomock.Controller) *MockEvmStakingKeeper
NewMockEvmStakingKeeper creates a new mock instance.
func (*MockEvmStakingKeeper) DequeueEligibleRewardWithdrawals ¶ added in v0.12.0
func (m *MockEvmStakingKeeper) DequeueEligibleRewardWithdrawals(ctx context.Context, maxDequeue uint32) (types1.Withdrawals, error)
DequeueEligibleRewardWithdrawals mocks base method.
func (*MockEvmStakingKeeper) DequeueEligibleWithdrawals ¶
func (m *MockEvmStakingKeeper) DequeueEligibleWithdrawals(ctx context.Context, maxDequeue uint32) (types1.Withdrawals, error)
DequeueEligibleWithdrawals mocks base method.
func (*MockEvmStakingKeeper) EXPECT ¶
func (m *MockEvmStakingKeeper) EXPECT() *MockEvmStakingKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEvmStakingKeeper) MaxWithdrawalPerBlock ¶ added in v0.12.0
func (m *MockEvmStakingKeeper) MaxWithdrawalPerBlock(ctx context.Context) (uint32, error)
MaxWithdrawalPerBlock mocks base method.
func (*MockEvmStakingKeeper) ParseDepositLog ¶
func (m *MockEvmStakingKeeper) ParseDepositLog(ethlog types1.Log) (*bindings.IPTokenStakingDeposit, error)
ParseDepositLog mocks base method.
func (*MockEvmStakingKeeper) ParseWithdrawLog ¶
func (m *MockEvmStakingKeeper) ParseWithdrawLog(ethlog types1.Log) (*bindings.IPTokenStakingWithdraw, error)
ParseWithdrawLog mocks base method.
func (*MockEvmStakingKeeper) PeekEligibleRewardWithdrawals ¶ added in v0.12.0
func (m *MockEvmStakingKeeper) PeekEligibleRewardWithdrawals(ctx context.Context, maxPeek uint32) (types1.Withdrawals, error)
PeekEligibleRewardWithdrawals mocks base method.
func (*MockEvmStakingKeeper) PeekEligibleWithdrawals ¶
func (m *MockEvmStakingKeeper) PeekEligibleWithdrawals(ctx context.Context, maxPeek uint32) (types1.Withdrawals, error)
PeekEligibleWithdrawals mocks base method.
func (*MockEvmStakingKeeper) ProcessStakingEvents ¶
func (m *MockEvmStakingKeeper) ProcessStakingEvents(ctx context.Context, height uint64, logs []*types2.EVMEvent) error
ProcessStakingEvents mocks base method.
type MockEvmStakingKeeperMockRecorder ¶
type MockEvmStakingKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockEvmStakingKeeperMockRecorder is the mock recorder for MockEvmStakingKeeper.
func (*MockEvmStakingKeeperMockRecorder) DequeueEligibleRewardWithdrawals ¶ added in v0.12.0
func (mr *MockEvmStakingKeeperMockRecorder) DequeueEligibleRewardWithdrawals(ctx, maxDequeue any) *gomock.Call
DequeueEligibleRewardWithdrawals indicates an expected call of DequeueEligibleRewardWithdrawals.
func (*MockEvmStakingKeeperMockRecorder) DequeueEligibleWithdrawals ¶
func (mr *MockEvmStakingKeeperMockRecorder) DequeueEligibleWithdrawals(ctx, maxDequeue any) *gomock.Call
DequeueEligibleWithdrawals indicates an expected call of DequeueEligibleWithdrawals.
func (*MockEvmStakingKeeperMockRecorder) MaxWithdrawalPerBlock ¶ added in v0.12.0
func (mr *MockEvmStakingKeeperMockRecorder) MaxWithdrawalPerBlock(ctx any) *gomock.Call
MaxWithdrawalPerBlock indicates an expected call of MaxWithdrawalPerBlock.
func (*MockEvmStakingKeeperMockRecorder) ParseDepositLog ¶
func (mr *MockEvmStakingKeeperMockRecorder) ParseDepositLog(ethlog any) *gomock.Call
ParseDepositLog indicates an expected call of ParseDepositLog.
func (*MockEvmStakingKeeperMockRecorder) ParseWithdrawLog ¶
func (mr *MockEvmStakingKeeperMockRecorder) ParseWithdrawLog(ethlog any) *gomock.Call
ParseWithdrawLog indicates an expected call of ParseWithdrawLog.
func (*MockEvmStakingKeeperMockRecorder) PeekEligibleRewardWithdrawals ¶ added in v0.12.0
func (mr *MockEvmStakingKeeperMockRecorder) PeekEligibleRewardWithdrawals(ctx, maxPeek any) *gomock.Call
PeekEligibleRewardWithdrawals indicates an expected call of PeekEligibleRewardWithdrawals.
func (*MockEvmStakingKeeperMockRecorder) PeekEligibleWithdrawals ¶
func (mr *MockEvmStakingKeeperMockRecorder) PeekEligibleWithdrawals(ctx, maxPeek any) *gomock.Call
PeekEligibleWithdrawals indicates an expected call of PeekEligibleWithdrawals.
func (*MockEvmStakingKeeperMockRecorder) ProcessStakingEvents ¶
func (mr *MockEvmStakingKeeperMockRecorder) ProcessStakingEvents(ctx, height, logs any) *gomock.Call
ProcessStakingEvents indicates an expected call of ProcessStakingEvents.
type MockUpgradeKeeper ¶
type MockUpgradeKeeper struct {
// contains filtered or unexported fields
}
MockUpgradeKeeper is a mock of UpgradeKeeper interface.
func NewMockUpgradeKeeper ¶
func NewMockUpgradeKeeper(ctrl *gomock.Controller) *MockUpgradeKeeper
NewMockUpgradeKeeper creates a new mock instance.
func (*MockUpgradeKeeper) EXPECT ¶
func (m *MockUpgradeKeeper) EXPECT() *MockUpgradeKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUpgradeKeeper) ScheduleUpgrade ¶
ScheduleUpgrade mocks base method.
type MockUpgradeKeeperMockRecorder ¶
type MockUpgradeKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockUpgradeKeeperMockRecorder is the mock recorder for MockUpgradeKeeper.
func (*MockUpgradeKeeperMockRecorder) ScheduleUpgrade ¶
func (mr *MockUpgradeKeeperMockRecorder) ScheduleUpgrade(ctx, plan any) *gomock.Call
ScheduleUpgrade indicates an expected call of ScheduleUpgrade.