Access Control
TestnetWho can configure and list on each Avana contract: AccessManager roles, role holders, execution delays and Aave governance controls.
آخری تازہ کاری 2026-12-03
Every chain has its own Avana AccessManager, governance Safe and Joint Configuration Safe, with the same roles; each network's role holders and governance delay are in its section. No role on one chain can act on another chain. The Aave DAO administers the Hubs, the Lend Spokes and the CDP Spokes; Avana holds no role on any of them.
Avana's AccessManager is an unmodified OpenZeppelin AccessManager and the only authority of every Avana core contract. Its admin (ADMIN_ROLE) is the Aave governance executor: the deployer grants it during 03_DeployAvana and renounces the role in the same run. No Avana contract is upgradeable, has an owner or keeps roles of its own; each restricted function is mapped to one role, and a role's holder calls it after that holder's execution delay.
Collateral factors, caps, liquidation bonuses and rate curves are Aave-side values. The Aave DAO sets them through its payloads; Avana's AccessManager has no authority over them.
نیٹ ورک
Ethereum Sepolia · چین آئی ڈی 11155111
Generated from release v0.1.0-sepolia.4 (commit 67218b51) and its deploy output.
Role holders
Contracts link to their address on Contract Addresses. Safes and keeper accounts are listed here.
| Holder | Roles and permissions | Address |
|---|---|---|
| Aave governance executor | ADMIN_ROLE of Avana's AccessManager: grants and revokes every Avana role, maps functions to roles and, as the default guardian of every role, cancels any scheduled operation. Sends the Aave payloads and the vault-token role operation. | On Contract Addresses |
| Aave Protocol Guardian | AVANA_RESERVE_GUARDIAN_ROLE on the Aave AccessManager: the SpokeConfigurator's one-way freezeReserve and pauseReserve. No role on Avana's AccessManager. | On Contract Addresses |
| Governance Safe | On this network a single account, not a Safe; the intended holder is a 4-of-7 Safe. AVANA_GOVERNANCE_ROLE at the governance delay and AVANA_TIGHTEN_ROLE at 12 hours on Avana's AccessManager: it schedules every listing, activation, debt-reserve, fee and keeper change and executes it once the delay has passed. Not the AccessManager's admin. | 0x3477471dC523e8a57F6cEFf4fBadF9B132D735A70x3477…35A7 |
| Joint Configuration Safe | On this network a single account, not a Safe; the intended holder is a 2-of-3 Safe. The risk steward: AVANA_TIGHTEN_ROLE with no delay, so it can remove a debt reserve or a keeper at once. No other role. | 0xCF75738D1E7e3094e16dC6C7A6E493A7e81232c20xCF75…32c2 |
| Emergency Guardian | On this network a single account, not a Safe; the intended holder is a 3-of-5 Safe. Recorded in the release manifest; the deploy scripts grant it no role on Avana's AccessManager or on the Aave AccessManager. | 0xcc5b928123F6a6403213A5cbF5c2310A92efD1F10xcc5b…D1F1 |
| Fee recipient (treasury) | The RiskModules' feeRecipient: receives Avana's share of each liquidation. Holds no role; changed only by setFee at the governance delay. | 0xA7669be9E8335E2C86589DB90D91635DB1F6cE1B0xA766…cE1B |
| Liquidation keeper | Registered in the keeper registry of every RiskModule; borrowing stops while no keeper is. The registry gates no call: liquidation is open to anyone. Also the OPERATOR of the Uniswap v3 FlashLiquidator, the Uniswap v4 FlashLiquidator and the Uniswap v2 FlashLiquidator. | 0xB551dA6133dc4c0950f298d75e526B247F87Db2B0xB551…Db2B |
| Keeper top-up wallet | On this network an account, not a Safe. Refills each keeper signer below 0.04 ETH to 0.25 ETH (11_FundKeepers). Holds no role. | 0x87BC5dF42783a828d9882E03ceE7F82C9CD079f50x87BC…79f5 |
Governance delay
The execution delay the governance Safe's governance role carries on this network.
| Setting | Value | Description |
|---|---|---|
Governance delay (AVANA_GOVERNANCE_ROLE) | 2 s | Wait between scheduling a governance call and executing it; the governance Safe schedules, any of its scheduled calls can be cancelled by the Aave governance executor. |
All networks
Contracts
| Contract | Upgradeable | Authority | Source |
|---|---|---|---|
| AccessManager (OpenZeppelin) | No | Its own ADMIN_ROLE, held by the Aave governance executor | 03_DeployAvana.s.sol |
LPVault, one per integration (UniswapV2Integration, UniswapV3Integration, UniswapV4Integration) | No | Avana's AccessManager | LPVault.sol |
| RiskModule, one per integration | No | Avana's AccessManager | RiskModule.sol |
| LiquidationModule, one per integration | No | None: no admin | LiquidationModule.sol |
| AaveAdapter, one per integration | No | None: no admin | AaveAdapter.sol |
| AccountProxy, one per wallet and market | No | None: only its AaveAdapter acts for it, and only for its wallet | AccountProxy.sol |
| FlashloanRepay, one per integration | No | None: no admin | FlashloanRepay.sol |
| VaultToken, one per market | No | Avana's AccessManager | VaultToken.sol |
| LPOracle, one per market | No | None: stateless | LPOracle.sol |
| AvanaBorrowRouter, AvanaActionRouter | No | Avana's AccessManager (target registry only) | routers/AvanaBorrowRouter.sol, routers/AvanaActionRouter.sol |
| LoopHook (Uniswap v4 hook of the Loop pools; address on Contract Addresses) | No | Avana's AccessManager | hooks/LoopHook.sol |
| FlashLiquidator, one per integration and operator | No | None: only its OPERATOR calls it | packages/liquidator/src/FlashLiquidator.sol, 03_DeployAvana.s.sol |
Roles on Avana's AccessManager
Delay is the holder's execution delay: a call by a holder with a delay is scheduled first and executed once the delay has passed. The governance delay of each network is in its section.
| Role | Id | Held by | Functions | Delay | Source |
|---|---|---|---|---|---|
ADMIN_ROLE | 0 | Aave governance executor | Every admin function of the AccessManager (grantRole, revokeRole, setTargetFunctionRole, labelRole, setRoleGuardian and the rest); as the default guardian of every role, cancel of any scheduled call | None | AvanaRoles.sol, 03_DeployAvana.s.sol _configureRoles |
AVANA_GOVERNANCE_ROLE | 2 | Governance Safe | RiskModule registerSpoke, setSpokeWidth, listPool, activateMarket, setDebtReserve, setFee, addKeeper, setLiquidationFeeRecipient, setDeficitSettler; Uniswap v4 LPVault setHookApproval, registerHookedPool; LoopHook setStableFeeConfig, setVolatileFeeConfig, setRoutedDebtAssetApproval; each router's setTarget | Governance delay, 4 to 5 days | AvanaAccess.sol riskModuleGovernanceSelectors, uniswapV4GovernanceSelectors, loopHookGovernanceSelectors, routerGovernanceSelectors |
AVANA_TIGHTEN_ROLE | 1 | Governance Safe; Joint Configuration Safe | RiskModule removeDebtReserve, removeKeeper; Uniswap v4 LPVault revokeHook; LoopHook revokeRoutedDebtAsset; each router's removeTarget | 12 hours for the governance Safe; none for the Joint Configuration Safe | AvanaAccess.sol riskModuleTightenSelectors, uniswapV4TightenSelectors, loopHookTightenSelectors, routerTightenSelectors, TIGHTEN_DELAY |
AVANA_I<n>_RISK_MODULE_ROLE | 100·n + 1 | Integration n's RiskModule | LPVault listMarket | None | AvanaAccess.sol coreRole, lpVaultRiskSelectors |
AVANA_I<n>_ADAPTER_ROLE | 100·n + 2 | Integration n's AaveAdapter | LPVault pledge, addLiquidity, removeLiquidity, release, collectFees; each of its vault tokens' mint and addValidProxy | None | AvanaAccess.sol lpVaultAdapterSelectors, vaultTokenAdapterSelectors |
AVANA_I<n>_LIQUIDATION_ROLE | 100·n + 3 | Integration n's LiquidationModule | LPVault unwind | None | AvanaAccess.sol lpVaultLiquidationSelectors |
AVANA_I<n>_BURN_ROLE | 100·n + 4 | Integration n's AaveAdapter and LiquidationModule | Each of its vault tokens' burn | None | AvanaAccess.sol vaultTokenBurnSelectors |
09_ListMarkets.s.sol _sendAsAdmin).Roles on the Aave AccessManager
The Aave DAO grants these through its payloads; the role id comes from the deploy config (aavePayload.guardianRole).
| Role | Held by | Functions | Delay | Source |
|---|---|---|---|---|
AVANA_RESERVE_GUARDIAN_ROLE | Aave Protocol Guardian, Aave governance executor | SpokeConfigurator freezeReserve, pauseReserve: each sets its flag and never clears it | None | AaveGuardianRole.sol, 06_AaveDeploymentPayload.s.sol |
Aave governance controls
| Control | Held by | What it covers | Source |
|---|---|---|---|
| Hub and Spoke configuration | Aave governance executor | Each Hub's assets and rate curves, Spoke registrations, add and draw caps, collateral factors, liquidation configuration, reserve flags, and every upgrade of the Hub and Spoke proxies | 01_DeployAaveV4.s.sol, 06_AaveDeploymentPayload.s.sol |
| Deployment payload (06) | Aave governance executor | Each debt asset on each Hub with its rate curve; the Lend Spoke and the CDP Spokes on it; the CDP debt reserves, not borrowable yet; each CDP Spoke's liquidation configuration, copied from its reference Spoke; the Guardian's freeze and pause role; FLASH_BORROWER on Aave V3 for the FlashLiquidators | 06_AaveDeploymentPayload.s.sol |
| Listing payload (10) | Aave governance executor | Each AaveAdapter as a position manager on its CDP Spokes; the debt reserves made borrowable; each market's vault token on the Hub and on its CDP Spoke, priced by its LPOracle, with the LTV as collateral factor, the market's add cap, no draw, liquidation fee 0, not borrowable and no share transfers | 10_AaveListingPayload.s.sol |
| Avana's AccessManager | Aave governance executor | ADMIN_ROLE: every Avana role grant and function mapping, and cancellation of any scheduled Avana call | 03_DeployAvana.s.sol |
Permissionless functions
| Function | Contract | Notes | Source |
|---|---|---|---|
liquidate | LiquidationModule | Open to anyone; the keeper registry gates no call. Reverts with Aave's errors when the account is healthy | ILiquidationModule.sol |
repay | AaveAdapter | Any payer, for any wallet's debt in a market, with its own funds | IAaveAdapter.sol |
pledge, addLiquidity, withdraw, allowWithdraw, borrow, collectFees | AaveAdapter | Any wallet, for its own account and positions only (and withdraw, in part, by the operator of an open allowWithdraw); borrow passes RiskModule.checkBorrow and Aave's health check | IAaveAdapter.sol |
