Skip to content

Commit

Permalink
Update closed_loop_token.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hyd628 committed Dec 10, 2023
1 parent 98df20a commit 5ffc4f8
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions advanced-topics/closed_loop_token/lessons/closed_loop_token.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ There are three ways to confirm an action request.

## Setting Up Token Policy

Create a Coin through `coin::create_currency` -> Create a policy for the respective token through `token::new_policy` -> Share the `TokenPolicy` Object -> Register, modify or remove `Rule`s from `TokenPolicy`
- Create a Coin through `coin::create_currency`
- Create a policy for the respective token through `token::new_policy`
- Share the `TokenPolicy` Object
- Create the respective rules for any or all action types
- Register, modify, or remove the rules from `TokenPolicy`

Hierarchy: Coin/Token -> TokenPolicy -> Rules
### Hierarchy

Coin/Token -> TokenPolicy -> Rules

0 comments on commit 5ffc4f8

Please sign in to comment.