File tree 3 files changed +1
-290
lines changed
app/(basenames)/renew-names
components/Basenames/RenewNames 3 files changed +1
-290
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -33,11 +33,6 @@ export type UseWriteContractWithReceiptProps = {
33
33
eventName : string ;
34
34
} ;
35
35
36
- // Extend ContractFunctionParameters to include value property
37
- export type PayableContractFunctionParameters = ContractFunctionParameters & {
38
- value ?: bigint ;
39
- } ;
40
-
41
36
export default function useWriteContractWithReceipt ( {
42
37
chain,
43
38
eventName,
@@ -81,7 +76,7 @@ export default function useWriteContractWithReceipt({
81
76
const { switchChainAsync } = useSwitchChain ( ) ;
82
77
83
78
const initiateTransaction = useCallback (
84
- async ( contractParameters : PayableContractFunctionParameters ) => {
79
+ async ( contractParameters : ContractFunctionParameters ) => {
85
80
if ( ! connectedChain ) return ;
86
81
if ( connectedChain . id !== chain . id ) {
87
82
await switchChainAsync ( { chainId : chain . id } ) ;
You can’t perform that action at this time.
0 commit comments