Properties
_deployedPromise
_deployedPromise: Promise<Contract>
_runningEvents
_runningEvents: {}
Type declaration
[eventTag: string]: RunningEvent
_wrappedEmits
_wrappedEmits: {}
Type declaration
[eventTag: string]: (...args: any[]) => void
Readonly address
address: string
callStatic
callStatic: { getAmountIn: any; getAmountIn(address,uint256[],uint256[],uint256): any; getAmountOut: any; getAmountOut(address,uint256[],uint256[],uint256): any; getSpotPrice: any; getSpotPrice(address,uint256[],uint256[]): any; swapExactAmountIn: any; swapExactAmountIn(address,uint256[],uint256[],uint256,uint256,address,uint256,address): any; swapExactAmountOut: any; swapExactAmountOut(address,uint256[],uint256[],uint256,uint256,address,uint256,address): any }
Type declaration
getAmountIn:function
- getAmountIn(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], _tokenAmountOut: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
_tokenAmountOut: BigNumberish
Optional overrides: CallOverrides
Returns Promise<BigNumber>
getAmountIn(address,uint256[],uint256[],uint256):function
- getAmountIn(address,uint256[],uint256[],uint256)(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], _tokenAmountOut: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
_tokenAmountOut: BigNumberish
Optional overrides: CallOverrides
Returns Promise<BigNumber>
getAmountOut:function
- getAmountOut(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], _tokenAmountIn: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
_tokenAmountIn: BigNumberish
Optional overrides: CallOverrides
Returns Promise<BigNumber>
getAmountOut(address,uint256[],uint256[],uint256):function
- getAmountOut(address,uint256[],uint256[],uint256)(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], _tokenAmountIn: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
_tokenAmountIn: BigNumberish
Optional overrides: CallOverrides
Returns Promise<BigNumber>
getSpotPrice:function
- getSpotPrice(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], overrides?: CallOverrides): Promise<BigNumber>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
Optional overrides: CallOverrides
Returns Promise<BigNumber>
getSpotPrice(address,uint256[],uint256[]):function
- getSpotPrice(address,uint256[],uint256[])(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], overrides?: CallOverrides): Promise<BigNumber>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
Optional overrides: CallOverrides
Returns Promise<BigNumber>
swapExactAmountIn:function
- swapExactAmountIn(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], _tokenAmountIn: BigNumberish, _minAmountOut: BigNumberish, _to: string, _deadline: BigNumberish, _referralRecipient: string, overrides?: CallOverrides): Promise<BigNumber>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
_tokenAmountIn: BigNumberish
_minAmountOut: BigNumberish
_to: string
_deadline: BigNumberish
_referralRecipient: string
Optional overrides: CallOverrides
Returns Promise<BigNumber>
swapExactAmountIn(address,uint256[],uint256[],uint256,uint256,address,uint256,address):function
- swapExactAmountIn(address,uint256[],uint256[],uint256,uint256,address,uint256,address)(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], _tokenAmountIn: BigNumberish, _minAmountOut: BigNumberish, _to: string, _deadline: BigNumberish, _referralRecipient: string, overrides?: CallOverrides): Promise<BigNumber>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
_tokenAmountIn: BigNumberish
_minAmountOut: BigNumberish
_to: string
_deadline: BigNumberish
_referralRecipient: string
Optional overrides: CallOverrides
Returns Promise<BigNumber>
swapExactAmountOut:function
- swapExactAmountOut(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], _maxAmountIn: BigNumberish, _tokenAmountOut: BigNumberish, _to: string, _deadline: BigNumberish, _referralRecipient: string, overrides?: CallOverrides): Promise<BigNumber>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
_maxAmountIn: BigNumberish
_tokenAmountOut: BigNumberish
_to: string
_deadline: BigNumberish
_referralRecipient: string
Optional overrides: CallOverrides
Returns Promise<BigNumber>
swapExactAmountOut(address,uint256[],uint256[],uint256,uint256,address,uint256,address):function
- swapExactAmountOut(address,uint256[],uint256[],uint256,uint256,address,uint256,address)(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], _maxAmountIn: BigNumberish, _tokenAmountOut: BigNumberish, _to: string, _deadline: BigNumberish, _referralRecipient: string, overrides?: CallOverrides): Promise<BigNumber>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
_maxAmountIn: BigNumberish
_tokenAmountOut: BigNumberish
_to: string
_deadline: BigNumberish
_referralRecipient: string
Optional overrides: CallOverrides
Returns Promise<BigNumber>
Readonly deployTransaction
deployTransaction: TransactionResponse
estimateGas
estimateGas: { getAmountIn: any; getAmountIn(address,uint256[],uint256[],uint256): any; getAmountOut: any; getAmountOut(address,uint256[],uint256[],uint256): any; getSpotPrice: any; getSpotPrice(address,uint256[],uint256[]): any; swapExactAmountIn: any; swapExactAmountIn(address,uint256[],uint256[],uint256,uint256,address,uint256,address): any; swapExactAmountOut: any; swapExactAmountOut(address,uint256[],uint256[],uint256,uint256,address,uint256,address): any }
Type declaration
getAmountIn:function
- getAmountIn(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], _tokenAmountOut: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
_tokenAmountOut: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
getAmountIn(address,uint256[],uint256[],uint256):function
- getAmountIn(address,uint256[],uint256[],uint256)(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], _tokenAmountOut: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
_tokenAmountOut: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
getAmountOut:function
- getAmountOut(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], _tokenAmountIn: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
_tokenAmountIn: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
getAmountOut(address,uint256[],uint256[],uint256):function
- getAmountOut(address,uint256[],uint256[],uint256)(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], _tokenAmountIn: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
_tokenAmountIn: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
getSpotPrice:function
- getSpotPrice(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
getSpotPrice(address,uint256[],uint256[]):function
- getSpotPrice(address,uint256[],uint256[])(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
swapExactAmountIn:function
- swapExactAmountIn(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], _tokenAmountIn: BigNumberish, _minAmountOut: BigNumberish, _to: string, _deadline: BigNumberish, _referralRecipient: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
_tokenAmountIn: BigNumberish
_minAmountOut: BigNumberish
_to: string
_deadline: BigNumberish
_referralRecipient: string
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
swapExactAmountIn(address,uint256[],uint256[],uint256,uint256,address,uint256,address):function
- swapExactAmountIn(address,uint256[],uint256[],uint256,uint256,address,uint256,address)(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], _tokenAmountIn: BigNumberish, _minAmountOut: BigNumberish, _to: string, _deadline: BigNumberish, _referralRecipient: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
_tokenAmountIn: BigNumberish
_minAmountOut: BigNumberish
_to: string
_deadline: BigNumberish
_referralRecipient: string
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
swapExactAmountOut:function
- swapExactAmountOut(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], _maxAmountIn: BigNumberish, _tokenAmountOut: BigNumberish, _to: string, _deadline: BigNumberish, _referralRecipient: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
_maxAmountIn: BigNumberish
_tokenAmountOut: BigNumberish
_to: string
_deadline: BigNumberish
_referralRecipient: string
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
swapExactAmountOut(address,uint256[],uint256[],uint256,uint256,address,uint256,address):function
- swapExactAmountOut(address,uint256[],uint256[],uint256,uint256,address,uint256,address)(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], _maxAmountIn: BigNumberish, _tokenAmountOut: BigNumberish, _to: string, _deadline: BigNumberish, _referralRecipient: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
_maxAmountIn: BigNumberish
_tokenAmountOut: BigNumberish
_to: string
_deadline: BigNumberish
_referralRecipient: string
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
functions
functions: { getAmountIn: any; getAmountIn(address,uint256[],uint256[],uint256): any; getAmountOut: any; getAmountOut(address,uint256[],uint256[],uint256): any; getSpotPrice: any; getSpotPrice(address,uint256[],uint256[]): any; swapExactAmountIn: any; swapExactAmountIn(address,uint256[],uint256[],uint256,uint256,address,uint256,address): any; swapExactAmountOut: any; swapExactAmountOut(address,uint256[],uint256[],uint256,uint256,address,uint256,address): any }
Type declaration
getAmountIn:function
- getAmountIn(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], _tokenAmountOut: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
_tokenAmountOut: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
getAmountIn(address,uint256[],uint256[],uint256):function
- getAmountIn(address,uint256[],uint256[],uint256)(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], _tokenAmountOut: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
_tokenAmountOut: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
getAmountOut:function
- getAmountOut(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], _tokenAmountIn: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
_tokenAmountIn: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
getAmountOut(address,uint256[],uint256[],uint256):function
- getAmountOut(address,uint256[],uint256[],uint256)(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], _tokenAmountIn: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
_tokenAmountIn: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
getSpotPrice:function
- getSpotPrice(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
getSpotPrice(address,uint256[],uint256[]):function
- getSpotPrice(address,uint256[],uint256[])(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
swapExactAmountIn:function
- swapExactAmountIn(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], _tokenAmountIn: BigNumberish, _minAmountOut: BigNumberish, _to: string, _deadline: BigNumberish, _referralRecipient: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
_tokenAmountIn: BigNumberish
_minAmountOut: BigNumberish
_to: string
_deadline: BigNumberish
_referralRecipient: string
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
swapExactAmountIn(address,uint256[],uint256[],uint256,uint256,address,uint256,address):function
- swapExactAmountIn(address,uint256[],uint256[],uint256,uint256,address,uint256,address)(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], _tokenAmountIn: BigNumberish, _minAmountOut: BigNumberish, _to: string, _deadline: BigNumberish, _referralRecipient: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
_tokenAmountIn: BigNumberish
_minAmountOut: BigNumberish
_to: string
_deadline: BigNumberish
_referralRecipient: string
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
swapExactAmountOut:function
- swapExactAmountOut(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], _maxAmountIn: BigNumberish, _tokenAmountOut: BigNumberish, _to: string, _deadline: BigNumberish, _referralRecipient: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
_maxAmountIn: BigNumberish
_tokenAmountOut: BigNumberish
_to: string
_deadline: BigNumberish
_referralRecipient: string
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
swapExactAmountOut(address,uint256[],uint256[],uint256,uint256,address,uint256,address):function
- swapExactAmountOut(address,uint256[],uint256[],uint256,uint256,address,uint256,address)(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], _maxAmountIn: BigNumberish, _tokenAmountOut: BigNumberish, _to: string, _deadline: BigNumberish, _referralRecipient: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
_maxAmountIn: BigNumberish
_tokenAmountOut: BigNumberish
_to: string
_deadline: BigNumberish
_referralRecipient: string
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
interface
interface: IAMMRouterV1Interface
populateTransaction
populateTransaction: { getAmountIn: any; getAmountIn(address,uint256[],uint256[],uint256): any; getAmountOut: any; getAmountOut(address,uint256[],uint256[],uint256): any; getSpotPrice: any; getSpotPrice(address,uint256[],uint256[]): any; swapExactAmountIn: any; swapExactAmountIn(address,uint256[],uint256[],uint256,uint256,address,uint256,address): any; swapExactAmountOut: any; swapExactAmountOut(address,uint256[],uint256[],uint256,uint256,address,uint256,address): any }
Type declaration
getAmountIn:function
- getAmountIn(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], _tokenAmountOut: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
_tokenAmountOut: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
getAmountIn(address,uint256[],uint256[],uint256):function
- getAmountIn(address,uint256[],uint256[],uint256)(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], _tokenAmountOut: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
_tokenAmountOut: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
getAmountOut:function
- getAmountOut(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], _tokenAmountIn: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
_tokenAmountIn: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
getAmountOut(address,uint256[],uint256[],uint256):function
- getAmountOut(address,uint256[],uint256[],uint256)(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], _tokenAmountIn: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
_tokenAmountIn: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
getSpotPrice:function
- getSpotPrice(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
getSpotPrice(address,uint256[],uint256[]):function
- getSpotPrice(address,uint256[],uint256[])(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
swapExactAmountIn:function
- swapExactAmountIn(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], _tokenAmountIn: BigNumberish, _minAmountOut: BigNumberish, _to: string, _deadline: BigNumberish, _referralRecipient: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
_tokenAmountIn: BigNumberish
_minAmountOut: BigNumberish
_to: string
_deadline: BigNumberish
_referralRecipient: string
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
swapExactAmountIn(address,uint256[],uint256[],uint256,uint256,address,uint256,address):function
- swapExactAmountIn(address,uint256[],uint256[],uint256,uint256,address,uint256,address)(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], _tokenAmountIn: BigNumberish, _minAmountOut: BigNumberish, _to: string, _deadline: BigNumberish, _referralRecipient: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
_tokenAmountIn: BigNumberish
_minAmountOut: BigNumberish
_to: string
_deadline: BigNumberish
_referralRecipient: string
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
swapExactAmountOut:function
- swapExactAmountOut(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], _maxAmountIn: BigNumberish, _tokenAmountOut: BigNumberish, _to: string, _deadline: BigNumberish, _referralRecipient: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
_maxAmountIn: BigNumberish
_tokenAmountOut: BigNumberish
_to: string
_deadline: BigNumberish
_referralRecipient: string
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
swapExactAmountOut(address,uint256[],uint256[],uint256,uint256,address,uint256,address):function
- swapExactAmountOut(address,uint256[],uint256[],uint256,uint256,address,uint256,address)(_amm: string, _pairPath: BigNumberish[], _tokenPath: BigNumberish[], _maxAmountIn: BigNumberish, _tokenAmountOut: BigNumberish, _to: string, _deadline: BigNumberish, _referralRecipient: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
_amm: string
_pairPath: BigNumberish[]
_tokenPath: BigNumberish[]
_maxAmountIn: BigNumberish
_tokenAmountOut: BigNumberish
_to: string
_deadline: BigNumberish
_referralRecipient: string
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
Readonly provider
provider: Provider
Readonly resolvedAddress
resolvedAddress: Promise<string>
Readonly signer
signer: Signer