Skip to content

Commit 5dc123e

Browse files
authored
improving the readme across all open-source repos (#24)
* im proving the readme across all open-source repos * adding code of conduct and readme
1 parent 53c9d93 commit 5dc123e

File tree

3 files changed

+60
-17
lines changed

3 files changed

+60
-17
lines changed

CONTRIBUTING.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Submit a change or a new feature
2+
3+
First of all thank you for your interest in this repository!
4+
5+
This is only the beginning of the Angle protocol and codebase, and anyone is welcome to improve it.
6+
7+
To submit some code, please work in a fork, reach out to explain what you've done and open a Pull Request from your fork.
8+
9+
Feel free to reach out in the [#developers channel](https://discord.gg/HcRB8QMeKU) of our Discord Server if you need a hand!

README.md

Lines changed: 37 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,61 @@
1-
# Angle Protocol
1+
# <img src="logo.svg" alt="Angle Core Module" height="40px"> Angle Core Module
22

3-
Core Module of the Angle Protocol.
3+
[![Docs](https://img.shields.io/badge/docs-%F0%9F%93%84-blue)](https://docs.angle.money/angle-core-module/overview)
4+
[![Developers](https://img.shields.io/badge/developers-%F0%9F%93%84-pink)](https://developers.angle.money/core-module-contracts/protocol-and-architecture-overview)
45

56
## Documentation
67

8+
### To Start With
9+
710
Angle is a decentralized stablecoin protocol, designed to be both over-collateralized and capital-efficient. For more information about the protocol, you can refer to [Angle Documentation](https://docs.angle.money).
811

9-
The protocol is made of different modules, each with their own set of smart contracts. This repo contains the Core module smart contracts.
12+
The protocol is made of different modules, each with their own set of smart contracts. This repo contains the Core module smart contracts as well as the governance-related and staking contracts of the protocol.
1013

1114
If you would like to know how the module works under the hood and how these smart contracts work together, you can also check [Angle Developers Doc](https://developers.angle.money/core-module-contracts/protocol-and-architecture-overview).
1215

1316
Whitepaper for the module can be found [here](https://docs.angle.money/overview/whitepapers).
1417

18+
### Further Information
19+
20+
For a broader overview of the protocol and its different modules, you can also check [this overview page](https://developers.angle.money) of our developers documentation.
21+
22+
Other Angle-related smart contracts can be found in the following repositories:
23+
24+
- [Angle Borrowing module contracts](https://github.com/AngleProtocol/angle-borrow)
25+
- [Angle Strategies](https://github.com/AngleProtocol/angle-strategies)
26+
27+
Otherwise, for more info about the protocol, check out [this portal](https://linktr.ee/angleprotocol) of resources.
28+
1529
## Module Architecture
1630

1731
![Angle Protocol Smart Contract Architecture](./AngleArchitectureSchema.png)
1832

19-
## Audits
33+
## Remarks
2034

21-
Angle Core module smart contracts have been audited by Sigma Prime and [Chainsecurity](https://chainsecurity.com/security-audit/angle-protocol/). The audit reports can be found in the `audits/` folder of this repo. Every contract of the protocol has been audited at least by one of the two auditors.
35+
### Strategies
2236

23-
All Angle Protocol related audits can be found in [this page](https://docs.angle.money/resources/audits) of our docs.
37+
The Core module relies on yield strategies. While some templates of the strategy contracts used are present in this repo, these contracts are now all developed in the [Angle Strategies repo](https://github.com/AngleProtocol/angle-strategies). This is where you can get the up-to-date version of the contracts used on-chain.
38+
39+
### Cross-module Contracts
40+
41+
Some smart contracts of the protocol, beyond strategy contracts, are used across the different modules of Angle (like the `agToken` contract) and you'll sometimes see different versions across the different repositories of the protocol.
42+
43+
Here are some cross-module contracts and the repos in which you should look for their correct and latest version:
2444

25-
## Some Remarks on the Code
45+
- [`angle-core`](https://github.com/AngleProtocol/angle-core): All DAO-related contracts (`ANGLE`, `veANGLE`, gauges, surplus distribution, ...), `AngleRouter` contract
46+
- [`angle-borrow`](https://github.com/AngleProtocol/angle-borrow): `agToken` contract
47+
- [`angle-strategies`](https://github.com/AngleProtocol/angle-strategies): Yield strategies of the protocol
48+
49+
### Error Messages
2650

2751
Some smart contracts use error messages. These error messages are sometimes encoded in numbers rather than as custom errors like done most of the time. The conversion from numbers to error messages can be found in `errorMessages.json`.
2852

53+
## Audits
54+
55+
Angle Core module and governance smart contracts have been audited by Sigma Prime and [Chainsecurity](https://chainsecurity.com/security-audit/angle-protocol/). The audit reports can be found in the `audits/` folder of this repo. Contracts of the module have been audited at least by one of the two auditors.
56+
57+
All Angle Protocol related audits can be found in [this page](https://docs.angle.money/resources/audits) of our docs.
58+
2959
## Bug Bounty
3060

3161
At Angle, we consider the security of our systems a top priority. But even putting top priority status and maximum effort, there is still possibility that vulnerabilities exist.
@@ -50,13 +80,3 @@ All bug reports must include a Proof of Concept demonstrating how the vulnerabil
5080
## Usage
5181

5282
Note that this repo is not a repo on which the Angle Core Team develops. There is another repo, with all the tests and scripts, that is actively worked on.
53-
54-
## Further Information
55-
56-
For a broader overview of the protocol and its different modules, you can also check [this overview page](https://developers.angle.money) of our developers documentation.
57-
58-
Other Angle-related smart contracts can be found in the following repositories:
59-
60-
- [Angle Borrowing module contracts](https://github.com/AngleProtocol/angle-borrow)
61-
62-
Otherwise, for more info about the protocol, check out [this portal](https://linktr.ee/angleprotocol) of resources.

logo.svg

Lines changed: 14 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)