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: apps/portal/src/app/contracts/modular-contracts/get-started/create-core-contract/page.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,7 +89,7 @@ Implement the `getSupportedCallbackFunctions` function. The Core contract is abs
89
89
import {Core} from "@thirdweb-dev/src/Core.sol";
90
90
91
91
contract CounterCore is Core {
92
-
int256 public count;
92
+
uint256 public count;
93
93
94
94
constructor(address owner) {
95
95
_initializeOwner(owner);
@@ -112,7 +112,7 @@ Implement the `getSupportedCallbackFunctions` function. The Core contract is abs
112
112
</Step>
113
113
114
114
<Steptitle="Add a Callback Function">
115
-
Introduce the `_beforeIncrement` function to use the `beforeIncrement` callback from a module, to achieve this we are going to create a new interface.
115
+
Introduce the `_beforeIncrement` function to use the `beforeIncrement` callback from a module to achieve this, we'll introduce the interface`BeforeIncrementCallback`
116
116
117
117
> **Note**
118
118
> Callback functions are hook-like functionalities that can be used before or after the main functionality of a core contract.
@@ -219,7 +219,7 @@ contract CounterCore is Core {
0 commit comments