Skip to content
This repository was archived by the owner on Feb 25, 2023. It is now read-only.

Conversation

@vic-en
Copy link
Contributor

@vic-en vic-en commented Nov 23, 2020

Refactor price routes to use execution price from Uniswap's trade class.

@vic-en vic-en changed the title Refactor / refactor price routes to use execution price Refactor / refactor uniswap price routes to use execution price Nov 24, 2020
@vic-en vic-en requested a review from fengtality November 24, 2020 11:57
Copy link
Contributor

@fengtality fengtality left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - In my commit, I made the minor fixes described in the comments and also changed Uniswap GAS_LIMIT to 150k since gas used in my test transactions were approximately 110k-115k. In the Uniswap connector in the client, please ensure that the profitability calculation uses the same 150k gas limit assumption.

@fengtality fengtality merged commit 30c8aa0 into development Nov 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants