Readonly
UniswapReadonly
blockchainProvider blockchain.
Readonly
providerReadonly
supportType of provider.
Calculates on-chain trade.
Token to sell with input amount.
Token to get.
Optional
options: OnChainCalculationOptionsAdditional options.
Calculates on-chain trade.
Token to sell.
Token to get.
Amount to sell or to get in wei.
Defines, whether to call 'exactInput' or 'exactOutput' method.
Optional
options: OnChainCalculationOptionsAdditional options.
Calculates trade, based on amount, user wants to get.
Token to sell.
Token to get with output amount.
Optional
options: OnChainCalculationOptionsAdditional options.
Calculates input amount, based on amount, user wants to get.
Token to sell.
Token to get with output amount.
Optional
options: OnChainCalculationOptionsAdditional options.
Static
parseGenerated using TypeDoc
Abstract class for all on-chain trade providers.