mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Specify address as string on events documentation
This commit is contained in:
parent
80f83169b1
commit
2dc9e53a49
@ -626,7 +626,7 @@ The use in the JavaScript API would be as follows:
|
||||
|
||||
var abi = /* abi as generated by the compiler */;
|
||||
var ClientReceipt = web3.eth.contract(abi);
|
||||
var clientReceipt = ClientReceipt.at(0x123 /* address */);
|
||||
var clientReceipt = ClientReceipt.at("0x123" /* string of address */);
|
||||
|
||||
var event = clientReceipt.Deposit();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user