From 1ad99011dd5055c0e8a138ce102e17ede083db0a Mon Sep 17 00:00:00 2001 From: Dr-Electron Date: Thu, 9 Jan 2025 23:48:36 +0100 Subject: [PATCH] Fix typos --- docs/content/developer/standards/closed-loop-token/tutorial.mdx | 2 +- docs/examples/move/clt-tutorial/sources/clt_tutorial.move | 2 +- docs/examples/move/clt-tutorial/sources/rules.move | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/content/developer/standards/closed-loop-token/tutorial.mdx b/docs/content/developer/standards/closed-loop-token/tutorial.mdx index eedf26fb0f4..91fcadcbea9 100644 --- a/docs/content/developer/standards/closed-loop-token/tutorial.mdx +++ b/docs/content/developer/standards/closed-loop-token/tutorial.mdx @@ -69,7 +69,7 @@ in which we check if we have enough voucher token for a LED bulb and then transf But wait, remember that we said tokens are different from coins? With `token::spend` we again get a `ActionRequest` object which we have to approve. This time we can't approve with the treasury capability as the caller is the household. And even if we would have the treasury capability, -rememver how we learned that the treasury capability grants as admin rights? So it would confirm everything without checkint the rules. But here we actually want to make use of the policy rules feature. +remember how we learned that the treasury capability grants as admin rights? So it would confirm everything without checkint the rules. But here we actually want to make use of the policy rules feature. As we should only be allowed as a household to spend the voucher token for LED bulbs in a certified shop. So let's look into rules and add some to our policy. diff --git a/docs/examples/move/clt-tutorial/sources/clt_tutorial.move b/docs/examples/move/clt-tutorial/sources/clt_tutorial.move index 9e813d96a0a..b9b070c71e8 100644 --- a/docs/examples/move/clt-tutorial/sources/clt_tutorial.move +++ b/docs/examples/move/clt-tutorial/sources/clt_tutorial.move @@ -61,7 +61,7 @@ module clt_tutorial::voucher { /// hence does not need to be confirmed; however, the `transfer` action /// does require a confirmation and can be confirmed with `TreasuryCap`. /// Keep in mind that confirming with `TreasuryCap` is ignoring the rules, - /// hence why we are allowd to transfer to a non-shop address in this case. + /// hence why we are allowed to transfer to a non-shop address in this case. public fun gift_voucher( cap: &mut TreasuryCap, amount: u64, diff --git a/docs/examples/move/clt-tutorial/sources/rules.move b/docs/examples/move/clt-tutorial/sources/rules.move index f0655593659..00c6c1998a5 100644 --- a/docs/examples/move/clt-tutorial/sources/rules.move +++ b/docs/examples/move/clt-tutorial/sources/rules.move @@ -74,7 +74,7 @@ module clt_tutorial::allowlist_rule { } } - /// Removes addresses frome the `allowlist_rule` for a given action. + /// Removes addresses from the `allowlist_rule` for a given action. public fun remove_addresses( policy: &mut TokenPolicy, cap: &TokenPolicyCap,