You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get understanding wether it is feasible to create a 1inch based callee contract
Context
An exchange callee contract that is based on 1inch is a thought after feature. This is due to the fact that 1inch functions as a DEX aggregator and allows to determine the most lucrative paths for token swaps across protocols. The existing callees rely on hardcoded paths. Upside of a 1inch based callee would be a dynamic routing resulting in better market prices to execute swaps.
To check feasibility we want to investigate wether 1inch can be used in a way to get the raw call data that could be used to assemble such a callee contract
The contract that will withdraw funds during the exchange will need to set allowance (not sure what it means in case of a flash loan, does VAT contract needs to set the allowance?)
It doesn't accept route details, so the data, route, profit, etc returned from the /api/quote can be different from the actual transaction
There is no official SDK for their API, but unofficial
Actions that can be taken already:
We need to check if we can directly use their API from the frontend (technically, but also legally)
We can integrate 1inch quoter into frontend to display 1inch exchange price alongside uniswap price (at least on the dashboard) to see the difference even if we don't yet allow exchange
Goal
Get understanding wether it is feasible to create a 1inch based callee contract
Context
An exchange callee contract that is based on 1inch is a thought after feature. This is due to the fact that 1inch functions as a DEX aggregator and allows to determine the most lucrative paths for token swaps across protocols. The existing callees rely on hardcoded paths. Upside of a 1inch based callee would be a dynamic routing resulting in better market prices to execute swaps.
To check feasibility we want to investigate wether 1inch can be used in a way to get the raw call data that could be used to assemble such a callee contract
Assets
Tasks
The text was updated successfully, but these errors were encountered: