All Projects → AngleProtocol → angle-core

AngleProtocol / angle-core

Licence: GPL-3.0 license
Smart contracts for the Core Module and the governance of the Angle Protocol

Programming Languages

HTML
75241 projects
solidity
1140 projects
Vyper
9 projects
typescript
32286 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to angle-core

web3jdemo
功能强大的web3j以太坊用例,支持批量生成钱包,批量不同账户转账,查询余额等,监控,定时任务,交易mint等方法,持续更新中... ...
Stars: ✭ 262 (+367.86%)
Mutual labels:  ethereum-contract
create-ether-dapp
A template for building Full-Stack Blockchain Dapps using Next.js (React), TypeScript, Tailwind CSS, Hardhat, Solidity, and many more!
Stars: ✭ 100 (+78.57%)
Mutual labels:  hardhat
alice-NFT
Ethereum for Javascript devs
Stars: ✭ 38 (-32.14%)
Mutual labels:  hardhat
solidstate-solidity
💠 Upgradeable-first Solidity smart contract development library 💠
Stars: ✭ 264 (+371.43%)
Mutual labels:  hardhat
Simple-Game-ERC-721-Token-Template
🔮 Very Simple ERC-721 Smart Contract Template to create your own ERC-721 Tokens on the Ethereum Blockchain, with many customizable Options 🔮
Stars: ✭ 83 (+48.21%)
Mutual labels:  ethereum-contract
eth-self-token-example
在本地网络发布一个名叫 YuTou 的 token
Stars: ✭ 8 (-85.71%)
Mutual labels:  ethereum-contract
defi-dapps-solidity-smart-contracts
This is a Web 3 Smart Contract learning and teaching repo which will be used to teach students all across Pakistan.
Stars: ✭ 241 (+330.36%)
Mutual labels:  hardhat
dapp-starter
Opinionated Dapp Starter Template
Stars: ✭ 207 (+269.64%)
Mutual labels:  hardhat
Poolz-Back
smart contracts using solidity for erc20 tokens to eth and erc20 to erc20
Stars: ✭ 15 (-73.21%)
Mutual labels:  ethereum-contract
solidity-itMapsLib
Iterable maps library for Ethereum Solidity
Stars: ✭ 19 (-66.07%)
Mutual labels:  ethereum-contract
wrc20-examples
This repository contains examples of WRC20 tokens written in different languages.
Stars: ✭ 12 (-78.57%)
Mutual labels:  ethereum-contract
solidity-contracts
📦 Resources for the Ethereum Smart Contract Development tutorial series.
Stars: ✭ 64 (+14.29%)
Mutual labels:  ethereum-contract
hardhat-starter-kit
A repo for boilerplate code for testing, deploying, and shipping chainlink solidity code.
Stars: ✭ 730 (+1203.57%)
Mutual labels:  hardhat
cheezyverse
Cheeze Wizards is the world's first battle royale on the blockchain (with cheese!)
Stars: ✭ 38 (-32.14%)
Mutual labels:  ethereum-contract
hardhat-contract-sizer
Output Ethereum contract sizes with Hardhat 📐
Stars: ✭ 55 (-1.79%)
Mutual labels:  hardhat
contracts
Neufund and platform smart contracts
Stars: ✭ 23 (-58.93%)
Mutual labels:  ethereum-contract
ethereum-dapp-ipfs-node.js-mongodb
以太坊开发DApp实战教程——用区块链、星际文件系统(IPFS)、Node.js和MongoDB来构建电商平台
Stars: ✭ 46 (-17.86%)
Mutual labels:  ethereum-contract
simple-nft-marketplace
This project provides sample codes to build a simple NFT marketplace with Amazon Managed Blockchain.
Stars: ✭ 59 (+5.36%)
Mutual labels:  hardhat
typescript-eth-starter
🔌 Ethereum Dapp Basic Typescript Starter
Stars: ✭ 125 (+123.21%)
Mutual labels:  hardhat
ehr-blockchain
Electronic Health Record (EHR) and Electronic Medical Record (EMR) systems. However, they still face some issues regarding the security of medical records, user ownership of data, data integrity etc. The solution to these issues could be the use of a novel technology, i.e., Blockchain. This technology offers to provide a secure, temper-proof pl…
Stars: ✭ 41 (-26.79%)
Mutual labels:  ethereum-contract

Angle Core Module Angle Core Module

Docs Developers

Documentation

To Start With

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.

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.

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.

Whitepaper for the module can be found here.

Further Information

For a broader overview of the protocol and its different modules, you can also check this overview page of our developers documentation.

Other Angle-related smart contracts can be found in the following repositories:

Otherwise, for more info about the protocol, check out this portal of resources.

Module Architecture

Angle Protocol Smart Contract Architecture

Remarks

Strategies

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. This is where you can get the up-to-date version of the contracts used on-chain.

Cross-module Contracts

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.

Here are some cross-module contracts and the repos in which you should look for their correct and latest version:

  • angle-core: All DAO-related contracts (ANGLE, veANGLE, gauges, surplus distribution, ...), AngleRouter contract
  • angle-borrow: agToken contract
  • angle-strategies: Yield strategies of the protocol

Error Messages

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.

Audits

Angle Core module and governance smart contracts have been audited by Sigma Prime and Chainsecurity. 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.

All Angle Protocol related audits can be found in this page of our docs.

Bug Bounty

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.

We have therefore setup a bug bounty program with the help of Immunefi. The Angle Protocol bug bounty program is focused around our smart contracts with a primary interest in the prevention of:

  • Thefts and freezing of principal of any amount
  • Thefts and freezing of unclaimed yield of any amount
  • Theft of governance funds
  • Governance activity disruption

For more details, please refer to the official page of the bounty on Immunefi.

Level
Critical up to USD $500,000
High USD $20,000
Medium USD $2,500

All bug reports must include a Proof of Concept demonstrating how the vulnerability can be exploited to be eligible for a reward. This may be a smart contract itself or a transaction.

Usage

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].