Skip to content

Instantly share code, notes, and snippets.

@raypulver
Created January 3, 2018 19:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raypulver/863b760f4b06ef2b63543823cb4ab052 to your computer and use it in GitHub Desktop.
Save raypulver/863b760f4b06ef2b63543823cb4ab052 to your computer and use it in GitHub Desktop.
IDEX client side modals
Client Modals:
client/eth.js —
1. Transaction is already pending from this address
happens when the client tries to send a new tx while one is pending
2. Error: User denied transaction signature.
happens when metamask rejects signing a message
3. Preparing to send transaction
happens after a tx is initiated but before it is dispatched
4. Please confirm the next phase of your token deposit on your Ledger
happens during a token deposit right before the second tx
5. Please unlock your wallet to continue
Happens when someone tries to use metamask without having it unlocked, or when the user tries to do something where his wallet is not logged in
client/client.js
6. Please enter a non-zero amount
happens when a transfer is for 0
7. Are you sure you want to transfer (amount) (token) to address: (address) (newline) This action cannot be undone!
confirmation dialog for transfers
8. Transfer transaction available at: (etherscan link)
self-explanatory
9. No cancelled orders to invalidate
client-side error for mine cancels without having cancels to mine
10. Are you sure you want to continue? This action will cancel (amount of orders) orders but you will be given the option to re-sign these orders after completion.
client can confirm if he wants to proceed mining cancels
11. Are you sure you want to continue?
client can confirm if he wants to proceed mining cancels but doesn’t have to cancel existing ones
12. Automatically resign previously existing orders?
option to resign cancelled orders
13. Gas price must not be 0
self-explanatory
14. Please enter a valid deposit amount
prevents deposits <= 0
15. You currently have approved (amount) (token) for deposit onto IDEX. You may either finish the initial deposit or deposit the new amount requested. (Cancel/Finish Deposit/Deposit New Amount)
16. Please enter a valid buy order
happens when the buy price, buy amount, or buy total is <= 0
17. Please enter a valid sell order
happens when the sell price, sell amount, or sell total is <= 0
18. Order to buy/sell (amount) (token) at (price) (token) placed
19. You do not have any of this token deposited, please deposit before using this market.
20. Warning: Token price is over 1 ETH or quantity is very low. Are you sure you want to fill this order?
21. Bought/Sold (amount) (token) at (price) (token)
client/ws.js
22. Must unlock a wallet to sign in to chat
23. Must sign in before you can post a message
components
24. Please enter a non-zero quantity
happens during withdraw
25. Must withdraw a non-negative quantity
during withdraw
26. Are you sure you want to withdraw (amount) (token) ?
27. Your withdrawal for (amount) (token) has been initiated
28. Wallet is not in JSON format
happens when you upload an invalid file to use as a wallet
29. Please enter a non-zero quantity
during deposit
30. Are you sure you want to deposit (amount) (symbol)
Note: Minimum trades are $25 USD equivalent for makers and $2.50 USD equivalent for takers. Minimum withdrawal is $1 USD equivalent. Please see our FAQ for details.
apparently this is hardcoded, going to fix this soon
31. Insufficient (token) to place deposit
lib/ledger.js
32. Timeout from ledger, try restarting the Ethereum app on your device
store/subscribers/poll-for-account.js
33. Metamask not installed
store/subscribers/create-wallet.js
34. New wallet password must be at least 8 characters
35. Generating …
store/subscribers/invalidate-cancelled-orders.js
36. Order invalidation dispatch
store/subscribers/tx-modals.js
37. The approval for deposit has been submitted, please be patient. Do not initiate more deposits while the deposit process is ongoing
38. The deposit has been submitted, please be patient. Do not initiate more deposits while the deposit process is ongoing
39. The approval reset for the token has been submitted, please be patient. Do not initiate more deposits while this deposit is ongoing
40. Your transfer of (amount) (token) has finished
41. Your deposit for (amount) (token) has finished
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment