1inchProtocol icon indicating copy to clipboard operation
1inchProtocol copied to clipboard

Add "getExpectedInput" to calculate token input amount

Open stefanionescu opened this issue 5 years ago • 1 comments

Uniswap (both v1 and v2) allows developers to calculate how many input tokens should be sent for a certain amount of output tokens.

It would be helpful to include a similar feature here, especially if you intend to integrate Uni V2 once it's launched.

stefanionescu avatar Apr 19 '20 13:04 stefanionescu

Any news on this? That'd be very useful :)

PBRT avatar Oct 09 '20 20:10 PBRT