mirror of
https://github.com/status-im/dappconnect-vote-poll-sdk.git
synced 2025-01-16 16:26:15 +00:00
11 lines
444 B
Markdown
11 lines
444 B
Markdown
Package contains hooks for WakuVoting
|
|
|
|
## hooks
|
|
|
|
-`useVotingRoom(id: number, wakuVoting: WakuVoting)` - returns meoized VotingRoom object see core for more info on VotingRoom
|
|
|
|
-`useVotingRoomsId(wakuVoting: WakuVoting)` - returns array of all voting rooms on blockchain
|
|
|
|
-`useWakuVoting(appName: string, contractAddress: string, provider: Web3Provider | undefined, multicallAddress: string | undefined)` - returns memoized WakuVoting object
|
|
|