mirror of
https://github.com/yashgo0018/maci-wrapper.git
synced 2026-04-12 03:00:25 -04:00
9 lines
225 B
TypeScript
9 lines
225 B
TypeScript
import { useScaffoldContractRead } from "./scaffold-eth";
|
|
|
|
export const useFetchPoll = (id: string) =>
|
|
useScaffoldContractRead({
|
|
contractName: "PollManager",
|
|
functionName: "fetchPoll",
|
|
args: [BigInt(id)],
|
|
});
|