Repository navigation
Add sysio.kicker contract types - #106
Merged
Merged
Conversation
valthon
force-pushed
the
feature/sysio-kicker
branch
2 times, most recently
from
October 20, 2026 19:00
7d69883 to
05d1082
Compare
valthon
force-pushed
the
feature/sysio-kicker
branch
from
October 23, 2026 03:35
05d1082 to
7d84ead
Compare
Regenerated SysioContractTypes.ts with contracts/tools/generate-sysio-contract-types.py -P snake against wire-sysio 959454a660 (Wire-Network/wire-sysio#675), then formatted with the repo's Prettier config. The only change is the new sysio.kicker surface: kick, setconfig, addpool, setpool, rmpool, and the kickcfg and kickpools tables, plus its entries in SysioContractName, SysioContractAccount, SysioContractMapping and SysioContractDefinitions. kick_config carries max_spot_deviation_bps and kick_pool carries spot_deviation and supply_snapshot (int64 after spent_today). A client test checks that the typed proxy binds sysio.kicker, prepares kick, and reads kickpools. Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-Authored-By: Codex CLI (gpt via ChatGPT) <[email protected]>
valthon
force-pushed
the
feature/sysio-kicker
branch
from
October 26, 2026 22:35
7d84ead to
f6d6598
Compare
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.
Adds sdk-core contract types for the new
sysio.kickercontract from Wire-Network/wire-sysio#675.What changed:
kick,setconfig,addpool,setpool,rmpool.kickcfg(includingtwap_window_secand the spot-vs-TWAP guardmax_spot_deviation_bps),kickpools(including the TWAP observationprice_snapshot/price_timethespot_deviationdiagnostic and thesupply_snapshotgifts are sized on), and thecumulative_pricestruct.SysioContractName,SysioContractAccount,SysioContractMappingandSysioContractDefinitions.sysio.kicker, prepareskickand readskickpools.How the types were generated: with wire-sysio's own generator (
contracts/tools/generate-sysio-contract-types.py, the recipe in wire-sysio's CLAUDE.md), run over #675's ABIs at959454a660, then Prettier. Against this repo's master the diff is additions only: the kicker's types. #675 changes no other committed.abi.Validation: rebased on master
42501b5(v1.0.98).pnpm build,pnpm run lintandpnpm test, all RC 0: 83/83 suites and 948/948 tests (node 24.20).Merge order: these types describe a contract that exists only on wire-sysio#675. They can merge independently, since nothing calls them until the contract is deployed, but they belong with #675.
1 commit on
master.🤖 Generated with Claude Code
Rebased onto master
6419c94asf6d6598; the regenerated kicker types now includekick_pool.supply_snapshot(int64, afterspent_today), which #675 added to size each gift on the supply present at the pool's last checkpoint. Gate on this head (per-commit, clean worktree):sharedandsdk-corecompile, sdk-core 56/56 suites, 644/644 tests. wire-tools-ts #122 was verified against this head.