Nanolucas
9d73fc91cf
Merge 0377c6c5dc
into cede0cc410
2022-03-08 14:57:22 +01:00
srdante
1d47285b8b
Fix preg match & testings
2022-02-26 03:15:44 -03:00
Nanolucas
87f8976cc8
minor efficiency improvements
2021-04-17 20:59:11 +02:00
Nanolucas
935e91916c
return the transactionHash from event data
2021-04-07 23:32:53 +02:00
Nanolucas
d4e9e4a533
throw an exception if event name isn't found
2021-03-27 00:01:37 +01:00
Nanolucas
91ef36fa4c
add key check to prevent PHP notice
2021-03-26 23:48:51 +01:00
Nanolucas
b26da9a83b
initialise empty array
2021-03-17 21:53:58 +01:00
Nanolucas
bb9f9f08e7
added comment
2021-02-21 23:04:25 +01:00
Nanolucas
46dc78e0d6
handle indexed parameters
2021-01-09 18:10:54 +01:00
Nanolucas
125aea05cd
include block metadata in returned array
2021-01-03 21:41:21 +01:00
Nanolucas
aade350900
return data with named keys
...
also improve general comments throughout function
2021-01-03 16:24:36 +01:00
Nanolucas
816c2238a3
working implementation of getEventLogs
...
A working, improved and deciphered version of the function alluded to in https://github.com/web3p/web3.php/issues/93
2021-01-03 00:05:06 +01:00
Nanolucas
af3bd4c373
remove new function before sending pull request
2021-01-03 00:00:53 +01:00
Nanolucas
121c80ffb0
update $eventInputParametersStringArray
2021-01-02 20:39:32 +01:00
Nanolucas
af71b4d081
implement event log getter
2021-01-02 20:29:10 +01:00
Nanolucas
665b15b261
update variable name for consistency
2021-01-02 18:53:20 +01:00
Nanolucas
486d849897
make exception namespacing consistent
2021-01-02 18:39:15 +01:00
Nanolucas
dd256108e5
added and improved comments and error messages for clarity
...
Attempting to make some of the comments and errors easier to understand and clearer in what it does / what is required
2020-12-30 21:37:41 +01:00
sc0vu
d0289506dc
Add toChecksumAddress in Utils.php
...
See #150 (https://github.com/ethereum/EIPs/blob/master/EIPS/eip-55.md )
2019-10-03 00:01:35 +08:00
sc0vu
0e303787ba
Add defaultblock in contract call
2019-10-02 10:26:41 +08:00
Tomasz Cyrankowski
d67367a2f2
Eth NewBlockFilter method hasn't any arguments so it shouldn't have any validators
2019-07-25 10:52:57 +02:00
sc0Vu
4779c7e710
Fix #143
...
Fix wrong $argsLen in contract.
2019-02-24 16:57:26 +08:00
sc0Vu
2b5295533f
Add support for same function name but with different parameters
...
See issue #134
2019-02-11 22:11:29 +08:00
sc0Vu
d35ecef5f7
Fix bytes and dynamic bytes format
2019-02-11 00:10:14 +08:00
Peter Lai
b0615caf03
Merge pull request #138 from sc0Vu/fix-dynamic-bytes
...
Fix DynamicBytes.php
2019-01-17 01:08:50 +08:00
Peter Lai
5e4e5e35fd
Merge pull request #135 from 1099511627776/bclounge
...
Close connection after stream read
2019-01-17 01:08:34 +08:00
sc0Vu
fcb959dec7
Fix DynamicBytes.php
...
Call inputFormat failed when toBn return array of data
See: https://github.com/sc0Vu/web3.php/pull/97
2019-01-17 00:57:08 +08:00
1099511627776
b0b1841642
Fix indent
2019-01-13 12:24:06 +02:00
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
9dd5056790
Remove comments
2018-12-21 00:19:56 +08:00
Peter Lai
53b5165062
Merge pull request #104 from sinabs/master
...
getTransactionReceipt result maybe null
2018-12-21 00:14:15 +08:00
sc0Vu
0ef6000be3
Fix #125
2018-12-21 00:03:38 +08:00
sc0Vu
51abbc2f5e
Clean code
2018-12-14 12:12:04 +08:00
sc0Vu
f3259100ec
Add test for personal_lockAccount
...
Change:
* Add test for personal_lockAccount
2018-12-13 17:27:52 +08:00
Peter Lai
28627c5ecf
Merge pull request #100 from soraclub/master
...
Add method: personal_lockAccount
2018-12-13 18:18:54 +09:00
sc0Vu
0d415ce360
Remove eth_getCompilers
...
Remove deprecated api: eth_getCompilers
See: https://github.com/ethereum/EIPs/issues/209
2018-12-12 16:46:58 +08:00
Peter Lai
01a70408ac
Merge pull request #106 from Arul-/patch-3
...
Fix for PHP Notice: Undefined index: inputs in src/Contract.php:394
2018-12-12 00:09:06 +09:00
1099511627776
54e18048e3
Rename result to stream
2018-11-02 13:40:24 +02:00
1099511627776
70ac87df82
Close connection after stream read
2018-10-30 19:29:03 +02:00
Arul
0f1b9183b0
Fix for PHP Notice: Undefined index: inputs in src/Contract.php on line 394
...
When creating an instance of the contract with the new method, `$constructor['inputs']` is not available all the time, causing the above notice
This commit fixes it by checking it first
2018-09-04 21:04:39 +08:00
Andrei Mateescu
908d841bce
Don't send an empty "to" address when estimating gas for the constructor
...
Sending a empty "to" address when estimating the gas usage of the contract constructor returns the following error (from geth at least):
> invalid argument 0: hex string has length 0, want 40 for common.Address in
2018-08-23 08:31:18 +03:00
sinabs
1a9784da30
add code comments
2018-08-08 14:22:02 +08:00
sinabs
e5729b757c
getTransactionReceipt result is NULL, Transaction status Pending
...
but RequestManage class throw 'Something wrong happened'
2018-08-08 12:52:09 +08:00
guanzi
16d341455d
add method: personal_lockAccount
2018-08-01 19:32:44 +08:00
Kuan-Cheng,Lai
1fb7762eb7
Merge pull request #76 from sciku1/master
...
Added getToAddress
2018-06-24 22:45:20 +08:00
Kuan-Cheng,Lai
87dbe235a4
Merge pull request #87 from sc0Vu/fix-85
...
decodeParameters not work
2018-06-24 22:42:35 +08:00
sc0Vu
07f730d8ce
Fix decode dynamic bytes
...
* Fix outputFormat function in dynamic bytes
* Add test test for issue 85 #85
2018-06-24 21:59:08 +08:00
sc0Vu
d5c21afec0
Fix decode bytes
...
* Return non zero bytes.
Decode bytes1 data: 0x6300000000000000000000000000000000000000000000000000000000000000
Will return 0x63
2018-06-24 21:16:12 +08:00
sc0Vu
ee9855fcbf
Change isType regex
2018-06-18 23:24:29 +08:00