

Reads onchain state
Reads when a veVIRTUAL lock matures. The veVIRTUAL contract's getMaturity answers the unix second an expiring lock's term ends, from which it can be withdrawn; for a renewing lock it answers the maximum term from this block, a maturity that moves with every block until renewal is switched off. It reverts when the account holds no lock with the id. Reach for it to gate a withdraw behind the maturity with a predicate against the current timestamp.
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 Virtuals · 11