Skip to content

Commit

Permalink
fix the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
yanyanho committed Apr 27, 2022
1 parent 232ec04 commit 77bd336
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 0 deletions.
Binary file added defi/Euler/img/dump.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added defi/Euler/img/grade.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added defi/Euler/img/pump.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added defi/Euler/img/tvl.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions defi/Euler/oracle/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# oracle
euler使用uniswap v3作为价格输入源。但是如果引用了一个流动性差的池子,会有很大风险。

**oracle oracle评级**
euler项目方开发的工具:https://oracle.euler.finance/
euer团队的univ3预言机分析:https://blog.euler.finance/uniswap-oracle-attack-simulator-42d18adf65af


**Attack Simulator**
具体攻击可参考此篇链接:

Given current concentrated liquidity profile of the ABC/WETH pool, what would it cost the attacker to move a N-minute TWAP of the ABC price to x?

影响攻击Uniswap V3 oracle难度的两个主要因素:tvb和流动性的集中。
评分系统:
由三个因素组成:
1. TVL locked in the Uniswap V3 pool
2. Slippage on a $1mil XYZ vs ETH buy order on Uniswap
3. Slippage on a $1mil XYZ vs ETH sell order on Uniswap
总体评级从A到F,总之,任何低于B的内容都应该避免使用!
攻击成本分析论文:https://github.com/euler-xyz/uni-v3-twap-manipulation/blob/master/cost-of-attack.pdf




## 参考链接
- 官方文档:https://docs.euler.finance/risk-framework/oracle-rating
1 change: 1 addition & 0 deletions defi/Uniswap-V2/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ Interface 是 User Interface 的含义,此为 Uniswap 网站的代码,包括
详细内容请戳这里 :point_right: [UniswapV2 Interface Guide](./Interface/readme.md)

## 参考链接
- jeiwan专栏: https://jeiwan.net/posts/programming-defi-uniswapv2-1/
- 如何 Fork uniswap: https://www.youtube.com/watch?v=U3fTTqHy7F4
- 将UniswapV2部署到所有区块链: https://www.youtube.com/watch?v=TCYnec5G9pE
- 构建一个简单的交易所: https://medium.com/@austin_48503/%EF%B8%8F-minimum-viable-exchange-d84f30bd0c90
Expand Down
1 change: 1 addition & 0 deletions nft/opensea/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@
- [ ] OpenSea站的工作流程

## 参考链接
NFT及OpenSea交易背后的技术分享: https://mirror.xyz/xing824.eth/O3hpbibMf9vLNz6p80YUriU8Bf3bEaJWvRL49FGAgAc

0 comments on commit 77bd336

Please sign in to comment.