Tsallake zuwa babban abun ciki
Logo na Avana

Access Control

Testnet

Who can configure and list on each Avana contract: AccessManager roles, role holders, execution delays and Aave governance controls.

Sabuntawa ta ƙarshe 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.

Hanyar sadarwa

Ethereum Sepolia · ID na sarka 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.

HolderRoles and permissionsAddress
Aave governance executorADMIN_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 GuardianAVANA_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 SafeOn 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.0x3477…35A7
Joint Configuration SafeOn 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.0xCF75…32c2
Emergency GuardianOn 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.0xcc5b…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.0xA766…cE1B
Liquidation keeperRegistered 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.0xB551…Db2B
Keeper top-up walletOn this network an account, not a Safe. Refills each keeper signer below 0.04 ETH to 0.25 ETH (11_FundKeepers). Holds no role.0x87BC…79f5

Governance delay

The execution delay the governance Safe's governance role carries on this network.

SettingValueDescription
Governance delay (AVANA_GOVERNANCE_ROLE)2 sWait 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

ContractUpgradeableAuthoritySource
AccessManager (OpenZeppelin)NoIts own ADMIN_ROLE, held by the Aave governance executor03_DeployAvana.s.sol
LPVault, one per integration (UniswapV2Integration, UniswapV3Integration, UniswapV4Integration)NoAvana's AccessManagerLPVault.sol
RiskModule, one per integrationNoAvana's AccessManagerRiskModule.sol
LiquidationModule, one per integrationNoNone: no adminLiquidationModule.sol
AaveAdapter, one per integrationNoNone: no adminAaveAdapter.sol
AccountProxy, one per wallet and marketNoNone: only its AaveAdapter acts for it, and only for its walletAccountProxy.sol
FlashloanRepay, one per integrationNoNone: no adminFlashloanRepay.sol
VaultToken, one per marketNoAvana's AccessManagerVaultToken.sol
LPOracle, one per marketNoNone: statelessLPOracle.sol
AvanaBorrowRouter, AvanaActionRouterNoAvana's AccessManager (target registry only)routers/AvanaBorrowRouter.sol, routers/AvanaActionRouter.sol
LoopHook (Uniswap v4 hook of the Loop pools; address on Contract Addresses)NoAvana's AccessManagerhooks/LoopHook.sol
FlashLiquidator, one per integration and operatorNoNone: only its OPERATOR calls itpackages/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.

RoleIdHeld byFunctionsDelaySource
ADMIN_ROLE0Aave governance executorEvery admin function of the AccessManager (grantRole, revokeRole, setTargetFunctionRole, labelRole, setRoleGuardian and the rest); as the default guardian of every role, cancel of any scheduled callNoneAvanaRoles.sol, 03_DeployAvana.s.sol _configureRoles
AVANA_GOVERNANCE_ROLE2Governance SafeRiskModule registerSpoke, setSpokeWidth, listPool, activateMarket, setDebtReserve, setFee, addKeeper, setLiquidationFeeRecipient, setDeficitSettler; Uniswap v4 LPVault setHookApproval, registerHookedPool; LoopHook setStableFeeConfig, setVolatileFeeConfig, setRoutedDebtAssetApproval; each router's setTargetGovernance delay, 4 to 5 daysAvanaAccess.sol riskModuleGovernanceSelectors, uniswapV4GovernanceSelectors, loopHookGovernanceSelectors, routerGovernanceSelectors
AVANA_TIGHTEN_ROLE1Governance Safe; Joint Configuration SafeRiskModule removeDebtReserve, removeKeeper; Uniswap v4 LPVault revokeHook; LoopHook revokeRoutedDebtAsset; each router's removeTarget12 hours for the governance Safe; none for the Joint Configuration SafeAvanaAccess.sol riskModuleTightenSelectors, uniswapV4TightenSelectors, loopHookTightenSelectors, routerTightenSelectors, TIGHTEN_DELAY
AVANA_I<n>_RISK_MODULE_ROLE100·n + 1Integration n's RiskModuleLPVault listMarketNoneAvanaAccess.sol coreRole, lpVaultRiskSelectors
AVANA_I<n>_ADAPTER_ROLE100·n + 2Integration n's AaveAdapterLPVault pledge, addLiquidity, removeLiquidity, release, collectFees; each of its vault tokens' mint and addValidProxyNoneAvanaAccess.sol lpVaultAdapterSelectors, vaultTokenAdapterSelectors
AVANA_I<n>_LIQUIDATION_ROLE100·n + 3Integration n's LiquidationModuleLPVault unwindNoneAvanaAccess.sol lpVaultLiquidationSelectors
AVANA_I<n>_BURN_ROLE100·n + 4Integration n's AaveAdapter and LiquidationModuleEach of its vault tokens' burnNoneAvanaAccess.sol vaultTokenBurnSelectors
Core roles are per integration, so one integration's AaveAdapter cannot call another integration's LPVault. The vault tokens' function roles are set by the vault-token role operation, which the Aave governance executor sends as the AccessManager's admin (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).

RoleHeld byFunctionsDelaySource
AVANA_RESERVE_GUARDIAN_ROLEAave Protocol Guardian, Aave governance executorSpokeConfigurator freezeReserve, pauseReserve: each sets its flag and never clears itNoneAaveGuardianRole.sol, 06_AaveDeploymentPayload.s.sol

Aave governance controls

ControlHeld byWhat it coversSource
Hub and Spoke configurationAave governance executorEach 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 proxies01_DeployAaveV4.s.sol, 06_AaveDeploymentPayload.s.sol
Deployment payload (06)Aave governance executorEach 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 FlashLiquidators06_AaveDeploymentPayload.s.sol
Listing payload (10)Aave governance executorEach 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 transfers10_AaveListingPayload.s.sol
Avana's AccessManagerAave governance executorADMIN_ROLE: every Avana role grant and function mapping, and cancellation of any scheduled Avana call03_DeployAvana.s.sol

Permissionless functions

FunctionContractNotesSource
liquidateLiquidationModuleOpen to anyone; the keeper registry gates no call. Reverts with Aave's errors when the account is healthyILiquidationModule.sol
repayAaveAdapterAny payer, for any wallet's debt in a market, with its own fundsIAaveAdapter.sol
pledge, addLiquidity, withdraw, allowWithdraw, borrow, collectFeesAaveAdapterAny 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 checkIAaveAdapter.sol