Boost Harvester (technical)
What the harvester does
┌────────────────────────────────────────────────────────────────────────┐
│ XDC sources (treasury / NAV) │
│ │
│ feed(amount) ────────► forwards native XDC directly to notifyBoost │
│ │
│ harvest(sharesToRedeem) ──► redeemWithQueue on psXDC v3 vault ──► │
│ …queued or instant XDC payout… │
│ forwardPending() picks up the XDC and pushes notifyBoost │
└────────────────────────────────────────────────────────────────────────┘
│
▼
XdcNftStakingVault.notifyBoost(amount) payable
- converts XDC → psXDC v3 shares via depositNative
- bumps rewardPerWeightStored += sharesMinted * 1e18 / totalWeight
- reverts if totalWeight == 0Two funding paths
Path
Function
When to use it
How the boost reaches NFT holders
Why an external harvester
Roles & safety
Role
Holder
Why
What integrators can read
Pause behaviour
Last updated