fees

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRatesContract

type MockRatesContract struct {
	mock.Mock
}

MockRatesContract is an autogenerated mock type for the RatesContract type

func NewMockRatesContract

func NewMockRatesContract(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockRatesContract

NewMockRatesContract creates a new instance of MockRatesContract. 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 (*MockRatesContract) EXPECT

func (*MockRatesContract) GetRates

func (_m *MockRatesContract) GetRates(opts *bind.CallOpts, fromIndex *big.Int, count *big.Int) ([]rateregistry.IRateRegistryRates, error)

GetRates provides a mock function with given fields: opts, fromIndex, count

func (*MockRatesContract) GetRatesCount added in v0.4.0

func (_m *MockRatesContract) GetRatesCount(opts *bind.CallOpts) (*big.Int, error)

GetRatesCount provides a mock function with given fields: opts

type MockRatesContract_Expecter

type MockRatesContract_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockRatesContract_Expecter) GetRates

func (_e *MockRatesContract_Expecter) GetRates(opts interface{}, fromIndex interface{}, count interface{}) *MockRatesContract_GetRates_Call

GetRates is a helper method to define mock.On call

  • opts *bind.CallOpts
  • fromIndex *big.Int
  • count *big.Int

func (*MockRatesContract_Expecter) GetRatesCount added in v0.4.0

func (_e *MockRatesContract_Expecter) GetRatesCount(opts interface{}) *MockRatesContract_GetRatesCount_Call

GetRatesCount is a helper method to define mock.On call

  • opts *bind.CallOpts

type MockRatesContract_GetRatesCount_Call added in v0.4.0

type MockRatesContract_GetRatesCount_Call struct {
	*mock.Call
}

MockRatesContract_GetRatesCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRatesCount'

func (*MockRatesContract_GetRatesCount_Call) Return added in v0.4.0

func (*MockRatesContract_GetRatesCount_Call) Run added in v0.4.0

func (*MockRatesContract_GetRatesCount_Call) RunAndReturn added in v0.4.0

type MockRatesContract_GetRates_Call

type MockRatesContract_GetRates_Call struct {
	*mock.Call
}

MockRatesContract_GetRates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRates'

func (*MockRatesContract_GetRates_Call) Return

func (*MockRatesContract_GetRates_Call) Run

func (_c *MockRatesContract_GetRates_Call) Run(run func(opts *bind.CallOpts, fromIndex *big.Int, count *big.Int)) *MockRatesContract_GetRates_Call

func (*MockRatesContract_GetRates_Call) RunAndReturn

Jump to

Keyboard shortcuts

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