Skip to content

Commit

Permalink
added activeThreshold to voting contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahSaso committed Jun 29, 2024
1 parent b4f276c commit 91f5b17
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/formulas/formulas/contract/voting/daoVotingCw721Staked.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ type Config = {

const CODE_IDS_KEYS = ['dao-voting-cw721-staked']

export { activeThreshold } from './common'

export const config: ContractFormula<Config | undefined> = {
filter: {
codeIdsKeys: CODE_IDS_KEYS,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ type Config = {

const CODE_IDS_KEYS = ['dao-voting-native-staked']

export { activeThreshold } from './common'

export const votingPowerAtHeight: ContractFormula<
VotingPowerAtHeight,
{ address: string }
Expand Down
2 changes: 2 additions & 0 deletions src/formulas/formulas/contract/voting/daoVotingTokenStaked.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ type Config = {

const CODE_IDS_KEYS = ['dao-voting-token-staked']

export { activeThreshold } from './common'

export const votingPowerAtHeight: ContractFormula<
VotingPowerAtHeight,
{ address: string }
Expand Down

0 comments on commit 91f5b17

Please sign in to comment.