
Spark PSM · Acts onchain
Deposits a Spark PSM asset into the PSM's liquidity and receives shares of the pool. The socket approves the PSM and calls deposit with the exact amount; the PSM values the asset in dollars, at par for cash and dollars or at the live savings rate for the savings token, and credits shares to the socket, returning the count minted. Reach for it to provide the liquidity the PSM swaps against, coiling the shares into a stored record of the position.
On other protocols · 5