mirror of https://github.com/status-im/web3.js.git
fixed typos
This commit is contained in:
parent
bacc5aa6d3
commit
70bf1a5711
|
@ -38,12 +38,12 @@ var ETH_METHOD_SIGNATURE_LENGTH = 4;
|
|||
* var abi = [{
|
||||
* name: 'myMethod',
|
||||
* inputs: [{ name: 'a', type: 'string' }],
|
||||
* outputs: [{name 'd', type: 'string' }]
|
||||
* outputs: [{name: 'd', type: 'string' }]
|
||||
* }]; // contract abi
|
||||
*
|
||||
* var myContract = web3.eth.contract('0x0123123121', abi); // creation of contract object
|
||||
*
|
||||
* myContract.myMethod('this is test string param for call').cal(); // myMethod call
|
||||
* myContract.myMethod('this is test string param for call').call(); // myMethod call
|
||||
* myContract.myMethod('this is test string param for transact').transact() // myMethod transact
|
||||
*
|
||||
* @param address - address of the contract, which should be called
|
||||
|
|
Loading…
Reference in New Issue