@hashpower/collateral-abi 0.3.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -37,4 +37,4 @@ Contents are generated — do not edit by hand:
37
37
  - `src/` is copied from `../contracts/abi` (the Hardhat codegen output) by `scripts/build.mjs`, then compiled to `dist/`.
38
38
  - `deployments.json` is the canonical address manifest for this repo; it is updated when contracts are (re)deployed.
39
39
 
40
- Publishing happens from CI (see `.github/workflows/publish-collateral-abi.yml`). A `dev` publish updates `environments.testnet` and is tagged `dev` (minor bump). A `main` publish updates `environments.mainnet` and is tagged `latest`; the first mainnet cut is `1.0.0`.
40
+ Publishing happens from CI (see `.github/workflows/publish-collateral-abi.yml`). A `dev` publish updates `environments.testnet` and is tagged `dev` (minor bump). A `main` publish updates `environments.mainnet` and is tagged `latest`; the first mainnet cut is `3.0.0`, skipping any major npm has already used.
package/deployments.json CHANGED
@@ -18,8 +18,16 @@
18
18
  "mainnet": {
19
19
  "chainId": 8453,
20
20
  "network": "base",
21
- "contracts": {},
22
- "subgraphs": {}
21
+ "contracts": {
22
+ "CollateralVault": "0x0730422E49B76A2D36d51304ACEcbe4f444821F8",
23
+ "PortfolioMarginEngine": "0x5F047CCE438ae7796140506a5edf3D711034aaF3",
24
+ "Points": "0x52e1b275d7f925e48f74d304e6d7e8ca489de6b9",
25
+ "CollateralToken": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
26
+ },
27
+ "subgraphs": {
28
+ "vault": "https://api.goldsky.com/api/public/project_cmmz5dm4l7ocp01xng61y5nwr/subgraphs/collateral-vault/lmn-latest/gn",
29
+ "points": "https://api.goldsky.com/api/public/project_cmmz5dm4l7ocp01xng61y5nwr/subgraphs/hpow-points/lmn-latest/gn"
30
+ }
23
31
  }
24
32
  }
25
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hashpower/collateral-abi",
3
- "version": "0.3.0",
3
+ "version": "3.0.0",
4
4
  "description": "ABIs and deployment addresses for the Hashpower unified collateral system (CollateralVault, PortfolioMarginEngine, Points) on Base",
5
5
  "license": "MIT",
6
6
  "type": "module",