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
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
0e303787ba
Add defaultblock in contract call
2019-10-02 10:26:41 +08: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
83188b171e
Fix #112
...
Remove depth for jsonToArray function
2019-01-13 14:07:31 +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
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
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
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
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
bb523cc04b
Add comments,__get and __set.
2018-02-07 13:55:32 +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
sc0Vu
bb43d04068
getData
2018-01-21 20:30:51 +08:00
sc0Vu
c56642198a
typo
2018-01-21 20:22:04 +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
24e5074722
Contract estimateGas method.
2018-01-12 15:16:31 +08:00
sc0Vu
2baac410de
Rename address formatter.
2018-01-11 16:34:24 +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
b833dfebb7
Contract new method.
2017-12-29 18:23:56 +08:00