Documentation ¶
Overview ¶
Package testutil is a generated GoMock package.
Index ¶
- type MockAccountKeeper
- type MockAccountKeeperMockRecorder
- type MockEvmStakingKeeper
- func (m *MockEvmStakingKeeper) DequeueEligibleWithdrawals(ctx context.Context) (types1.Withdrawals, error)
- func (m *MockEvmStakingKeeper) EXPECT() *MockEvmStakingKeeperMockRecorder
- func (m *MockEvmStakingKeeper) ParseDepositLog(ethlog types1.Log) (*bindings.IPTokenStakingDeposit, error)
- func (m *MockEvmStakingKeeper) ParseWithdrawLog(ethlog types1.Log) (*bindings.IPTokenStakingWithdraw, error)
- func (m *MockEvmStakingKeeper) PeekEligibleWithdrawals(ctx context.Context) (types1.Withdrawals, error)
- func (m *MockEvmStakingKeeper) ProcessDeposit(ctx context.Context, ev *bindings.IPTokenStakingDeposit) error
- func (m *MockEvmStakingKeeper) ProcessStakingEvents(ctx context.Context, height uint64, logs []*types2.EVMEvent) error
- func (m *MockEvmStakingKeeper) ProcessWithdraw(ctx context.Context, ev *bindings.IPTokenStakingWithdraw) error
- type MockEvmStakingKeeperMockRecorder
- func (mr *MockEvmStakingKeeperMockRecorder) DequeueEligibleWithdrawals(ctx any) *gomock.Call
- func (mr *MockEvmStakingKeeperMockRecorder) ParseDepositLog(ethlog any) *gomock.Call
- func (mr *MockEvmStakingKeeperMockRecorder) ParseWithdrawLog(ethlog any) *gomock.Call
- func (mr *MockEvmStakingKeeperMockRecorder) PeekEligibleWithdrawals(ctx any) *gomock.Call
- func (mr *MockEvmStakingKeeperMockRecorder) ProcessDeposit(ctx, ev any) *gomock.Call
- func (mr *MockEvmStakingKeeperMockRecorder) ProcessStakingEvents(ctx, height, logs any) *gomock.Call
- func (mr *MockEvmStakingKeeperMockRecorder) ProcessWithdraw(ctx, ev 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 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) DequeueEligibleWithdrawals ¶
func (m *MockEvmStakingKeeper) DequeueEligibleWithdrawals(ctx context.Context) (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) 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) PeekEligibleWithdrawals ¶
func (m *MockEvmStakingKeeper) PeekEligibleWithdrawals(ctx context.Context) (types1.Withdrawals, error)
PeekEligibleWithdrawals mocks base method.
func (*MockEvmStakingKeeper) ProcessDeposit ¶
func (m *MockEvmStakingKeeper) ProcessDeposit(ctx context.Context, ev *bindings.IPTokenStakingDeposit) error
ProcessDeposit mocks base method.
func (*MockEvmStakingKeeper) ProcessStakingEvents ¶
func (m *MockEvmStakingKeeper) ProcessStakingEvents(ctx context.Context, height uint64, logs []*types2.EVMEvent) error
ProcessStakingEvents mocks base method.
func (*MockEvmStakingKeeper) ProcessWithdraw ¶
func (m *MockEvmStakingKeeper) ProcessWithdraw(ctx context.Context, ev *bindings.IPTokenStakingWithdraw) error
ProcessWithdraw mocks base method.
type MockEvmStakingKeeperMockRecorder ¶
type MockEvmStakingKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockEvmStakingKeeperMockRecorder is the mock recorder for MockEvmStakingKeeper.
func (*MockEvmStakingKeeperMockRecorder) DequeueEligibleWithdrawals ¶
func (mr *MockEvmStakingKeeperMockRecorder) DequeueEligibleWithdrawals(ctx any) *gomock.Call
DequeueEligibleWithdrawals indicates an expected call of DequeueEligibleWithdrawals.
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) PeekEligibleWithdrawals ¶
func (mr *MockEvmStakingKeeperMockRecorder) PeekEligibleWithdrawals(ctx any) *gomock.Call
PeekEligibleWithdrawals indicates an expected call of PeekEligibleWithdrawals.
func (*MockEvmStakingKeeperMockRecorder) ProcessDeposit ¶
func (mr *MockEvmStakingKeeperMockRecorder) ProcessDeposit(ctx, ev any) *gomock.Call
ProcessDeposit indicates an expected call of ProcessDeposit.
func (*MockEvmStakingKeeperMockRecorder) ProcessStakingEvents ¶
func (mr *MockEvmStakingKeeperMockRecorder) ProcessStakingEvents(ctx, height, logs any) *gomock.Call
ProcessStakingEvents indicates an expected call of ProcessStakingEvents.
func (*MockEvmStakingKeeperMockRecorder) ProcessWithdraw ¶
func (mr *MockEvmStakingKeeperMockRecorder) ProcessWithdraw(ctx, ev any) *gomock.Call
ProcessWithdraw indicates an expected call of ProcessWithdraw.
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.