Uruk Docs
Partners

Earnings and claims

How partner fee splits work and how to claim.

Earnings and claims

Flow

User swap (partner_id > 0)
  → LiquidityPool takes protocol fee cut
  → EarningsDistributor.receive_revenue(..., partner_id)
  → Partner share escrowed to PartnerRegistry + pending_revenue++
  → Partner claims via claim_revenue(owner)

Untagged swaps (partner_id = 0) skip the partner cut. Uruk keeps the full protocol fee.

Claim

  • Dashboard: Claim earnings on /partners
  • SDK: uruk.claimRevenue(ownerAddress)
  • Contract: PartnerRegistry.claim_revenue

Only the registered owner wallet can claim.

On this page