diff --git a/README.md b/README.md index 7b072c2..beea3fc 100644 --- a/README.md +++ b/README.md @@ -1 +1,8 @@ # Conviction funding pilot + +To install conviction voting on a xDAI DAO, you can use the following command in the built-in console: +``` +install/conviction-beta.aragonpm.eth/(0xc4fbe68522ba81a28879763c3ee33e08b13c499e,0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,9998395,2500000,31250,2500000000000000)/CREATE_PROPOSALS_ROLE::0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF +``` + +* `0xc4fbe68522ba81a28879763c3ee33e08b13c499e` is the CSTK token \ No newline at end of file diff --git a/src/hooks/useFilterProposals.js b/src/hooks/useFilterProposals.js index 30d77e2..387aab4 100644 --- a/src/hooks/useFilterProposals.js +++ b/src/hooks/useFilterProposals.js @@ -76,7 +76,6 @@ const useFilterProposals = (proposals, myStakes) => { proposal ) const proposalTypeStatus = getProposalType(proposal) - console.log(proposal) return ( testExecutionFilter(executionFilter, proposalExecutionStatus) && testTypeFilter(typeFilter, proposalTypeStatus) && diff --git a/src/networks.js b/src/networks.js index bffe11d..08c56dd 100644 --- a/src/networks.js +++ b/src/networks.js @@ -28,9 +28,9 @@ const networks = { ensRegistry: '0xaafca6b0c89521752e559650206d7c925fd0e530', defaultEthNode: 'https://xdai.poanetwork.dev/', defaultSubgraphUrl: - 'https://api.thegraph.com/subgraphs/name/1hive/aragon-c-v-beta-xdai', + 'https://api.thegraph.com/subgraphs/name/1hive/aragon-conviction-voting-xdai', name: 'xDai', - orgAddress: '0x1D7Ac94b1713E17bFA2e1C96d832329b4B79B404', + orgAddress: '0xEf1dd9ca619C3603a1A0B80345597152D5f8407F', type: 'xdai', }, } diff --git a/src/providers/AppState.js b/src/providers/AppState.js index c0f21a2..34b9b21 100644 --- a/src/providers/AppState.js +++ b/src/providers/AppState.js @@ -5,7 +5,7 @@ import PropTypes from 'prop-types' import { bigNum } from '../lib/bigNumber' import { useAppData, - useVaultBalance, + // useVaultBalance, useOrganzation, useTokenBalances, } from '../hooks/useOrgHooks' @@ -28,7 +28,7 @@ function AppStateProvider({ children }) { ...appData } = useAppData(organization) - const vaultBalance = useVaultBalance(installedApps, requestToken) + const vaultBalance = bigNum(0) // useVaultBalance(installedApps, requestToken) const { balance, totalSupply } = useTokenBalances(account, stakeToken)