Comments (6)
Observe the price in this picture is the same as previously demonstrated but the amount of ETH to be received is less than 1Ξ, suggesting that this is the correct behaviour:
Therefore, if the user types 1Ξ as the amount of ETH to receive, the correct number in PICTURE 1 should be
383.48843610/0.99103639=386.95696
from cofix-web-user-interface-v2.0.
This function has been removed. As on the contract level we cannot set a To amount for erc20-erc20 swap.
But I agree, the calculation is wrong.
from cofix-web-user-interface-v2.0.
We do support ERC20 - ERC20 Swap. but we don't support, setting a fixed To amount for erc20-erc20 swap.
Setting a fixed TO amount in ETH-ERC20 is supported.
from cofix-web-user-interface-v2.0.
We do support ERC20 - ERC20 Swap. but we don't support, setting a fixed To amount for erc20-erc20 swap.
Setting a fixed TO amount in ETH-ERC20 is supported.
@hellolucas @colourfreak in this case how should we design the interaction?
from cofix-web-user-interface-v2.0.
To be clear, the issue is that the user cannot set a number in the "TO" field, only in the "FROM", thats correct? At least its how its working right now. I'd suggest a simple highlight difference, with maybe blinking writing prompter. Like so:
from cofix-web-user-interface-v2.0.
this issue should be fixed in v1.1.0 (also in v1.0) since after checking calculation several times with more eyes, ;).
Here is current result:
- 1 eth -> 384.5237613 usdt
- 384.5237613 usdt -> 0.99103639 eth.
from cofix-web-user-interface-v2.0.
Related Issues (20)
- preloading data in other pages when first page is loaded.
- pre cache static resources to speed up page loading.
- Automation: ui e2e testing HOT 1
- Make the clickable area on the Pair button wider
- Rename the “claim CoFi token” button in dividend page
- https://stage.cofix.io/ and https://d1ussy340im9wf.cloudfront.net/#/swap data update slower than https://v110.cofix.io/ HOT 3
- CN in withdraw page
- EN withdraw page
- ETH dividend amount is keep loading in some Wallets: Huobi, MyKey, TokenPocket++, Status, Coinbase Wallet
- dapp monitor solution
- Need to add Np N'p and Npnok data in liquidity pool HOT 2
- Add New Liquidity Pool Pair HOT 2
- Add more tokens to Swap Tab
- Add Cofix Analytics
- Need a default token icon for the token inputted by user. HOT 2
- Should use the "To (estimated)" amount instead of "Minimum received"
- Add WalletConnect Support HOT 3
- make token list can be scrolled for any screen size. HOT 1
- UI design for WalletConnect HOT 3
- The data is not updated automatically when using WalletConnect
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cofix-web-user-interface-v2.0.