@rabbitholegg/questdk-plugin-traderjoe
v1.0.0-alpha.65
Published
This plugin covers the [V2.1 LB Router contract](https://docs.traderjoexyz.com/contracts/LBRouter) on arbitrum. Other networks can be added easily by adding the chain id to the `CHAIN_ID_ARRAY` in `chain-ids.ts` and adding supported token addresses in `co
Downloads
91
Readme
TraderJoe
This plugin covers the V2.1 LB Router contract on arbitrum. Other networks can be added easily by adding the chain id to the CHAIN_ID_ARRAY
in chain-ids.ts
and adding supported token addresses in contract-addresses.ts
Current Limitations
AmountOut is not very reliable for some methods (Exact_X_For_X), as it uses amountOutMin, which can be much lower then expected. In extreme cases it can even be zero if slippage is set high enough. This will cause issues when using (==) operator or the (>=) operator.
AmountIn also can not be very accurate in some scenarios and will be higher then expected (X_ForExact_X), this will cause issues when using (==) operator or the (<=) operator.