Skip to content

Commit

Permalink
fix(createdao): move voice decay
Browse files Browse the repository at this point in the history
fix(createdao): move voice decay
  • Loading branch information
arsenijesavic authored Mar 27, 2024
2 parents fbf05b5 + 27aa7f2 commit a3b6087
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/store/dao/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ export const createDAO = async function (context, { data, isDraft }) {
{ label: 'dao_template', value: ['int64', data?.template] },

//
{ label: 'voice_token_decay_period', value: ['int64', 604800] },
{ label: 'voice_token_decay_per_period_x10M', value: ['int64', 100000] },

{ label: 'voice_token', value: ['asset', `${parseFloat(1).toFixed(data?.voiceDigits)} ${data?.voiceSymbol}`] },
{ label: 'use_seeds', value: ['int64', data?.use_seeds ? 1 : 0] },

Expand All @@ -33,8 +36,9 @@ export const createDAO = async function (context, { data, isDraft }) {
{ label: 'voting_alignment_x100', value: ['int64', data?.votingAlignmentPercent] },
{ label: 'voting_quorum_x100', value: ['int64', data?.votingQuorumPercent] },


Check failure on line 39 in src/store/dao/actions.js

View workflow job for this annotation

GitHub Actions / build-staging

More than 1 blank line not allowed

Check failure on line 39 in src/store/dao/actions.js

View workflow job for this annotation

GitHub Actions / build-eos-mainnet-staging

More than 1 blank line not allowed
{ label: 'voice_token_decay_period', value: ['int64', 604800] },
// { label: 'voice_token_decay_per_period_x10M', value: ['int64', 100000] },
{ label: 'voice_token_decay_per_period_x10M', value: ['int64', 100000] },

{ label: 'utility_token_multiplier', value: ['int64', data?.utilityTokenMultiplier] },
{ label: 'voice_token_multiplier', value: ['int64', data?.voiceTokenMultiplier] },
Expand Down

0 comments on commit a3b6087

Please sign in to comment.