Readonly
OnReadonly
blockchainProvider blockchain.
Readonly
contractReadonly
providerReadonly
routerReadonly
supportType of provider.
Calculates on-chain trade.
Token to sell with input amount.
Token to get.
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.