Commit Graph

246 Commits

Author SHA1 Message Date
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
sc0Vu
8765657975 CallValidator. 2018-01-03 15:18:45 +08:00
sc0Vu
80e686dec9 CallValidator. 2018-01-03 15:12:11 +08:00
sc0Vu
0f59ac9223 CallValidator. 2018-01-03 14:51:30 +08:00
sc0Vu
a8be114c88 Remove contract constructor toAddress. 2018-01-02 16:46:26 +08:00
sc0Vu
6c1a0e35fe Contract call method 2018-01-02 16:43:00 +08:00
sc0Vu
b7e73c47e4 Fix function signature. 2018-01-02 16:28:34 +08:00
sc0Vu
591e88d4cf Add bytecode. 2018-01-02 14:08:01 +08:00
sc0Vu
c67ec3ccaa Contract send. 2018-01-02 11:54:57 +08:00
sc0Vu
36ba7a7573 AddressType 2018-01-02 11:54:23 +08:00
sc0Vu
744e675092 AddressFormatter 2018-01-02 11:54:05 +08:00
sc0Vu
b833dfebb7 Contract new method. 2017-12-29 18:23:56 +08:00
sc0Vu
b87e836fc5 Change transaction object validator 2017-12-29 18:23:11 +08:00
sc0Vu
214724ba10 Change getProvider return type. 2017-12-29 16:45:19 +08:00
sc0Vu
b61d90216e json string to associative array 2017-12-29 16:39:17 +08:00
sc0Vu
518a72b422 Ethabi encodeParameters and SolidityType encode. 2017-12-29 15:34:05 +08:00
sc0Vu
51ece8f887 IntegerFormatter with length param. 2017-12-29 15:33:20 +08:00
sc0Vu
264ad69e9d inputFormat 2017-12-29 15:32:09 +08:00
sc0Vu
c4d2c6edfd Utils.php 2017-12-29 15:31:18 +08:00
sc0Vu
6476c6066c IntegerFormatter 2017-12-28 17:36:09 +08:00
sc0Vu
0513bbe560 Fix toBn hex string problem. 2017-12-28 17:35:19 +08:00
sc0Vu
1766e37a66 toBn. 2017-12-28 14:53:55 +08:00
sc0Vu
9e765ee0e8 toBn. 2017-12-28 14:53:00 +08:00
sc0Vu
10a9a66987 toBn. 2017-12-28 14:52:13 +08:00
sc0Vu
ab90423aab isHex. 2017-12-28 11:49:54 +08:00