mocks

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EarnHooks

type EarnHooks struct {
	mock.Mock
}

EarnHooks is an autogenerated mock type for the EarnHooks type

func NewEarnHooks

func NewEarnHooks(t mockConstructorTestingTNewEarnHooks) *EarnHooks

NewEarnHooks creates a new instance of EarnHooks. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*EarnHooks) AfterVaultDepositCreated

func (_m *EarnHooks) AfterVaultDepositCreated(ctx types.Context, vaultDenom string, depositor types.AccAddress, sharesOwned types.Dec)

AfterVaultDepositCreated provides a mock function with given fields: ctx, vaultDenom, depositor, sharesOwned

func (*EarnHooks) BeforeVaultDepositModified

func (_m *EarnHooks) BeforeVaultDepositModified(ctx types.Context, vaultDenom string, depositor types.AccAddress, sharesOwned types.Dec)

BeforeVaultDepositModified provides a mock function with given fields: ctx, vaultDenom, depositor, sharesOwned

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL