Skip to main content

IQuoter

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new IQuoter(_origin): IQuoter

Parameters

NameType
_originAddress

Returns

IQuoter

Defined in

assembly/interfaces/IQuoter.ts:10

Properties

_origin

_origin: Address

Defined in

assembly/interfaces/IQuoter.ts:10

Methods

factory

factory(): IFactory

Returns

IFactory

Defined in

assembly/interfaces/IQuoter.ts:43


findBestPathFromAmountIn

findBestPathFromAmountIn(route, amountIn, checkLegacy): Quote

Parameters

NameType
routeAddress[]
amountInu256
checkLegacybool

Returns

Quote

Defined in

assembly/interfaces/IQuoter.ts:17


findBestPathFromAmountOut

findBestPathFromAmountOut(route, amountOut, checkLegacy): Quote

Parameters

NameType
routeAddress[]
amountOutu256
checkLegacybool

Returns

Quote

Defined in

assembly/interfaces/IQuoter.ts:30


init

init(factory, v0Factory, legacyFactory): void

Parameters

NameType
factoryAddress
v0FactoryAddress
legacyFactoryAddress

Returns

void

Defined in

assembly/interfaces/IQuoter.ts:12


legacyFactory

legacyFactory(): IV0Factory

Returns

IV0Factory

Defined in

assembly/interfaces/IQuoter.ts:53


v0Factory

v0Factory(): IV0Factory

Returns

IV0Factory

Defined in

assembly/interfaces/IQuoter.ts:48