create-predict-manager
Calls predict::create_manager against the live Predict package. Predict shares the manager internally; the script picks the new PredictManager id from objectChanges and prints it.
.env as AGENT_PREDICT_MANAGER_ID.
fund-manager
Splits a DUSDC coin from the wallet and calls predict_manager::deposit<T> to fund the PredictManager’s internal balance. Required before mint.
| Flag | Required | Description |
|---|---|---|
--amount | yes | Whole DUSDC amount |
--manager | no | Override AGENT_PREDICT_MANAGER_ID |
--execute | no | Sign + submit |
supply-plp
Splits a DUSDC coin and calls predict::supply<T>(predict, coin, clock, ctx) → Coin<PLP>, plus a predict_facade::attribute_plp_supply event so the indexer credits the supply.
Coin<PLP> representing your share of the Predict shared vault.
predict-mint-smoke
Builds a predict::mint<T> PTB with inline market_key::new against testnet using AGENT_KEY + AGENT_PREDICT_MANAGER_ID. Prerequisite: fund-manager deposited DUSDC first.
| Flag | Required | Description |
|---|---|---|
--oracle-svi | yes | OracleSVI id (per asset/expiry) |
--strike | no | Strike in whole units (default: nearest $500 to spot) |
--side | no | up or down (default: up) |
--amount | no | DUSDC spend (default: 2) |
--execute | no | Sign + submit |