Reserve Rights 백서

Reserve Rights

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 9쪽 중 7쪽

e supply more than an acceptable range over a period; a period is fixed to be an hour. The throttling mechanism works as a battery: after a large issuance/redemption, the limit recharges linearly to the defined maximum at a defined speed of recharge. Limits can be defined (for issuance and redemption) in DTF token amounts and/or as a percentage of the DTF token supply. Important: The redemption throttle must always exceed the issuance throttle. ### Issuance throttle rate (%) A fraction of the RToken supply that indicates how much net issuance to allow per hour. Can be set to 0 to solely rely on the issuance throttle amount. Default value: `1e17` = 10% per hour ### Issuance throttle amount A quantity of DTF token that serves as a lower-bound for how much net issuance to allow per hour. Defined in DTF token amounts. Must be at least 1 whole DTF token. Can be set to 0 to solely rely on the issuance throttle rate. Default value: `2e24` = 2,000,000 tokens ### Redemption throttle rate (%) A fraction of the RToken supply that indicates how much net redemption to allow per hour. Can be 0 to solely rely on the redemption throttle amount. Default value: `12.5e16` = 12.5% per hour ### Redemption throttle amount A quantity of RToken that serves as a lower-bound for how much net redemption to allow per hour. Defined in RToken amounts. Must be at least 1 whole RToken. Can be set to 0 to solely rely on the redemption throttle rate. Default value: `2.5e24` = 2,500,000 RToken ## Other parameters ### Short freeze duration (s) The number of seconds a short freeze lasts. Governance can freeze forever. Default value: `259200` = 3 days ### Long freeze duration (s) The number of seconds a long freeze lasts. Long freezes can be disabled by removing all addresses associated with the role. Default value: `604800` = 1 week ### Withdrawal leak (%) Most RSR withdrawals will not trigger a refresh of asset prices (which can determine whether collateral has defaulted), allowing for cheaper withdrawals. The tradeoff of not refreshing prices with every withdrawal is that the system runs the risk of prices becoming stale, and the system not being able to react sufficiently swiftly to market conditions. This parameter attempts to balance these tradeoffs, by setting a fraction of RSR stake that should be permitted to withdraw without a refresh of asset prices. When cumulative withdrawals (or a single large withdrawal) exceed this fraction, gas must be spent to refresh all assets. Setting this number larger allows unstakers to save more on gas at the cost of allowing more RSR to exit improperly in the event of a default. Default value (mainnet): `5e16` = 5%\ Default value (Base/Arbitrum): `1e16` = 1% ### Unstaking delay (s) The unstaking delay is the number of seconds that all RSR unstakings must be delayed in order to account for stakers trying to frontrun defaults. Whenever an RSR staker chooses to withdraw their RSR, they must submit a transaction, wait X amount of time, and then submit another transaction to complete the withdrawal. During the waiting period, their RSR continues to be subject to forfeiture in the case of a collateral token default, but stops earning its pro-rata share of the RToken’s revenue. The goal of this delay is to make it so that at any point in time, staked RSR that has not had a withdrawal transaction initiated is at least X time away from being withdrawn. Default value: `1209600` = 2 weeks ### Reward ratio (decimals) The reward ratio is the percentage of the current reward amount that should be handed out per second. It applies to both the Furnace (RToken melting) and stRSR (RSR rewards). Default value: `1146076687500` = a half-life of 7 days. Mainnet reasonable range: `1e11` to `1e14` ### Minimum trade volume ($) The minimum trade volume represents the smallest amount of value that is worth executing a trade for. * Setting this too high will result in auctions happening infrequently or the RToken taking a haircut when it cannot be sure it has enough staked RSR to succeed in rebalancing at par. * Setting this too low may result in more slippage or allow griefers to delay important auctions. The variable should be set such that donations of size minTradeVolume would be worth delaying trading auctionLength seconds. We expect auction bidders to pass through any gas fees they pay during trading to the protocol. They are under competition, so those that do not will find themselves with less capital over time relative to those that do. Warning: Every collateral in the basket should be a large enough portion of the basket that it is worth trading at the configured minTradeVolume at typical supply levels. Default value: `1e21` = $1k ### DTF max trade volume ($) This represents the maximum sized trade for any trade involving RToken, in terms of value. Note: Each collateral plugin will also have its own max trade volume defined. Any trade will be sized to be less than or equal to the minimum of both plugins' max trade volumes. Default value: `1e24` = $1m # Yield DTF deployment walkthrough The Reserve Yield Protocol allows anyone to permissionlessly create Yield DTFs backed 1:1 by collateral assets of their choosing. The options for governance design and operational parameters available to deployers are essentially limitless. This guide walks through the main steps to deploying a Yield DTF using the Reserve app: <https://app.reserve.org/deploy/yield-dtf> {% stepper %} {% step %} ### Getting started * Navigate to the Yield DTF deployer UI: <https://app.reserve.org/deploy/yield-dtf> * Connect your wallet using the Connect button in the top right. ![](https://753544653-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEFwcfC1MMOt9iISSOBwK%2Fuploads%2Fgit-blob-531bd7934b50ca8172f0ca2b473b045ff5af0bb0%2F01_wallet_connect.png?alt=media) {% endstep %} {% step %} ### Define your DTF A DTF's name, ticker, and mandate are important as unique identifiers which serve to convey its core purpose and set it apart from other products in the marketplace. ![](https://753544653-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEFwcfC1MMOt9iISSOBwK%2Fuploads%2Fgit-blob-06ceff516405b1851d3083c87edc0388aabf2b70%2F03_basics.png?alt=media) * Network — The DTF's native blockchain * Token Name — The DTF's full name * Ticker — The DTF's abbreviated symbol (Staking token names and tickers are auto-generated) * Mandate — Description of the goals the DTF's governors should try to achieve. By briefly explaining the DTF’s purpose and what the RToken is intended to do, it provides common ground for the governors to decide upon priorities and how to weigh tradeoffs. {% endstep %} {% step %} ### Configure basket Now it’s time to define what collateral assets back your DTF, and in what proportions. Emergency collateral can also be defined as fallbacks in the event any primary collateral defaults. A number of collateral plugins can be employed “out-of-the-box.” If a desired collateral plugin doesn’t already exist, developers may create and deploy custom plugins — see the [appendix](#appendix) below. * Under “Primary Basket,” click the “Add to basket” button * Select your desired collateral assets. In this example, a number of yield bearing stablecoin positions will be used. ![](https://753544653-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEFwcfC1MMOt9iISSOBwK%2Fuploads%2Fgit-blob-060d1076408893be2711d49f5158fa5c8b2f1169%2F04_collateral_plugins.png?alt=media) Note: In order to mint the DTF after it’s created, deployers must either have the selected collateral assets in their wallet, or use the “Zap Minting” utility, which enables minting using just 1 asset (e.g., mint eUSD using just USDC). * Once satisfied with the selected assets, click “Add to basket”. * Select your asset distributions, as well as the number of target units (e.g. USD, BTC, ETH) your “Target Basket” comprises. ![](https://753544653-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEFwcfC1MMOt9iISSOBwK%2Fuploads%2Fgit-blob-a7462820565804cb9742cdcc344b0b2d9daf4958%2F06_primary_basket.png?alt=media) {% endstep %} {% step %} ### Configure backup basket It’s generally recommended to configure Emergency Collateral in a backup basket. These are defined separately for each target unit. * The ‘Diversity factor’ of your backups dictates the number of backup assets the DTF will scale into when exiting defaulted collateral (split evenly if there are multiple backups). ![](https://753544653-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEFwcfC1MMOt9iISSOBwK%2Fuploads%2Fgit-blob-7562d62d9a1cf11986b54a68212e9ecc5326c2b6%2F07_emergency_collateral.png?alt=media) {% endstep %} {% step %} ### Configure parameters This section discusses what each configuration parameter does, and why it’s important. For more information on each parameter, see [Advanced parameters](/core-components/yield-dtfs/deployment-guide/advanced-parameters). Note that the Reserve app provides sensible defaults and unless you’re an advanced user, you can deploy your RToken using the defaults and skip this section. #### Backing Manager parameters | Parameter | Default | Purpose | Common adjustments | | -------------------------- | ------------------------------: | ---------------------------------------------------------------------- | -------------------------------------- | | Trading delay | 0 s | Delay before trading after basket change; avoids thin‑liquidity losses | Longer for illiquid tokens | | Warm‑up period | 15 min | Delay after SOUND status before mint/trade opens | Rarely changed | | Batch‑auction length | 15 min | Duration of Gnosis EasyAuction batch auctions | Extend in low‑volume markets | | Dutch‑auction length | 30 min (mainnet) / 15 min (L2s) | Duration of preferred Dutch auctions | Extend in illiquid markets | | Backing buffer | 0.1% | Extra collateral held before forwarding to Revenue Trader | Increase for illiquid assets | | Max trade slippage | 0.5% | Max deviation from oracle price per trade | Increase for illiquid assets | | Issuance throttle rate | 10% per hour | Cap on new mints (% of supply) | Relax (increase) after launch | | Issuance throttle amount | 2M per hour | Absolute mint cap (larger of rate vs amount) | Adjust for TVL | | Redemption throttle rate | 12.5% per hour | Cap on redemptions (% of supply) | Relax (increase) if basket very liquid | | Redemption throttle amount | 2.5M per hour | Absolute redemption cap | Adjust for TVL | #### Other parameters | Parameter | Default | Purpose | | ----------------------- | --------------: | ---------------------------------------------------------------------------------------------------- | | Short‑freeze duration | 3 days | One‑shot short freeze window | | Long‑freeze duration | 1 week | Long freeze window (6 charges) | | Withdrawal leak | 5% | Max RSR that can exit stRSR before status refresh | | Unstaking delay | 2 weeks | Wait after unstake before RSR can be withdrawn | | Reward ratio | 7‑day half‑life | Exponential drip rate of accrued rewards | | Minimum trade volume | $1000 USD | Prevents micro‑auctions on dust balances during rebalancing (not during revenue processing auctions) | | RToken max trade volume | $1M USD | Upper limit for trades involving the DTF token | Additional details on trading delay(s) * The trading delay defines how many seconds should pass after the basket has been changed before a trade can be opened. * A collateral asset can instantly default if one of the invariants of the underlying DeFi protocol breaks. If that happened, and we did not apply a trading delay, the protocol would react instantly by opening an auction. This would give only auctionLength seconds for people to bid on the auction, making it very possible for the protocol to lose value due to slippage. * The trading delay parameter may only be needed in the early days — once a robust market of MEV searchers is established this can likely be set to zero. {% endstep %} {% step %} ### Deploy Once you’re satisfied with your DTF’s name, basket composition, and other parameters, click the “Deploy” button which will prompt you to sign a transaction (“Tx1”). ![](https://753544653-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEFwcfC1MMOt9iISSOBwK%2Fuploads%2Fgit-blob-edda5d40dffd8bba8a56c2974dac3eb7c135098d%2F08_deploy.png?alt=media) Congratulations — you have successfully deployed your Yield DTF. However, no governance system has yet been configured. Continue reading to learn how to set up decentralized governance on your DTF using [Governor Anastasius](/core-components/rsr-reserve-rights#governor-anastasius). Note that if you aren’t yet ready to set up governance, you can leave your RToken paused and return later to finish. {% endstep %} {% step %} ### Set up governance * If you wish to use Governor Anastasius (default; recommended by Reserve), ensure the corresponding toggle is active. ![](https://753544653-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEFwcfC1MMOt9iISSOBwK%2Fuploads%2Fgit-blob-2fdfe4c70f34d655a5a764bf0f7a2c6dd613b8e9%2F09_alexios.png?alt=media) * Carefully select addresses for Guardian, Pauser, and Freezer roles. See the [roles documentation](https://github.com/reserve-protocol/protocol/blob/master/docs/system-design.md). Addresses for each role are separate from each other and from the Guardian. However, often the Guardian address is also included in the other three roles. Next, configure the ‘Governance parameters’. Note that the Reserve app provides sensible defaults and unless you’re an advanced user, you can deploy Governance using the defaults and skip this section. #### Governance parameters | Parameter | Default | Purpose | | ------------------------ | -------------: | --------------------------------------------------------------- | | Snapshot delay | 2 days | Time between proposal submission and vote‑power snapshot/voting | | Voting period | 3 days | Time from vote start to vote end | | Proposal execution delay | 3 days | Time between vote success and execution | | Proposal threshold | 0.01% of stRSR | Minimum stake needed to submit a proposal | | Quorum | 10% of stRSR | Minimum “for + abstain” participation to pass | Select whether your DTF will be left in a paused state or functional after configuring governance (i.e., whether the DTF should be active immediately post-deployment, or whether governors should decide to start in a paused state). ![](https://753544653-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEFwcfC1MMOt9iISSOBwK%2Fuploads%2Fgit-blob-40a5479eb673b3df7fe3cde2041975c7ec0437bb%2F11_RToken_state.png?alt=media) Once you’ve made a selection, click “Deploy Governance”. Once that transaction confirms, the DTF is live onchain with the live state parameters you chose above. ![](https://753544653-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEFwcfC1MMOt9iISSOBwK%2Fuploads%2Fgit-blob-08d8d9370db0c8a69392db2bd8ba0bae00d0bb1f%2F12_deploy_governance.png?alt=media) {% endstep %} {% endstepper %} ## Closing ![](https://753544653-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEFwcfC1MMOt9iISSOBwK%2Fuploads%2Fgit-blob-20d72249bf903673eea567c90da40834732f0bc1%2F13_contracts.png?alt=media) All of the DTF’s relevant contracts can be viewed under the “Related Contracts” section of the UI. The DTF is now ready to accept collateral assets and be used throughout the ecosystem. The deployment process is complete. Ongoing attention and marketing are required for DTFs to distinguish themselves in a crowded marketplace and truly flourish. Check out the [post‑launch playbook](/core-components/yield-dtfs/deployment-guide/post-launch-playbook). Join the [Reserve Telegram channel](https://t.me/reservecurrency) to share knowledge with and learn from other DTF deployers. *** ## Appendix ### How to create custom RToken collateral plugins Deployers have the option to create and use custom collateral plugins for an RToken by adding a custom plugin contract address in the Primary Basket or Emergency Collateral during the deployment process. ![](https://753544653-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEFwcfC1MMOt9iISSOBwK%2Fuploads%2Fgit-blob-94d51cef33c9375b70c57d10e87d5bb662824edf%2F05_custom_plugin.png?alt=media) Helpful resources: * Collateral Plugin Overview: <https://github.com/reserve-protocol/protocol/blob/master/docs/collateral.md> * Writing Collateral Plugins: <https://github.com/reserve-protocol/protocol/blob/master/docs/writing-collateral-plugins.md> * Reserve’s Solidity Style: <https://github.com/reserve-protocol/protocol/blob/master/docs/solidity-style.md> Troubleshooting questions and feedback are always welcome in the [Reserve Telegram channel](https://t.me/reservecurrency). ### Non-compatible ERC-20 assets The following types of ERC-20 tokens are not supported to be used directly in a Yield DTF system. These tokens should be wrapped into a compatible ERC-20 token to be used within the protocol. * Rebasing tokens that return yields by increasing the balances of users * Tokens that take a "fee" on transfer * Tokens that do not expose the `decimals()` function in their interface (decimals should be between 1 and 18) * ERC777 tokens which could allow reentrancy attacks * Tokens with multiple entry points (multiple addresses) * Tokens that do not adhere to the ERC-20 standard in general A concrete example: Static ATokens for Aave V2 — see: <https://etherscan.io/address/0x21fe646D1Ed0733336F2D4d9b2FE67790a6099D9#code> ### Yield DTF deployer video tutorial (expandable) <details> <summary>How to deploy in about 5 minutes — video tutorial</summary> This video demonstrates how to deploy a Yield DTF on the Reserve Protocol using app.reserve.org. The process involves defining the DTF name, ticker, primary and emergency collateral baskets, revenue distribution, and governance parameters, followed by deploying the RToken and governance smart contracts. Watch tutorial ![](https://753544653-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEFwcfC1MMOt9iISSOBwK%2Fuploads%2Fgit-blob-f81351b01312979b776a8ffb45dff5e0bfcbd5bf%2Fplay_vid_mini.svg?alt=media) ![](https://753544653-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEFwcfC1MMOt9iISSOBwK%2Fuploads%2Fgit-blob-54b691b16186da1bfce3141e173d4735fff4fbb1%2Fclock.svg?alt=media) Duration: 06:46 </details> *** ## Additional notes * Anyone can create an RToken by interacting directly with Reserve Protocol’s smart contracts or via user interfaces built on top of them. The primary UI is provided by ABC Labs: <https://www.abclabs.co/> * For detailed protocol operations, governance, contracts, and further documentation, consult the Yield DTFs documentation on reserve.org. # Post-launch playbook Once a new DTF is live, several key actions can help to encourage adoption. This guide outlines some suggested activities to maximize visibility, utility, and transparency after launch. ## Marketing & awareness Ensure the wider community hears about the new Yield DTF and understands its value proposition. * Publish a launch thread on popular social media channels (e.g., X/Twitter, Discord, and Telegram) * Create a simple explainer graphic (e.g., basket composition & headline yield) for social sharing * Reach out to newsletters or podcasts for a “new-product” segment or guest appearance * Announce any liquidity-mining, minting rewards, or other incentives with clear timelines ## Onchain integrations Listing the DTF where users already trade and borrow maximizes utility and stickiness. * Seed a primary liquidity pool on a leading AMM (e.g., Curve, Uniswap, Aerodrome) * Submit listing proposals to at least one onchain money market (e.g., Morpho,
프로젝트로 돌아가기