KVORUM
aaveSource: Aave governance v3 · #524

Onboard PT-sUSDe-22OCT2026 to the LlamaRisk PT Risk Oracle

executedOct 3, 2026, 03:20 PM UTCby660x66a2…73ff

01Summary

AISummary by Kvorumgpt-6-luna

Registers two LlamaRisk-oracle-driven agents on Aave V3 Plasma to update the discount rate for PT-sUSDe-22OCT2026 and risk parameters for eMode categories 25 and 26, with per-update bounds and timelocks.

Type
protocol addition

Key changes

  • Registers the discount rate agent to consume PendleDiscountRateUpdate records for PT-sUSDe-22OCT2026, with a 2-day minimum delay and 2-day expiration period.(high)
  • Registers the eMode agent to consume EModeCategoryUpdate records for categories 25 (PT-sUSDe Stablecoins) and 26 (PT-sUSDe USDe), with a 3-day minimum delay and 3-day expiration period.(high)
  • Grants both agents RISK_ADMIN and configures absolute per-injection bounds: 100 bps for the discount rate and 50 bps each for eMode LTV, liquidation threshold, and liquidation bonus.(high)
  • Sets the Protocol Guardian as admin for both agents; governance retains registration control, and the Guardian can disable an agent without a governance cycle.(medium)
  • Uses new agent IDs rather than reusing disabled agents. No reserve configuration is changed by the payload.(medium)

Notable concerns

  • Agents can apply only the specified parameter updates and are subject to the configured absolute bounds and minimum delays.
  • The LlamaRisk router adds a separate 48-hour minimum delay for the discount-rate route.
  • The proposal states that omitting range configurations would leave fresh agent IDs with zero bounds and make their updates fail.
  • The RiskOracle write path is restricted to LlamaRisk's router, which accepts reports only from the Chainlink CRE forwarder for a workflow owned by the Aave CRE organisation multisig.
ContractsMiscPlasma.AGENT_HUBMiscPlasma.LLAMARISK_RISK_ORACLEMiscPlasma.LLAMARISK_PT_DISCOUNT_RATE_AGENTMiscPlasma.LLAMARISK_PT_EMODE_AGENTMiscPlasma.RANGE_VALIDATION_MODULEAaveV3Plasma.ACL_MANAGERAaveV3Plasma.CONFIG_ENGINEPendlePriceCapAdapter for PT-sUSDe-22OCT2026
Generated by Kvorum
model: gpt-6-luna
provider: openai
profile: openai-fast-v1
prompt: v1.0
generated: 2mo ago
Read the description ↗

02Description

1,007 words

Simple Summary

Registers two predeployed risk agents on the Aave-owned AgentHub so that discount rate and eMode risk parameters for PT-sUSDe-22OCT2026 on Aave V3 Plasma can be maintained automatically from the LlamaRisk PT Risk Oracle, within bounds this proposal sets.

Motivation

PT-sUSDe-22OCT2026 is a Pendle principal token listed on Plasma as reserve 17 and collateral in eMode categories 25 and 26. Its fair value depends on an implied discount rate that decays to zero at maturity, so a static discount rate is wrong almost everywhere: too high early, and increasingly too low as maturity approaches. The same drift affects the liquidation threshold and bonus that should apply to it.

LlamaRisk operates an offchain pipeline on Chainlink CRE that tracks the Pendle market, maintains an EMA of the implied rate, and derives both the discount rate and the eMode parameters from it. This proposal is the last link in that chain: it grants the two agent contracts permission to apply those values, and bounds how far each application may move a parameter.

The pipeline publishes to a RiskOracle that only LlamaRisk's router can write to, and the router only accepts reports from the Chainlink CRE forwarder for a workflow owned by the Aave CRE organisation multisig. Governance retains the ability to disable either agent at any time.

Specification

The payload performs three groups of actions.

1. Register the discount rate agent. The payload registers the predeployed AaveDiscountRateAgent from MiscPlasma.LLAMARISK_PT_DISCOUNT_RATE_AGENT on MiscPlasma.AGENT_HUB, consuming PendleDiscountRateUpdate records from the LlamaRisk RiskOracle and allowed to act only on PT-sUSDe-22OCT2026. Minimum delay 2 days, expiration period 2 days.

2. Register the eMode agent. The predeployed AaveEModeAgent from MiscPlasma.LLAMARISK_PT_EMODE_AGENT is registered for the same oracle, consuming EModeCategoryUpdate and allowed to act only on eMode categories 25 and 26. Minimum delay 3 days, expiration period 3 days. Its agent context encodes AaveV3Plasma.CONFIG_ENGINE, which it delegatecalls to apply category updates.

Both are registered with admin set to MiscPlasma.PROTOCOL_GUARDIAN, so a misbehaving agent can be disabled without a governance cycle. Registration stays governance-only: registerAgent and setAgentAdmin are onlyOwner, and the AgentHub is owned by GovernanceV3Plasma.EXECUTOR_LVL_1. Both isAgentPermissioned and isMarketsFromAgentEnabled are left at their defaults.

Both are registered under new agent ids rather than reusing the two disabled agents already on the hub. The hub tracks a last-injected updateId per (agentId, market) and injects only when updateId > lastInjected, and that pointer survives a change of riskOracle. The old eMode agent carries pointers of 156 and 155 on eMode categories 22 and 24, so reusing its id against a new RiskOracle, whose counter starts at zero, would reject those markets until the counter passed 156.

Both agent addresses and the RiskOracle are imported from MiscPlasma. Neither agent is registered with a suffixed update type: the LlamaRisk RiskOracle serves this stack alone, so the base types are unambiguous.

3. Grant RISK_ADMIN and bound the ranges. addRiskAdmin on AaveV3Plasma.ACL_MANAGER for both predeployed agents, then setDefaultRangeConfig on MiscPlasma.RANGE_VALIDATION_MODULE for each parameter each agent can move.

The role is required because of how the agents write. The discount rate agent resolves the PT price source through the Aave oracle and calls setDiscountRatePerYear on the PendlePriceCapAdapter, which gates that call on isRiskAdmin || isPoolAdmin. The eMode agent delegatecalls the config engine, and because delegatecall preserves the caller, the PoolConfigurator sees the agent rather than the engine, so the role has to sit on the agent there as well.

Bounds and timelocks

Every bound is absolute rather than relative. A relative cap is measured against the last value the agent injected, which does not exist on a freshly assigned agent id, so a relative configuration would leave the first injection unbounded. The minimum delay is the timelock the hub enforces between injections per agent and market, and the expiration period is how long a published update remains applicable.

AgentParameterMaximum move per injectionMinimum delayExpiration period
Discount ratePendleDiscountRateUpdate100 bps (1e16)2 days2 days
eModeEModeLTV50 bps3 days3 days
eModeEModeLiquidationThreshold50 bps3 days3 days
eModeEModeLiquidationBonus50 bps3 days3 days

These configurations are not optional. A fresh agent id inherits no default range config, and the module reads a missing config as a zero bound, which rejects every injection. Omitting them would produce a registered but permanently inert agent.

Two further limits apply outside this payload. The minimum delays above are enforced by the hub per agent and market. And the LlamaRisk router applies its own 48 hour minimum delay to the discount rate route, so that value is rate limited twice, independently. The router carries no step cap of its own on any route: the per-injection bounds in the table above are enforced by the RangeValidationModule alone.

Affected eMode categories

IdLabel
25PT-sUSDe Stablecoins
26PT-sUSDe USDe

No reserve configuration is changed by this payload. The snapshot diff is empty by design.

Deployed Contracts

The payload references the RiskOracle and both agents directly. The Router and CRE Forwarder are included above to make the complete write path easier to review.

Existing Aave contracts referenced, all from the address book:

  • AgentHub: MiscPlasma.AGENT_HUB
  • RangeValidationModule: MiscPlasma.RANGE_VALIDATION_MODULE
  • ACL manager: AaveV3Plasma.ACL_MANAGER
  • Config engine: AaveV3Plasma.CONFIG_ENGINE
  • Agent admin: MiscPlasma.PROTOCOL_GUARDIAN
  • AgentHub owner: GovernanceV3Plasma.EXECUTOR_LVL_1

Agent source

Both predeployed agents are verified deployments of the stock implementations from aave-dao/aave-risk-agents. The tests verify their bytecode is present and their immutable AgentHub, RangeValidationModule, pool, oracle and update-type wiring matches the configuration registered by this payload.

References

Copyright

Copyright and related rights waived via CC0.

03Mismatch analysis

AIMismatch analysis by Kvorum

A calldata-vs-description analysis is not generated yet. Review the decoded actions →

04Actions

0 total

This proposal carries no on-chain actions.

05Tally

Summed from votes

Voters9
VP participating371K
Outcome (current)for
Current support100%

06Voters

9 total
Filter:
VoterChoice% of totalRationale
330x3320…3bb7for107.2K28.90%—2mo ago
2C0x2cc1…4df1for88.8K23.94%—2mo ago
8B0x8b37…2a22for75.9K20.46%—2mo ago
B90xb933…8dd1for53.7K14.48%—2mo ago
360x3676…574dfor25K6.74%—2mo ago
C00xc0d6…b802for20.2K5.44%—2mo ago
7F0x7fd5…caaffor169.40.05%—2mo ago
530x53da…c14bfor00.00%—2mo ago
1B0x1b45…7b0bfor00.00%—2mo ago
Showing 9

07Forum

No forum thread is confidently linked to this proposal.