predict::* call. The pattern is “TypeScript PTB places the Predict call, then immediately places our attribute_* call in the same PTB.” This avoids any Move-level dependency on Predict’s branch-pinned types.
Events emitted
Entry functions
Wired in
- Resolver settlement PTB (
buildAtomicSettlementPTB) →attribute_redeemper redeemed position. scripts/supply-plp.ts→attribute_plp_supplyafterpredict::supply.
Not wired in (republish-era follow-up)
- Frontend mints (
buildPredictMintPTB). - Agent-service mints.
- No indexer stream consumes facade events directly today. The indexer reads
predict::PositionMinted/PositionRedeemedinstead.
Tests
tests/predict_facade_tests.move: each attribute_* function emits exactly one event.