Skip to content

Commit 4402967

Browse files
author
alcueca
committed
feat: add links to edit files on github
1 parent 1262497 commit 4402967

21 files changed

+45
-12
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,5 @@ You can check out our open roles here on our [careers](https://yieldprotocol.com
6969
## Info on these Docs
7070

7171
You can run this documentation offline by using [Docsify](https://docsify.js.org/#/). Fork this repo, [install Docsify](https://docsify.js.org/#/quickstart) on your local machine, and then in the root folder of this repo, type `docsify serve`. The website will be served on port 3000 on your localhost: `localhost:3000`.
72+
73+
[Edit this page](https://github.com/yieldprotocol/docs-v2/edit/main/README.md)

developers/readme.md developers/README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,6 @@ To ensure that vaults are properly collateralized, Yield has various **Oracle**
1616

1717
If users fail to maintain the appropriate level of collateral, they may be liquidated via **Witch**, Yield’s liquidation engine. Witch permits anyone to kick off the liquidation process for an undercollateralized vault. Liquidation is performed via an increasing price auction that increases the amount of collateral the system is willing to pay to cover the debt.
1818

19-
Yield includes an internal AMM to provide liquidity for fyTokens. The AMM is called YieldSpace. YieldSpace is implemented in the **Pool** contract. A **PoolRouter** contract manages calls to and from the pool. YieldSpace pools are designed to trade in interest rates space. That means that the pool will quote trades at the same marginal interest rate over time, absent any trading activity (that would change the interest rate).
19+
Yield includes an internal AMM to provide liquidity for fyTokens. The AMM is called YieldSpace. YieldSpace is implemented in the **Pool** contract. A **PoolRouter** contract manages calls to and from the pool. YieldSpace pools are designed to trade in interest rates space. That means that the pool will quote trades at the same marginal interest rate over time, absent any trading activity (that would change the interest rate).
20+
21+
[Edit this page](https://github.com/yieldprotocol/docs-v2/edit/main/developers/README.md)

developers/addresses/README.md developers/addresses.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@
33
All contract addresses and identifiers can be obtained through the "Download" button on the lower right corner of the application.
44

55
<figure class="image" align = "center">
6-
<img src="../../assets/addresses.png" alt="download button" title="download addresses and identifiers">
7-
</figure>
6+
<img src="../assets/addresses.png" alt="download button" title="download addresses and identifiers">
7+
</figure>
8+
9+
[Edit this page](https://github.com/yieldprotocol/docs-v2/edit/main/developers/addresses.md)

developers/addresses/readme.md

-2
This file was deleted.

developers/emergencies.md

+2
Original file line numberDiff line numberDiff line change
@@ -221,3 +221,5 @@ In a case of a Strategy malfunction, it can be removed from the Ladle. However,
221221
```
222222
ladle.addToken(strategy, false)
223223
ladle.addIntegration(strategy, false)
224+
225+
[Edit this page](https://github.com/yieldprotocol/docs-v2/edit/main/developers/emergencies.md)

developers/governance.md

+2
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,5 @@ In the EmergencyBrake, the **Timelock** has the permission to `plan` emergencies
4141

4242

4343
In the EmergencyBrake, the **operations team** has the permission to `execute` plans, effectively pausing parts of the protocol.
44+
45+
[Edit this page](https://github.com/yieldprotocol/docs-v2/edit/main/developers/governance.md)

developers/smart_contracts_overview.md

+2
Original file line numberDiff line numberDiff line change
@@ -348,3 +348,5 @@ The Yield Protocol uses its own implementation of a Timelock, derived from Compo
348348
## EmergencyBrake
349349

350350
The EmergencyBrake stores the instructions to remove the orchestration between contracts, which is intended to be used in emergency situations to easily isolate parts of the protocol.
351+
352+
[Edit this page](https://github.com/yieldprotocol/docs-v2/edit/main/developers/smart_contracts_overview.md)

governance/governance.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@ All changes to the protocol are executed through the Timelock.
1414

1515
1. The operations team will submit the proposal, which is a series of function calls to be executed from the Timelock, calling `propose` in the Timelock.
1616
2. The owners of the multisig, or the community in its case, can independently decode the proposal to verify its contents. If it is collectively decided to approve the proposal, the governor account will call `approve` on the Timelock for the proposal hash.
17-
3. The operations team will `execute` the approved proposal, no earlier than the delay set in the Timelock. The proposal will be executed from the Timelock.
17+
3. The operations team will `execute` the approved proposal, no earlier than the delay set in the Timelock. The proposal will be executed from the Timelock.
18+
19+
[Edit this page](https://github.com/yieldprotocol/docs-v2/edit/main/governance/governance.md)

governance/verify_proposal.md

+2
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,5 @@ The Timelock is asking the ChainlinkMultiOracle to set a new source:
5757
- Data source: [0x986b5E1e1755e3C2440e960477f25201B0a8bbD4](https://etherscan.io/address/0x986b5E1e1755e3C2440e960477f25201B0a8bbD4)
5858

5959
**Note:** Often, a proposal will be for grantRole, grantRoles, revokeRole, or revokeRoles. The role is a 4-byte parameter, such as `0xef532f2e`. We can enter this role in the [4byte database](https://www.4byte.directory/signatures/?bytes4_signature=0xef532f2e), and we will know which permission is being given (`setSources` in the example).
60+
61+
[Edit this page](https://github.com/yieldprotocol/docs-v2/edit/main/governance/verify_proposal.md)

operations/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[Edit this page](https://github.com/yieldprotocol/docs-v2/edit/main/operations/README.md)

operations/code_reviews.md

+2
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,5 @@ Opinionated **security**, **code quality** standards, and **code review policies
5656
- Notify reviewers if any changes are made to obtain final approval
5757
- **Must have at least 1 approval prior to merge**
5858
- Merge PR and close related Github issue
59+
60+
[Edit this page](https://github.com/yieldprotocol/docs-v2/edit/main/operations/code_reviews.md)

operations/deployment.md

+3
Original file line numberDiff line numberDiff line change
@@ -1021,3 +1021,6 @@ proposal.push(
10211021

10221022

10231023
**Input**: governance.json, protocol.json, pools.json, strategies.json
1024+
1025+
1026+
[Edit this page](https://github.com/yieldprotocol/docs-v2/edit/main/operations/deployment.md)

operations/emergency_plans.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,6 @@
2020
| ladle | fyToken(0204) | 0x7c7e994828f8adf83ec70ed8af4b269e1da635f3d75a82d75176b6341a297ac9 |
2121
| fyToken | join(02) | 0xb22960b37717835a0fed7c666e6af2f956d5d4e39c1e4a08cbc6986105626d9c |
2222
| ladle | fyToken(0205) | 0x242423d1d59bce31941ca5ea020902913a7bae637424bf299e822aacbeaab235 |
23-
| fyToken | join(02) | 0xd37ff9e3d065d11a938459ffdb030651177d546da21f0949cb16ccc7bb4c6908 |
23+
| fyToken | join(02) | 0xd37ff9e3d065d11a938459ffdb030651177d546da21f0949cb16ccc7bb4c6908 |
24+
25+
[Edit this page](https://github.com/yieldprotocol/docs-v2/edit/main/operations/emergency_plans.md)

operations/emergency_procedure.md

+2
Original file line numberDiff line numberDiff line change
@@ -184,3 +184,5 @@ Participants are encouraged to provide inputs on each of the steps. If a partici
184184
- Changes in the process and documentation
185185
- Changes in code and tests to validate
186186
- Changes in tools implemented and incorporated into the process
187+
188+
[Edit this page](https://github.com/yieldprotocol/docs-v2/edit/main/operations/emergency_procedure.md)

operations/readme.md

-1
This file was deleted.

operations/support_procedure.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,4 @@ The goal is to maximise the user satisfaction with the use of the Yield Protocol
1818
12. Regular updates on progress will be given to the user no more than 24h apart, with an expectation for the time of the next update.
1919
13. Upon resolution, the user will be informed of the status, and the knowledge base of know issues will be updated with the resolution or workaround.
2020

21-
22-
21+
[Edit this page](https://github.com/yieldprotocol/docs-v2/edit/main/operations/support_procedure.md)

troubleshooting.md

+3
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,6 @@ If you have been liquidated, we need to verify that you own the liquidated vault
5858
- Tell us your address.
5959
- If there is any debugging information (a long string of non-sensical hexadecimal data), please copy and paste that in the ticket.
6060
- Please be aware that certain levels of support are only available during European or American business hours.
61+
62+
63+
[Edit this page](https://github.com/yieldprotocol/docs-v2/edit/main/troubleshooting.md)

users/borrowing.md

+2
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,5 @@ If a borrower fails to do so, they may be liquidated: their collateral will be s
5757
<!-- For ETH collateral, fyDAI uses the same collateralization ratio as MakerDAO, which is currently 150%. -->
5858

5959
<!-- TODO: Need to expand upon what ratio will be used for different collateral and different assets -->
60+
61+
[Edit this page](https://github.com/yieldprotocol/docs-v2/edit/main/users/borrowing.md)

users/gas_costs.md

+2
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ Yield v2 has been built aiming to achieve a minimal gas cost. For reference, the
1010
| | | | |
1111

1212
Please be aware that the Yield v2 transactions are built dynamically for each request, and gas costs might vary by a small amount for each specific situation.
13+
14+
[Edit this page](https://github.com/yieldprotocol/docs-v2/edit/main/users/gas_costs.md)

users/lending.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,6 @@ To compensate lenders who do not redeem fyTokens right away, after maturity they
2525

2626
If you own fyDai after maturity, you will start to earn the Dai Savings Rate on your fyDai, until you decide to redeem it for Dai.
2727

28-
![](../assets/redemption.png)
28+
![](../assets/redemption.png)
29+
30+
[Edit this page](https://github.com/yieldprotocol/docs-v2/edit/main/users/lending.md)

users/liquidity.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,6 @@ The Yield Pool formula reduces the market impact suffered by traders of fyToken,
2929
The x-axis is the amount of fyDai sold. The y-axis is the implicit interest rate achieved by a borrower who is selling that amount of fyDai at one year to maturity. Borrowers obtain considerably better fyDai/Dai quotes (with better implied interest rates) by using the Yield Pool.
3030

3131
![](../assets/market_impact.png)<br>
32-
YieldSpace consistently outperforms Uniswap on both interest rates and market quotes</figcaption>
32+
YieldSpace consistently outperforms Uniswap on both interest rates and market quotes</figcaption>
33+
34+
[Edit this page](https://github.com/yieldprotocol/docs-v2/edit/main/users/liquidity.md)

0 commit comments

Comments
 (0)