From b11746f86d2565d98a06efad980227c930303533 Mon Sep 17 00:00:00 2001 From: riskrose Date: Fri, 2 Aug 2024 10:30:28 +0800 Subject: [PATCH] chore: fix some comments Signed-off-by: riskrose --- unit-five/lessons/3_kiosk_basics.md | 2 +- .../example_projects/locked_coin/sources/locked_coin.move | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/unit-five/lessons/3_kiosk_basics.md b/unit-five/lessons/3_kiosk_basics.md index d6bfeca..83236af 100644 --- a/unit-five/lessons/3_kiosk_basics.md +++ b/unit-five/lessons/3_kiosk_basics.md @@ -23,7 +23,7 @@ Sui Kiosk is created to answer these needs: Sui Kiosk consists these 2 main components: - `Kiosk` + `KioskOwnerCap`: `Kiosk` is the safe that will store our assets and display them for selling, it is implemented as a shared object allowing interactions between multiple parties. Each `Kiosk` will have a corresponding Kiosk Owner whoever holding the `KioskOwnerCap`. The Kiosk Owner still have the _logical ownership_ over their assets even when they are _physically_ placed in the kiosk. -- `TransferPolicy` + `TransferPolicyCap`: `TransferPolicy` is a shared object defines the conditions in which the assets can be traded or sold. Each `TransferPolicy` consists a set of _rules_, with each rule specifies the requirements every trade must sastify. Rules can be enabled or disabled from the `TransferPolicy` by whoever owning the `TransferOwnerCap`. Greate example of `TransferPolicy`'s rule is the royalty fees guarantee. +- `TransferPolicy` + `TransferPolicyCap`: `TransferPolicy` is a shared object defines the conditions in which the assets can be traded or sold. Each `TransferPolicy` consists a set of _rules_, with each rule specifies the requirements every trade must sastify. Rules can be enabled or disabled from the `TransferPolicy` by whoever owning the `TransferOwnerCap`. Greater example of `TransferPolicy`'s rule is the royalty fees guarantee. ## Sui Kiosk Users diff --git a/unit-three/example_projects/locked_coin/sources/locked_coin.move b/unit-three/example_projects/locked_coin/sources/locked_coin.move index 9182c24..feae40e 100644 --- a/unit-three/example_projects/locked_coin/sources/locked_coin.move +++ b/unit-three/example_projects/locked_coin/sources/locked_coin.move @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 /// Basic token locking and vesting example for Move on Sui. -/// Part of the the Sui Move intro course: +/// Part of the Sui Move intro course: /// https://github.com/sui-foundation/sui-move-intro-course /// module locked_coin::locked_coin {