IQuoter
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new IQuoter(_origin
): IQuoter
Parameters
Name | Type |
---|---|
_origin | Address |
Returns
Defined in
assembly/interfaces/IQuoter.ts:9
Properties
_origin
• _origin: Address
Defined in
assembly/interfaces/IQuoter.ts:9
Methods
factory
▸ factory(): IFactory
Returns
Defined in
assembly/interfaces/IQuoter.ts:28
findBestPathFromAmountIn
▸ findBestPathFromAmountIn(route
, amountIn
): Quote
Parameters
Name | Type |
---|---|
route | Address [] |
amountIn | u256 |
Returns
Quote
Defined in
assembly/interfaces/IQuoter.ts:16
findBestPathFromAmountOut
▸ findBestPathFromAmountOut(route
, amountOut
): Quote
Parameters
Name | Type |
---|---|
route | Address [] |
amountOut | u256 |
Returns
Quote
Defined in
assembly/interfaces/IQuoter.ts:22
init
▸ init(factory
): void
Parameters
Name | Type |
---|---|
factory | Address |
Returns
void