@towns-labs/contracts 2.0.6 → 2.0.7

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
@@ -27,6 +27,9 @@ bun run coverage # Generate coverage report
27
27
  bun run fmt # Format Solidity code
28
28
  bun run lint # Check formatting
29
29
  bun run deploy:local # Deploy to local Anvil (for CI)
30
+ bun run deploy:dev # Deploy to Base Sepolia
31
+ bun run deploy:stage # Deploy to Base Mainnet (stage context)
32
+ bun run deploy:prod # Deploy to Base Mainnet (prod context)
30
33
  bun run make-config # Generate deployment config
31
34
  ```
32
35
 
@@ -51,7 +54,8 @@ Chain-specific settings live in `deployments/config.toml`:
51
54
  | Context | Chain | Description |
52
55
  |---------|-------|-------------|
53
56
  | `local` | anvil (31337) | Local Anvil development |
54
- | `stage` | base-sepolia (84532) | Base Sepolia testnet |
57
+ | `dev` | base-sepolia (84532) | Base Sepolia testnet |
58
+ | `stage` | base (8453) | Base Mainnet |
55
59
  | `prod` | base (8453) | Base Mainnet |
56
60
 
57
61
  Each chain section includes:
@@ -90,8 +94,8 @@ cp .env.example .env
90
94
  # Local development
91
95
  make deploy-local-unified
92
96
 
93
- # Stage (Base Sepolia)
94
- make deploy-stage-unified
97
+ # Dev (Base Sepolia)
98
+ make deploy-dev-unified
95
99
 
96
100
  # Production (Base Mainnet)
97
101
  make deploy-unified CHAINS=8453 CONTEXT=prod
@@ -105,7 +109,7 @@ bun run build
105
109
  ### Updating Contracts
106
110
 
107
111
  ```bash
108
- make deploy-stage-unified # Redeploy to stage
112
+ make deploy-dev-unified # Redeploy to dev
109
113
  make deploy-unified CHAINS=8453 CONTEXT=prod # Redeploy to prod
110
114
  ```
111
115
 
@@ -1,4 +1,18 @@
1
1
  {
2
+ "dev": {
3
+ "84532": {
4
+ "addresses": {
5
+ "accountProxy": "0x0e0F0B93B20692a26671bc6084D8EecAB5689cbb",
6
+ "escrow": "0x05f9597eed844410b7c0746A1C584188d0644730",
7
+ "multiSigSigner": "0xa3972FEebd6E1f973eD19cC586D79B3F61f892A3",
8
+ "orchestrator": "0xcf96B5228f656f26f83B8f1240fAD544C17ac7a8",
9
+ "simpleFunder": "0x288C9db8aa7eD8b465d4Ec7791ac6F9C53A55744",
10
+ "simpleSettler": "0x90cacD85C1dc93af2D2D3e6c380162bBe07bb329",
11
+ "simulator": "0xDAD7c34d0c41698B227D3C5ee3d6d88A78c63a65",
12
+ "townsAccount": "0x2eEBFfcFABEB8cE3AC016effFeC37dBBAccCff2a"
13
+ }
14
+ }
15
+ },
2
16
  "prod": {
3
17
  "8453": {
4
18
  "addresses": {
@@ -14,16 +28,16 @@
14
28
  }
15
29
  },
16
30
  "stage": {
17
- "84532": {
31
+ "8453": {
18
32
  "addresses": {
19
- "accountProxy": "0x0e0F0B93B20692a26671bc6084D8EecAB5689cbb",
33
+ "accountProxy": "0xeE06c19146427bDd5abb702579F3B0568b24Bf6F",
20
34
  "escrow": "0x05f9597eed844410b7c0746A1C584188d0644730",
21
35
  "multiSigSigner": "0xa3972FEebd6E1f973eD19cC586D79B3F61f892A3",
22
- "orchestrator": "0xcf96B5228f656f26f83B8f1240fAD544C17ac7a8",
23
- "simpleFunder": "0x288C9db8aa7eD8b465d4Ec7791ac6F9C53A55744",
24
- "simpleSettler": "0x90cacD85C1dc93af2D2D3e6c380162bBe07bb329",
36
+ "orchestrator": "0x11050FEC41B66730E91c46Bfd25EBFF3B16F5bcC",
37
+ "simpleFunder": "0xf297614c45E3AfAAC849B7Cde4A20A8cF336D8bF",
38
+ "simpleSettler": "0x195424235453eC103082A9406AEE0Cc30E908b24",
25
39
  "simulator": "0xDAD7c34d0c41698B227D3C5ee3d6d88A78c63a65",
26
- "townsAccount": "0x2eEBFfcFABEB8cE3AC016effFeC37dBBAccCff2a"
40
+ "townsAccount": "0x4f58d66c5d55B4E6f0aA578Df8D9342f63473FF6"
27
41
  }
28
42
  }
29
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@towns-labs/contracts",
3
- "version": "2.0.6",
3
+ "version": "2.0.7",
4
4
  "author": "",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -12,6 +12,7 @@
12
12
  "coverage": "forge coverage --report summary",
13
13
  "deploy:local": "./scripts/sh/deploy.sh local",
14
14
  "deploy:local-arb": "./scripts/sh/deploy.sh local-arb --contracts SimpleSettler,Escrow,SimpleFunder",
15
+ "deploy:dev": "./scripts/sh/deploy.sh dev",
15
16
  "deploy:prod": "./scripts/sh/deploy.sh prod",
16
17
  "deploy:stage": "./scripts/sh/deploy.sh stage",
17
18
  "dev": "./scripts/sh/dev.sh",