(_user)
| 586 | |
| 587 | // Helpers |
| 588 | async function showUserInfo(_user) { |
| 589 | console.log(` |
| 590 | ******************** User Information ********************* |
| 591 | - Address: ${_user} |
| 592 | - POLY balance: ${web3.utils.fromWei(await polyToken.methods.balanceOf(_user).call())} |
| 593 | - ETH balance: ${web3.utils.fromWei(await web3.eth.getBalance(_user))} |
| 594 | `); |
| 595 | } |
| 596 | |
| 597 | async function getAllModules() { |
| 598 | function ModuleInfo(_moduleType, _name, _address, _factoryAddress, _archived, _paused) { |