This commit is contained in:
Marek Kotewicz 2015-01-15 11:40:04 +01:00
parent 70bf1a5711
commit d0473d6d83
2 changed files with 3 additions and 3 deletions

4
dist/ethereum.js vendored

@ -443,12 +443,12 @@ var ETH_METHOD_SIGNATURE_LENGTH = 4;
* var abi = [{ * var abi = [{
* name: 'myMethod', * name: 'myMethod',
* inputs: [{ name: 'a', type: 'string' }], * inputs: [{ name: 'a', type: 'string' }],
* outputs: [{name 'd', type: 'string' }] * outputs: [{name: 'd', type: 'string' }]
* }]; // contract abi * }]; // contract abi
* *
* var myContract = web3.eth.contract('0x0123123121', abi); // creation of contract object * 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 * myContract.myMethod('this is test string param for transact').transact() // myMethod transact
* *
* @param address - address of the contract, which should be called * @param address - address of the contract, which should be called

File diff suppressed because one or more lines are too long