Closed technophile-04 closed 11 months ago
useScaffoldContractRead
useScaffoldContractWrite
I think it would be really great if we link to wagmi's useContractRead return value and others args which our hooks take in and it will people know their types. Similar for useScaffoldContractWrite
useContractRead
value
args
types
useScaffoldEventHistory
useScaffoldEventSubscriber
useScaffoldEventSubscriber is similar to wagmi's useEventSubscriber so we can add a small link to wagmi.
useEventSubscriber
useScaffoldEventHistory :
Maybe we describe return values in pointer so that its more easily recognized and readable ?
I'll work on a proposal tonight with those improvements 🙌
Description :
Regarding
useScaffoldContractRead
&useScaffoldContractWrite
I think it would be really great if we link to wagmi's
useContractRead
returnvalue
and othersargs
which our hooks take in and it will people know theirtypes
. Similar foruseScaffoldContractWrite
Regarding
useScaffoldEventHistory
&useScaffoldEventSubscriber
:useScaffoldEventSubscriber
is similar to wagmi'suseEventSubscriber
so we can add a small link to wagmi.useScaffoldEventHistory
:Maybe we describe return values in pointer so that its more easily recognized and readable ?