bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 16쪽 중 5쪽
deposit to OHM at any point before the position's expiry date at the conversion price locked in when the deposit was made. This is profitable when OHM's market price exceeds the conversion price.
2. Full Redemption
Wait for the deposit period to complete, then redeem receipt tokens for the full amount of the original deposit. This guarantees users receive exactly what they deposited, regardless of OHM's price movement.
3. Early Reclaim
Exit the position at any time by reclaiming the deposit with a discount applied. The protocol retains the discount as a fee.
Key Components
Receipt Tokens
Receipt tokens are fungible tokens that represent deposits in a 1:1 ratio. They are created when users make deposits and are named with the facility prefix plus the asset and deposit period.
Examples
cdfUSDS-1m
for 1-month USDS deposits through the convertible deposit facility
cdfUSDS-3m
for 3-month USDS deposits through the convertible deposit facility
Key Properties
Fungible
: All cdfUSDS-3m tokens are identical and interchangeable
Tradable
: Users can transfer or trade these tokens independently of their position
Redeemable
: Use them for full redemption after the deposit period
CD Positions
A convertible deposit position is a non-fungible record that contains the specific terms of the deposit:
Deposit amount and asset
Conversion price for OHM
Expiry date
Deposit period
Position Properties
Unique Terms
: Each position has its own conversion price based on when the deposit was made
Optional NFT Wrapping
: Positions can be wrapped into ERC721 NFTs for easier management and trading
Required for Conversion
: Users need their position to convert to OHM, but not for redemption
DepositManager
The DepositManager is the secure custody system that holds all deposited funds. This is a critical security feature with flexible yield strategies:
Security Guarantees
Isolated Custody
: Deposited funds are separated from the protocol treasury
No Governance Access
: No other contract in the protocol—including governance—can access funds deposited on behalf of users
Contract-Specific Access
: Only the specific facility contract that accepted the deposit can access those funds
Yield Strategy Options
At Rest
: Each configured ERC20 token can be held directly in the DepositManager
Vault Strategy
: Tokens can be deposited into a configured ERC4626 vault to earn yield
Once an ERC4626 vault is set for a token, it cannot be changed - this prevents governance attacks that could redirect funds to a malicious vault
The ERC4626 vault should also be designed to only increase in value ("monotonically increasing"). The DepositManager does not currently handle reductions in the value of vault shares.
What It Does
Issues and manages receipt tokens
Holds deposited assets securely (either directly or in configured vaults)
Facilitates withdrawals when authorized
Manages yield generation on deposits
Deposit Periods
Convertible deposits are available in multiple time periods (subject to protocol configuration):
1 Month
: Shorter commitment, faster access to full redemption
2 Months
: Medium-term option balancing flexibility and potential returns
3 Months
: Longer commitment, potentially better conversion opportunities
The deposit period determines:
How long users must wait for full redemption
The specific receipt token received (e.g., cdfUSDS-1m vs cdfUSDS-3m)
The position's expiry date for conversions
Supported Assets
Initially, Convertible Deposits support:
USDS
: The primary stablecoin for initial launch
The system is designed to expand to other reserve assets based on protocol needs and governance decisions.
3. The Auction Mechanism
How Pricing Works
The auction uses a sophisticated tick-based system to determine conversion prices dynamically based on supply and demand:
Tick System Explained
Ticks
: The auction is organized into price levels called "ticks"
Tick Capacity
: Each tick can sell a specific amount of OHM (the "tick size")
Tick Price
: Each tick has a conversion price (deposit tokens per OHM)
Tick Step
: When a tick is filled, the next tick's price increases by a percentage (the "tick step")
How Bids Fill Ticks
When users place bids, the system processes them by filling ticks sequentially:
Current Tick
: The system determines how many deposit tokens are needed to fill the remaining capacity of the current tick
Fill and Move
: If the bid exceeds this amount, it fills the current tick completely and moves to the next higher-priced tick
Repeat Process
: This continues across multiple ticks until the entire bid is processed
Calculate Average
: The final conversion price is the weighted average based on the total deposit tokens consumed and total OHM allocated
Example Bid Processing
For a 1,000 USDS bid:
Current tick has 500 USDS capacity remaining at $20/OHM = 25 OHM
Next tick needs 500 USDS at $22/OHM = ~22.73 OHM
The position receives ~47.73 OHM total with an average conversion price of ~$20.96/OHM
Dynamic Price Discovery
Price Increases with Demand
As ticks fill up, subsequent bids must pay higher prices
Large bids that span multiple ticks drive prices up faster
High demand periods see rapid price escalation
Price Decreases Without Demand
When there's insufficient demand, tick prices decay over time
Unused capacity causes the auction to move to lower-priced ticks
Price decay has a floor - the minimum price set as part of the auction parameters
This ensures competitive pricing during low-demand periods while protecting the protocol
Daily Targets and Capacity
The protocol sets a target amount of OHM to sell per day
Capacity is added proportionally throughout each day
When daily targets are exceeded, the tick size will adjust according to the tick size base and multiple of the daily target that has been achieved
For example, with a tick size base of 2, day target of 2000 OHM and tick size of 1600 OHM: at 6000 OHM sold in the day, there is a multiplier of 3 (
6000/2000
). The tick size will be adjusted to
standardTickSize / tickSizeBase^multiplier
, which is
1600 / 2^3 = 200
in this scenario.
Day targets and tick sizes are reset once per day when the auction parameters are tuned by the
Emissions Manager
Minimum Price Protection
The auction maintains a minimum conversion price floor - meaning there's a maximum amount of OHM users can get per deposit token. This protects the protocol from selling OHM too cheaply during periods of very low demand.
Making a Deposit
When users are ready to make a convertible deposit, here's the step-by-step process:
1. Choose Parameters
Deposit Amount
The quantity of stablecoins to deposit
Deposit Period
Select from the deposit periods currently enabled by governance.
Minimum OHM Out
Set a minimum amount of convertible OHM willing to accept (slippage protection)
Position Options
Choose whether to wrap the position as an ERC721 NFT
Choose whether to wrap receipt tokens as ERC20 tokens
2. Preview Your Bid
Before committing, users can preview their bid to see:
The conversion price they'll receive
The amount of OHM they'll be able to convert to
How the bid will affect current tick prices
Which ticks the bid will consume
This preview function helps users understand the impact of their bid size on pricing.
3. Submit Your Bid
After submitting a bid:
The user's stablecoins are transferred to the DepositManager
The user receives receipt tokens (e.g., cdfUSDS-3m)
The user's position is created with locked-in conversion terms
The auction state updates with the bid
4. Receive Assets
After a successful bid, users receive:
Receipt Tokens
: ERC6909 tokens representing the deposit that will be displayed in the Olympus frontend. These can optionally be wrapped to ERC20 for composability with other protocols
Position Record
: Contains the specific conversion price and terms
Optionally
: ERC721 NFT if they chose to wrap their position
Understanding the Conversion Price
The conversion price represents the weighted average of all ticks the bid consumed. This price is locked in for the entire deposit period, regardless of how the auction price moves afterward. The size of the bid relative to available tick capacity affects the average conversion price, as larger bids may consume higher-priced ticks.
4. Managing Your Position
Once users have a convertible deposit, they have several options for managing and exiting their position. Each option serves different strategic purposes and timing considerations.
Converting to OHM
Converting to OHM is the primary way to profit from a convertible deposit when OHM's market price exceeds the conversion price.
When to Convert
Any Time Before Expiry
: Users can convert at any point before their position's expiry date
Profitable Scenarios
: Convert when OHM's market price is higher than the locked-in conversion price
Partial Conversions
: Users can convert portions of their position, not necessarily the entire amount
Conversion Process
Check Profitability
: Compare current OHM market price to the conversion price
Specify Amount
: Choose how much of the position to convert (partial conversions allowed)
Execute Conversion
: Receipt tokens are burned, deposit tokens are sent to the protocol treasury, and the user receives newly minted OHM
Position Update
: The position record is updated to reflect the remaining unconverted amount
What Users Need
Their Position
: Users need their position record (the conversion price and terms)
Receipt Tokens
: Required for conversion - these will be burned
Before Expiry
: Must convert before the position expiry date
Early Reclaim
Early reclaim allows users to exit their position immediately but with a discount applied to their original deposit. The reclaim rate, which determines the discount, is configured by governance on a per-asset basis.
When to Use Early Reclaim
Need Liquidity
: Users need access to their funds immediately
Market Conditions
: Users believe OHM won't reach profitable conversion levels
Risk Management
: Users want to exit early to avoid potential losses
Reclaim Process
Choose Amount
: Specify how many receipt tokens to reclaim
Accept Discount
: Acknowledge that a discount will be applied
Execute Reclaim
: Receipt tokens are burned and the user receives discounted deposit tokens
Protocol Fee
: The discount amount goes to the protocol treasury
Important Notes
Receipt Tokens Required
: Users need receipt tokens for reclaim - they will be burned
Reclaim Rate
: The percentage of the deposit received when reclaiming early
Reclaim Discount
: The reclaim discount is 100% minus the reclaim rate
Governance Configured
: Reclaim rates are set by governance for each supported asset
Immediate Access
: Users get their funds immediately, no waiting period
Full Redemption
Full redemption allows users to get back their complete original deposit after waiting for the appropriate period.
Standard Redemption Process
Two Redemption Approaches
Receipt Tokens Only
: Standard redemption using just receipt tokens - users must wait for the full deposit period to pass from the current date
Receipt Tokens + CD Position
: Uses the position to align timing - users must wait for the conversion expiry to pass (even if it's in a short time, or already in the past)
Starting Redemption
Transfer Receipt Tokens
: Receipt tokens are transferred to the DepositRedemptionVault
Select Facility
: Choose which facility to use for redemption (usually the convertible deposit facility)
Commitment Period
: Tokens are locked for the appropriate waiting period based on the approach
Receive Redemption ID
: Users get a redemption ID to track their redemption
Waiting Periods
Without Position
: Wait for the full deposit period from when redemption starts (e.g., 3 months from today)
With Position
: Wait only until the conversion expiry date passes (could be immediate if already expired)
During the Wait Period
Tokens Locked
: Receipt tokens remain in the redemption vault
Full Amount Reserved
: The underlying deposit amount is committed for the redemption
Option to Cancel
: Users can cancel and get their receipt tokens back (resets the timer)
Finishing Redemption
After the appropriate period completes:
Initiate Completion
: Call the finish redemption function
Token Exchange
: Receipt tokens are burned
Receive Deposit
: Users get back their full original deposit amount
Borrowing Against Redemptions
While a redemption is in progress, users can borrow against the committed amount. Borrowing is available for authorized assets and facilities configured in the Deposit Redemption Vault. The Olympus app displays the current borrow percentage, annual interest rate, and expected loan terms before users borrow.
How Borrowing Works
Loan Amount
: Borrow up to the configured percentage of the redemption amount
Fixed Interest
: Interest is calculated from the configured annual rate and the redemption period
Collateralized
: The active redemption secures the loan through the receipt tokens held in the redemption vault
No Price-Based Liquidation
: Redemption loans are not liquidated because of OHM or receipt-token market-price changes; default is based on the loan due date and an unpaid loan balance (principal and interest)
Repayment Process
Interest First
: Repayments first cover interest, then principal
Protocol Fees
: Interest payments go to the protocol treasury
Flexible Timing
: Users can repay at any time during the loan period
Receipt Tokens Stay Locked
: Repayment reduces the loan, but receipt tokens are only returned through cancelling the redemption or consumed when finishing redemption
Loan Extensions
Monthly Extensions
: Extend the loan by one or more months
Extension Fees
: Interest is charged at the time of extension
Multiple Extensions
: Users can extend multiple times if needed
Default Scenarios
Loan Expiry
: If users don't repay or extend before expiry, the loan defaults
Third-Party Claims
: Anyone can claim against a defaulted loan for a keeper reward
Partial Recovery
: Users retain any principal that was repaid; the protocol claims the remainder
Important Borrowing Restrictions
No Redemption While Borrowing
: Users cannot complete their redemption while they have an open loan
No Cancellation While Borrowing
: Users cannot cancel their redemption while they have an unpaid loan balance (principal and interest)
Must Repay First
: Repay the outstanding principal and interest before completing or cancelling redemption
Single Loan
: For a given redemption, only one loan can be taken
Conversion Requires Cancellation
: Receipt tokens securing an active redemption cannot be converted to OHM. To convert, borrowers must repay the loan, cancel the redemption to recover the receipt tokens and position, then use the conversion flow if the position is still eligible.
Borrowing Benefits
Maintain Position
: Keep the redemption active while accessing liquidity
No Early Exit
: Avoid reclaim discounts while still getting funds
Flexible Terms
: Extend as needed based on the situation
5. Limit Orders
Overview
Limit orders provide an automated way to participate in the Convertible Deposit auction without actively monitoring prices. Users can create persistent buy orders that execute automatically when the auction price reaches their specified maximum, enabling a "set-and-forget" approach to acquiring convertible deposits.
How Limit Orders Work
Limit orders operate through a separate contract (
CDAuctioneerLimitOrders
) that interfaces with the Convertible Deposit Auctioneer. Users create orders with specific parameters, and permissionless solvers (typically MEV bots) monitor the auction and fill orders when conditions are favorable.
Limit Order Key Components
Deposit Budget
: The amount of deposit asset allocated for purchasing convertible deposits
Incentive Budget
: Additional deposit asset allocated to reward solvers for filling the order
Maximum Price
: The highest price (deposit asset per OHM) the user is willing to pay
Minimum Fill Size
: The smallest fill amount allowed per transaction (except for the final fill)
Deposit Period
: The term length for the convertible deposit position
Creating a Limit Order
When creating a limit order, users specify:
Deposit Period
: Choose from the currently enabled deposit periods
Deposit Budget
: Total deposit asset to spend on convertible deposits
Incentive Budget
: Deposit asset to pay solvers as rewards for filling the order
Maximum Price
: Highest acceptable execution price (deposit asset per OHM)
Minimum Fill Size
: Smallest acceptable fill per transaction
Order Creation Process
Approve Deposit Asset
: Users must approve the limit orders contract to spend their deposit asset
Submit Order
: Call
createOrder()
with the desired parameters
Funds Deposited
: Total funds (deposit budget + incentive budget) are deposited into the configured yield vault to generate yield while waiting
Order Active
: The order remains active until fully filled or cancelled
Yield Generation
While orders await execution, the deposited assets are held in the configured yield vault, generating yield. This yield accrues to a configurable recipient address (typically the protocol treasury) and can be swept periodically via
sweepYield()
.
Order Filling
Orders are filled by permissionless solvers (MEV bots or other automated systems) that monitor the auction and execute fills when profitable.
How Solvers Fill Orders
Monitor Orders
: Solvers monitor
getFillableOrders()
or index
OrderCreated
events
Check Fillability
: Use
canFillOrder()
to verify the order can be filled at the current price. Use
getRemaining()
to check remaining deposit and incentive budgets, and
calculateIncentive()
to determine the expected incentive amount and rate for a given fill amount
Execute Fill
: Call
fillOrder()
with the order ID and desired fill amount
Receive Incentive
: Solvers receive a proportional share of the incentive budget based on fill size
Incentive Distribution
Incentives are paid proportionally to fill size:
Filling 20% of an order pays 20% of the incentive budget
The final fill receives all remaining incentive (avoids rounding dust)
This proportional system prevents gaming by splitting fills into minimum-sized chunks
Partial Fills
Orders support partial fills, allowing multiple solvers to fill the same order incrementally:
Each fill must meet the minimum fill size (unless it's the final fill)
Fills are processed sequentially, updating the order's spent amounts
Users receive position NFTs and receipt tokens for each fill
Price Validation
The limit orders system uses
previewBid()
to check the actual execution price, including slippage across ticks. Orders only fill if the effective price is less than or equal to the user's maximum price, ensuring users never pay more than their specified limit.
Managing Limit Orders
Canceling Orders
Users can cancel their active orders at any time to reclaim remaining funds:
Call
cancelOrder()
: Provide the order ID
Receive Refund
: Remaining deposit budget and incentive budget are returned
Order Deactivated
: The order is marked inactive and cannot be filled
Important Notes:
Only the order owner can cancel their order
Fully filled orders cannot be cancelled
Cancellation works even if the contract is disabled (allows fund recovery)
Viewing Orders
Users can query their orders using:
getOrder(orderId)
: Get full details of a specific order
getOrdersForUser(user)
: Get all order IDs for a user
getRemaining(orderId)
: Check remaining deposit and incentive budgets
Benefits of Limit Orders
For Users
Passive Participation
: Set orders and let solvers execute when prices are favorable
Price Protection
: Never pay more than your specified maximum price
Yield on Idle Funds
: Deposits earn yield while awaiting execution
Flexible Sizing
: Set minimum fill sizes to control execution granularity
No Active Monitoring
: Orders execute automatically without co프로젝트로 돌아가기