Repository navigation
sdk: syndication underwriting, emergency stop and live custody totals - #92
Merged
Merged
Conversation
…teral Regenerated from the committed sysio.* ABIs on wire-sysio feature/depot-native-collateral (cab0e65fc5). Only sysio.opreg differs. sysio.opreg ABI delta: - deposit, withdraw and claimremit actions carry token_code - claimyield and sweepyield actions added - remitclaims row and its key carry token_code - yieldpool table added; yield_pool carries received, credited, pulled_index, pulled_owed, keyed by yield_pool_key - operator balance entry gains shadow_yield, typed by the new position type Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01WvJpbenHM8A16MLiMteYtj
…synd and sysio.andon Generated from wire-sysio 491988dc8c committed ABIs. SysioContractName gains andon, bond and synd; sweep and desyndicate move from the liq surface to synd. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01WvJpbenHM8A16MLiMteYtj
valthon
marked this pull request as ready for review
October 1, 2026 14:32
Expose the operational syndication tables, acknowledged bond outcomes, restricted LIQ settlement, and separate WIRE claims from the rebuilt contract ABIs. Remove the retired reporting fields from generated types. Validation: regenerated output matches the final ABIs and the SDK builds.
Remove depot reserve and swap-underwriting clients, external custody workflows, stale exports and dedicated tests. Regenerate contract types and retain verified OPP, LIQ and node-owner client boundaries. Validation: build and 939 tests passed; 38 outpost tests also passed against refreshed artifacts. The strict-null gate reports an existing optional toABI call in unchanged serializer/Builtins.ts.
Remove retired reserve and swap SDK clients
This was referenced Oct 7, 2026
jglanz
approved these changes
Oct 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Expose the generated depot contract interfaces needed by underwriting, syndication and emergency-stop clients. Keep action and table consumers aligned with the new contract ABIs.
Design sources:
WIRE-V1-SYNDICATION-UNDERWRITING-SPEC.mdandWIRE-V1-UNDERWRITING-REQUIREMENTS.mdin the platform workspace. Test citations below are retained local ledgers/reports under that workspace; recorded results refer to the revisions named in those reports, not a fresh run of this PR tip.What changes
CI and OPP dependency compatibility
toABI, matching its runtime check. Cover callable encoders and carriers with absent/non-callable encoders.@wireio/opp-typescript-modelsto^1.0.51in both consumers and resolve version1.0.51in the lockfile, preserving unrelated dependency versions.Generated contract surface
5f64182— Regenerate SysioContractTypes for sysio.bond, sysio.synd and sysio.andon; expose their actions/tables and move sweep/desyndicate types from liq to synd.Included from earlier work
1198cc4— chore(sdk-core): regenerate SysioContractTypes for depot-native collateralHow it was tested
Fresh validation of the CI repair on 2026-10-08: clean locked npm installation without sibling links;
pnpm run test:cipassed the build, strict-null check, and 82 suites / 941 tests. Repository lint and formatting checks for the changed TypeScript files passed. The earlier counts below are historical results from previous revisions.At control
1198cc4and generated-types revision5f64182,pnpm build, lint and test all returned RC 0: 90 suites / 981 tests passed at each revision. The pre-commit hook repeated the same passing tally. Source:wire-sysio/.superpowers/sdd/syndication-underwriting-part-e/task-E1-report.md.The same report verifies andon/bond/synd declarations in source and built typings, removal of the old liq action types, and the sibling TypeScript model bundle carrying totalSyndicated. Model bundles are produced/published by wire-sysio; this PR changes generated SDK contract types.
The SDK model-package dependency conflicts with the current platform policy; the manifest documents that unresolved policy decision. Source:
wire-sysio/.superpowers/sdd/syndication-underwriting-part-e/progress.mdandwire-sysio/.superpowers/sdd/syndication-underwriting-part-e/task-manifest-report.md.Landing order and dependencies
wire-opp-solana-models,@wireio/opp-solidity-models, and@wireio/opp-typescript-modelswith the newtotal_syndicatedfield.@wireio/opp-solidity-models ^1.0.51. Solana targetscodex/operation-disabled; Ethereum targetsnext.Ethereum includes the SyndicationPool commit from draft https://github.com/Wire-Network/wire-ethereum/pull/207 unchanged as
8ed70fb8; subsequent changes extend and harden it.Related PRs
🤖 Generated with Claude Code
https://claude.ai/code/session_01WvJpbenHM8A16MLiMteYtj