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:9

Properties

_origin

_origin: Address

Defined in

assembly/interfaces/IQuoter.ts:9

Methods

factory

factory(): IFactory

Returns

IFactory

Defined in

assembly/interfaces/IQuoter.ts:28


findBestPathFromAmountIn

findBestPathFromAmountIn(route, amountIn): Quote

Parameters

NameType
routeAddress[]
amountInu256

Returns

Quote

Defined in

assembly/interfaces/IQuoter.ts:16


findBestPathFromAmountOut

findBestPathFromAmountOut(route, amountOut): Quote

Parameters

NameType
routeAddress[]
amountOutu256

Returns

Quote

Defined in

assembly/interfaces/IQuoter.ts:22


init

init(factory): void

Parameters

NameType
factoryAddress

Returns

void

Defined in

assembly/interfaces/IQuoter.ts:11