Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find token price throught Uniswap v2 oracle instead of having a base price for the translator deposit. #328

Open
clesaege opened this issue Jul 17, 2020 · 0 comments
Assignees

Comments

@clesaege
Copy link
Member

clesaege commented Jul 17, 2020

See https://github.com/kleros/kleros-interaction/blob/master/contracts/standard/arbitration/LinguoToken.sol#L257 which doesn't behave like Linguo.
https://github.com/kleros/kleros-interaction/blob/master/contracts/standard/arbitration/Linguo.sol#L246

In order to keep the deposit related to the translation value, we need to use Uniswap v2 to get the price of tokens in ETH in order to determine the deposit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants