Docs / Union staking

Union staking & Action Credits

Stake AZL to mine Action Credits and earn the configured protocol reward share. The Union dashboard reads the v2 vault state and exposes live activation.

Action Credits

One whole Action Credit automatically replaces one eligible access fee in the v2 task flow. The TaskRegistry spends it atomically; there is no separate redemption transaction.

  • Rate: one credit per 30 days per 100,000,000 AZL staked.
  • Lifetime issuance cap: 600,000 credits. The dashboard labels creditsOf as projected because it includes unsettled accrual.
  • Banked unused credits remain spendable after unstaking and after the cap closes.
  • Credits never replace the $25 USD-target entry deposit or the $8 USD-target live-task reserve.
  • Exit compensation and protocol-share charges are not credit-eligible.

Stake, exit, and recover

Approve AZL to UnionStakingVault, then call stake(amount). The vault rejects fee-on-transfer AZL so principal accounting remains exact. unstake(amount) queues the principal without discarding banked credits or already accrued rewards; call claimUnstake(recipient) to withdraw it. The dashboard defaults the recipient to your connected wallet.

Protocol reward routing

V2 TreasuryRouter routes eligible AZL revenue: 40% to staking rewards, 40% to the burn recipient, and 20% to protocol reserve. Reward duration is deployment-configured; rewards accrue by stake-time rather than a fixed APY.

Pre-launch and activation

Before stakingActive is enabled, stake() and reward notifications reject, no credits accrue, and normal access-fee fallback applies. Activation is owner-controlled; check the live value before presenting staking as active.

The technical source of truth is UnionStakingVaultV2.sol.