Skip to content

Commit cddf8d1

Browse files
authored
chore: typo corrections (#1309)
* Update Transmuter.sol * Update UsageAndStates.md
1 parent b5f8fde commit cddf8d1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

defi/Alchemix/contracts/Transmuter.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ contract Transmuter is Context {
136136
uint256 _toDistribute = 0;
137137
uint256 _buffer = buffer;
138138

139-
// check if there is something in bufffer
139+
// check if there is something in buffer
140140
if (_buffer > 0) {
141141
// NOTE: if last deposit was updated in the same block as the current call
142142
// then the below logic gates will fail
@@ -236,7 +236,7 @@ contract Transmuter is Context {
236236
}
237237
/// @dev Converts the staked alTokens to the base tokens in amount of the sum of pendingdivs and tokensInBucket
238238
///
239-
/// once the alToken has been converted, it is burned, and the base token becomes realisedTokens which can be recieved using claim()
239+
/// once the alToken has been converted, it is burned, and the base token becomes realisedTokens which can be received using claim()
240240
///
241241
/// reverts if there are no pendingdivs or tokensInBucket
242242
function transmute() public runPhasedDistribution() updateAccount(msg.sender) {

defi/Uniswap-V3/InterfaceGuide/UsageAndStates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ mintV3: {
157157
#### 已有流动性池子
158158

159159
- 如果已经有流动性,此时 `LiquidityChartRangeInput` 组件会渲染出当前处于激活状态的头寸分步图
160-
- `usePoolActiveLiquidity` 首先根据当前交易价格筛选出 Pool 中所有处于激活状态的 poistion
160+
- `usePoolActiveLiquidity` 首先根据当前交易价格筛选出 Pool 中所有处于激活状态的 position
161161
- 遍历计算每个 tick 上的处于激活状态的流动性总和 `liquidityActive`
162162
- 生成每个 tick 上的活跃流动性的数量,计算逻辑 [参见下方 :point_down:](#computeLiquidityActive)
163163
- 此时如果有流动性数据,会自动计算出一个合适的价格区间

0 commit comments

Comments
 (0)