Skip to content

About

Lido Active Treasury Management, as a Zodiac constellation

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Lido Active Treasury Management, as a Zodiac constellation

A working proposal for the account and permission model in Lido's Active Treasury Management RFP, written as a Zodiac constellation: the whole graph is TypeScript, reviewed in a pull request and pushed to Zodiac, which diffs it against on-chain state and produces the transactions to sign.

This is a first draft. It makes assumptions where the RFP leaves room, so that there is something concrete to react to, and we would like to refine those together. The accounts are declared, not deployed; every address that already exists on-chain is real and sourced from docs.lido.fi or the protocol's own deployment docs (see constellation/addresses.ts and zodiac.config.ts).

Open questions

The protocol list. The RFP gives the asset launch set and a process for approving protocol targets, and leaves the starting list to the design phase. We went with Lido staking, Aave v3 Core, Sky savings, Lido Earn and CoW for rebalancing, inferred from what the launch assets are for. Spark, Aave's Prime market, Compound v3 and Morpho vaults would be natural additions if broader diversification is wanted.

Whether the operator may sell LDO. It is in the launch set, but we left it off both sides of the swap permission, assuming that selling the DAO's own governance token is a treasury decision rather than a rebalance. Easy to add if you see it differently.

How the allocation limits should work. We propose starting with conservative static allowances and refining from there; the fuller discussion is under Allocation limits.

Which Safe holds the assets at launch. This declares a new Asset Safe. If one already exists, we bind it by address instead and nothing else changes.

The account model

Every arrow points from the account that controls to the account it controls.

  LDO holders
       │ vote
       ▼
  Aragon Agent ──owns──▶ Asset Safe ──owns──▶ Roles modifier
  (governance authority) (assets +            (enforcement point)
                          positions)                │ grants
                                     ┌──────────────┴──────────────┐
                                     ▼                             ▼
                                 operator                      emergency
                                     ▲                             ▲
                                     │ holds                       │ holds
                       Treasury Mgmt Committee            Emergency Brakes
                               (4-of-7)                       (3-of-5)

Execution runs the other way: the modifier is a module on the Asset Safe, so a permitted call executes as the Safe. That is how a role reaches the assets without holding authority over them.

Both committee multisigs already exist at the thresholds the RFP names. This project references them by address and declares a new Asset Safe and Roles modifier.

We propose the Safe owns the modifier. No DAO authority is lost: the Agent owns the Safe, and Easy Track motions execute as the Agent, so both governance paths still reach the policy. The Easy Track factories address the Safe rather than the modifier, which is the only operational difference. What the arrangement adds is that a role can be permissioned onto the modifier's own admin functions and the Safe's, since a call through a role executes as the owner. The emergency role uses both.

What each role may do

A role can only call the functions listed for it; everything else is denied by default, so neither section below has to say what it forbids. Within a listed function, parameters are open unless a condition constrains them, which is why the conditions on recipients, amounts and role keys below carry the weight.

operator, held by the Treasury Management Committee

Opens and closes positions. Cannot choose an external recipient: every receiver, owner and onBehalfOf parameter is pinned to the avatar, and the role holds no transfer or transferFrom. Protocol deposits and CoW settlement necessarily move tokens to the approved contracts, but their proceeds return to the Asset Safe.

Protocol Actions
Lido wrap/unwrap between stETH and wstETH
Aave v3 Core supply and withdraw USDC, USDT, DAI, USDS, wstETH
Sky savings DAI ↔ sDAI, USDS ↔ sUSDS
Lido earnUSD deposit, cancel, claim, redeem
Lido earnETH deposit wstETH, cancel, claim, redeem
CoW Protocol swap between the approved assets, receiver pinned to the avatar

No borrow, flashLoan, setUserEMode or collateral switch is granted, so the "no debt" rule holds.

emergency, held by Emergency Brakes

Revokes, exits, returns. Exits pull assets into the Asset Safe first and transfer them to the Agent second, so the two steps stay separately auditable. Every constraint the RFP places on the role holds by omission:

  • Cannot enter a protocol. No supply, no vault deposit, no signOrder.
  • Cannot create debt. No borrow.
  • Cannot re-point recovery. Every transfer pins its recipient to the Agent as a literal, so the destination is fixed in the permission (returnToTreasury).
  • Cannot approve, only revoke. The approve amount is pinned to 0 (revokeApprovals).

We suggest two powers beyond what the RFP asks for, which the Safe-owned modifier makes expressible. Both are in the configuration so you can see exactly what they grant, and both are easy to drop if unwanted.

Narrowing the operator gives a mechanism to the RFP's "block new operator transactions" step. The role holds revokeTarget and revokeFunction, the whole revoking half of the modifier's admin surface, so it can cut the operator off a compromised protocol in one transaction. Neither call grants a target or widens a parameter, and roleKey is pinned to the operator, so it cannot reach its own scope.

Disabling the module answers the RFP's "DAO disables the affected role or module if needed" without waiting on a vote. A Safe administers itself through its own module, so the role can call disableModule on the Asset Safe and leave the assets under the Agent alone. Its parameters are unconstrained, so it reaches any module the Safe has enabled; today that is this one.

Both are irreversible in the safe direction only, so a compromised emergency multisig can stop the treasury operating and return assets to the fixed Agent address, but cannot divert them elsewhere or widen its own reach.

Allocation limits

The RFP asks which limits are enforced before execution and which depend on reporting. Our proposal: start with monthly limits that roughly match the target ratios, and refine the mechanism together from there.

Each protocol gets a monthly deployment budget in constellation/allowances/. The modifier decrements a budget as calls consume it and reverts when it is exhausted, so a compromised operator key cannot drain into a protocol faster than the budget allows, while the operator works freely within it. Every budget starts full, refills by the listed amount every 30 days, and never accrues above its maximum. These amounts are placeholders until the mandate size is settled.

Allowance key Constrains Shared unit Initial / maximum Refill per 30 days
aave_supply_usdc_usdt Aave v3 Core supply USDC or USDT 10,000,000 10,000,000
aave_supply_dai_usds Aave v3 Core supply DAI or USDS 10,000,000 10,000,000
aave_supply_wsteth Aave v3 Core supply wstETH 2,500 2,500
sky_savings_dai_usds Sky savings deposit DAI or USDS 10,000,000 10,000,000
earn_usd_deposit Lido earnUSD USDC deposit USDC 5,000,000 5,000,000
earn_eth_deposit_wsteth Lido earnETH wstETH deposit wstETH 2,500 2,500

A shared allowance counts either token in that row against one balance. A budget counts token units rather than value, so assets that do not trade roughly one for one need separate budgets. Aave therefore has three: USDC/USDT, DAI/USDS, and wstETH. When larger price movements pull the ratios away from the budgets, an Easy Track motion adjusts them.

What we would explore beyond that. The 25% per protocol, 15% per yield-asset class and 20% per non-Lido LST targets are ratios against a net asset value that nothing on-chain can see: the modifier checks one call at a time and has no price feed. Keeping the budgets aligned with them raises questions worth working through together:

  • The reporting approach. Which NAV feed the targets are measured against, who runs it, and how deviations turn into adjustments.
  • A dedicated updater role. A role that may only update the allowances on this modifier, called periodically, could keep the budgets in step with NAV without governance motions. The exact design and its trust assumptions need careful weighing: whoever drives it can move the operator's limits, and a price source that widens a budget belongs in the threat model even though it fails closed (stopping it leaves the allowances where they are) and cannot block an exit.

Starting with static monthly limits loses nothing: the permission shape does not change if an updater is added later, since it would write the same allowances this repo declares.

Rollout and verification

We would like to prove this on-chain before it holds anything.

Deploy first with a testing account where the Aragon Agent will sit, fund with dust in each launch asset, and run the intended flows through both roles. Anything that reverts is a permission gap, and each round of fixes is a pull request and a push. Once the set is settled, ownership moves to the Agent and the allocation follows, which is an owner change on the existing Safe rather than a redeployment.

For updates after launch, we would like to agree how Zodiac should hand a permission change to an LDO vote or an Easy Track motion: calldata to wrap in a motion, a shape your factories consume, or a closer integration with Lido's tooling.

Walk-away operation

Nothing in the enforcement path depends on a hosted service. The on-chain Roles modifier is the enforcement point, while the Aragon Agent remains the final governance authority through its ownership of the Asset Safe.

Zodiac executes permission updates through Lido's own governance tracks and gives reviewers an interface for reading what an update actually changes, which is hard to do from raw calldata. Transacting through the roles in Zodiac is a convenience rather than a dependency: the same calls go through Safe{Wallet}, any alternative Safe interface, or raw calldata. So an outage strands nothing. Permission removal, module disablement and DAO recovery all remain available. This repo is the canonical intended policy; on-chain state is the policy being enforced, and Zodiac's diff shows any drift between the two.

Layout

constellation/
├── index.ts             # the Asset Safe and the Roles modifier
├── nodes.ts             # node references, so permissions can target them
├── addresses.ts         # Lido governance actors
├── allowances/          # per-protocol deployment budgets
└── roles/
    ├── operator/        # members + permissions
    └── emergency/       # members + permissions
zodiac.config.ts         # contracts the `allow` kit is generated from
docs/                    # screenshots used by this README

Commands

Command What it does
bun pull Refetch contract ABIs and regenerate the allow kit
bun push Send the constellation to Zodiac and open the review UI

Try it yourself

bun install
bun push

push opens Zodiac in your browser, walking you through sign-in on the way if you are not already signed in, and lands on this constellation:

The constellation in Zodiac: the Asset Safe and the Roles modifier it owns, with both roles and their allowances

From here each role's permissions open call by call, with every condition spelled out.

About

Lido Active Treasury Management, as a Zodiac constellation

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages