LogoLogo
  • Ethena Overview
  • How USDe Works
  • Genesis Story
  • Alternatives: Existing Stablecoins
  • Size of the Opportunity
  • USDtb
  • Ethena Network
  • ENA
    • Tokenomics
  • Video Guides
    • How to Buy USDe
    • How to Stake USDe
    • How to Stake ENA
    • How to [Un]lock positions
  • Solution Overview
    • USDe Overview
      • Delta-Neutral Stability
      • Delta-Neutral Examples
      • Scalability
      • Censorship Resistance
      • Regulatory Compliance
    • Protocol Revenue Explanation
      • Historical Examples
      • Rewards Mechanism Explanation
      • sUSDe Rewards Mechanism
    • Underlying Derivatives
      • Futures vs Perpetuals
      • Inverse vs Linear Contracts
      • Basis Spread
    • Peg Arbitrage Mechanism
    • Liquid Stables: Dynamic Allocation
      • Current Allocation Approach
    • Scenario Analysis
    • Risks
      • Funding Risk
      • Liquidation Risk
      • Custodial Risk
      • Exchange Failure Risk
      • Backing Assets Risk
      • Stablecoin-Related Risks
      • Margin Collateral Risks
    • Governance
      • Risk Committee
  • Backing Custody & Security
    • Overview
      • Off-Exchange Settlement in detail
      • Copper Clearloop Case Study
    • Real-Time Dashboards
  • Solution Design
    • Overview
      • Github Overview
    • Key Trust Assumptions
      • Matrix of Multisig and Timelocks
    • Minting USDe
      • Order Validity Checks
      • User Security Measures
      • Mint & Redeem Key Functions
      • Mint and Redeem Contract V2
    • Staking USDe
      • Staking Key Functions
      • User Security Measures
    • Use of Oracles
    • Hedging System
      • Internal Services
      • Managing Risk from dependencies
    • Reserve Fund
    • Key Addresses
    • Backing Asset Custody
  • API Documentation
    • Overview
  • Resources
    • Custodian Attestations
    • FAQ
    • Data Repository
    • USDe + sUSDe Custodian Availability
    • Audits
    • Media Assets
    • General Risk Disclosures
    • Privacy Policy
    • Terms of Service
    • USDe Terms and Conditions - EEA
    • USDe Terms and Conditions - Non EEA
    • USDe Mint User Agreement - Non EEA
    • Testnet
Powered by GitBook
On this page
  • Roles in EthenaMinting contract
  • Overview
  • Roles in the Ethena Minting contract

Was this helpful?

Export as PDF
  1. Solution Design
  2. Minting USDe

Mint & Redeem Key Functions

Important functions of the mint and redeem smart contract

Roles in EthenaMinting contract

Overview

The Ethena minting contract has been designed to offer a safe and secure platform for the creation of USDe. Its atomic operations ensure that tasks are either fully completed or reverted, leaving no room for partial executions. Its immutable nature guarantees that its critical rules and operations cannot be easily altered, ensuring consistency and trust in the process. It has these key pieces of functionality:

  1. Minting: Minters can mint USDe by providing assets and receiving USDe tokens in return. The backing assets are transferred to "Off-Exchange Settlement" providers based on a predefined route. The minting process is subject to a maximum limit set by the contract.

  2. Redemption: Redeemers can redeem their USDe by providing them as input and receiving the underlying assets back USDe in return. The redeemed USDe tokens are burned from the user's balance. The redemption process is subject to a maximum limit set by the contract.

  3. Signature Verification: The contract cryptographically verifies the signature provided by the user to ensure the authenticity of the minting or redemption order.

  4. Supported Assets: The contract maintains a strict list of supported assets that can be used as backing assets for minting and redemption.

  5. Custodian Addresses: The contract maintains a strict list of custodian addresses to which backing assets can be transferred during the minting process.

  6. Max Mint/Redeem Per Block: The contract sets a maximum limit for the number of USDe tokens that can be minted or redeemed per block.

Roles in smart contracts are what control lower level operations and function calls. It's a security feature, like AWS IAM, that allows the authors of smart contracts, and the users using them once deployed to the blockchain, to be certain of how they can operate.

Despite being named the "Ethena Minting contract", it is responsible for both the minting & redeeming functionality of USDe.

Roles in the Ethena Minting contract

There are five roles in the Ethena Minting contract. You can view the deployed Ethena Minting contract on the Ethereum blockchain here.

Role
Type
Controller
Role Count
Functions / Notes

ADMIN

Multi-Sig

Ethena Labs

1

  • Transfer Ownership

  • Add/remove supported collateral asset

  • Add/remove custodian addresses

  • Grant/revoke Minter, Redeemer, Gatekeeper roles

  • Set max/mint mint/redeem per block

  • Reenable mint/redeem

GATEKEEPER

EOA

Shared between

  • Ethena Labs

  • External Security Firms

3+ internal 3+ external

  • Disable mint/redeem

    • Disables when they execute at incorrect prices on chain

    • Limits damage on mint/redeem roles compromise

MINTER

EOA

Ethena Labs

20

  • Mint

  • Transfer to approved "Off-Exchange Settlement" providers

REDEEMER

EOA

Ethena Labs

20

  • Redeem

Last updated 1 year ago

Was this helpful?