@xstelea@lu5st@astrolescent@timanrebel We have a preview swap endpoint
https://t.co/UTBQ0f9Ad6
This should do what you need ๐
Cool thing is that it also supports reverse swap routing giving the output amount instead of input amount ๐
@xstelea@lu5st@astrolescent@timanrebel We have a preview swap endpoint
https://t.co/UTBQ0f9Ad6
This should do what you need ๐
Cool thing is that it also supports reverse swap routing giving the output amount instead of input amount ๐
When paginating SQL queries, the optimal page size for max throughput is probably much higher than you'd expect.
We only saw diminishing returns after hitting 10K rows per query!
Don't underestimate how fast modern computers have become. Your DB can handle it ๐ช
@NellySayon Thanks ๐ That's what I was originally looking for ๐คฃ but overlooked the table.
So yeah, using resource_holders it simplifies to the following query while having much better performance ๐ฅณ
@NellySayon Thanks ๐ That's what I was originally looking for ๐คฃ but overlooked the table.
So yeah, using resource_holders it simplifies to the following query while having much better performance ๐ฅณ
@NellySayon Thanks ๐ That's what I was originally looking for ๐คฃ but overlooked the table.
So yeah, using resource_holders it simplifies to the following query while having much better performance ๐ฅณ
@agct194721@ociswap However, as an alternative to just burning OCI it could actually make more sense. Or maybe even in combination with regular fee burning.
Will think about and keep it mind. Always really happy to read when someone brings up good insights and ideas. Thank you ๐
@agct194721@ociswap Thanks for your feedback ๐. Protocol owned liquidity is interesting actually. I considered using it before we really started with the Babylon implementation of Ociswap. The reason why we moved away from it a bit is that you are buying liquidity and renting is imo more effective.
@proof_of_paul@ociswap@lu5st Thank you ๐ฅณ
Our integration with Anthic is ready to make a big SPLASH - bringing deep liquidity for wrapped assets to Ociswap ๐