bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 9쪽 중 4쪽
nce Initiation**: The `REBALANCE_MANAGER` starts a new rebalance, specifying new basket tokens, target ratios (limits), and price ranges for each asset.
2. **Auction Launcher Window**: For a restricted period, only the `AUCTION_LAUNCHER` can open auctions, with the ability to fine-tune parameters within governance-set bounds. The `AUCTION_LAUNCHER` can:
* select a sell limit within the approved sell limit range
* select a buy limit within the approved buy limit range
* raise starting price by up to 100x
* raise ending price arbitrarily (can cause auction not to clear, same end result as closing auction)
3. **Permissionless Auctions**: After the restricted window, anyone can open auctions using the pre-approved parameters.
4. **Bidding**: Anyone can bid in open auctions, exchanging tokens at a price determined by an exponential decay curve. Every successful bid will move the DTF closer to the target basket ratio.
5. **Auction Close**: Auctions end when their time elapses or their limits are reached. The rebalance technically ends when the rebalance period expires.
### Key concepts and structs <a href="#key-concepts-and-structs" id="key-concepts-and-structs"></a>
* **BasketRange**: `{ spot, low, high }` — Target, minimum, and maximum ratios of a token to DTF (Folio) shares (D27 precision).
* **Prices**: `{ low, high }` — Price range for each asset (D27 precision).
* **RebalanceDetails**: `{ inRebalance, limits, prices }` — Per-token rebalance state.
* **Auction**: `{ rebalanceNonce, sellToken, buyToken, sellLimit, buyLimit, startPrice, endPrice, startTime, endTime }` — State of a single auction.
### Auction pricing <a href="#auction-pricing" id="auction-pricing"></a>
For each token supplied to the rebalance, the `REBALANCE_MANAGER` provides a `low` and `high` price estimate. These should be set such that in the vast majority (99.9%+) of scenarios, the asset's price on secondary markets lies within the provided range. The maximum allowable price range for a token is 1e2: `high / low` must be <= 1e2.
If the price of an asset rises above its `high` price, this can result in a loss of value for Folio holders due to the auction price curve on a token pair starting at too low a price.
When an auction is started, the `low` and `high` prices for both assets are used to calculate a `startPrice` and `endPrice` for the auction.
There are 2 ways to price assets, depending on the risk tolerance of the `REBALANCE_MANAGER`:
1. **Priced**
* The `REBALANCE_MANAGER` provides a list of NONZERO prices for each token. No token price can be 0.
* The `AUCTION_LAUNCHER` can always choose to raise the starting price up to 100x from the natural starting price, or raise the ending price arbitrarily (up to the starting price). They cannot lower either price.
2. **Unpriced**
* The `REBALANCE_MANAGER` provides ALL 0 prices for each token. This allows the `AUCTION_LAUNCHER` to set prices freely and prevents auctions from being opened permissionlessly.
Overall the price range for any Dutch auction (`startPrice / endPrice`) must be less than `1e6` to prevent precision issues.
#### Price curve <a href="#price-curve" id="price-curve"></a>
Note: The first block may not have a price of exactly `startPrice` if it does not occur on the `start` timestamp. Similarly, the price may not be exactly `endPrice` in the final block if it does not occur on the `end` timestamp.
All auctions use an exponential decay price curve from `startPrice` to `endPrice` over the auction duration. The price at any time `t` is:
```
P(t) = startPrice * exp(-k * t)
```
Where `k` is calculated so that `P(auction.endTime) = endPrice`.
#### Lot sizing <a href="#lot-sizing" id="lot-sizing"></a>
Auctions are sized by the difference between current balances and the basket ratios provided by the `limits`.
The auction `sellAmount` represents the single largest quantity of sell token that can be transacted without violating the `limits` of either token in the pair.
In general, it is possible for the `sellAmount` to either increase or decrease over time, depending on whether the surplus of the sell token or deficit of the buy token is the limiting factor.
1. If the surplus of the sell token is the limiting factor, the `sellAmount` will increase over time.
2. If the deficit of the buy token is the limiting factor, the `sellAmount` will decrease over time.
#### Auction participation <a href="#auction-participation" id="auction-participation"></a>
Anyone can bid in any auction up to and including the `sellAmount` size, as long as the `price` exchange rate is met.
```
/// @return sellAmount {sellTok} The amount of sell token on sale in the auction at a given timestamp
/// @return bidAmount {buyTok} The amount of buy tokens required to bid for the full sell amount
/// @return price D27{buyTok/sellTok} The price at the given timestamp as a 27-decimal fixed point
function getBid(
uint256 auctionId,
uint256 timestamp,
uint256 maxSellAmount
) external view returns (uint256 sellAmount, uint256 bidAmount, uint256 price);
```
# Security & permissions
## Permissions <a href="#security-and-permissions" id="security-and-permissions"></a>
* **Only** the `ADMIN` can set the auction length.
* **Only** the `ADMIN` can allow/disallow permissionless bidding.
* **Only** the `ADMIN` can configure the Trusted Fillers registry.
* **Only** the `ADMIN` can add a token to the basket directly (not via rebalance).
* **Only** the `REBALANCE_MANAGER` can start a rebalance.
* **Only** the `AUCTION_LAUNCHER` can open auctions during the restricted window.
* After the window, anyone can open auctions (if in priced mode).
* **Anyone** can bid in open auctions.
* **Any** of the `REBALANCE_MANAGER`, `AUCTION_LAUNCHER`, or `ADMIN` roles can close an auction.
* **Any** of the `REBALANCE_MANAGER`, `AUCTION_LAUNCHER`, or `ADMIN` roles can end a rebalance.
# Security
Reserve aims to establish a robust and stable DTF platform. However, this necessitates the implementation of an additional layer of smart contracts, introducing an extra level of smart contract risk.
The Reserve team is aware of these tradeoffs and has prioritized security by undergoing multiple audits conducted by the world's leading security firms.
## Smart contract security audits
| Auditor | Date | Scope | Report |
| -------------- | -------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| Trust Security | Dec 2024 | Protocol | [Report](https://github.com/reserve-protocol/reserve-index-dtf/blob/main/audits/trust-security/v1-audit-dec-2024.pdf) |
| Cantina | Jan 2025 | Protocol | [Report](https://github.com/reserve-protocol/reserve-index-dtf/blob/main/audits/cantina/report-competition-reserve-jan2025.pdf) |
| Trail of Bits | Apr 2025 | Protocol | [Report](https://github.com/reserve-protocol/reserve-index-dtf/blob/main/audits/trail-of-bits/2025-04-reserve-folio-solidity-securityreview.pdf) |
| Pashov | Jun 2025 | Protocol | [Report](https://github.com/reserve-protocol/reserve-index-dtf/blob/main/audits/pashov/reserve-security-review_2025-06-02.pdf) |
In addition to performing an initial full audit on the Index DTF protocol, Trust Security is the main security partner for ABC Labs, and reviews every piece of Solidity code before it is deployed onchain to be used in production. Their depth of knowledge of the Index and Yield protocols is matched only by that of the core developers.
## Bug bounty
In addition to undergoing numerous audits, the Reserve team would like to motivate the community to undertake their own audits and will reward individuals who responsibly disclose any vulnerabilities they find.
**Bug bounty of $10,000,000**
Reserve has partnered with Cantina for its bug bounty program. See additional details of the program, or report any findings here: <https://cantina.xyz/bounties/3709ca85-4050-407e-9b36-51f5d5ea9b00>
## Risks
For a detailed overview of potential risks and risk-mitigation strategies, see the [Risks page](/risks).
# Deployment guide
{% hint style="warning" %}
🚧 Coming soon
{% endhint %}
# Smart contracts
## Contract addresses
### Ethereum deployments (Chain ID: 1)
| **Contract** | **Address** |
| ------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| RsrToken | [0x320623b8E4fF03373931769A31Fc52A4E78B5d70](https://etherscan.io/address/0x320623b8E4fF03373931769A31Fc52A4E78B5d70) |
| FolioFeeRegistry | [0x0262E3e15cCFD2221b35D05909222f1f5FCdcd80](https://etherscan.io/address/0x0262E3e15cCFD2221b35D05909222f1f5FCdcd80) |
| FolioVersionRegistry | [0xA665b273997F70b647B66fa7Ed021287544849dB](https://etherscan.io/address/0xA665b273997F70b647B66fa7Ed021287544849dB) |
| TrustedFillerRegistry | [0x279ccf56441fc74f1aac39e7fac165dec5a88b3a](https://etherscan.io/address/0x279ccf56441fc74f1aac39e7fac165dec5a88b3a#code) |
| GovernanceDeployer | [0xE926577a152fFD5f5036f88BF7E8E8D3652B558C](https://etherscan.io/address/0xE926577a152fFD5f5036f88BF7E8E8D3652B558C) |
| FolioDeployer \[4.0.0] | [0xBE3B47587cEeff7D48008A0114f51cD571beC63A](https://etherscan.io/address/0xbe3b47587ceeff7d48008a0114f51cd571bec63a) |
| FolioDeployer \[5.0.0] | [0x4d201a6e5bf975e2cee9e5cbdfc803c0ff122073](https://etherscan.io/address/0x4d201a6e5bf975e2cee9e5cbdfc803c0ff122073) |
| Folio (Implementation) \[4.0.0] | [0xBA9642b0690E083fc11def8Eac49FC05aAA5d725](https://etherscan.io/address/0xBA9642b0690E083fc11def8Eac49FC05aAA5d725) |
| Folio (Implementation) \[5.0.0] | [0xb6b35b2c7032E00BAa2535Ba480d461321B7E0A6](https://etherscan.io/address/0xb6b35b2c7032E00BAa2535Ba480d461321B7E0A6) |
### Base deployments (Chain ID: 8453)
| **Contract** | **Address** |
| ------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| RsrToken | [0xaB36452DbAC151bE02b16Ca17d8919826072f64a](https://basescan.org/address/0xaB36452DbAC151bE02b16Ca17d8919826072f64a) |
| FolioFeeRegistry | [0x0262E3e15cCFD2221b35D05909222f1f5FCdcd80](https://basescan.org/address/0x0262E3e15cCFD2221b35D05909222f1f5FCdcd80) |
| FolioVersionRegistry | [0xA665b273997F70b647B66fa7Ed021287544849dB](https://basescan.org/address/0xA665b273997F70b647B66fa7Ed021287544849dB) |
| TrustedFillerRegistry | [0x72db5f49d0599c314e2f2fedf6fe33e1ba6c7a18](https://basescan.org/address/0x72db5f49d0599c314e2f2fedf6fe33e1ba6c7a18#code) |
| GovernanceDeployer | [0x6a66E6E209C7120819cC033d9397E5022C22C872](https://basescan.org/address/0x6a66E6E209C7120819cC033d9397E5022C22C872) |
| FolioDeployer \[4.0.0] | [0xA203AA351723cf943f91684e9F5eFcA7175Ae7EA](https://basescan.org/address/0xa203aa351723cf943f91684e9f5efca7175ae7ea) |
| FolioDeployer \[5.0.0] | [0x3451fD177E9a8bB4Eb8271E627A804BD22A816F9](https://basescan.org/address/0x3451fd177e9a8bb4eb8271e627a804bd22a816f9) |
| Folio (Implementation) \[4.0.0] | [0x03D27E00e98d107a9d2523144C2AdEC7cf214DFb](https://basescan.org/address/0x03D27E00e98d107a9d2523144C2AdEC7cf214DFb) |
| Folio (Implementation) \[5.0.0] | [0x6368E66a38BAB5a03c4f1be64b9d890305959A10](https://basescan.org/address/0x6368E66a38BAB5a03c4f1be64b9d890305959A10) |
### BSC deployments (Chain ID: 56)
| **Contract** | **Address** |
| ------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| RsrToken | [0x23f72a3Db61D6CB8aBE5d9AF1Ac4B6c99327bFee](https://bscscan.com/address/0x23f72a3db61d6cb8abe5d9af1ac4b6c99327bfee) |
| FolioFeeRegistry | [0x135437333990f799293F6AD19fE45032Ba68285e](https://bscscan.com/address/0x135437333990f799293F6AD19fE45032Ba68285e) |
| FolioVersionRegistry | [0x79A4E963378AE34fC6c796a24c764322fC6c9390](https://bscscan.com/address/0x79A4E963378AE34fC6c796a24c764322fC6c9390) |
| TrustedFillerRegistry | [0x08424d7c52bf9edd4070701591ea3fe6dca6449b](https://bscscan.com/address/0x08424d7c52bf9edd4070701591ea3fe6dca6449b#code) |
| GovernanceDeployer | [0x270d928b9Ee38BAD93601D197256390b3c3C13Ec](https://bscscan.com/address/0x270d928b9Ee38BAD93601D197256390b3c3C13Ec) |
| FolioDeployer \[4.0.1] | [0x5Bed18AcA50E6057E6658Fe8498004092EedCDcF](https://bscscan.com/address/0x5Bed18AcA50E6057E6658Fe8498004092EedCDcF) |
| Folio (Implementation) \[4.0.1] | [0xd58B270159BD0d51cef1Cb2A950c7f71804D45E7](https://bscscan.com/address/0xd58B270159BD0d51cef1Cb2A950c7f71804D45E7) |
| FolioDeployer \[5.0.0] | [0x72f87239981159ed23673012EE3806Ca6114AB2A](https://bscscan.com/address/0x72f87239981159ed23673012EE3806Ca6114AB2A) |
| Folio (Implementation) \[5.0.0] | [0x6f2C6343F997dC9C8C4d96a51cDDe9b8283e9A07](https://bscscan.com/address/0x6f2C6343F997dC9C8C4d96a51cDDe9b8283e9A07) |
# Optimistic Governance
Reserve's optimistic governance lets pre-approved, routine actions on a DTF execute quickly — without holding a full multi-day vote — while giving token holders a direct way to block anything they disagree with.
If enough holders object during a short veto window, the action does not just get cancelled. It automatically escalates into a regular community vote. 
### Two paths through one system
A DTF using optimistic governance has two ways for proposals to move forward:
| Path | What it's for | What holders do |
| --------------------- | ---------------------------------------------------------------- | -------------------------------------------------------- |
| **Fast (optimistic)** | Routine, pre-approved actions | Watch for proposals; vote against any they disagree with |
| **Slow (standard)** | Anything else — including changes to how governance itself works | Vote For, Against, or Abstain through a normal proposal |
Both paths share the same token, the same delays, and the same execution pipeline. The only difference is whether the action was pre-approved as routine enough to run on the fast path.
{% hint style="info" %}
Anything that changes the governance system itself — the rules of what's allowed on the fast path, the contracts that run governance, or the token — can only happen through the slow path. Fast governance can never modify itself.
{% endhint %}
### Why have a fast path at all?
Most governance actions on a live DTF are small and predictable: adjusting a single parameter, rotating an oracle, scheduling a rebalance window. Running each of these through a full multi-day vote with quorum adds friction without adding meaningful security — the action is already pre-scoped and the operators are already known.
The fast path removes that friction for routine work, and the veto window keeps holders in control. If something unexpected ever appears on the fast path, holders can stop it.
### How the fast path works
{% stepper %}
{% step %}
#### A proposer submits a fast proposal
Only addresses with permission to use the fast path can submit. Each submission is checked against an allowlist of pre-approved actions — if the proposal tries to do anything not on that list, it's rejected immediately.
{% endstep %}
{% step %}
#### A short delay, then the veto window opens
After a brief delay, the proposal enters its veto window. This is the time during which token holders can object.
{% endstep %}
{% step %}
#### Holders can vote against
During the veto window, any holder can vote against the proposal. There are no For votes on the fast path — holders only weigh in if they want to stop the action. Silence is consent.
{% endstep %}
{% step %}
#### One of two things happens:
**If the veto window closes an too few Against votes came in**, the proposal passes and can be executed right away.
**If Against votes cross the veto threshold at any point during the veto window**, the proposal is blocked and a full community vote is automatically opened in its place.
{% endstep %}
{% step %}
#### Escalation: the confirmation vote
The escalated vote runs as a normal slow proposal: For, Against, or Abstain. Votes from the veto window do not carry over — voting starts fresh.
If the community vote passes, the action still happens, just with full approval and the normal timelock delay. If it fails, the action is permanently blocked.
{% endstep %}
{% endstepper %}
### What holders need to do
#### Stake to gain voting power
Voting power on both paths comes from staking the DTF's governance token. Staked tokens are subject to an unstaking delay when you withdraw — this prevents flash-loaning votes in or out around a proposal.
#### Delegate (twice, if you want)
Staked tokens carry two separate delegations:
* **Standard delegation** chooses who votes your weight on slow proposals.
* **Veto delegation** chooses who can use your weight to veto fast proposals.
You can point these at the same address or at two different ones. A common pattern: delegate standard governance to a long-term steward, and delegate veto authority to someone focused on monitoring fast proposals as they happen.
If you stake and never delegate, your tokens don't vote on either path. Most users delegate to themselves when they stake.
#### Watch the veto window
When a fast proposal is active, the only thing you (or your veto delegate) needs to decide is whether to vote against it. There is no quorum to hit and no For vote to cast — your only job is to flag anything that looks wrong.
If something does look wrong, voting against it costs nothing and contributes to the veto threshold. If enough holders feel the same way, the proposal escalates to a full vote.
#### Participate in slow proposals normally
Slow proposals — including any confirmation vote that comes out of a vetoed fast proposal — work like standard governance. You vote For, Against, or Abstain, and the proposal needs both quorum and majority support to pass.
### What protects the fast path
The fast path is fast because it's narrow. Five independent safeguards keep it that way:
**A pre-approved action list.** Fast proposals can only call actions that have been explicitly added to an allowlist by slow governance. New actions cannot be added through the fast path itself.
**Untouchable targets.** The governance contracts themselves — the token, the timelock, the governor, the allowlist — can never be called by a fast proposal, even if someone tries to add them. Any change to the system has to go through slow governance.
**A rate limit on proposers.** Each fast-path proposer can only submit a limited number of proposals per 12 hour period. This caps the rate at which a compromised proposer key could flood the system, giving holders time to respond and giving the broader community time to revoke the key.
**A shared guardian.** A guardian role can cancel any non-final fast proposal mid-flight. This is typically held by a monitoring service that watches for clearly malicious or broken proposals, so holders don't have to be the first line of defense in an emergency.
**The veto itself.** Even if every other safeguard fails, the veto window is the final backstop. The threshold scales with the total supply of staked tokens, so it cannot be diluted by issuing more tokens.
### Possible outcomes for a fast proposal
| What happens | Result |
| --------------------------------- | ------------------------------------------------------------ |
| Veto threshold never reached | Proposal executes right after the veto window |
| Veto threshold reached | Proposal is blocked; a confirmation vote opens automatically |
| Confirmation vote passes | Action executes through the normal slow path |
| Confirmation vote fails | Action is permanently blocked |
| Cancelled by proposer or guardian | Proposal is dropped before completing |
### Tracking what kind of proposal you're looking at
Every proposal — fast or slow — has a unique ID. Whether a given proposal is on the fast or slow path is fixed and does not change.
When a fast proposal is vetoed and escal프로젝트로 돌아가기