Skip to content

chore: typo corrections #1309

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions defi/Alchemix/contracts/Transmuter.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion defi/Uniswap-V3/InterfaceGuide/UsageAndStates.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ mintV3: {
#### 已有流动性池子

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