
What this does
This plug swaps 25 USDC for sUSDS through the Spark PSM at the protocol's fixed conversion rate. It asks the caller for 25 USDC to spend and a minimum sUSDS amount to accept. It fires whenever the transaction is run, converting the exact input into at least the specified output. Running it by hand or setting a stale minimum output risks receiving fewer sUSDS than the PSM's current conversion would otherwise return.
Actions · 1