Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,10 @@ $constructorData = $contract->bytecode($bytecode)->getData($params);

// get function data
$functionData = $contract->at($contractAddress)->getData($functionName, $params);

//get event log data
//$fromBlock and $toBlock are optional, default to 'latest' and accept block numbers integers
$events = $contract->getEventLogs($eventName, $fromBlock, $toBlock);
```

# Assign value to outside scope(from callback scope to outside scope)
Expand Down
7 changes: 3 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
{
"name": "sc0vu/web3.php",
"name": "nanolucas/web3.php",
"description": "Ethereum web3 interface.",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "sc0Vu",
"email": "[email protected]"
"name": "nanolucas"
}
],
"require": {
"guzzlehttp/guzzle": "^6.3 | ^7.0",
"PHP": "^7.1",
"PHP": ">7.1",
"kornrunner/keccak": "~1.0",
"phpseclib/phpseclib": "~2.0.11",
"ext-mbstring": "*"
Expand Down
Loading