expose sub hubs addresses as public variable in the main hub
Closed this issue · 2 comments
sulliwane commented
could be convenient to have these properties exposed in the IexecHub:
m_appHubAddress
m_datasetHubAddress
m_workerPoolHubAddress
branciard commented
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"
},
sulliwane commented
you are right! Many thanks!