Set delegate

Set delegate on Avantis

Base
Base

Acts onchain

Lets another address trade the Plug account's Avantis book until a timestamp. The Trading router's setDelegate records the delegate for the sender. Until the expiry the delegate can place, update, close and cancel the sender's orders and trades through the router's delegatedAction, each acting as the sender, so collateral is pulled from and proceeds paid to the sender; it can move nothing else of the sender's. A later setDelegate for the same delegate replaces the expiry. Reach for it to manage the Plug account's trades from the wallet, or from any key trusted to trade them, alongside the programs that run on the Plug account.

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