From e2b9232c37e1881341811014aafd797a688d1e01 Mon Sep 17 00:00:00 2001 From: camcui Date: Fri, 17 Jan 2025 15:30:53 +0800 Subject: [PATCH] chore: fix some typos in comment Signed-off-by: camcui --- contracts/ark_common/src/protocol/order_types.cairo | 2 +- contracts/ark_orderbook/README.md | 2 +- contracts/ark_starknet/src/appchain_messaging.cairo | 2 +- packages/deployer/README.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/contracts/ark_common/src/protocol/order_types.cairo b/contracts/ark_common/src/protocol/order_types.cairo index cd903c157..41cbb1068 100644 --- a/contracts/ark_common/src/protocol/order_types.cairo +++ b/contracts/ark_common/src/protocol/order_types.cairo @@ -197,7 +197,7 @@ struct CancelInfo { struct FulfillInfo { // The hash of the order to fulfill. order_hash: felt252, - // Related order hash in case of an auction for exemple. + // Related order hash in case of an auction for example. related_order_hash: Option, // Address of the fulfiller of the order. fulfiller: ContractAddress, diff --git a/contracts/ark_orderbook/README.md b/contracts/ark_orderbook/README.md index 301866680..7ada3b8b4 100644 --- a/contracts/ark_orderbook/README.md +++ b/contracts/ark_orderbook/README.md @@ -2,7 +2,7 @@ This is mainly the orderbook contract with related order data. -`asdf` version manangement is used, so you should have `scarb 0.7.0` installed. +`asdf` version management is used, so you should have `scarb 0.7.0` installed. # Build diff --git a/contracts/ark_starknet/src/appchain_messaging.cairo b/contracts/ark_starknet/src/appchain_messaging.cairo index 37a34eee5..f867180a0 100644 --- a/contracts/ark_starknet/src/appchain_messaging.cairo +++ b/contracts/ark_starknet/src/appchain_messaging.cairo @@ -59,7 +59,7 @@ trait IAppchainMessaging { /// Consumes a message registered as consumable by the appchain. /// This is the traditional consuming as done on ethereum. - /// Returnes the message hash on success. + /// Returns the message hash on success. /// /// # Arguments /// diff --git a/packages/deployer/README.md b/packages/deployer/README.md index 7a4201028..e7267715d 100644 --- a/packages/deployer/README.md +++ b/packages/deployer/README.md @@ -17,7 +17,7 @@ the contract.json file is a reference of the deployed contracts, when working lo - appchain_messaging - appchain messaging contract to receive & send messages from starknet - executor - executor contract to execute the messages from the appchain (swap assets) - nft - nft contract to mint & transfer nft from starknet used as a test contract -- erc20 - erc20 contract to mint & transfer erc20 from starknet used as a test contract only on katana becase base one doesn't support erc20 +- erc20 - erc20 contract to mint & transfer erc20 from starknet used as a test contract only on katana because base one doesn't support erc20 ### Solis