Commit Graph

30 Commits

Author SHA1 Message Date
sc0Vu
83188b171e
Fix #112
Remove depth for jsonToArray function
2019-01-13 14:07:31 +08:00
sc0Vu
734dbebb76
Remove support for int and float in toWei 2019-01-06 23:26:21 +08:00
sc0Vu
4fd5d1ab67 Fix #83
Return $fractionLength when number is with decimal point.
2018-05-27 22:48:02 +08:00
sc0Vu
a87010fc4c Add test
Add test for toHex(48), thanks @refear99
2018-04-25 10:07:06 +08:00
sc0Vu
507b1d89e6 Fix 53
toWei support fraction/float number.
2018-03-05 17:32:19 +08:00
sc0Vu
9aacaffff8 Return 0 when number is empty string. 2018-03-05 16:52:03 +08:00
sc0Vu
d9b2dc3c6f Add fraction number string support. 2018-03-05 16:41:55 +08:00
sc0Vu
5a80fb4245 Add negative string support. 2018-03-05 16:29:42 +08:00
sc0Vu
718a913902 Fix json method to string and add tests. 2018-02-07 10:53:10 +08:00
sc0Vu
b59a60f17e isAddress test 2018-02-07 10:21:20 +08:00
sc0Vu
9ad27c527e Add tests. 2018-02-06 18:12:21 +08:00
sc0Vu
f231b23bb9 Fix toBn bug
Fix $bn not define when call toBn with BigNumber instance.
2018-02-06 18:05:55 +08:00
sc0Vu
ed57c92446 Change utils::toHex. 2018-01-25 11:49:21 +08:00
sc0Vu
b61d90216e json string to associative array 2017-12-29 16:39:17 +08:00
sc0Vu
0513bbe560 Fix toBn hex string problem. 2017-12-28 17:35:19 +08:00
sc0Vu
10a9a66987 toBn. 2017-12-28 14:52:13 +08:00
sc0Vu
ab90423aab isHex. 2017-12-28 11:49:54 +08:00
sc0Vu
e10020d2dc Utils isAddressChecksum 2017-12-27 17:20:01 +08:00
sc0Vu
d299725cdd Utils isAddress 2017-12-27 16:32:23 +08:00
sc0Vu
63a748e4dc Patch passing array to jsonToArroy not working. 2017-12-26 14:44:29 +08:00
sc0Vu
59c1876818 Utils jsonToArray 2017-12-26 11:59:16 +08:00
sc0Vu
e25e0cc3f1 jsonMethodToString 2017-12-25 11:19:14 +08:00
sc0Vu
fbc85e74d0 Add fromWei in Utils. 2017-12-25 10:10:17 +08:00
sc0Vu
7c1755cc9c Change toWei. 2017-12-25 09:54:58 +08:00
sc0Vu
46c252a44e toEther 2017-12-24 23:42:46 +08:00
sc0Vu
d58e2e751c Add toWei and bignumber 2017-12-24 20:35:28 +08:00
sc0Vu
fce712ddcd stripZero 2017-12-22 18:12:47 +08:00
sc0Vu
de19210492 isZeroPrefixed 2017-12-22 18:07:31 +08:00
sc0Vu
02b30ee2d5 Add Keccak256 sha3 usage. 2017-12-20 14:15:57 +08:00
sc0Vu
ffb02edee7 Web3\Utils
- toHex
- hexToBin
2017-12-20 11:49:52 +08:00