LogoLogo
  • Removing USDV From Circulation
    • Announcement
  • What is USDV?
    • USDV Overview
    • How Coloring Works
    • Yield & Peg Management
    • Security
    • FAQ
  • Verified Minters
    • Integrating USDV
    • Initial KYC
    • Minting USDV
    • Monitoring & Reminting
    • Moving USDV Crosschain
    • Claiming Rewards
    • Redeeming STBT
    • Account Settings
    • Setting Default Color
    • Delegating Viewers
  • APP INTEGRATIONS
    • Minter Widget
    • On Ethereum
    • On Sidechain
      • Recolor Helper
  • Concepts
    • USDV Architecture
    • Mint
    • ColorTrace Algorithm
    • ColorTrace Safety
    • Delta
    • Remint
    • Redemption
    • Fees
  • Technical Reference
    • Contract Addresses
    • Contract Governance
    • Contract ABI
    • Liquidity Provision
    • Rate Limiter
    • Gas Profile
  • Legal
    • Terms and Conditions
    • Privacy Policy
Powered by GitBook
LogoLogo

Copyright by Verified USD Foundation

On this page
  • Mint/Redeem Rate Limiter
  • Cross-chain Rate Limiter
  1. Technical Reference

Rate Limiter

Last updated 1 year ago

Mint/Redeem Rate Limiter

To limit the worst case exposure of USDV to the technical issues of underlying assets, we install a rate limiter to both the minting and redemption process of assets. The Rate Limiter is designed as a token bucket with a capacity and per second refill rate.

limiter_budget = min(capacity, remaining + refill_rate * time_lapsed)

Rate limiter parameters can be found .

For example, if the underlying asset (e.g. X token) contract has a bug that create Y quantity of tokens, and the minting rate limiter's capacity is Z, then its maximum impact to USDV is limited to Z plus the time-based refilling before we noticed the problem and pause the asset.

Cross-chain Rate Limiter

To limit the exposure USDV has on any single chain, especially relatively new chains, we install a rate limiter to limit their Net Outbound. The rate limiter works the same as .

Rate limiter overview:

  • Outbound token transfers from a chain consume part of that chain's rate limit.

  • Inbound token transfers to a chain refill part of that chain's rate limit.

Rate limiter parameters can be found .

here
here
Mint/Redeem Rate Limiter