You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/eth-stark/useEthStarkContract.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,13 @@
2
2
sidebar_position: 5
3
3
---
4
4
5
-
# useDynamicContract
5
+
# useEthStarkContract
6
6
7
7
This is the hook that wraps the `useScaffoldContract` hook from Scaffold-Stark and Scaffold-ETH for both Starknet and Ethereum. Use this hook to get your contract instance by providing the contract name. It enables you to interact with your contract methods.
8
-
For reading data or sending transactions, it's recommended to use `useDynamicReadContract` and `useDynamicWriteContract`.
8
+
For reading data or sending transactions, it's recommended to use `useEthStarkReadContract` and `useEthStarkWriteContract`.
Copy file name to clipboardexpand all lines: docs/eth-stark/useEthStarkDeployedContract.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
sidebar_position: 4
3
3
---
4
4
5
-
# useDynamicDeployContract
5
+
# useEthStarkDeployedContract
6
6
7
7
This is the hook that wraps the `useDeployedContractInfo` hook from Scaffold-Stark and Scaffold-ETH for both Starknet and Ethereum. Use this hook to fetch details about a deployed smart contract, including the ABI and address.
Copy file name to clipboardexpand all lines: docs/eth-stark/useEthStarkEventHistory.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,12 @@
2
2
sidebar_position: 3
3
3
---
4
4
5
-
# useDynamicEventHistory
5
+
# useEthStarkEventHistory
6
6
7
7
This is the hook that wraps the `useScaffoldEventHistory` hook from Scaffold-Stark and Scaffold-ETH for both Starknet and Ethereum. This hook allows you to read events from a deployed smart contract.
Copy file name to clipboardexpand all lines: docs/eth-stark/useEthStarkReadContract.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,12 @@
2
2
sidebar_position: 1
3
3
---
4
4
5
-
# useDynamicReadContract
5
+
# useEthStarkReadContract
6
6
7
7
This is the hook that wraps the `useScaffoldReadContract` hook from Scaffold-Stark and Scaffold-ETH for both Starknet and Ethereum. Use this hook to read public variables and get data from read-only functions of your Starknet and Ethereum smart contracts.
Copy file name to clipboardexpand all lines: docs/eth-stark/useEthStarkWriteContract.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,12 @@
2
2
sidebar_position: 2
3
3
---
4
4
5
-
# useDynamicWriteContract
5
+
# useEthStarkWriteContract
6
6
7
7
This is the hook that wraps the `useScaffoldWriteContract` hook from Scaffold-Stark and Scaffold-ETH for both Starknet and Ethereum. Use this hook to write to your smart contract by calling state-mutating functions.
0 commit comments