Skip to content

feat: milestone escrow, revenue attribution, payout scheduler, and tax rules - #1594

Merged
github-actions[bot] merged 1 commit into
Smartdevs17:mainfrom
auraroom:implement-features
Nov 23, 2026
Merged

github-actions[bot] merged 1 commit into
Smartdevs17:mainfrom
auraroom:implement-features

Conversation

@auraroom

Copy link
Copy Markdown
Contributor

What

Implemented four core payment platform features: milestone-based escrow with on-chain attestation proofs, revenue attribution engine, bulk payout scheduler with approval gates, and jurisdictional tax-rule engine.

Issues Resolved

Closes #1342
Closes #1338
Closes #1336
Closes #1334

Changes

#1342 - Build milestone escrow unlock with on-chain attestation proofs

Created contracts/src/milestone_escrow.rs with milestone struct, status tracking, and attestation verification. Milestones require on-chain attestation proofs before funds unlock. Integrated with main contract via create_milestone, submit_milestone_attestation, unlock_milestone, and get_milestone entry points.

#1338 - Build revenue attribution engine across campaigns and agent partners

Created backend/src/services/revenueAttribution.ts with campaign-based revenue tracking and partner attribution. Supports record revenue, get attribution by campaign or partner, allocate revenue by rules, and revenue metrics calculation.

#1336 - Implement bulk payout scheduler with per-tranche approval gate

Created backend/src/services/payoutScheduler.ts with batch and tranche management. Each tranche requires configurable approvals before execution. Integrates with job queue for scheduled execution and tracks approval history.

#1334 - Build jurisdictional tax-rule engine with per-corridor rule modules

Created backend/src/services/taxRules/index.ts with per-jurisdiction and per-corridor tax rule engine. Supports rule creation, deactivation, calculation with effective date ranges, and applicable rule lookup.

…ion, payout scheduler, and tax rules

Resolves Smartdevs17#1342
Resolves Smartdevs17#1338
Resolves Smartdevs17#1336
Resolves Smartdevs17#1334

- contracts/src/milestone_escrow.rs: New module for milestone-based escrow with on-chain attestation proofs
- backend/src/services/revenueAttribution.ts: Revenue attribution engine for campaigns and agent partners
- backend/src/services/payoutScheduler.ts: Bulk payout scheduler with per-tranche approval gates
- backend/src/services/taxRules/index.ts: Jurisdictional tax-rule engine with per-corridor rule modules
@vercel

vercel Bot commented Nov 23, 2026

Copy link
Copy Markdown

@auraroom is attempting to deploy a commit to the smartdevs17's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Nov 23, 2026

Copy link
Copy Markdown

@auraroom Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@github-actions
github-actions Bot merged commit fc1eee8 into Smartdevs17:main Nov 23, 2026
14 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant