Skip to main content

Overview

Folios can be deployed in two ways:
  1. Raw Folio - with manually assigned roles
  2. Governed Folio - with fully automated governance structure including timelocks and voting mechanisms

Prerequisites

  • Deployment wallet with sufficient ETH for gas
  • Initial basket assets and amounts
  • Fee registry and version registry addresses
  • Trusted filler registry address (optional)

Deploying a Raw Folio

A raw Folio gives you direct control over role assignments.
1

Prepare Basic Details

Define your Folio’s core parameters:
The amounts array must match the length of the assets array. Each amount represents the initial quantity of each asset required.
2

Configure Additional Details

Set up fees, mandate, and auction parameters:
Fee Limits:
  • TVL Fee: Max 10% annually
  • Mint Fee: Max 5%
  • DAO takes minimum 15bps from all fees
3

Set Folio Flags

Configure rebalancing behavior:
Price Control Options:
  • NONE - Cannot change prices from initial
  • PARTIAL - Can narrow price ranges within initial bounds
  • ATOMIC_SWAP - Can set instant swaps (start price = end price)
4

Approve Token Transfers

The deployer must approve the FolioDeployer to transfer initial basket assets:
5

Deploy the Folio

Call the deployment function:
After deployment:
  • Verify the Folio address
  • Check that roles are assigned correctly
  • Confirm initial shares were minted
  • Ensure basket tokens were transferred

Deploying a Governed Folio

A governed Folio includes complete governance infrastructure with voting tokens and timelocks.
1

Prepare Governance Parameters

Define governance settings for the owner and trading governors:
2

Configure Role Assignments

Specify existing role holders (or leave empty for governance-only control):
Leave existingBasketManagers empty to automatically deploy a separate trading governor. Otherwise, use your own addresses.
3

Choose Governance Model

Decide between self-governance (Folio shares = voting power) or separate staking token:
4

Deploy Governed Folio

Execute the deployment:
This will deploy:
  • Folio contract
  • Owner governor + timelock
  • Trading governor + timelock (if applicable)
  • Vote-locked staking vault (if self-governed)
5

Verify Deployment

Check the emitted events for deployed addresses:
All admin functions must now go through the governance timelock. Immediate changes are no longer possible.

Post-Deployment

After deployment, you can:
  • Set up additional role holders
  • Configure trade allowlists (if needed)
  • Add trusted fillers to the registry
  • Begin minting shares
  • Initiate your first rebalance

Code Reference

  • Deployment logic: contracts/deployer/FolioDeployer.sol:45-203
  • Governance setup: contracts/deployer/GovernanceDeployer.sol:40-109
  • Initialization: contracts/Folio.sol:207-250

Next Steps

Mint Shares

Learn how users can mint and redeem Folio shares

Start Rebalancing

Configure and execute your first rebalance