

Reads onchain state
Reads the longest term a veVIRTUAL lock takes, in weeks. The veVIRTUAL contract's maxWeeks bounds every stake and extend, is the term a renewing lock holds, and is the term a lock's VIRTUAL is weighed against; Virtuals can change it. Reach for it to stake or extend to the full term without naming a number.
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.
Takes nothing — it reads the caller's own position.
More on Virtuals · 11