Documentation ¶
Index ¶
- type AccountKeeper
- func (_m *AccountKeeper) GetAccount(ctx context.Context, addr types.AccAddress) types.AccountI
- func (_m *AccountKeeper) HasAccount(ctx context.Context, addr types.AccAddress) bool
- func (_m *AccountKeeper) NewAccountWithAddress(ctx context.Context, addr types.AccAddress) types.AccountI
- func (_m *AccountKeeper) SetAccount(ctx context.Context, acc types.AccountI)
- type EvmKeeper
- type Keeper
- func (_m *Keeper) AddNewJob(ctx context.Context, job *types.Job) error
- func (_m *Keeper) ExecuteJob(ctx context.Context, jobID string, payload []byte, ...) (uint64, error)
- func (_m *Keeper) GetAccount(ctx context.Context, addr cosmos_sdktypes.AccAddress) authtypes.AccountI
- func (_m *Keeper) GetJob(ctx context.Context, jobID string) (*types.Job, error)
- func (_m *Keeper) Logger(ctx context.Context) log.Logger
- func (_m *Keeper) PreJobExecution(ctx context.Context, job *types.Job) error
- func (_m *Keeper) ScheduleNow(ctx context.Context, jobID string, in []byte, ...) (uint64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountKeeper ¶ added in v1.13.0
AccountKeeper is an autogenerated mock type for the AccountKeeper type
func NewAccountKeeper ¶ added in v1.13.0
func NewAccountKeeper(t interface { mock.TestingT Cleanup(func()) }) *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. The first argument is typically a *testing.T value.
func (*AccountKeeper) GetAccount ¶ added in v1.13.0
func (_m *AccountKeeper) GetAccount(ctx context.Context, addr types.AccAddress) types.AccountI
GetAccount provides a mock function with given fields: ctx, addr
func (*AccountKeeper) HasAccount ¶ added in v1.13.0
func (_m *AccountKeeper) HasAccount(ctx context.Context, addr types.AccAddress) bool
HasAccount provides a mock function with given fields: ctx, addr
func (*AccountKeeper) NewAccountWithAddress ¶ added in v1.13.0
func (_m *AccountKeeper) NewAccountWithAddress(ctx context.Context, addr types.AccAddress) types.AccountI
NewAccountWithAddress provides a mock function with given fields: ctx, addr
func (*AccountKeeper) SetAccount ¶ added in v1.13.0
func (_m *AccountKeeper) SetAccount(ctx context.Context, acc types.AccountI)
SetAccount provides a mock function with given fields: ctx, acc
type EvmKeeper ¶ added in v1.13.0
EvmKeeper is an autogenerated mock type for the EvmKeeper type
func NewEvmKeeper ¶ added in v1.13.0
NewEvmKeeper creates a new instance of EvmKeeper. 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 (*EvmKeeper) PickValidatorForMessage ¶ added in v1.13.0
func (_m *EvmKeeper) PickValidatorForMessage(ctx context.Context, chainReferenceID string, req *xchain.JobRequirements) (string, error)
PickValidatorForMessage provides a mock function with given fields: ctx, chainReferenceID, req
type Keeper ¶ added in v1.4.0
Keeper is an autogenerated mock type for the Keeper type
func NewKeeper ¶ added in v1.4.0
NewKeeper creates a new instance of Keeper. 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 (*Keeper) AddNewJob ¶ added in v1.4.0
AddNewJob provides a mock function with given fields: ctx, job
func (*Keeper) ExecuteJob ¶ added in v1.9.1
func (_m *Keeper) ExecuteJob(ctx context.Context, jobID string, payload []byte, senderAddress cosmos_sdktypes.AccAddress, contractAddr cosmos_sdktypes.AccAddress) (uint64, error)
ExecuteJob provides a mock function with given fields: ctx, jobID, payload, senderAddress, contractAddr
func (*Keeper) GetAccount ¶ added in v1.4.0
func (_m *Keeper) GetAccount(ctx context.Context, addr cosmos_sdktypes.AccAddress) authtypes.AccountI
GetAccount provides a mock function with given fields: ctx, addr
func (*Keeper) GetJob ¶ added in v1.4.0
GetJob provides a mock function with given fields: ctx, jobID
func (*Keeper) PreJobExecution ¶ added in v1.4.0
PreJobExecution provides a mock function with given fields: ctx, job
func (*Keeper) ScheduleNow ¶ added in v1.4.0
func (_m *Keeper) ScheduleNow(ctx context.Context, jobID string, in []byte, senderAddress cosmos_sdktypes.AccAddress, contractAddress cosmos_sdktypes.AccAddress) (uint64, error)
ScheduleNow provides a mock function with given fields: ctx, jobID, in, senderAddress, contractAddress