@moesi/planner
v0.4.0
Published
Moesi plan vocabulary — ResolvedAction, ResolvedPlan, AuthorizedCall, ResolveConfig, and shared pure helpers.
Downloads
1,961
Maintainers
Readme
@moesi/planner
Plan vocabulary types and pure helpers shared across the Moesi resolver, CLI, and integrations.
This package is the source of truth for ResolvedAction and ResolvedPlan.
L3 receipts and action identity live in @moesi/settlement; this package
re-exports them for compatibility.
Install
npm install @moesi/planner viemWhat's here
ResolvedAction,ResolvedPlan— planner-owned types emitted by the resolverAuthorizedCall,ExecutionReceipt, and action-ID helpers — compatibility re-exports owned by@moesi/settlementcomputeActionId(manifestHash, action)— deterministic 32-byte id used for idempotencybuildReceipt({ action, manifestHash, userOpHash, txHash, blockNumber? })hasActionFired(receipts, manifestHash, action)— checks only for a matching action ID; callers must separately require verified/final receipt evidenceselectorFor,resolveMethod— function-selector resolution helperscheckActionPrecondition— guards for ordering deploy → post_deploy
License
Apache-2.0
