S S nick, check please, now here used slippage tolerance? i set 2% slippage, it's swap with your parameters https://polygonscan.com/tx/0x6814da17ab87ec815deca2b0098e36bbdbfadffd20e2d6e4bf0bddc0dd83fddd
hello, have a question about kyber elastic swap function.
i deployed IPoolActions interface at the address of a WETH-USDT pool on Arbitrum.
CA here: 0xdb0f89c3aEb216d4329985442039F3737CBFc949
When i call the swap function with correct inputs, it doesn't return me anything at all.
which is incorrect with what the function specs here on the site.
I'm not even sure if the interface is being deployed correctly since I can call the swap function without even needing to approve the token first.
What am I doing wrongly? can someone help pls 🙏🙏
I J hey nick, thank you for replying. really appreciate it. this is the function I'm talking about: https://arbiscan.io/token/0xdb0f89c3aEb216d4329985442039F3737CBFc949#writeContract#F8 I'm trying to swap WETH-USDC based on this instructions: https://docs.kyberswap.com/liquidity-solutions/kyberswap-elastic/developer-guides/execute-an-elastic-swap I've approved the contract to spend my WETH. I've tried doing it through the arbiscan UI on Arbitrum mainnet, and through a fork on Hardhat and either the transaction gets reverted or the gas amount shown is insanely high. Any idea what I'm doing wrongly? am using the MIN_SQ_RATIO + 1 for the sqrtlimitpI J J ok no worries i implemented it through the router instead. Just wanted to feedback that the documentation here could be clearer in explaining how to directly swap from a single pool! https://docs.kyberswap.com/liquidity-solutions/kyberswap-elastic/developer-guides/execute-an-elastic-swap no idea what to pass in to the data parameter if we called swap() on the pool directly