@1hive/connect-app-dandelion-voting 中文文档教程
The Graph Connector for Dandelion Voting
Usage
const org = await connect(
<org-address>,
'thegraph',
{ chainId: <chain-id> }
)
const apps = await org.apps()
const dandelionVotingApp = apps.find(
app => app.appName === 'dandelion-voting.aragonpm.eth'
)
const dandelionVotingInstance = new DandelionVoting(
dandelionVotingApp.address,
<subgraph-url>
)
const votes = await dandelionVotingInstance.votes()
The Graph Connector for Dandelion Voting
Usage
const org = await connect(
<org-address>,
'thegraph',
{ chainId: <chain-id> }
)
const apps = await org.apps()
const dandelionVotingApp = apps.find(
app => app.appName === 'dandelion-voting.aragonpm.eth'
)
const dandelionVotingInstance = new DandelionVoting(
dandelionVotingApp.address,
<subgraph-url>
)
const votes = await dandelionVotingInstance.votes()
更多
你可能也喜欢
- 3d-pie-chart 中文文档教程
- @36node/telegram 中文文档教程
- @4geit/swg-account-path 中文文档教程
- @8base/permissions-provider 中文文档教程
- @abdubek/react-datepicker 中文文档教程
- @abhi1266/test__package 中文文档教程
- @abraaobarros/react-native-bynd-chat 中文文档教程
- @abstractapi/javascript-email-validation 中文文档教程
- @acknow-srl/express-openid 中文文档教程
- @acorbeau/react-video-seek-slider 中文文档教程