How can i call the multisignature functions after completing the compiling and contract process

VeerasarmaVeerasarma Posts: 3
edited July 2016 in web3-js
Hi,

I compile the source code given in this link https://github.com/ethereum/meteor-dapp-wallet/blob/master/Wallet.sol

And then call the contract method process using web3 js process

SO now how can i access the functions denoted in the multisignature source code (Example : create owner etc.., )

When i run the contract method i go the following result please check it and if i do anything wrong please correct me

{ _eth:
{ _requestManager: { provider: [Object], polls: {}, timeout: null },
getBalance: { [Function] request: [Function], call: 'eth_getBalance' },
getStorageAt: { [Function] request: [Function], call: 'eth_getStorageAt' },
getCode: { [Function] request: [Function], call: 'eth_getCode' },
getBlock: { [Function] request: [Function], call: [Function] },
getUncle: { [Function] request: [Function], call: [Function] },
getCompilers: { [Function] request: [Function], call: 'eth_getCompilers' },
getBlockTransactionCount: { [Function] request: [Function], call: [Function] },
getBlockUncleCount: { [Function] request: [Function], call: [Function] },
getTransaction: { [Function] request: [Function], call: 'eth_getTransactionByHash' },
getTransactionFromBlock: { [Function] request: [Function], call: [Function] },
getTransactionReceipt: { [Function] request: [Function], call: 'eth_getTransactionReceipt' },
getTransactionCount: { [Function] request: [Function], call: 'eth_getTransactionCount' },
call: { [Function] request: [Function], call: 'eth_call' },
estimateGas: { [Function] request: [Function], call: 'eth_estimateGas' },
sendRawTransaction: { [Function] request: [Function], call: 'eth_sendRawTransaction' },
sendTransaction: { [Function] request: [Function], call: 'eth_sendTransaction' },
sign: { [Function] request: [Function], call: 'eth_sign' },
compile: { solidity: [Object], lll: [Object], serpent: [Object] },
submitWork: { [Function] request: [Function], call: 'eth_submitWork' },
getWork: { [Function] request: [Function], call: 'eth_getWork' },
coinbase: [Getter],
getCoinbase: { [Function] request: [Function] },
mining: [Getter],
getMining: { [Function] request: [Function] },
hashrate: [Getter],
getHashrate: { [Function] request: [Function] },
syncing: [Getter],
getSyncing: { [Function] request: [Function] },
gasPrice: [Getter],
getGasPrice: { [Function] request: [Function] },
accounts: [Getter],
getAccounts: { [Function] request: [Function] },
blockNumber: [Getter],
getBlockNumber: { [Function] request: [Function] },
iban:
{ [Function]
fromAddress: [Function],
fromBban: [Function],
createIndirect: [Function],
isValid: [Function] },
sendIBANTransaction: [Function] },
transactionHash: '0xc27c45ef91b6e11560ae293c05292d7d0f635d8731b74282eb7bd2cc38daf3e8',
address: undefined,
abi:
[ { constant: false,
inputs: [Object],
name: 'removeOwner',
outputs: [],
type: 'function' },
{ constant: false,
inputs: [Object],
name: 'isOwner',
outputs: [Object],
type: 'function' },
{ constant: true,
inputs: [],
name: 'm_numOwners',
outputs: [Object],
type: 'function' },
{ constant: false,
inputs: [Object],
name: 'addOwner',
outputs: [],
type: 'function' },
{ constant: true,
inputs: [],
name: 'm_required',
outputs: [Object],
type: 'function' },
{ constant: false,
inputs: [Object],
name: 'revoke',
outputs: [],
type: 'function' },
{ constant: false,
inputs: [Object],
name: 'changeRequirement',
outputs: [],
type: 'function' },
{ constant: true,
inputs: [Object],
name: 'hasConfirmed',
outputs: [Object],
type: 'function' },
{ constant: false,
inputs: [Object],
name: 'changeOwner',
outputs: [],
type: 'function' },
{ inputs: [Object], type: 'constructor' },
{ anonymous: false,
inputs: [Object],
name: 'Confirmation',
type: 'event' },
{ anonymous: false,
inputs: [Object],
name: 'Revoke',
type: 'event' },
{ anonymous: false,
inputs: [Object],
name: 'OwnerChanged',
type: 'event' },
{ anonymous: false,
inputs: [Object],
name: 'OwnerAdded',
type: 'event' },
{ anonymous: false,
inputs: [Object],
name: 'OwnerRemoved',
type: 'event' },
{ anonymous: false,
inputs: [Object],
name: 'RequirementChanged',
type: 'event' } ] }
null
{ _eth:
{ _requestManager: { provider: [Object], polls: {}, timeout: null },
getBalance: { [Function] request: [Function], call: 'eth_getBalance' },
getStorageAt: { [Function] request: [Function], call: 'eth_getStorageAt' },
getCode: { [Function] request: [Function], call: 'eth_getCode' },
getBlock: { [Function] request: [Function], call: [Function] },
getUncle: { [Function] request: [Function], call: [Function] },
getCompilers: { [Function] request: [Function], call: 'eth_getCompilers' },
getBlockTransactionCount: { [Function] request: [Function], call: [Function] },
getBlockUncleCount: { [Function] request: [Function], call: [Function] },
getTransaction: { [Function] request: [Function], call: 'eth_getTransactionByHash' },
getTransactionFromBlock: { [Function] request: [Function], call: [Function] },
getTransactionReceipt: { [Function] request: [Function], call: 'eth_getTransactionReceipt' },
getTransactionCount: { [Function] request: [Function], call: 'eth_getTransactionCount' },
call: { [Function] request: [Function], call: 'eth_call' },
estimateGas: { [Function] request: [Function], call: 'eth_estimateGas' },
sendRawTransaction: { [Function] request: [Function], call: 'eth_sendRawTransaction' },
sendTransaction: { [Function] request: [Function], call: 'eth_sendTransaction' },
sign: { [Function] request: [Function], call: 'eth_sign' },
compile: { solidity: [Object], lll: [Object], serpent: [Object] },
submitWork: { [Function] request: [Function], call: 'eth_submitWork' },
getWork: { [Function] request: [Function], call: 'eth_getWork' },
coinbase: [Getter],
getCoinbase: { [Function] request: [Function] },
mining: [Getter],
getMining: { [Function] request: [Function] },
hashrate: [Getter],
getHashrate: { [Function] request: [Function] },
syncing: [Getter],
getSyncing: { [Function] request: [Function] },
gasPrice: [Getter],
getGasPrice: { [Function] request: [Function] },
accounts: [Getter],
getAccounts: { [Function] request: [Function] },
blockNumber: [Getter],
getBlockNumber: { [Function] request: [Function] },
iban:
{ [Function]
fromAddress: [Function],
fromBban: [Function],
createIndirect: [Function],
isValid: [Function] },
sendIBANTransaction: [Function] },
transactionHash: '0xc27c45ef91b6e11560ae293c05292d7d0f635d8731b74282eb7bd2cc38daf3e8',
address: '0xf47d16a228ca912c4aebb676261c3e5e26fca875',
abi:
[ { constant: false,
inputs: [Object],
name: 'removeOwner',
outputs: [],
type: 'function' },
{ constant: false,
inputs: [Object],
name: 'isOwner',
outputs: [Object],
type: 'function' },
{ constant: true,
inputs: [],
name: 'm_numOwners',
outputs: [Object],
type: 'function' },
{ constant: false,
inputs: [Object],
name: 'addOwner',
outputs: [],
type: 'function' },
{ constant: true,
inputs: [],
name: 'm_required',
outputs: [Object],
type: 'function' },
{ constant: false,
inputs: [Object],
name: 'revoke',
outputs: [],
type: 'function' },
{ constant: false,
inputs: [Object],
name: 'changeRequirement',
outputs: [],
type: 'function' },
{ constant: true,
inputs: [Object],
name: 'hasConfirmed',
outputs: [Object],
type: 'function' },
{ constant: false,
inputs: [Object],
name: 'changeOwner',
outputs: [],
type: 'function' },
{ inputs: [Object], type: 'constructor' },
{ anonymous: false,
inputs: [Object],
name: 'Confirmation',
type: 'event' },
{ anonymous: false,
inputs: [Object],
name: 'Revoke',
type: 'event' },
{ anonymous: false,
inputs: [Object],
name: 'OwnerChanged',
type: 'event' },
{ anonymous: false,
inputs: [Object],
name: 'OwnerAdded',
type: 'event' },
{ anonymous: false,
inputs: [Object],
name: 'OwnerRemoved',
type: 'event' },
{ anonymous: false,
inputs: [Object],
name: 'RequirementChanged',
type: 'event' } ],
removeOwner:
{ [Function]
request: [Function],
call: [Function],
sendTransaction: [Function],
estimateGas: [Function],
getData: [Function],
address: [Circular] },
isOwner:
{ [Function]
request: [Function],
call: [Function],
sendTransaction: [Function],
estimateGas: [Function],
getData: [Function],
address: [Circular] },
m_numOwners:
{ [Function]
request: [Function],
call: [Function],
sendTransaction: [Function],
estimateGas: [Function],
getData: [Function],
'': [Circular] },
addOwner:
{ [Function]
request: [Function],
call: [Function],
sendTransaction: [Function],
estimateGas: [Function],
getData: [Function],
address: [Circular] },
m_required:
{ [Function]
request: [Function],
call: [Function],
sendTransaction: [Function],
estimateGas: [Function],
getData: [Function],
'': [Circular] },
revoke:
{ [Function]
request: [Function],
call: [Function],
sendTransaction: [Function],
estimateGas: [Function],
getData: [Function],
bytes32: [Circular] },
changeRequirement:
{ [Function]
request: [Function],
call: [Function],
sendTransaction: [Function],
estimateGas: [Function],
getData: [Function],
uint256: [Circular] },
hasConfirmed:
{ [Function]
request: [Function],
call: [Function],
sendTransaction: [Function],
estimateGas: [Function],
getData: [Function],
'bytes32,address': [Circular] },
changeOwner:
{ [Function]
request: [Function],
call: [Function],
sendTransaction: [Function],
estimateGas: [Function],
getData: [Function],
'address,address': [Circular] },
allEvents: [Function],
Confirmation: { [Function] 'address,bytes32': [Function] },
Revoke: { [Function] 'address,bytes32': [Function] },
OwnerChanged: { [Function] 'address,address': [Function] },
OwnerAdded: { [Function] address: [Function] },
OwnerRemoved: { [Function] address: [Function] },
RequirementChanged: { [Function] uint256: [Function] } }

Please give one example how call the contract functions
Sign In or Register to comment.