mocks

package
v0.0.0-...-a749886 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2022 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