Swap Limit (PSM Limit)
Last updated
Last updated
In PSM, the amount of stablecoins that can be exchanged(swapped) with WCD is limited per stablecoin — also known as Swap Limit. A user wanting to pay WEMIX$ and receive WCD may do so within the Swap Limit of WEMIX$, and vise versa. Swap Limit constantly changes based on supply and demand.
Each collateral type has Swap Limit, PSM Mint Amount, Temporary Mint Limit and Maximum Mint Limit
Term | Definition |
---|---|
‘PSM Mint’ refers to amount of WCD minted through PSM. PSM Mint is different from WCD minted through CDP Contract in that PMS Mint does not accrue Stability Fee.
‘Deposit Amount’ refers to amount of collateral deposited in PSM contract for each stablecoin. Currently three types of stablecoin (WEMIX$) are supported.
‘Temporary Mint Limit’ refers to the maximum amount of WCD that can be minted via PSM for each stablecoin. It is updated every 10 minutes based on set logic (more in 'Update Logic' below).
‘Maximum Mint Limit’ is Swap Limit (PSM Limit) set by Kurrency Team. ‘Temporary Mint Limit’ is updated based on set logic but cannot exceed Maximum Mint Limit
PSM Limits | |
---|---|
‘Swap Limit (PSM Limit)’ is the maximum amount that can be exchanged from one token to another in PSM. Since ‘Swap Limit’ fluctuates depending on ‘Temporary Mint Limit” and “Deposit Amount’ for each stablecoin, total of 6 Swap Limits exist within PSM.
The temporary mint limit for each collateral is determined by comparing the sum of the PSM WCD mint for each collateral to the sum of the temporary mint limit.
Temporary Mint Limit for each collateral is determined by comparing the sum of PSM Mint to the sum of Temporary Mint Limit of each collateral. For example, if the sum of PSM Mint exceeds 90% of Temporary Mint Limit, Temporary Mint Limit is increased by 1% of WCD minted through CDP Contract. Such design is to prevent WCD peg from becoming overly dependent on PSM — same as the reason for implementing PSM Fee.
Update Logic | Temporary Mint Limit | Update |
---|---|---|
Swap Limit (PSM Limit)
Maximum amount that can be exchanged from one token to another.
Fluctuates based on Temporary Mint Limit, Deposit Amount and PSM Mint Amount.
PSM Mint (Amount)
Amount of WCD minted through PSM.
Deposit Amount
Amount of collateral deposited in PSM contract for each stablecoin. Always equal to PSM Mint Amount.
Temporary Mint Limit
Maximum amount of WCD that can be minted via PSM for each stablecoin. Updated every 10 minutes.
Maximum Mint Limit
Maximum possible limit for Temporary Mint Limit. Therefore, Temporary Mint Limit fluctuates only within Maximum Mint Limit.
WEMIX$ to WCD
[WEMIX$ Temporary Mint Limit] - [WEMIX$ Deposit Amount] or 0 (if [Deposit Amount] > [Temporary Mint Limit])
WCD to WEMIX$
[WEMIX$ Deposit Amount] - 50% of [WEMIX$ Temporary Mint Limit]
or
0 (if 50% of [Temporary Mint Limit] > [Deposit Amount])
(Total sum of PSM mint for each collateral)
>(Total sum of Temporary Mint Limit for each collateral) x 90%
Increase
1% of WCD minted through CDP contract
(Total sum of PSM mint for each collateral) < (Total sum of Temporary Mint Limit for each collateral) x 60%
Decrease
1% of WCD minted through CDP contract