SIP-38: Charge Fees During Purge
Ensure that synth holders get charged an exchange fee when being purged back into sUSD.
When purging synths - either frozen inverses or low utilized synths being deprecated - ensure that the holders when being purged back to sUSD still have to pay the exchange fee.
Synths that are frozen or deprecated are purged from time to time. The current system does not charge exchange fees in the case of purging from any synth to sUSD, due to a design decision at the time regarding the ease of implementation within the system. This should be updated to charge fees, preventing users from camping out in these synths without paying the fair share of exchange fees.
This change would do away with the
synthInitiatedExchange() function in
Sythetix, and invoke
By removing excess code in
Synthetix, we reduce the contract size for deployment and slightly improve the gas used during exchanges.
Copyright and related rights waived via CC0.