Commit Graph

266 Commits

Author SHA1 Message Date
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
sc0Vu
c6c5cc9251 Boolean formatter. 2017-12-28 11:04:56 +08:00
sc0Vu
7ba116e5a0 Address formatter. 2017-12-28 10:52:30 +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
c0e90debc8 Normialize regular expressions 2017-12-26 18:08:42 +08:00
sc0Vu
d957484fdc DynamicBytesType 2017-12-26 17:42:10 +08:00
sc0Vu
3907305f76 UintegerType 2017-12-26 17:35:39 +08:00
sc0Vu
152d956b3d StrType 2017-12-26 17:30:23 +08:00
sc0Vu
12470f3b90 Normialize regular expressions 2017-12-26 17:23:30 +08:00
sc0Vu
0042f0dd82 IntegerType 2017-12-26 17:14:16 +08:00
sc0Vu
55c168736f BytesType 2017-12-26 17:07:46 +08:00
sc0Vu
62a21e4455 BooleanType 2017-12-26 16:52:54 +08:00
sc0Vu
0fa64aecd7 AddressType 2017-12-26 16:46:52 +08:00
sc0Vu
b24139113d Remove useless strtolower 2017-12-26 16:10:56 +08:00
sc0Vu
63a748e4dc Patch passing array to jsonToArroy not working. 2017-12-26 14:44:29 +08:00
sc0Vu
7b6e35108f comment 2017-12-26 14:25:54 +08:00
sc0Vu
1e4c40883a Throw exception when depth is 0. 2017-12-26 12:06:58 +08:00
sc0Vu
59c1876818 Utils jsonToArray 2017-12-26 11:59:16 +08:00
sc0Vu
89caf38edc Ethabi
1. encodeFunctionSignature
2. encodeEventSignature
2017-12-25 12:18:59 +08:00
sc0Vu
e25e0cc3f1 jsonMethodToString 2017-12-25 11:19:14 +08:00
sc0Vu
afb0225721 Utils 2017-12-25 10:28:53 +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
11ffbf93d6 hexToBin 2017-12-20 15:09:52 +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
sc0Vu
125f48a6e5 personal_sendTransaction 2017-12-19 16:05:02 +08:00
sc0Vu
9ed2b90fdb personal_unlockAccount 2017-12-19 16:01:00 +08:00
sc0Vu
a7a5646f2a personal_newAccount 2017-12-19 15:52:17 +08:00
sc0Vu
515a1bcbc4 Personal.php 2017-12-19 15:37:04 +08:00
sc0Vu
68333b5a1a License 2017-12-19 14:55:51 +08:00
sc0Vu
f20839f8de typos 2017-12-19 11:45:07 +08:00
sc0Vu
9efd3bc755 Throw exception when provider not set 2017-12-19 11:41:21 +08:00
sc0Vu
d1c5ae15d0 eth batch 2017-12-18 11:57:03 +08:00
sc0Vu
b7ad62faaf net_listening 2017-12-18 11:47:42 +08:00
sc0Vu
296d3442e0 net_peerCount 2017-12-18 11:43:29 +08:00
sc0Vu
a512883519 Web3\Net 2017-12-18 11:30:32 +08:00
sc0Vu
5957652db8 Comments. 2017-12-18 11:08:33 +08:00
sc0Vu
c1ac5f4205 Call callback whe json_decode error. 2017-12-15 12:46:38 +08:00
sc0Vu
9a06702505 eth_submitHashrate 2017-12-14 23:17:26 +08:00
sc0Vu
a34ad9216f eth_submitWork 2017-12-14 23:15:13 +08:00
sc0Vu
fdcb2a2d79 NonceValidator 2017-12-14 23:12:44 +08:00
sc0Vu
5b47025afe eth_getWork 2017-12-14 22:20:37 +08:00
sc0Vu
9b66125202 eth_getLogs 2017-12-14 22:16:59 +08:00
sc0Vu
afb3fa52ff eth_getFilterLogs 2017-12-14 22:12:40 +08:00
sc0Vu
4d701c80c2 eth_getFilterChanges 2017-12-14 22:10:24 +08:00
sc0Vu
2cb693fffa eth_uninstallFilter 2017-12-14 22:07:45 +08:00
sc0Vu
851febf048 eth_newPendingTransactionFilter 2017-12-14 22:04:44 +08:00
sc0Vu
4a2d64c398 eth_newBlockFilter 2017-12-14 22:01:09 +08:00
sc0Vu
1d29fd0138 eth_newFilter 2017-12-14 21:56:08 +08:00
sc0Vu
cfd80212ba String and Filter validator. 2017-12-14 21:55:59 +08:00
sc0Vu
1d02b8ba2e eth_compileSerpent 2017-12-14 19:25:56 +08:00
sc0Vu
6095c92900 eth_compileLLL 2017-12-14 19:24:01 +08:00
sc0Vu
60e52909ff eth_compileSolidity 2017-12-14 19:22:08 +08:00
sc0Vu
630b7fc52a eth_getCompilers 2017-12-14 19:16:50 +08:00
sc0Vu
24deddeade eth_getUncleByBlockNumberAndIndex 2017-12-14 19:10:10 +08:00
sc0Vu
00afa82f0b eth_getUncleByBlockHashAndIndex 2017-12-14 19:08:15 +08:00
sc0Vu
d5a2d4c041 eth_getTransactionReceipt 2017-12-14 19:04:47 +08:00
sc0Vu
3b330384cd eth_getTransactionByBlockNumberAndIndex 2017-12-14 19:01:38 +08:00
sc0Vu
f13217e44d eth_getTransactionByBlockHashAndIndex 2017-12-14 18:59:22 +08:00
sc0Vu
8e4d9067f8 eth_getTransactionByHash 2017-12-14 18:29:21 +08:00
sc0Vu
f48df7d2c7 eth_getBlockByNumber 2017-12-14 18:22:55 +08:00
sc0Vu
2fee27e6ca eth_getBlockByHash 2017-12-14 17:52:06 +08:00
sc0Vu
113c71e27a BooleanValidator.php 2017-12-14 17:51:55 +08:00
sc0Vu
83a514ca65 eth_estimateGas 2017-12-14 17:38:16 +08:00
sc0Vu
70d015961d eth_call 2017-12-14 17:32:46 +08:00
sc0Vu
bda39d4e3a eth_sendTransaction 2017-12-14 15:47:36 +08:00
sc0Vu
122bbf24fb TransactionValidators.php 2017-12-14 15:47:12 +08:00
sc0Vu
ea89fcbde7 eth_sendRawTransaction 2017-12-13 23:55:12 +08:00
sc0Vu
ff2c90c196 eth_sign 2017-12-13 23:22:58 +08:00
sc0Vu
6f28fc79dc eth_getCode 2017-12-13 23:15:57 +08:00
sc0Vu
c957f36217 eth_getUncleCountByBlockNumber 2017-12-13 22:05:34 +08:00
sc0Vu
2772c30ed1 eth_getUncleCountByBlockHash 2017-12-13 22:03:38 +08:00
sc0Vu
2f7a9f901b Add BlockHashValidator and fix validators. 2017-12-13 21:58:23 +08:00
sc0Vu
6a95cdef15 eth_getBlockTransactionCountByNumber 2017-12-13 21:06:56 +08:00
sc0Vu
d14b6c7ee1 eth_getBlockTransactionCountByHash 2017-12-13 20:56:19 +08:00