DexAggregatorUManager
Inherits: UManager
Required Merkle Root Leaves
ERC20 approves with
router
spender.AggregationRouterV5.swap, with all desired addresses.
State Variables
MAX_SLIPPAGE
allowedSlippage
Slippage check enforced after swaps.
router
The 1Inch Router.
priceRouter
The PriceRouter contract used to check slippage.
Functions
constructor
setAllowedSlippage
Sets the maximum allowed slippage during a swap.
Callable by MULTISIG_ROLE.
swapWith1Inch
Performs a swap using the 1inch Router, and enforces a slippage check.
Callable by STRATEGIST_ROLE.
Parameters