@1hive/connect-conviction-voting
v0.4.1
Published
Access organizations and interact with Convcition Voting apps.
Downloads
17
Readme
The Graph Connector for Conviction Voting
Usage
const org = await connect(ORG_ADDRESS, 'thegraph', { network: 4 })
const convictionapp = await org.app('conviction-beta')
const conviction = await connectConviction(convictionapp)
const proposals = await conviction.proposals()
If you would like to use a coustom subgraph
const conviction = await connectConviction(convictionapp, [ 'thegraph', { subgraphUrl: <subgraph-url> } ])