mocks

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ERC20Reader

type ERC20Reader struct {
	mock.Mock
}

ERC20Reader is an autogenerated mock type for the ERC20Reader type

func NewERC20Reader

func NewERC20Reader(t interface {
	mock.TestingT
	Cleanup(func())
}) *ERC20Reader

NewERC20Reader creates a new instance of ERC20Reader. 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 (*ERC20Reader) BalanceOf

func (_m *ERC20Reader) BalanceOf(_a0 context.Context, _a1 *felt.Felt) (*big.Int, error)

BalanceOf provides a mock function with given fields: _a0, _a1

func (*ERC20Reader) BaseReader

func (_m *ERC20Reader) BaseReader() starknet.Reader

BaseReader provides a mock function with given fields:

func (*ERC20Reader) Decimals

func (_m *ERC20Reader) Decimals(_a0 context.Context) (*big.Int, error)

Decimals provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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