

Acts onchain
Deposits the stablecoin into the Avantis vault, the counterparty to every trader on the exchange, and receives vault shares. The socket approves the vault and deposits the exact amount; the vault charges no deposit fee and mints shares at its current rate, returning the share count. A deposit that would carry the vault's total assets to its cap reverts. Reach for it to earn the fees and trader losses the vault collects, coiling the shares into a stored record of the position or a later withdrawal.
Plug lets you combine onchain actions like this one into a single transaction, without writing a smart contract. Use in App opens a new plug with this action already in it.
More on Avantis ยท 37





































On other protocols ยท 17