diff --git a/docs/concepts/packages.md b/docs/concepts/packages.md index cd3e2ace96a..dfc49a87caf 100644 --- a/docs/concepts/packages.md +++ b/docs/concepts/packages.md @@ -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`