Skip to content

Commit

Permalink
fix(settings): utility token supply (#1291) (#2638)
Browse files Browse the repository at this point in the history
  • Loading branch information
evgenibir authored Jun 4, 2024
1 parent 2ce40f8 commit 9ad205b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/dao/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -1069,7 +1069,7 @@ export const createTokens = async function ({ state, rootState }, data) {
{ label: 'content_group_label', value: ['string', 'reward_details'] },
{ label: 'reward_token_name', value: ['string', data?.utilityName] },
{ label: 'reward_token', value: ['asset', `${parseFloat(1).toFixed(data?.utilityDigits)} ${data?.utilitySymbol}`] },
{ label: 'reward_token_max_supply', value: ['asset', `${parseFloat(-1).toFixed(data?.utilityDigits)} ${data?.utilitySymbol}`] },
{ label: 'reward_token_max_supply', value: ['asset', `${parseFloat(data?.utilityAmount).toFixed(data?.utilityDigits)} ${data?.utilitySymbol}`] },
{ label: 'reward_to_peg_ratio', value: ['asset', `${parseFloat(1).toFixed(data?.treasuryDigits)} ${data?.treasurySymbol}`] },
{ label: 'utility_token_multiplier', value: ['int64', data?.utilityTokenMultiplier * 100] }
],
Expand Down

0 comments on commit 9ad205b

Please sign in to comment.