Get locked stake

Get locked stake on Venice

Base
Base

Reads onchain state

Reads the staked VVV an account locked to mint DIEM and the DIEM it owes against it. The staking contract's lockedStakes returns the locked sVVV and the outstanding DIEM, both at 18 decimals; burning DIEM unlocks sVVV at their ratio. Reach for it to size a DIEM burn that frees the whole stake before an unstake, or to read the rate the account minted at.

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 Venice · 12