embark/packages/embark-utils/src
emizzle 536a4029ba feat(@cockpit): Pass tx value as wei and add validation
For payable methods inside of the contract interatction section of cockpit, the value input has been updated to pass wei to the API. The input field now accepts value like `100 ether` or 25 szabo`. The value entered is automatically converted to wei and shown to the user in real time.

Additionally, the input is validated for a correct value, with an error shown to the user for incorrectly entered values.

A tooltip has been added to help the user enter correct values.

UI updates can be seen in video here: https://monosnap.com/file/642cHH2HxDeiFLzB2VLqHP9GuqoRfz
2019-07-08 10:00:34 -05:00
..
solidity fix(@embark/coverage): function types and single statement ifs 2019-06-27 08:40:24 -05:00
accountParser.js refactor(@embark/i18n): expose __ from embark-i18n, drop global __ 2019-05-08 11:01:16 +02:00
addressUtils.ts refactor(@embark/utils): move addressUtils to embark-utils 2019-04-30 16:31:07 +02:00
collections.ts refactor(@embark/coverage): move coverage module into own package 2019-05-22 11:47:29 +02:00
constants.ts feat(@cockpit): Pass tx value as wei and add validation 2019-07-08 10:00:34 -05:00
env.js feat(@embark/utils): introduce setUpEnv() function 2019-05-22 12:23:04 +02:00
file.ts refactor(@embark/coverage): move coverage module into own package 2019-05-22 11:47:29 +02:00
host.ts refactor(@embark/embark-utils): move host utils to embark-utils 2019-03-27 14:32:32 -04:00
index.js refactor: move storage, ipfs and swarm modules into their own packages 2019-07-05 16:07:45 -05:00
log-utils.js refactor(@embark-utils): move logHandler and normalizeInput in utils 2019-04-26 16:38:19 +02:00
logHandler.js refactor(@embark-utils): move logHandler and normalizeInput in utils 2019-04-26 16:38:19 +02:00
longRunningProcessTimer.ts style: use comments to avoid confusion about @types/embark imports 2019-05-02 20:34:22 -05:00
network.ts refactor: move storage, ipfs and swarm modules into their own packages 2019-07-05 16:07:45 -05:00
pathUtils.js refactor: add normalizePath and toForwardSlashes for replaces 2019-06-11 10:02:08 +02:00
toposort.js refactor(@embark/utils): move proposeAlternative, toposort into embark-utils package 2019-04-30 12:39:33 -05:00
transactionUtils.ts style: use comments to avoid confusion about @types/embark imports 2019-05-02 20:34:22 -05:00
web3Utils.ts refactor(@embark/coverage): move coverage module into own package 2019-05-22 11:47:29 +02:00