You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -68,6 +70,10 @@ Base URL: `https://static.qubic.org/v1/general/data/`
68
70
69
71
> **About the `fee` field:** Fees are currently extracted for the following procedures: `Transfer Share Management Rights`, `Revoke Asset Management Rights`, and `Transfer Share Ownership and Possession`. The fee is included only when it can be resolved to a fixed value from the source code. If a procedure does not have a `fee` field, it does not necessarily mean it is free — the fee may be determined dynamically at execution time (e.g., fetched from another contract or calculated based on state).
70
72
73
+
**Contracts registry files:**
74
+
-`contracts_registry.json` uses the `ContractsRegistry` schema from `@qubic.ts/contracts` and includes contract entries plus `ioTypes`.
75
+
-`contracts_registry.manifest.json` includes `schema_version`, `registry_hash`, `generated_at`, `source_revision`, and Ed25519 `signature` for client-side verification.
Smart contract data is automatically refreshed every **Wednesday at 14:00 UTC** via a scheduled GitHub Action workflow.
249
+
Contracts data feeds are automatically refreshed every **Wednesday at 14:00 UTC** via a scheduled GitHub Action workflow.
241
250
242
251
**How it works:**
243
-
1. The workflow runs `scripts/update_smart_contracts.py` which fetches the latest contract data from the [qubic-core](https://github.com/qubic/core) repository
252
+
1. The workflow runs:
253
+
-`scripts/update_smart_contracts.py` for the curated smart contracts feed
254
+
-`scripts/update_contracts_registry.py` for the canonical runtime registry feed sourced from [qubic.ts](https://github.com/qubic/qubic.ts) (via token-authenticated GitHub API when required)
244
255
2. If changes are detected (new contracts, updated procedures, etc.), a PR is automatically created to the `main` branch
245
256
3. Once merged, a new release is created and deployed to production
246
-
4. After the release, merge `main` back to `dev` and `staging` to keep branches in sync
257
+
4. During deploy, `contracts_registry.manifest.json` is generated and Ed25519-signed in CI.
258
+
5. After the release, merge `main` back to `dev` and `staging` to keep branches in sync
247
259
248
260
**Manual trigger:** The workflow can also be triggered manually from the [Actions tab](../../actions/workflows/refresh-smart-contracts.yml) if an immediate update is needed.
0 commit comments