feat: Added top comment explaining prices

This commit is contained in:
domenicodev
2024-01-24 11:21:35 +01:00
parent b589940dc9
commit 42ac2b1b60

View File

@@ -6,6 +6,9 @@ pragma solidity ^0.8.13;
import "./AngleUtils.sol"; import "./AngleUtils.sol";
/// @title AngleAdapter /// @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 { contract AngleAdapter is ISwapAdapter {
ITransmuter transmuter; ITransmuter transmuter;