Commit Graph

270 Commits

Author SHA1 Message Date
sc0Vu
9d0f962189 Quantity validator test. 2018-02-22 14:57:47 +08:00
sc0Vu
e4b75305a3 Identity validator test. 2018-02-22 14:42:42 +08:00
sc0Vu
167844e5f8 Hex validator test. 2018-02-22 14:36:50 +08:00
sc0Vu
94d14ad6cb typo 2018-02-21 10:51:43 +08:00
sc0Vu
6f18ea8431 Add request timeout. 2018-02-21 10:48:45 +08:00
sc0Vu
b755295a71 Fix BooleanFormatter. 2018-02-21 09:52:22 +08:00
sc0Vu
200f8cbb78 Rename IVlaidators to IValidator. 2018-02-07 17:20:58 +08:00
sc0Vu
e5698c99ed Add OptionalQuantityFormatter test. 2018-02-07 17:20:26 +08:00
sc0Vu
1b427bcb90 Fix HexFormatter and add HexFormatter test. 2018-02-07 16:57:39 +08:00
sc0Vu
76c54335d6 Add AddressFormatter test. 2018-02-07 16:36:02 +08:00
sc0Vu
725541a37f Rename Web3\Formatters\Integer to Web3\Formatters\IntegerFormatter 2018-02-07 14:26:41 +08:00
sc0Vu
bb523cc04b Add comments,__get and __set. 2018-02-07 13:55:32 +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
926ecca129 typo 2018-01-31 16:43:14 +08:00
sc0Vu
b42709c646 Remove comments. 2018-01-30 11:47:46 +08:00
sc0Vu
5eb6015bf3 shh_getMessages 2018-01-29 16:48:29 +08:00
sc0Vu
27277d2424 shh_getFilterChanges 2018-01-29 16:42:32 +08:00
sc0Vu
0395562470 shh_uninstallFilter 2018-01-29 16:33:38 +08:00
sc0Vu
b39c22decd ssh_newFilter 2018-01-29 16:24:42 +08:00
sc0Vu
85a5a20570 ShhFilterValidator. 2018-01-29 16:23:56 +08:00
sc0Vu
c1ae5b7b2d shh_post 2018-01-26 17:50:12 +08:00
sc0Vu
9f4614781e Post formatter. 2018-01-26 17:49:29 +08:00
sc0Vu
8055ec04ba Post validator. 2018-01-26 17:46:17 +08:00
sc0Vu
f5286c0398 shh_addToGroup 2018-01-26 17:27:55 +08:00
sc0Vu
f6a7ffebdb shh_newGroup 2018-01-26 17:25:04 +08:00
sc0Vu
647da46e09 shh_hasIdentity 2018-01-26 17:18:58 +08:00
sc0Vu
5d54bc29c3 Identity validator. 2018-01-26 17:15:36 +08:00
sc0Vu
2d394c825c shh_newIdentity 2018-01-26 16:48:58 +08:00
sc0Vu
5e12df17a5 shh_version 2018-01-26 16:20:51 +08:00
sc0Vu
cca1b82903 Shh object. 2018-01-26 16:14:02 +08:00
sc0Vu
ed5a17c256 typo 2018-01-25 11:53:26 +08:00
sc0Vu
ed57c92446 Change utils::toHex. 2018-01-25 11:49:21 +08:00
sc0Vu
4df52132d0 Add eth_getBlockByNumber default values. 2018-01-25 11:20:33 +08:00
sc0Vu
7091a60418 Fix validate methods. 2018-01-25 11:19:49 +08:00
sc0Vu
a2ddc6fa85 Fix eth methods call. 2018-01-25 11:18:20 +08:00
sc0Vu
63fea73d4c typo 2018-01-24 12:38:35 +08:00
sc0Vu
e130d45068 Quantity formatter test. 2018-01-24 12:25:01 +08:00
sc0Vu
b1318bb0d2 Decode contract call return. 2018-01-22 12:12:04 +08:00
sc0Vu
12994a7884 Add set functions. 2018-01-22 12:01:29 +08:00
Kuan-Cheng,Lai
49dd1e9043
Merge pull request #37 from sc0Vu/contract-getData
Contract get data
2018-01-21 20:35:58 +08:00
sc0Vu
bb43d04068 getData 2018-01-21 20:30:51 +08:00
sc0Vu
c56642198a typo 2018-01-21 20:22:04 +08:00
sc0Vu
f45b34f33d Number formatter. 2018-01-21 16:37:17 +08:00
sc0Vu
85b5cea599 Pass reference
Let EthMethod validate pass reference that we can add default values directly.
2018-01-21 16:21:29 +08:00
sc0Vu
14afaf9428 Ethabi decode params. 2018-01-19 17:51:53 +08:00
sc0Vu
571cf7f7c5 isDynamicType 2018-01-17 11:56:37 +08:00
sc0Vu
b16a8f9b9a Fix: Non-static method Web3\Contracts\Ethabi::encodeEventSignature() should not be called statically 2018-01-12 18:05:52 +08:00
sc0Vu
a413aa4da4 Eth getUncleCountByBlockNumber output formatter. 2018-01-12 15:57:21 +08:00
sc0Vu
f8d005dae1 Eth getUncleCountByHash output formatter. 2018-01-12 15:56:10 +08:00
sc0Vu
808134f19f Eth getTransactionCountByNumber output formatter. 2018-01-12 15:54:44 +08:00
sc0Vu
3d8b0d3264 Eth getTransactionCountByHash output formatter. 2018-01-12 15:53:53 +08:00
sc0Vu
b575e68a69 Eth getTransactionCount output formatter. 2018-01-12 15:51:27 +08:00
sc0Vu
52c1774c9c Eth getBalance output formatter. 2018-01-12 15:48:15 +08:00
sc0Vu
9aec83ed6c Eth blockNumber output formatter. 2018-01-12 15:46:39 +08:00
sc0Vu
828f554eb6 Eth gasPrice output formatter. 2018-01-12 15:45:20 +08:00
sc0Vu
04c5ac24f6 Eth hashrate output formatter. 2018-01-12 15:42:43 +08:00
sc0Vu
24e5074722 Contract estimateGas method. 2018-01-12 15:16:31 +08:00
sc0Vu
b1129bb066 Format estimateGas output. 2018-01-12 15:05:19 +08:00
sc0Vu
90f0970cb8 Clean code. 2018-01-12 14:52:05 +08:00
sc0Vu
4a60041dde Fix call function statically error
Non-static method Web3\Utils::toString() should not be called
statically.
2018-01-12 12:28:44 +08:00
sc0Vu
4d3ed88b7b Remove boolean formatter. 2018-01-12 12:22:32 +08:00
sc0Vu
2cbb1fe860 gas to data 2018-01-12 12:16:17 +08:00
sc0Vu
6afc41f65a Validate array of rules. 2018-01-12 12:11:53 +08:00
sc0Vu
1513023aab Eth apis. 2018-01-12 12:11:33 +08:00
sc0Vu
cf5288774c Personal apis. 2018-01-12 11:11:09 +08:00
sc0Vu
34647e7fdf Web3 apis. 2018-01-12 11:07:36 +08:00
sc0Vu
819608d510 Net apis. 2018-01-12 11:05:25 +08:00
sc0Vu
e6adbdd303 Web3 apis and test. 2018-01-12 10:51:25 +08:00
sc0Vu
2eefb14b64 Validators. 2018-01-12 10:49:52 +08:00
sc0Vu
32bc7949fd Eth 2018-01-11 18:21:40 +08:00
sc0Vu
69eb1e8772 Eth methods 2018-01-11 18:21:22 +08:00
sc0Vu
32b494ea1b Boolean formatter 2018-01-11 18:21:02 +08:00
sc0Vu
ba6d50b25b Personal use EthMethod 2018-01-11 17:58:20 +08:00
sc0Vu
ce217225a9 Web3 use EthMethod 2018-01-11 17:58:05 +08:00
sc0Vu
05a1a638cf Net use EthMethod 2018-01-11 17:57:53 +08:00
sc0Vu
fa63012c06 EthMethod 2018-01-11 17:57:08 +08:00
sc0Vu
46189b795a Optional quantity formatter. 2018-01-11 17:24:42 +08:00
sc0Vu
df143d7aee Eth syncing. 2018-01-11 16:49:42 +08:00
sc0Vu
26b6844f44 Eth protocol version. 2018-01-11 16:46:08 +08:00
sc0Vu
2baac410de Rename address formatter. 2018-01-11 16:34:24 +08:00
sc0Vu
e680f1adaf Personal apis. 2018-01-11 16:30:54 +08:00
sc0Vu
b48ac9f97f Transaction formatter. 2018-01-11 16:23:16 +08:00
sc0Vu
b8e4773787 Hex formatter. 2018-01-11 16:00:56 +08:00
sc0Vu
5288b150f7 String formatter. 2018-01-11 15:59:59 +08:00
sc0Vu
a422d877b0 Quantity formatter. 2018-01-11 15:59:41 +08:00
sc0Vu
ee8db87fdf Input formatters for each method. 2018-01-11 13:03:39 +08:00
sc0Vu
2340db233b BigNumberFormatter 2018-01-11 13:01:06 +08:00
sc0Vu
6c4e422bfd Catch methods. 2018-01-09 18:21:18 +08:00
sc0Vu
8ed8d69362 Net __call. 2018-01-09 17:53:53 +08:00
sc0Vu
15506cc2b2 Net api methods. 2018-01-09 17:53:16 +08:00
sc0Vu
1a55f03f88 Web3 __call() and provider interface. 2018-01-09 17:46:04 +08:00
sc0Vu
917f08e74f toString() 2018-01-09 17:45:13 +08:00
sc0Vu
48d00a2641 JSONRPC method and web3 api methods 2018-01-09 17:44:48 +08:00
sc0Vu
e6f7a58d3c HexFormatter 2018-01-09 17:36:03 +08:00
sc0Vu
e2fa0a2620 Parse batch requests. 2018-01-05 17:42:55 +08:00
sc0Vu
bdf87bdfb5 Throw exception default. 2018-01-05 17:00:32 +08:00
sc0Vu
ff7f3ee781 Throw RPCException when server return error. 2018-01-05 16:46:25 +08:00