diff --git a/docs/tutorial/earlyWin.md b/docs/tutorial/earlyWin.md index 9f287dbd..14dfc011 100644 --- a/docs/tutorial/earlyWin.md +++ b/docs/tutorial/earlyWin.md @@ -6,3 +6,11 @@ displayed_sidebar: tutorialSidebar # Overview In this guide, we'll be creating a shielded ERC20 token using Solidity. Our token will be unique in that it will offer encrypted token balances, thereby enhancing privacy for token holders. + +1. Define a view function in your contract. For example, to retrieve sensitive data: + + ```solidity + function getSensitiveData(Permission calldata perm) public view onlySender(perm) returns (string memory) { + // Logic to return sensitive data + } + ```