Added better information about parameters
This commit is contained in:
parent
92251b4b14
commit
0954046c8d
@ -175,9 +175,11 @@ $contract = new Contract('http://localhost:8545', $abi);
|
|||||||
$contract->bytecode($bytecode)->new($params, $callback);
|
$contract->bytecode($bytecode)->new($params, $callback);
|
||||||
|
|
||||||
// call contract function
|
// call contract function
|
||||||
|
// parameters should resemble $params1, $params2, $params3 etc
|
||||||
$contract->at($contractAddress)->call($functionName, $params, $callback);
|
$contract->at($contractAddress)->call($functionName, $params, $callback);
|
||||||
|
|
||||||
// change function state
|
// change function state
|
||||||
|
// parameters should resemble $params1, $params2, $params3 etc
|
||||||
$contract->at($contractAddress)->send($functionName, $params, $callback);
|
$contract->at($contractAddress)->send($functionName, $params, $callback);
|
||||||
|
|
||||||
// estimate deploy contract gas
|
// estimate deploy contract gas
|
||||||
|
Loading…
Reference in New Issue
Block a user