Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoshiya authored Jun 1, 2024
1 parent 5222d20 commit 3aba231
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/tutorial/earlyWin.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
```

0 comments on commit 3aba231

Please sign in to comment.