mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update contracts.rst
This commit is contained in:
parent
2dc9e53a49
commit
2021508653
@ -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" /* string of address */);
|
||||
var clientReceipt = ClientReceipt.at("0x1234...ab67" /* address */);
|
||||
|
||||
var event = clientReceipt.Deposit();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user