Skip to content

Commit

Permalink
Update Mappings.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Vikt0rPavlik authored Dec 27, 2024
1 parent 47d14d5 commit 6d6a07f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions defi/Perpetual-V2/subgraph/Mappings.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ CollateralAdded 事件触发
FundingUpdated 事件触发,每当 funding payment 更新时

- `daily funding rate = (markTwap - indexTwap) / indexTwap`
- ?? TWAP interal = 15 minutes, 这里直接认为是 daily ??
- ?? TWAP interval = 15 minutes, 这里直接认为是 daily ??

## MarketRgistry

Expand Down Expand Up @@ -126,5 +126,5 @@ CollateralLiquidated 事件触发

1. 新建 CollateralLiquidated 对象
2. 更新 Trader 对象
- trader‘s token balance 分为 non settlement 和 setlement 两部分
- trader‘s token balance 分为 non settlement 和 settlement 两部分
3. 更新 Protocol 对象,其 balance 同样分为两部分

0 comments on commit 6d6a07f

Please sign in to comment.