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

Function checkSymbol

CLI/commands/sto_manager.js:367–374  ·  view source on GitHub ↗
(address)

Source from the content-addressed store, hash-verified

365}
366
367async function checkSymbol(address) {
368 let stableCoin = common.connect(abis.erc20(), address);
369 try {
370 return await stableCoin.methods.symbol().call();
371 } catch (e) {
372 return ""
373 }
374}
375
376async function processArray(array) {
377 let result = true;

Callers 2

processArrayFunction · 0.70
processAddressFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected