diff --git a/src/commands/sbt/info.ts b/src/commands/sbt/info.ts index 59b3073..3051395 100644 --- a/src/commands/sbt/info.ts +++ b/src/commands/sbt/info.ts @@ -5,7 +5,7 @@ export const info = async (address: string) => { if (contract) { const supply = (await contract.totalSupply()).toNumber(); - console.log("Self Sovereign SBT Contract Information:\n"); + console.log("Soulbound Token Contract Information:\n"); console.log(`Network: '${masa.config.networkName}'`); console.log(`Contract Name: '${await contract.name()}'`); console.log(`Contract Symbol: '${await contract.symbol()}'`); @@ -17,6 +17,14 @@ export const info = async (address: string) => { } } console.log(`Contract Address: '${contract.address}'`); + if (masa.config.verbose) { + try { + console.log(`Contract Swap Router: '${await contract.swapRouter()}'`); + } catch { + // ignore + } + } + console.log(`Total SBTs: ${supply}`); } else { console.error(