Skip to content

Commit

Permalink
chore: fixup
Browse files Browse the repository at this point in the history
Signed-off-by: moul <94029+moul@users.noreply.github.com>
  • Loading branch information
moul committed Jul 7, 2024
1 parent 689e42b commit 16b9a15
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/concepts/packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ The role of each function is as follows:

Two types of contracts exist in`grc20`:

1. `AdminToken`
1. `Banker`
- Implements the token factory with `Helper` functions.
- The underlying struct should not be exposed to users. However, it can be typecasted as UserToken using the `GRC20()` method.
2. `UserToken`
- Implements the `IGRC20` interface.
- The underlying struct can be exposed to users. Created with the `GRC20()` method of `adminToken`.
- The underlying struct should not be exposed to users. However, it can return a typecasted `Token` object using the `Token()` method.
2. `Token`
- Implements the `GRC20` interface.
- The underlying struct can be exposed to users. Created with the `Token()` method of `Banker`.

## `grc721`

Expand Down

0 comments on commit 16b9a15

Please sign in to comment.