From bb889eb4abe249168198be415b5959c87e6bdf96 Mon Sep 17 00:00:00 2001 From: "fuder.eth" <139509124+vtjl10@users.noreply.github.com> Date: Fri, 20 Jun 2025 13:47:02 +0200 Subject: [PATCH 1/2] Update Transmuter.sol --- defi/Alchemix/contracts/Transmuter.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/defi/Alchemix/contracts/Transmuter.sol b/defi/Alchemix/contracts/Transmuter.sol index 5540ae0ec..596252cf7 100644 --- a/defi/Alchemix/contracts/Transmuter.sol +++ b/defi/Alchemix/contracts/Transmuter.sol @@ -136,7 +136,7 @@ contract Transmuter is Context { uint256 _toDistribute = 0; uint256 _buffer = buffer; - // check if there is something in bufffer + // check if there is something in buffer if (_buffer > 0) { // NOTE: if last deposit was updated in the same block as the current call // then the below logic gates will fail @@ -236,7 +236,7 @@ contract Transmuter is Context { } /// @dev Converts the staked alTokens to the base tokens in amount of the sum of pendingdivs and tokensInBucket /// - /// once the alToken has been converted, it is burned, and the base token becomes realisedTokens which can be recieved using claim() + /// once the alToken has been converted, it is burned, and the base token becomes realisedTokens which can be received using claim() /// /// reverts if there are no pendingdivs or tokensInBucket function transmute() public runPhasedDistribution() updateAccount(msg.sender) { From 48f30df238c42fe82065ed86e2c5a1d4b9aafe65 Mon Sep 17 00:00:00 2001 From: "fuder.eth" <139509124+vtjl10@users.noreply.github.com> Date: Fri, 20 Jun 2025 13:48:48 +0200 Subject: [PATCH 2/2] Update UsageAndStates.md --- defi/Uniswap-V3/InterfaceGuide/UsageAndStates.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defi/Uniswap-V3/InterfaceGuide/UsageAndStates.md b/defi/Uniswap-V3/InterfaceGuide/UsageAndStates.md index a19fc3b3e..0ca229fd3 100644 --- a/defi/Uniswap-V3/InterfaceGuide/UsageAndStates.md +++ b/defi/Uniswap-V3/InterfaceGuide/UsageAndStates.md @@ -157,7 +157,7 @@ mintV3: { #### 已有流动性池子 - 如果已经有流动性,此时 `LiquidityChartRangeInput` 组件会渲染出当前处于激活状态的头寸分步图 - - `usePoolActiveLiquidity` 首先根据当前交易价格筛选出 Pool 中所有处于激活状态的 poistion + - `usePoolActiveLiquidity` 首先根据当前交易价格筛选出 Pool 中所有处于激活状态的 position - 遍历计算每个 tick 上的处于激活状态的流动性总和 `liquidityActive` - 生成每个 tick 上的活跃流动性的数量,计算逻辑 [参见下方 :point_down:](#computeLiquidityActive) - 此时如果有流动性数据,会自动计算出一个合适的价格区间