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

Wrong token amount on Make a decision #110

Open
bingen opened this issue May 9, 2019 · 1 comment
Open

Wrong token amount on Make a decision #110

bingen opened this issue May 9, 2019 · 1 comment

Comments

@bingen
Copy link
Contributor

bingen commented May 9, 2019

If I put 50it results in 50.50, 10 in 10.10... See screenshots:

Screenshot from 2019-05-09 10-34-23

Screenshot from 2019-05-09 10-35-04

@ewilz
Copy link
Contributor

ewilz commented Sep 30, 2019

I didn't completely take away this buffer but I've lessened it. This is kind of convoluted but the smart contract only allows you to specify how much outcome tokens ( <-- these prices fluctuate) you'd like to buy, as opposed to how much TKN you'd like to spend on buying outcomes. so we have to do these calculations on the client-side and we need a small buffer above the the buy price in order to not error out. instead of 1% I've made it 0.1%. Taking this away completely will take some time on our part, so lessening this for now.

#151

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

No branches or pull requests

2 participants