Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
15 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
import { masa } from "../../helpers"; | ||
|
||
export const info = async () => { | ||
const identityContracts = await masa.contracts.loadIdentityContracts(); | ||
|
||
console.log("Soulbound 2FA"); | ||
console.log(`Contract Address: '${identityContracts.Soulbound2FA.address}'`); | ||
console.log( | ||
`Contract Address: '${masa.contracts.identity.Soulbound2FA.address}'` | ||
); | ||
console.log( | ||
`Total 2FAs: ${( | ||
await identityContracts.Soulbound2FA.totalSupply() | ||
await masa.contracts.identity.Soulbound2FA.totalSupply() | ||
).toNumber()}` | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
import { masa } from "../../helpers"; | ||
|
||
export const info = async () => { | ||
const identityContracts = await masa.contracts.loadIdentityContracts(); | ||
|
||
console.log("Soulbound Credit Report"); | ||
console.log( | ||
`Contract Address: '${identityContracts.SoulboundCreditReportContract.address}'` | ||
`Contract Address: '${masa.contracts.identity.SoulboundCreditReportContract.address}'` | ||
); | ||
console.log( | ||
`Total Credit Reports: ${( | ||
await identityContracts.SoulboundCreditReportContract.totalSupply() | ||
await masa.contracts.identity.SoulboundCreditReportContract.totalSupply() | ||
).toNumber()}` | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
import { masa } from "../../helpers"; | ||
|
||
export const info = async () => { | ||
const identityContracts = await masa.contracts.loadIdentityContracts(); | ||
|
||
console.log("Soulbound Identity"); | ||
console.log( | ||
`Contract Address: '${identityContracts.SoulboundIdentityContract.address}'` | ||
`Contract Address: '${masa.contracts.identity.SoulboundIdentityContract.address}'` | ||
); | ||
console.log( | ||
`Total Identities: ${( | ||
await identityContracts.SoulboundIdentityContract.totalSupply() | ||
await masa.contracts.identity.SoulboundIdentityContract.totalSupply() | ||
).toNumber()}` | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
import { masa } from "../../helpers"; | ||
|
||
export const info = async () => { | ||
const identityContracts = await masa.contracts.loadIdentityContracts(); | ||
|
||
console.log("Soul Name"); | ||
console.log( | ||
`Contract Address: '${identityContracts.SoulNameContract.address}'` | ||
`Contract Address: '${masa.contracts.identity.SoulNameContract.address}'` | ||
); | ||
console.log( | ||
`Total Soul Names: ${( | ||
await identityContracts.SoulNameContract.totalSupply() | ||
await masa.contracts.identity.SoulNameContract.totalSupply() | ||
).toNumber()}` | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters