Smart contracts

flow.lease is fully powered by on-chain smart contracts deployed on Waves blockchain, written in Ride language.

Core contract functionality:

  • Deposits & withdrawals

    • WAVES deposits → mint fWAVES

    • fWAVES burns → release WAVES + rewards

  • Leasing logic

    • Periodic leasing rebalancing after each voting cycle

    • Fully automatic validator leasing assignment

  • Voting system

    • Lock FLOW tokens → cast validator votes

    • Voting weight depends on the locked amount and duration

  • Validator management

    • Register a validator by staking the required amount of FLOW

    • Unregister the validator when no longer receiving leasing

  • Emergency voting

    • fWAVES holders can initiate emergency votes to slash and ban validators

    • Slashing burns the validator’s FLOW collateral

  • Admin controls (multisig protected)

    • Fee collector address updates

    • Stop contract operations

    • Admin key rotation

Contract immutability:

  • All critical business logic is immutable after deployment.

  • Admin controls are limited to operational settings, not protocol rules.

Trust model:

  • No external backend required.

  • All state transitions and balances are fully auditable on-chain.


Contract addresses

Component
Address
Note

Main Smart Contract

3PGvpzycVa92wkj6V3GuaFUUyXqZVFuEKhc

flow.lease core contract

fWAVES Token

BsezJ1v8SJB3XD2W21pdy5V6kR94WyazH1YqNDEj9Chj

Liquid staking token

FLOW Token

6fxXzh3ppKV7fHQYZeX7Z9iquVRVRTQHhQxbHXPirAuJ

Governance token

Fee Collector

3P7n8S91E1XbehfqxCZ77D56U3dXtGfRrUt

Admin fee recipient

Last updated