Get cooldown duration

Get cooldown duration on Venice

Base
Base

Reads onchain state

Reads how long a Venice unstake cools down, in seconds. The staking contract's cooldownDuration is the wait between initiating an unstake and finalizing it, seven days at launch; Venice can change it, and an unstake keeps the end it was given when it began. Reach for it to compute when an unstake started now can be finalized, storing the timestamp for a later run.

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

On other protocols · 2