Search
⌃K

Mainnet

Angle smart contracts on Ethereum

General Protocol Contracts

Contracts
Code
Addresses
agEUR
Github
ANGLE
Github
veANGLE
Github
Github
Github
Github
Github
Github
Github
Github
Github
Github
MerkleRoot Distributor
Github
AngleRouter (V1)
Github
Github
Team/Investors/Advisors Vesting Contract
Angle Labs Multisig
Github
Github
Github
Helper Contract for UIs
Github

Borrowing Module

Contracts implementations can be found in the Borrowing module repo.

Common Contracts

agEUR Collateral Types

Gauges

Type 0 gauges are on Angle Ethereum mainnet. veANGLE holders can boost their rewards for these pools.
Type 2 gauges are for external staking contracts and for gauges on other chains than Ethereum mainnet, like Polygon.
Since the launch of the gauge system in January 2022, the state of the gauges incentivized has changed. Make sure to check the changelog below to track the changes. Votes allocated to gauges that have been killed can still be removed and put for one of the remaining gauges.

Type 0 gauges

Reference contracts: LiquidityGaugeV4, MerkleRootDistributor
Gauges
Addresses
Uni-V3 agEUR/USDC (0.01%)
Uni-V3 agEUR/wETH (0.05%)
SushiSwap agEUR/ANGLE
Liquidity providers for the UniV3 agEUR-USDC (on Polygon and on Ethereum) and agEUR-ETH (Ethereum) pools do not need to stake their liquidity anywhere to be eligible for rewards. Rewards are not distributed through staking contracts but use an off-chain computation methodology specified here. In few words, rewards depend on both how useful the liquidity provided is (how much fees are generated) and how many agEUR are in the liquidity position.
Rewards can be claimed on the MerkleRoot Distributor contract. The Merkle root is updated every week by a bot, and you can check how much you've accumulated from your past weeks liquidity by looking at the IPFS address stored in the MerkleRoot contract (IPFS Hash), or more simply by looking into the Angle Labs App. Rewards do not expire and you can come and claim them anytime you want/ G-UNI/Arrakis token holders can directly be eligible for the rewards corresponding to these gauges.
Rewards for liquidity providers are still boosted which means that the more veANGLE you have the more ANGLE rewards you'll get for a similar amount of liquidity provided.

Type 2 gauges

Type 2 gauges' addresses are identifiers to be used only for voting purposes.
To support a Type 2 gauge, you should vote for the corresponding Gauge Address in the GaugeController contract.
Name
Gauge Address
Staking address
Curve Incentives
0x957c66E97870e42301081217fBB1Aac45bc4eb4D
UniV3 agEUR/USDC (0.01% - Polygon)
0x4EA4C5ca64A3950E53c61d0616DAF92727119093
Like the UniV3 gauges on Ethereum mainnet, rewards for UniV3 LPs on Polygon are no longer only distributed to Gelato LPs, but to all liquidity providers. Rewards can be claimed from the Polygon MerkleRoot distributor contract.
This gauge now gives boosted rewards to veANGLE holders.
ANGLE rewards going to the Curve Incentives gauge are used to bribe for veCRV voters to vote on the agEUR-EUROC Curve pool.

Changelog

  • April 2022: liquidity from the Gelato/Arrakis Uni-V3 agEUR/USDC and agEUR/ETH got migrated from lower fees pools. Addresses of the new corresponding G-UNI tokens can be found here for agEUR/USDC and here for agEUR/ETH.
  • August 2022: the method to incentivize liquidity in the Uni-V3 agEUR-USDC (on Polygon and on Ethereum) and in the agEUR-ETH (Ethereum) through Gelato/Arrakis shifted to the new system described above is no longer the only source of incentives for the UniV3 liquidity providers of these pools.
  • October 2022: perpetual gauges (which had a type 1) were killed, which means that they no longer receive ANGLE rewards, and that votes for perpetual related gauges are not taken into consideration by the system. All previously accumulated rewards can still be claimed.
  • April 2023: the gauges corresponding to Angle Core Module sanTokens, and to Curve agEUR-ibEUR and to Curve 3EUR were killed.

Deprecated

Core Module

Angle Core Module is a system which was deprecated in May 2023.

Base Contracts

Contracts
Code
Addresses
StableMasterFront (agEUR)
Github
Core
Github

agEUR Collaterals

Contracts implementations can be found in the Core repo.
All tokens use 18 decimals, unless indicated otherwise. sanTokens have the same number of decimals as the collateral they correspond to.

agEUR Strategies

Different collateral types may rely on different strategy contracts in the Core module. Contracts implementations for the different strategies can be found in the Strategies repo.

Algorithmic Market Operations

Angle Algorithmic Market Operations smart contracts got deprecated in March 2023.
Contracts implementations can be found in the Angle Algorithmic Market Operations repo.
Contracts
Code
Addresses
AMOMinter
Github
Curve agEUR-EUROC Staker (MultiStakerCurveAgEURvEUROCAMO)
Github
Curve AMO Keeper (BPAMOJob)
Github

Other contracts

Contracts
Addresses
SurplusConverterSanTokens_EUR_USDC
SurplusConverterUniV3_IntraCollaterals
sanFEI-EUR Gauge
Uni-V2 agEUR/FEI Gauge
FEI/agEUR Perpetuals Gauge
Governor
RewardsDistributor
Timelock
agEUR staking
sanDAI-EUR staking
sanUSDC-EUR staking
sanFEI-EUR staking
sanFRAX-EUR staking
Gelato Uni-V3 agEUR/USDC staking
Gelato Uni-V3 agEUR/wETH staking
SushiSwap agEUR/ANGLE staking
Uni-V2 agEUR/FEI staking
Quickswap agEUR/USDC Staking (Polygon)