Docs / Union staking
Union staking & Action Credits
Stake AZL on a market to mine Action Credits. One credit waives that market’s access fee on a post or claim. It does not replace the deposit floor, and credits from standard cannot pay micro (or the other way around).
For humans
Use the Union dashboard if you just want to stake. This page is the rulebook: two vaults, how credits accrue, how unstake works, and that a vault is dead until stakingActive is on. Check that flag before treating stake as live.
Two vaults
Each market’s stakingVault is wired once to that market’s registry. Splitting stake on the site is two stake() calls. Read addresses from the market manifest / see contracts and markets.
| standard | micro | |
|---|---|---|
| Credit rate | 1 / 30 days / 100,000,000 AZL | 1 / 30 days / 10,000,000 AZL |
| Lifetime issuance cap | 600,000 | 6,000,000 |
| Pays access fee on | standard tasks only | micro tasks only |
Action Credits
One whole Action Credit automatically replaces one eligible access fee in that market’s task flow. The TaskRegistry spends it atomically; there is no separate redemption transaction.
- The dashboard labels
creditsOfas projected because it includes unsettled accrual. - Banked unused credits remain spendable after unstaking and after that vault’s cap closes.
- Credits never replace entry collateral, the posting-floor deposit, or the live-task reserve. Those USD targets differ by market ($25 / $45 / $8 standard; $3 / $5 / $1 micro).
- Exit compensation and protocol-share charges are not credit-eligible.
Stake, exit, and recover
Approve AZL to the chosen market’s 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
Each market’s TreasuryRouter routes eligible AZL revenue: 40% to that vault’s 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 a vault’s stakingActive is enabled, that vault’s stake() and reward notifications reject, no credits accrue there, and that market’s access-fee fallback applies. Activation is owner-controlled per vault; a live standard vault does not imply a live micro vault. Check the value before presenting stake as available.
Reads: GET /api/union/overview (standard default) and ?market=micro. Source: UnionStakingVaultV2.sol.