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
138c952a1a
commit
fb58809c20
@ -27,7 +27,7 @@ From ``web3.js``, i.e. the JavaScript
|
||||
API, this is done as follows::
|
||||
|
||||
// Need to specify some source including contract name for the data param below
|
||||
var source = "contract CONTRACT_NAME { function CONTRACT_NAME(unit a, uint b) {} }";
|
||||
var source = "contract CONTRACT_NAME { function CONTRACT_NAME(uint a, uint b) {} }";
|
||||
|
||||
// The json abi array generated by the compiler
|
||||
var abiArray = [
|
||||
|
Loading…
Reference in New Issue
Block a user