LibMagpieRouter
This library declared struct and a library used by MagpieAggregator. This structure and library design help organize data and provide access to the app's storage, allowing other parts of the system to fetch essential data or settings as needed.
CurveSettings:
Field
Type
Description
Address for the main Curve registry.
Address for the crypto Curve registry.
Address for the crypto Curve factory.
Amm
Field
Type
Description
An identifier for the AMM protocol.
A function selector.
The address where this AMM resides.
AppStorage
Field
Type
Description
The address of the Wrapped Ether contract.
Address of the Magpie Aggregator contract.
A mapping of different AMMs, indexed by a uint16
value.
Last updated