MCPcopy Create free account
hub / github.com/PolymathNetwork/polymath-core / showUserInfo

Function showUserInfo

CLI/commands/token_manager.js:588–595  ·  view source on GitHub ↗
(_user)

Source from the content-addressed store, hash-verified

586
587// Helpers
588async 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
597async function getAllModules() {
598 function ModuleInfo(_moduleType, _name, _address, _factoryAddress, _archived, _paused) {

Callers 1

executeAppFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected