From 42ac2b1b60189708142b8c5ea3d7c2e7c96b077c Mon Sep 17 00:00:00 2001 From: domenicodev Date: Wed, 24 Jan 2024 11:21:35 +0100 Subject: [PATCH] feat: Added top comment explaining prices --- evm/src/angle/AngleAdapter.sol | 3 +++ 1 file changed, 3 insertions(+) diff --git a/evm/src/angle/AngleAdapter.sol b/evm/src/angle/AngleAdapter.sol index 81f5ee3..26bf0bb 100644 --- a/evm/src/angle/AngleAdapter.sol +++ b/evm/src/angle/AngleAdapter.sol @@ -6,6 +6,9 @@ pragma solidity ^0.8.13; import "./AngleUtils.sol"; /// @title AngleAdapter +/// @dev Information about prices: When swapping collateral to agEUR, the trade price will not decrease(amountOut); +/// Instead, when swapping agEUR to collateral, it will, because agEUR is minted, and this mechanism is used to +/// stabilize the agEUR price. contract AngleAdapter is ISwapAdapter { ITransmuter transmuter;