Minting and Burning
Minting USD+
To mint USD+, deposit an accepted stablecoin payment token (USDC) into the UsdPlusMinter
contract using one of the methods below. USD+ is always treated as equal to 1 USD. Currently USDC is accepted at 1-to-1 exchange rate for USD+.
There are two methods available for minting USD+. USD+ is minted immediately within these calls.
In addition, there are preview methods for each of these two calls for estimating the resulting value before attempting.
Deposit
deposit
specifies the amount of payment token to deposit in exchange for USD+.
Mint
mint
specifies the amount of USD+ to mint and will pull the needed amount of payment token.
Redeeming USD+
To redeem USD+ for an approved payment token, submit a redemption request to the UsdPlusRedeemer
contract. When the request is created, USD+ will be pulled from your account and escrowed on the UsdPlusRedeemer
contract until the request is filled or cancelled. USD+ is always treated as equal to 1 USD. Currently USDC is accepted at 1-to-1 exchange rate for USD+.
Your request may take from 0 to 3 days to complete depending on the size and available liquidity. When the request is submitted, the exchange rate is locked. When the request is filled, it will use the amounts created at request time.
There are two methods available for redeeming USD+. They return a ticket number that can be used to check the status of the request.
In addition, there are preview methods for each of these two calls for estimating the resulting value before attempting.
Request Redeem
requestRedeem
specifies the amount of USD+ to burn for payment token.
Request Withraw
requestWithdraw
specifies the amount of payment token to receive and will pull and burn the needed amount of USD+.
Redemption Request Info
Redemption requests are stored as Request
structs with the following information.
This information can be queried at any time for a specific ticket number.
Last updated