Skip to content

Commit

Permalink
refactor(settings-token): remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
arsenijesavic committed Sep 8, 2023
1 parent 61a6ff6 commit 0ea2298
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/components/dao/settings-tokens.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ export default {
utilityDigits: 2, // 1.0, 1.00, 1.000
utilityTokenMultiplier: 1,
utilityAmount: null, // i.e 100000 or -1 for infinite supply
// utilityValue: '1', // The equivalent value of 1 token in USD
// Voice token (aka voice_token = voiceDigits voiceSymbol)
voiceName: 'Voice Token',
Expand Down Expand Up @@ -103,19 +102,13 @@ export default {
treasurySymbol,
treasuryDigits: treasuryDigits.split('.')[1].length, // 1.0, 1.00, 1.000
treasuryTokenMultiplier: this.daoSettings.settings_treasuryTokenMultiplier_i,
// treasuryCurrency: {
// label: `${currency.USD?.symbol} - ${currency.USD?.name}`,
// value: currency.USD.code,
// ...currency.USD
// },
// // Utility token
utilityName: this.daoSettings.settings_rewardTokenName_s || utilitySymbol,
utilitySymbol,
utilityDigits: utilityDigits.split('.')[1].length, // 1.0, 1.00, 1.000, // 1.0, 1.00, 1.000
utilityTokenMultiplier: this.daoSettings.settings_utilityTokenMultiplier_i,
utilityAmount: parseInt(utilityAmount) === -1 ? '∞' : utilityAmount, // i.e 100000 or -1 for infinite supply
// // utilityValue: '1', // The equivalent value of 1 token in USD
// // Voice token
voiceName: voiceSymbol,
Expand Down

0 comments on commit 0ea2298

Please sign in to comment.