From 4f31efb0d74cfb222968f8b141d85ca233877a89 Mon Sep 17 00:00:00 2001 From: leopardracer <136604165+leopardracer@users.noreply.github.com> Date: Wed, 2 Apr 2025 20:53:42 +0300 Subject: [PATCH 1/3] Update proposal.md Signed-off-by: leopardracer <136604165+leopardracer@users.noreply.github.com> --- docs/openzl/proposal.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/openzl/proposal.md b/docs/openzl/proposal.md index 00496f9f..87ff401d 100644 --- a/docs/openzl/proposal.md +++ b/docs/openzl/proposal.md @@ -139,7 +139,7 @@ We will provide `substrate`-specific tutorials to show case how to code an end-t * End-to-end example and test using `groth16` backend * Milestone 2 (Feature Complete): Sep, 2022 * Code complete (experimental) for `plonk` backend - * Code complete (experiemental) for `nova` backend + * Code complete (experimental) for `nova` backend * Spec complete for security audit * Milestone 3 (Audit): Nov. 2022 Potential auditors: ABDK, Least Authority, Trail of Bits From 4b1579455a2398b0e8210d7d6d6145cd4970f769 Mon Sep 17 00:00:00 2001 From: leopardracer <136604165+leopardracer@users.noreply.github.com> Date: Wed, 2 Apr 2025 20:54:31 +0300 Subject: [PATCH 2/3] Update zkSBT Asset.md Signed-off-by: leopardracer <136604165+leopardracer@users.noreply.github.com> --- docs/zkSBT/zkSBT Asset.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/zkSBT/zkSBT Asset.md b/docs/zkSBT/zkSBT Asset.md index 0ef59543..4df3d0d8 100644 --- a/docs/zkSBT/zkSBT Asset.md +++ b/docs/zkSBT/zkSBT Asset.md @@ -40,7 +40,7 @@ An unique Position, who also bind to a certain sbt, is defined by several parame - asset attribute : pomp range(100~1000, >10000, 1% whale). - position timestamp : "Before Jun-21-2023 03:58:11, After Jun-20-2023 03:58:11" -It would be more efficient and flexalbe to make the merkle tree per asset type/range, while postion timestamp and sbt id shoule be bind to semaphore identity. +It would be more efficient and flexalbe to make the merkle tree per asset type/range, while position timestamp and sbt id shoule be bind to semaphore identity. Thus, we will make minor changes on semaphore protocol, the change is aim to resue semaphore libaries as much as possible. From 616681bd03694ebfee11c4ac487799eb8672b89a Mon Sep 17 00:00:00 2001 From: leopardracer <136604165+leopardracer@users.noreply.github.com> Date: Wed, 2 Apr 2025 20:55:05 +0300 Subject: [PATCH 3/3] Update 01-ContractInterface.md Signed-off-by: leopardracer <136604165+leopardracer@users.noreply.github.com> --- docs/zkShuffle/Circuits/01-ContractInterface.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/zkShuffle/Circuits/01-ContractInterface.md b/docs/zkShuffle/Circuits/01-ContractInterface.md index 432a84d1..34ea2ef6 100644 --- a/docs/zkShuffle/Circuits/01-ContractInterface.md +++ b/docs/zkShuffle/Circuits/01-ContractInterface.md @@ -139,14 +139,14 @@ Specifies a set of cards to be dealt to a player, which can only be called by ga ### openCards -```function openCards(uint256 gameId, uint256 playerId, uint8 openningNum, bytes calldata next) external```[[src]](https://github.com/manta-network/zkShuffle/blob/main/packages/contracts/contracts/shuffle/ShuffleManager.sol#L477-L482) +```function openCards(uint256 gameId, uint256 playerId, uint8 openingNum, bytes calldata next) external```[[src]](https://github.com/manta-network/zkShuffle/blob/main/packages/contracts/contracts/shuffle/ShuffleManager.sol#L477-L482) Specifies a player to open a number of cards, which can only be called by game contract. **Parameters:** - ```gameId```: The created shuffle game ID. - ```playerId```: The player index in the shuffle game. -- ```openningNum```: The number of cards that the player wants to open. +- ```openingNum```: The number of cards that the player wants to open. - ```next```: The calldata that will be executed in the next invocation. ```register``` ```shuffle``` ```dealCardsTo``` ```openCards```, these four functions all specify ```next``` as the next operation to be executed, but their execution timing is different. @@ -279,4 +279,4 @@ contract Game is IBaseGame { } ... } -``` \ No newline at end of file +```