Arul
3d8a567054
Fix: method validation in both send and call
...
Making sure method is a string and it exists under functions
I was trying to call a nonexistent method. Since I passed a string it went through without checking if it exists as a function or not
This commit fixes that by changing `&&` to `||` (or)
2018-06-07 18:02:08 +08:00
sc0Vu
9521b2d167
Check output name is empty
2018-05-28 15:21:18 +08:00
sc0Vu
4fd5d1ab67
Fix #83
...
Return $fractionLength when number is with decimal point.
2018-05-27 22:48:02 +08:00
Luiz Smelán
5a54ce5903
Fix: issue #71
...
- Not to limit the size of the string to 64 characters
2018-05-02 17:14:53 +01:00
Timothy Lopez
85dc060017
Added getToAddress
2018-04-27 18:20:06 -06:00
Pavel Rubin
f97d4c9397
Remove to
parameter when publishing contract transaction
2018-04-03 07:04:47 +03:00
sc0Vu
a2a68dd516
Fix undefined pow function in phpseclib 2.0
2018-03-31 10:28:45 +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
Dan
bbcaed31fe
add HttpRequestManager timeout params
2018-02-24 18:51:47 +08:00
sc0Vu
ed0a0ac70c
Change transaction validator data field.
2018-02-22 16:55:53 +08:00
sc0Vu
f60aad9abf
Transaction validator test.
2018-02-22 16:43:24 +08:00
sc0Vu
a1a707a966
Remove isError.
2018-02-22 16:27:56 +08:00
sc0Vu
073a5feaf8
Filter validator test.
2018-02-22 16:00:03 +08:00
sc0Vu
0e49a2b31e
Call validator test.
2018-02-22 15:16:23 +08:00
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