Abstract class for all cross-chain providers' trades.
Contains bridge provider's type used in route.
Swap fee information.
Token to sell with input amount.
Gas fee info in source blockchain.
True, if provider is aggregator.
Contains on-chain providers' type used in route.
Token to get with output amount.
Minimum amount of output token user will get in Eth units.
Type of calculated cross-chain trade.
Gets gas fee in source blockchain.
Sends approve transaction with connected wallet.
If true, first allowance is checked.
Amount of tokens in approval window in spending cap field
Build encoded approve transaction config.
Encoded approve transaction config.
Address of the smart-contract corresponding to the token.
Wallet or contract address to approve.
Token amount to approve in wei.
Optional providerFeeToken: BigNumber
Returns true, if allowance is not enough.
txHash(srcTxHash) | never
Generated using TypeDoc