Skip to content

Remove mediated and pending wrapper transfer workflows - #11

Merged
kentbull merged 1 commit into
mainfrom
refactor/direct-wallet-wrapper
Oct 31, 2026
Merged

kentbull merged 1 commit into
mainfrom
refactor/direct-wallet-wrapper

Conversation

@kentbull

@kentbull kentbull commented Oct 31, 2026 •

Copy link
Copy Markdown
Collaborator

Commit wUSDC to owner-initiated wallet-to-wallet transfers evaluated against current EOA association endorsements. The abstract-customer mediation and pending/admin settlement flows did not fit this model: mediation produced zero-wallet customers, and approval could execute a queued transfer without current policy evaluation.

  • Delete both *WithBeneficiary methods, pending storage/events/getters, resolvePendingTransaction, the Pending status and unused VASP roles.
  • Remove KYC/jurisdiction/account/VASP fields, ID-based enrichment and supplied-identity fallbacks. Derive each identity from its exact wallet. Unknown policy results fail.
  • Delete unused credential/trusted-issuer registries and requirement validators, compatibility types and the duplicate checker alias. Keep the Chainlink wallet identity registry and the one lookup consumed by policy.
  • Keep direct transfer and owner-only transferFrom, shared pause, policy evaluation hashes, rejection records and underlying token transfer behavior. Simplify deployment, launcher exports, metadata and docs to this model.

Validation: 28 Forge tests passed, four launcher checks passed, shell syntax and local links/manifest paths passed. 141 fresh installed-wheel oracle tests passed against this reduced deployment, including the unchanged witnessed two-process scenario with actual allowed/rejected transfers, lost ACK, restart, replacement and exact revocation. Both packaged oracle registry ABIs match the build; retired wrapper ABI entries are absent. Foundry 1.5.1; EOA Verifier 486fb42f92b6c3269d7968934448f21121ef08aa.

The oracle companion removes its deploy parser's credential-registry requirement and pins contract commit 4c83e465b3d7937f02b95e805cca5b79f5015078. Merge this contract PR before that companion; use the companion head as ORACLE_REVISION in the local guide. Oracle companion #48 uses ORACLE_REVISION=8775024d036aba6b5547981e4bb4d50fed5ea184.

wUSDC's noncustodial audit-record role is accepted. No backward-compatible selectors, old tuple shapes or migrations are provided. The pre-existing empty-policy Pass behavior is explicitly documented and remains a planned follow-up after the separately requested NonceLedger refactor; this deployment installs the association policy.

Commit wUSDC to owner-initiated transfers between actual wallets with current EOA association endorsements. Delete abstract-customer mediation entry points, pending-transfer storage and administrative settlement, along with unused party fields, roles, compatibility types and checker aliases.

Reduce identity enrichment to the exact wallet lookup consumed by the active policy. Discard supplied identity hints, fail non-passing policy outcomes, and remove unused credential and trusted-issuer registries, validators and deployment scaffolding. Keep the Chainlink identity registry integration and auditable policy hashes and rejection records.

Validate the reduced deployment with 28 Forge tests, four launcher checks and the full 141-test installed-wheel oracle suite, including witnessed issuance, real transfers, replacement, revocation and restart. The oracle companion removes its credential-registry parser requirement and pins this contract revision; empty-policy configuration remains the next planned fix.
@kentbull
kentbull marked this pull request as ready for review October 31, 2026 20:37
@kentbull
kentbull merged commit 9f93d8d into main Oct 31, 2026
1 check passed
@kentbull
kentbull deleted the refactor/direct-wallet-wrapper branch November 1, 2026 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant