iExecBlockchainComputing/PoCo

expose sub hubs addresses as public variable in the main hub

Closed this issue · 2 comments

could be convenient to have these properties exposed in the IexecHub:

m_appHubAddress
m_datasetHubAddress
m_workerPoolHubAddress

ok. have you try to get adress from this ?
AppHub public appHub;
DatasetHub public datasetHub;
WorkerPoolHub public workerPoolHub;

i see in the abi that it may return the address. I know that in MyetherWallet it works and return the address. but i do not try it with web3js

{
"constant": true,
"inputs": [],
"name": "appHub",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},

you are right! Many thanks!