@gvnrdao/dh-sdk 0.0.317 → 0.0.319
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/browser/dist/browser.js +1 -1
- package/dist/deployments.js +106 -63
- package/dist/deployments.mjs +106 -63
- package/dist/index.js +196 -107
- package/dist/index.mjs +196 -107
- package/dist/interfaces/chunks/config.i.d.ts +8 -1
- package/dist/interfaces/chunks/contract-types.i.d.ts +0 -12
- package/dist/modules/contract/contract-manager.module.d.ts +1 -6
- package/dist/modules/diamond-hands-sdk.d.ts +16 -2
- package/dist/utils/position-delegate.utils.d.ts +17 -2
- package/dist/utils/server-session-store.d.ts +25 -7
- package/dist/utils/server-session.d.ts +27 -2
- package/package.json +3 -3
package/dist/deployments.mjs
CHANGED
|
@@ -36,11 +36,11 @@ var SEPOLIA_DEPLOYMENT = {
|
|
|
36
36
|
},
|
|
37
37
|
upgraded: {
|
|
38
38
|
PositionManager: {
|
|
39
|
-
previousImplementation: "
|
|
40
|
-
newImplementation: "
|
|
41
|
-
upgradedAt: "2026-07-
|
|
39
|
+
previousImplementation: "0xb1885Be99BA64Bba773Bf423783A0334B7109409",
|
|
40
|
+
newImplementation: "0xfA7413a4547F496BF223ed25DF443c17ef6D4668",
|
|
41
|
+
upgradedAt: "2026-07-30T17:55:25.314Z",
|
|
42
42
|
upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
|
|
43
|
-
reason: "
|
|
43
|
+
reason: "Add setViews escape hatch so PositionManagerViews can be repointed (mainnet Views is a frozen non-proxy)"
|
|
44
44
|
},
|
|
45
45
|
LoanOperationsManagerModule: {
|
|
46
46
|
previousImplementation: "0x8c20e9Edf44146718F2EF15eEF47A201CaC229B8",
|
|
@@ -64,16 +64,16 @@ var SEPOLIA_DEPLOYMENT = {
|
|
|
64
64
|
reason: "Shared upgrade script: TermManagerModule implementation update"
|
|
65
65
|
},
|
|
66
66
|
CircuitBreakerModule: {
|
|
67
|
-
previousImplementation: "
|
|
68
|
-
newImplementation: "
|
|
69
|
-
upgradedAt: "2026-
|
|
67
|
+
previousImplementation: "0xF6277dEF72D51312CC99616B5380f34Eb7603D75",
|
|
68
|
+
newImplementation: "0x4b28F1d4ecBcc13b51a8d0f890e6d5bF4966EEB4",
|
|
69
|
+
upgradedAt: "2026-07-30T09:28:12.835Z",
|
|
70
70
|
upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
|
|
71
71
|
reason: "Shared upgrade script: CircuitBreakerModule implementation update"
|
|
72
72
|
},
|
|
73
73
|
AdminModule: {
|
|
74
|
-
previousImplementation: "
|
|
75
|
-
newImplementation: "
|
|
76
|
-
upgradedAt: "2026-
|
|
74
|
+
previousImplementation: "0xBBA86246169f81a307Fafff02C1e3D8456aab973",
|
|
75
|
+
newImplementation: "0x2905964e27BD78595cf8fFa6FFc5A99E54F399c4",
|
|
76
|
+
upgradedAt: "2026-07-30T09:02:25.915Z",
|
|
77
77
|
upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
|
|
78
78
|
reason: "Shared upgrade script: AdminModule implementation update"
|
|
79
79
|
},
|
|
@@ -134,21 +134,18 @@ var SEPOLIA_DEPLOYMENT = {
|
|
|
134
134
|
reason: "Shared upgrade script: SimplePSMV2 implementation update"
|
|
135
135
|
},
|
|
136
136
|
UpgradeValidator: {
|
|
137
|
-
previousImplementation: "
|
|
138
|
-
newImplementation: "
|
|
139
|
-
upgradedAt: "2026-
|
|
137
|
+
previousImplementation: "0x2Dd375041Be067E7d12bAB2106911Ce209EbD12f",
|
|
138
|
+
newImplementation: "0x9E70e1D07AB11ac9dD37B67AA091Efe97d7Ed84b",
|
|
139
|
+
upgradedAt: "2026-07-30T09:32:13.726Z",
|
|
140
140
|
upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
|
|
141
141
|
reason: "Shared upgrade script: UpgradeValidator implementation update"
|
|
142
142
|
},
|
|
143
143
|
LITActionValidator: {
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
version: "2.3.0",
|
|
148
|
-
upgradedAt: "2026-05-18T21:30:13.008Z",
|
|
144
|
+
previousImplementation: "0xE2f99EA35b4DA01A66338427EC9077581d28FDb5",
|
|
145
|
+
newImplementation: "0x8FF30Fab0cC09C67dF6DF0ee017f817d5B101457",
|
|
146
|
+
upgradedAt: "2026-07-30T09:30:13.928Z",
|
|
149
147
|
upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
|
|
150
|
-
|
|
151
|
-
note: "M-03: removed validateLITActionSignature, LIT_PROTOCOL_ROLE, isValidatedPKP, getValidationProof, helpers"
|
|
148
|
+
reason: "Shared upgrade script: LITActionValidator implementation update"
|
|
152
149
|
},
|
|
153
150
|
ContractVersionRegistry: {
|
|
154
151
|
previousImplementation: "0x327Ced106C2804283994F0C0e2436E4B76AA7dAD",
|
|
@@ -158,11 +155,11 @@ var SEPOLIA_DEPLOYMENT = {
|
|
|
158
155
|
reason: "Shared upgrade script: ContractVersionRegistry implementation update"
|
|
159
156
|
},
|
|
160
157
|
PositionDelegateRegistry: {
|
|
161
|
-
previousImplementation: "
|
|
162
|
-
newImplementation: "
|
|
163
|
-
upgradedAt: "2026-
|
|
158
|
+
previousImplementation: "0x301fa9AA527016D033e151b982C64cD8670a39E3",
|
|
159
|
+
newImplementation: "0xc681c48688cdAA966119E265e4a378ef8Fe0eBcA",
|
|
160
|
+
upgradedAt: "2026-07-30T09:02:27.050Z",
|
|
164
161
|
upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
|
|
165
|
-
reason: "
|
|
162
|
+
reason: "Reconciled implementation from chain"
|
|
166
163
|
},
|
|
167
164
|
OperationAuthorizationRegistry: {
|
|
168
165
|
previousImplementation: "0xF56090039c268B90f1867075813B5B36C40092B4",
|
|
@@ -172,18 +169,18 @@ var SEPOLIA_DEPLOYMENT = {
|
|
|
172
169
|
reason: "Shared upgrade script: OperationAuthorizationRegistry implementation update"
|
|
173
170
|
},
|
|
174
171
|
FeeRecipientRegistry: {
|
|
175
|
-
previousImplementation: "
|
|
176
|
-
newImplementation: "
|
|
177
|
-
upgradedAt: "2026-
|
|
172
|
+
previousImplementation: "0xd08513a7cB2dd354B26cDDf549616F12054c34c9",
|
|
173
|
+
newImplementation: "0x44057f5Ca13B1C3a74E5507c372704F3c8c5834f",
|
|
174
|
+
upgradedAt: "2026-07-30T09:23:25.934Z",
|
|
178
175
|
upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
|
|
179
|
-
reason: "Shared upgrade script: FeeRecipientRegistry
|
|
176
|
+
reason: "Shared upgrade script: FeeRecipientRegistry implementation update"
|
|
180
177
|
},
|
|
181
178
|
BitcoinProviderRegistry: {
|
|
182
|
-
previousImplementation: "
|
|
183
|
-
newImplementation: "
|
|
184
|
-
upgradedAt: "2026-
|
|
179
|
+
previousImplementation: "0xc5899d53426aD9354CEdAFe3002cbd3aBfAC46ab",
|
|
180
|
+
newImplementation: "0x37A8D9a57f9dEa7ae7D5B7BC7B1BB61a80960eB7",
|
|
181
|
+
upgradedAt: "2026-07-30T09:26:01.725Z",
|
|
185
182
|
upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
|
|
186
|
-
reason: "
|
|
183
|
+
reason: "Shared upgrade script: BitcoinProviderRegistry implementation update"
|
|
187
184
|
},
|
|
188
185
|
BitcoinWithdrawalAddressRegistry: {
|
|
189
186
|
previousImplementation: "0xFF270BC4470dBA80430Bd1a3a66EB691599354fA",
|
|
@@ -262,27 +259,27 @@ var SEPOLIA_DEPLOYMENT = {
|
|
|
262
259
|
UCD_CONTROLLER_IMPL: "0x91204831bBCfcDCEa5fEE09B0d875778E9651690",
|
|
263
260
|
LOAN_OPERATIONS_MANAGER_MODULE_IMPL: "0x6Ad08177F264f441074921C437670D1fA5934676",
|
|
264
261
|
TERM_MANAGER_MODULE_IMPL: "0xA2D6543faFA9d84C16Cd5e5E34F746B6e138F54d",
|
|
265
|
-
CIRCUIT_BREAKER_MODULE_IMPL: "
|
|
266
|
-
ADMIN_MODULE_IMPL: "
|
|
262
|
+
CIRCUIT_BREAKER_MODULE_IMPL: "0x4b28F1d4ecBcc13b51a8d0f890e6d5bF4966EEB4",
|
|
263
|
+
ADMIN_MODULE_IMPL: "0x2905964e27BD78595cf8fFa6FFc5A99E54F399c4",
|
|
267
264
|
POSITION_MANAGER_VIEWS_IMPL: "0xA455B542cFb36AF8451fc420dB89e590E5c87cef",
|
|
268
|
-
POSITION_MANAGER_IMPL: "
|
|
265
|
+
POSITION_MANAGER_IMPL: "0xfA7413a4547F496BF223ed25DF443c17ef6D4668",
|
|
269
266
|
SIMPLE_PSM_V2: "0x19EcF7BA26e054fd4Ff06009A03070103dbBB058",
|
|
270
267
|
SIMPLE_PSM_V2_IMPL: "0xE38010BE47B389922A1cd4b533470F0af7d20101",
|
|
271
268
|
UCD_TOKEN_IMPL: "0xa6C8C4cfc7DD3dCE5F1259A4a1eAf8461aA8CeC8",
|
|
272
269
|
POSITION_MANAGER_CORE_MODULE: "0xfFAA39a08887FeFB697eBC8691A8630CbCC33391",
|
|
273
270
|
POSITION_MANAGER_CORE_MODULE_IMPL: "0x0E721048c066C5589C41f97785f7E5737ac2BEB3",
|
|
274
271
|
COLLATERAL_MANAGER_MODULE: "0x967E92c976Fc0fa8268D37D4d6B7245d912aA7dB",
|
|
275
|
-
COLLATERAL_MANAGER_MODULE_IMPL: "
|
|
272
|
+
COLLATERAL_MANAGER_MODULE_IMPL: "0xF57BBbb4818371605e308228A04F8Ec4Dcc5E7Ba",
|
|
276
273
|
LIQUIDATION_MANAGER_MODULE: "0xC4AB00f39e7ceD812F5C67058C9fa44e15d40e76",
|
|
277
274
|
LIQUIDATION_MANAGER_MODULE_IMPL: "0xCe7587C47094BBb3dCa13D7a2299Ec9beA6cd759",
|
|
278
275
|
BTC_SPEND_AUTHORIZER: "0xd7E9Eb5eE53f1d9ee55Dc162bBC7486bE437B6bD",
|
|
279
276
|
BTC_SPEND_AUTHORIZER_IMPL: "0xdd3DFaEc50d6214d57eA64e8b76ff318b501607b",
|
|
280
277
|
UPGRADE_VALIDATOR: "0x592e650edD9bA26ecc407989fdd6F9cdcDeC27A6",
|
|
281
|
-
UPGRADE_VALIDATOR_IMPL: "
|
|
278
|
+
UPGRADE_VALIDATOR_IMPL: "0x9E70e1D07AB11ac9dD37B67AA091Efe97d7Ed84b",
|
|
282
279
|
BITCOIN_PROVIDER_REGISTRY: "0xbfA0c48B070D0a9A9CD27469AeacFD2d4261cEE2",
|
|
283
|
-
BITCOIN_PROVIDER_REGISTRY_IMPL: "
|
|
280
|
+
BITCOIN_PROVIDER_REGISTRY_IMPL: "0x37A8D9a57f9dEa7ae7D5B7BC7B1BB61a80960eB7",
|
|
284
281
|
LIT_ACTION_VALIDATOR: "0x54eECd7C90F8A8fac27749Ba30BbE8AFBAccc856",
|
|
285
|
-
LIT_ACTION_VALIDATOR_IMPL: "
|
|
282
|
+
LIT_ACTION_VALIDATOR_IMPL: "0x8FF30Fab0cC09C67dF6DF0ee017f817d5B101457",
|
|
286
283
|
CONTRACT_VERSION_REGISTRY: "0x97E43AA6aFF2C0cf659d3aE501658D2Ef6777522",
|
|
287
284
|
CONTRACT_VERSION_REGISTRY_IMPL: "0xF3389De4bCeC735e4F6d35b9f71170D96037D1B7",
|
|
288
285
|
MOCK_USDC_TOKEN: "0x96409A98e0D322d6566b7F44a0fAbD1BD4ce2AEc",
|
|
@@ -291,10 +288,10 @@ var SEPOLIA_DEPLOYMENT = {
|
|
|
291
288
|
POSITION_DELEGATE_REGISTRY_IMPL: "0xc681c48688cdAA966119E265e4a378ef8Fe0eBcA",
|
|
292
289
|
AGENT_MODULE: "0xefb8C29C1e7e92ed7d81a52dbedaed74e37fe380",
|
|
293
290
|
FEE_RECIPIENT_REGISTRY: "0x95795F8403DDb629E8527B2934C4e71f5fC0C374",
|
|
294
|
-
FEE_RECIPIENT_REGISTRY_IMPL: "
|
|
291
|
+
FEE_RECIPIENT_REGISTRY_IMPL: "0x44057f5Ca13B1C3a74E5507c372704F3c8c5834f",
|
|
295
292
|
OPERATION_AUTHORIZATION_REGISTRY_IMPL: "0xe0D981B60351f0f8fFDA2b50C8180Fb37CeF3883",
|
|
296
293
|
BITCOIN_WITHDRAWAL_ADDRESS_REGISTRY: "0x6376D392097F0A81e51BD83960A97EA20eaf1dbe",
|
|
297
|
-
BITCOIN_WITHDRAWAL_ADDRESS_REGISTRY_IMPL: "
|
|
294
|
+
BITCOIN_WITHDRAWAL_ADDRESS_REGISTRY_IMPL: "0x76E0a2c9d89562fD7c50b5f554d7fa25957e39Db",
|
|
298
295
|
CARRY_AGENT_REGISTRY: "0x5595CB538D44E6Cf179D20364fD631D0477e69f7",
|
|
299
296
|
CARRY_AGENT_REGISTRY_IMPL: "0x1b11a3D5e46F3672E643c997f0d569DFf0b64a01",
|
|
300
297
|
AGENT_DELEGATION_REGISTRY: "0x6AE7fc6bE0925126b9D25b1B7Ce5AD5d127ec025",
|
|
@@ -351,7 +348,7 @@ var MAINNET_DEPLOYMENT = {
|
|
|
351
348
|
LiquidationManagerModule: "0x74B28695352E7bf736D6c9F76ccb7B4439477De9",
|
|
352
349
|
CircuitBreakerModule: "0xF7b545d3a4Ee056D06909AB367E2F7bFFE3cB1BC",
|
|
353
350
|
AdminModule: "0x0023B71B586795eE5fa4E83E384345C1EC8Bb946",
|
|
354
|
-
PositionManagerViews: "
|
|
351
|
+
PositionManagerViews: "0x8B57954eA338c6A6bfF1457f71080e25baFF3937",
|
|
355
352
|
PositionManager: "0x12A1836e56139ccaD8722B89519d84233efc224B",
|
|
356
353
|
OperationAuthorizationRegistry: "0xD4505645b724754f5170a2027804a4265e860d44",
|
|
357
354
|
ContractVersionRegistry: "0x5e18f77d01940dA5B1D986D373D9A6ad0767008d",
|
|
@@ -360,7 +357,9 @@ var MAINNET_DEPLOYMENT = {
|
|
|
360
357
|
BitcoinProviderRegistry: "0x4ab3Fb96e02893Ed6FAa61bad1918390c8DbbFFC",
|
|
361
358
|
BitcoinWithdrawalAddressRegistry: "0xf667f77FDba7458345f227eB6Bfe4148243E7270",
|
|
362
359
|
SimplePSMV2: "0xfE0C14B4E614f40Bf58845b4B04CeD17fd116532",
|
|
363
|
-
PKPValidation: "0x29922d3ccb86516f6C24F89f1eb3068655ca7Fa0"
|
|
360
|
+
PKPValidation: "0x29922d3ccb86516f6C24F89f1eb3068655ca7Fa0",
|
|
361
|
+
AgentDelegationRegistry: "0x54853b7E91ce2Be34ce65655D80c4447e67187Fa",
|
|
362
|
+
DHAgentDelegate: "0x70232d0caBe529e29a01A442423d7e03BBd414c8"
|
|
364
363
|
},
|
|
365
364
|
upgraded: {
|
|
366
365
|
SimplePSMV2: {
|
|
@@ -375,16 +374,20 @@ var MAINNET_DEPLOYMENT = {
|
|
|
375
374
|
CollateralManagerModule: {
|
|
376
375
|
previousImplementation: "0x1919860e528Cd2AbbD31a17858c986b8aCc8C185",
|
|
377
376
|
newImplementation: "0x55110B9dd6B2c9f812564e7a1ef42b3c76E1A3Bb",
|
|
378
|
-
upgradedAt: "2026-07-08T20:33:
|
|
379
|
-
upgradedBy: "AdminModule generic-op 0x740efe0cfe85044479cbd8ee3058aa244057d90703dd2b37044dd6787cbf3485 (3-of-5 ADMIN_ROLE Safes, 24h timelock; executed
|
|
380
|
-
reason: "Validator gas fix (#420): BitcoinAddressValidator packed-table lookups; VERSION 1.3.0 -> 1.3.1"
|
|
377
|
+
upgradedAt: "2026-07-08T20:33:59.000Z",
|
|
378
|
+
upgradedBy: "AdminModule generic-op 0x740efe0cfe85044479cbd8ee3058aa244057d90703dd2b37044dd6787cbf3485 (3-of-5 ADMIN_ROLE Safes, 24h timelock; executed via Safe 0xfb3B8cbeFB7D666A6Af34C53e189EdC31862a7be, submitted by EOA 0x2002827d34A781883Ec4c83c36ECC140c3911F2B, tx 0x430c8e450f12d3d9359cde356ac5e2ef39661d7a89884b5674a596c1090f6cff, block 25490267)",
|
|
379
|
+
reason: "Validator gas fix (#420): BitcoinAddressValidator packed-table lookups; VERSION 1.3.0 -> 1.3.1. NOTE: not part of the audit rollout batch \u2014 reconcile-deployment-record.ts --write templates every row as 'audit rollout batch'; this hand-authored provenance is the accurate one, restore it if --write flattens it again.",
|
|
380
|
+
executeTx: "0x430c8e450f12d3d9359cde356ac5e2ef39661d7a89884b5674a596c1090f6cff",
|
|
381
|
+
block: 25490267
|
|
381
382
|
},
|
|
382
383
|
BitcoinWithdrawalAddressRegistry: {
|
|
383
384
|
previousImplementation: "0x11731bFEC3068F2cc19D016381dfEA3B93013b1C",
|
|
384
385
|
newImplementation: "0x190c08300Ae650fb88ed8156445BBeb13bE9E8a3",
|
|
385
|
-
upgradedAt: "2026-07-08T20:33:
|
|
386
|
-
upgradedBy: "AdminModule generic-op 0x2603a486c0f34554b864cc1d909b325c7e105331da10ec0fd7e0b9373fa76207 (3-of-5 ADMIN_ROLE Safes, 24h timelock; executed
|
|
387
|
-
reason: "Validator gas fix (#420): BitcoinAddressValidator packed-table lookups; VERSION 1.0.0 -> 1.0.1"
|
|
386
|
+
upgradedAt: "2026-07-08T20:33:59.000Z",
|
|
387
|
+
upgradedBy: "AdminModule generic-op 0x2603a486c0f34554b864cc1d909b325c7e105331da10ec0fd7e0b9373fa76207 (3-of-5 ADMIN_ROLE Safes, 24h timelock; executed via Safe 0xfb3B8cbeFB7D666A6Af34C53e189EdC31862a7be, submitted by EOA 0x2002827d34A781883Ec4c83c36ECC140c3911F2B, tx 0x430c8e450f12d3d9359cde356ac5e2ef39661d7a89884b5674a596c1090f6cff, block 25490267)",
|
|
388
|
+
reason: "Validator gas fix (#420): BitcoinAddressValidator packed-table lookups; VERSION 1.0.0 -> 1.0.1. NOTE: not part of the audit rollout batch \u2014 see the CollateralManagerModule row above.",
|
|
389
|
+
executeTx: "0x430c8e450f12d3d9359cde356ac5e2ef39661d7a89884b5674a596c1090f6cff",
|
|
390
|
+
block: 25490267
|
|
388
391
|
},
|
|
389
392
|
UCDController: {
|
|
390
393
|
previousImplementation: "0x16f94AcC78cE87bEeBCfF90552091B3EfC071E48",
|
|
@@ -423,13 +426,13 @@ var MAINNET_DEPLOYMENT = {
|
|
|
423
426
|
block: 25472957
|
|
424
427
|
},
|
|
425
428
|
PositionManager: {
|
|
426
|
-
previousImplementation: "
|
|
427
|
-
newImplementation: "
|
|
428
|
-
upgradedAt: "2026-
|
|
429
|
-
upgradedBy: "AdminModule
|
|
430
|
-
reason: "
|
|
431
|
-
executeTx: "
|
|
432
|
-
block:
|
|
429
|
+
previousImplementation: "0x600Dc0D1C2c0F94882B6Bc09172f8650047Ad5B1",
|
|
430
|
+
newImplementation: "0x2e7170d6Fb15A876dB726732e72e63109bcB916d",
|
|
431
|
+
upgradedAt: "2026-08-03T08:34:23.000Z",
|
|
432
|
+
upgradedBy: "AdminModule generic-op 0x69b79a906ed2 (3-of-3 signatures, 24h timelock; proposed by 0xEba7BfAeB35ee18408b424Ee0BB45AdDf776589f, executed in the release batch onchain-auth/.safe-batches/mainnet-release-execute-B.json, submitted by EOA 0x2002827d34A781883Ec4c83c36ECC140c3911F2B, tx 0xf1f8d5fc13f45d7a3f932bf1a2d6e29381fdd41cd31298ad785bf7688df07fe6, block 25673200)",
|
|
433
|
+
reason: "2026-08 agent-stack release, Execute B: agent-delegation digest rebind. makePayment/mintUCD/extendPosition now bind their EIP-712 digest to the STORED borrower rather than msg.sender, so a scoped AgentDelegationRegistry grant can submit; withdrawBTC still binds msg.sender and stays non-delegable. Also adds setViews(address), which the same batch used to repoint PM at the replacement PositionManagerViews. NOTE: VERSION reads 1.5.4 on BOTH sides of this upgrade \u2014 verify by implementation ADDRESS, never by VERSION(). NOTE: not the July audit rollout batch \u2014 reconcile-deployment-record.ts --write templates every row with that text; this hand-authored provenance is the accurate one, restore it if --write flattens it again.",
|
|
434
|
+
executeTx: "0xf1f8d5fc13f45d7a3f932bf1a2d6e29381fdd41cd31298ad785bf7688df07fe6",
|
|
435
|
+
block: 25673200
|
|
433
436
|
},
|
|
434
437
|
LoanOperationsManagerModule: {
|
|
435
438
|
previousImplementation: "0x56671D671e492Dae625413d463D47605Cf54edf6",
|
|
@@ -448,6 +451,41 @@ var MAINNET_DEPLOYMENT = {
|
|
|
448
451
|
reason: "Reconciled from chain \u2014 mainnet audit rollout batch (cross-ref onchain-auth/.safe-batches/mainnet-audit-execute.json)",
|
|
449
452
|
executeTx: "0x9820e259700865a281b8376e248044048ba2fed1d17c811ac66ac54d36711a5b",
|
|
450
453
|
block: 25472961
|
|
454
|
+
},
|
|
455
|
+
BitcoinProviderRegistry: {
|
|
456
|
+
newImplementation: "0x7Bc9473E45fb3EA594e8b13992F57D0444902ddB",
|
|
457
|
+
upgradedAt: "2026-06-16T17:51:11.000Z",
|
|
458
|
+
upgradedBy: "AdminModule/Safe audit-batch upgradeToAndCall; executed by 0xEba7BfAeB35ee18408b424Ee0BB45AdDf776589f in tx 0xf97e21ce2bc23876d60414c24ce6f45b2f0dd5e1ce42aca84f245f90f18ea17d (block 25331694)",
|
|
459
|
+
reason: "Reconciled from chain \u2014 mainnet audit rollout batch (cross-ref onchain-auth/.safe-batches/mainnet-audit-execute.json)",
|
|
460
|
+
executeTx: "0xf97e21ce2bc23876d60414c24ce6f45b2f0dd5e1ce42aca84f245f90f18ea17d",
|
|
461
|
+
block: 25331694
|
|
462
|
+
},
|
|
463
|
+
FeeRecipientRegistry: {
|
|
464
|
+
newImplementation: "0xEfAeB37faAdc2D420dC6F99128296B79fDDe74bE",
|
|
465
|
+
upgradedAt: "2026-06-16T17:30:35.000Z",
|
|
466
|
+
upgradedBy: "AdminModule/Safe audit-batch upgradeToAndCall; executed by 0xEba7BfAeB35ee18408b424Ee0BB45AdDf776589f in tx 0xc8f592166923f83b9b0cfc44e67c2ec75f79ca95be4f8ffa01654f702eaac502 (block 25331591)",
|
|
467
|
+
reason: "Reconciled from chain \u2014 mainnet audit rollout batch (cross-ref onchain-auth/.safe-batches/mainnet-audit-execute.json)",
|
|
468
|
+
executeTx: "0xc8f592166923f83b9b0cfc44e67c2ec75f79ca95be4f8ffa01654f702eaac502",
|
|
469
|
+
block: 25331591
|
|
470
|
+
},
|
|
471
|
+
PositionDelegateRegistry: {
|
|
472
|
+
previousImplementation: "0x3c7B975c03F549fe0656D9cbbA218BcF1C7092af",
|
|
473
|
+
newImplementation: "0x560a87251b3D306116F32D6e197FD068577e5349",
|
|
474
|
+
upgradedAt: "2026-08-02T18:34:35.000Z",
|
|
475
|
+
upgradedBy: "AdminModule generic-op 0x9acc88e33647ed5158ea161728c60ee4afecea7e3767735e7c1af0bb10ee0cb5 (3-of-3 signatures, 24h timelock; proposed by 0xEba7BfAeB35ee18408b424Ee0BB45AdDf776589f, executed in the release batch onchain-auth/.safe-batches/mainnet-release-execute-A.json, submitted by EOA 0x2002827d34A781883Ec4c83c36ECC140c3911F2B, tx 0xf0f237f6c4e958c37de556571908283c59c3fba6ebf9fa3cefb956f37e315a10, block 25669024)",
|
|
476
|
+
reason: "2026-08 agent-stack release: PositionDelegateRegistry VERSION 1.1.0 -> 2.0.0 via upgradeToAndCall + initializeV2(AdminModule, registrar 0x5D54E0BE\u2026, pauser 0xC205Ae99\u2026) \u2014 kill-switch, deny-only registrar, permanent delegate burn. NOTE: not the July audit rollout batch \u2014 reconcile-deployment-record.ts --write templates every row with that text; this hand-authored provenance is the accurate one, restore it if --write flattens it again.",
|
|
477
|
+
executeTx: "0xf0f237f6c4e958c37de556571908283c59c3fba6ebf9fa3cefb956f37e315a10",
|
|
478
|
+
block: 25669024
|
|
479
|
+
},
|
|
480
|
+
PositionManagerViews: {
|
|
481
|
+
previousImplementation: "0x9225647a30bbACA4Acc0491B786869036914242e",
|
|
482
|
+
newImplementation: "0xE68DC096A65Ecddbc6A9b5c6e5f878e2CE143Bfe",
|
|
483
|
+
proxy: "0x8B57954eA338c6A6bfF1457f71080e25baFF3937",
|
|
484
|
+
upgradedAt: "2026-08-03T08:34:23.000Z",
|
|
485
|
+
upgradedBy: "REPLACED, not upgraded. Fresh ERC1967Proxy (atomically initialized) + AdminModule generic-op 0x848a97186f0d PositionManager.setViews(proxy) \u2014 3-of-3, 24h timelock, executed in onchain-auth/.safe-batches/mainnet-release-execute-B.json",
|
|
486
|
+
reason: "2026-08 agent-stack release. The mainnet PositionManagerViews at 0x9225647a was deployed as a BARE implementation (EIP-1967 slot 0x00), so upgradeToAndCall reverts UUPSUnauthorizedCallContext \u2014 it could never be upgraded. PositionManager.setViews (added in the same Execute B batch) removed the repoint blocker, so Views was replaced behind a new proxy rather than upgraded. This makes the Pashov F3 renewal debt-ceiling check REACHABLE for the first time: ExceedsMaxLoan (0x499e7985) is present in 0xE68DC096 and absent from 0x9225647a. Views holds no protocol state (8 wiring slots + roles + pause), which is what made replacement safe. The old contract is ABANDONED, not decommissioned \u2014 it stays live and callable as the rollback target for setViews. NOTE: VERSION reads 1.1.1 on both sides; verify by address.",
|
|
487
|
+
executeTx: "0xf1f8d5fc13f45d7a3f932bf1a2d6e29381fdd41cd31298ad785bf7688df07fe6",
|
|
488
|
+
block: 25673200
|
|
451
489
|
}
|
|
452
490
|
},
|
|
453
491
|
latestEnv: {
|
|
@@ -456,7 +494,7 @@ var MAINNET_DEPLOYMENT = {
|
|
|
456
494
|
FEE_RECIPIENT_REGISTRY: "0x8fbCAAdA198E1C246ecEb2fB021C5A3d8050c6B3",
|
|
457
495
|
FEE_RECIPIENT_REGISTRY_IMPL: "0xEfAeB37faAdc2D420dC6F99128296B79fDDe74bE",
|
|
458
496
|
POSITION_DELEGATE_REGISTRY: "0xf0aa2678aD4F60f49e8F7725089B5E86B7F8FE4C",
|
|
459
|
-
POSITION_DELEGATE_REGISTRY_IMPL: "
|
|
497
|
+
POSITION_DELEGATE_REGISTRY_IMPL: "0x560a87251b3D306116F32D6e197FD068577e5349",
|
|
460
498
|
BITCOIN_PROVIDER_REGISTRY: "0x4ab3Fb96e02893Ed6FAa61bad1918390c8DbbFFC",
|
|
461
499
|
BITCOIN_PROVIDER_REGISTRY_IMPL: "0x7Bc9473E45fb3EA594e8b13992F57D0444902ddB",
|
|
462
500
|
BITCOIN_WITHDRAWAL_ADDRESS_REGISTRY: "0xf667f77FDba7458345f227eB6Bfe4148243E7270",
|
|
@@ -481,16 +519,19 @@ var MAINNET_DEPLOYMENT = {
|
|
|
481
519
|
ADMIN_MODULE_IMPL: "0xb4C5C7E051A1e672F014B25CB5D55B225Aa0D512",
|
|
482
520
|
BTC_SPEND_AUTHORIZER: "0xfBbF108486fa07F1B06a811C5b66ed68DD9c508a",
|
|
483
521
|
BTC_SPEND_AUTHORIZER_IMPL: "0x40c9e8C46C65E0A57BB63da5368868A9E8Df81A5",
|
|
484
|
-
POSITION_MANAGER_VIEWS: "
|
|
485
|
-
POSITION_MANAGER_VIEWS_IMPL: "
|
|
522
|
+
POSITION_MANAGER_VIEWS: "0x8B57954eA338c6A6bfF1457f71080e25baFF3937",
|
|
523
|
+
POSITION_MANAGER_VIEWS_IMPL: "0xE68DC096A65Ecddbc6A9b5c6e5f878e2CE143Bfe",
|
|
486
524
|
POSITION_MANAGER: "0x12A1836e56139ccaD8722B89519d84233efc224B",
|
|
487
|
-
POSITION_MANAGER_IMPL: "
|
|
525
|
+
POSITION_MANAGER_IMPL: "0x2e7170d6Fb15A876dB726732e72e63109bcB916d",
|
|
488
526
|
LOAN_OPERATIONS_MANAGER_MODULE: "0x2561974A40F1AEed1251d0A090A83cF8536FB9E9",
|
|
489
527
|
LOAN_OPERATIONS_MANAGER_MODULE_IMPL: "0x7d90aAB4466f59BA9aC9C7a9BF14dC53734336e7",
|
|
490
528
|
UPGRADE_VALIDATOR: "0xC46Ae71F22e3741A6CF46E399aE914C4868fEbed",
|
|
491
529
|
UPGRADE_VALIDATOR_IMPL: "0x4f835e77D1211299a1cbb8Aa2b42d9B390cC95CA",
|
|
492
530
|
OPERATION_AUTHORIZATION_REGISTRY: "0xD4505645b724754f5170a2027804a4265e860d44",
|
|
493
|
-
OPERATION_AUTHORIZATION_REGISTRY_IMPL: "0x493118746840EDB2D396E71632D2E774CA14070e"
|
|
531
|
+
OPERATION_AUTHORIZATION_REGISTRY_IMPL: "0x493118746840EDB2D396E71632D2E774CA14070e",
|
|
532
|
+
AGENT_DELEGATION_REGISTRY: "0x54853b7E91ce2Be34ce65655D80c4447e67187Fa",
|
|
533
|
+
AGENT_DELEGATION_REGISTRY_IMPL: "0xa9fF405Edd4329fc3159a64F56B37EBD253e4928",
|
|
534
|
+
DH_AGENT_DELEGATE: "0x70232d0caBe529e29a01A442423d7e03BBd414c8"
|
|
494
535
|
}
|
|
495
536
|
};
|
|
496
537
|
var MAINNET_CONTRACTS = {
|
|
@@ -507,7 +548,7 @@ var MAINNET_CONTRACTS = {
|
|
|
507
548
|
LiquidationManagerModule: "0x74B28695352E7bf736D6c9F76ccb7B4439477De9",
|
|
508
549
|
CircuitBreakerModule: "0xF7b545d3a4Ee056D06909AB367E2F7bFFE3cB1BC",
|
|
509
550
|
AdminModule: "0x0023B71B586795eE5fa4E83E384345C1EC8Bb946",
|
|
510
|
-
PositionManagerViews: "
|
|
551
|
+
PositionManagerViews: "0x8B57954eA338c6A6bfF1457f71080e25baFF3937",
|
|
511
552
|
PositionManager: "0x12A1836e56139ccaD8722B89519d84233efc224B",
|
|
512
553
|
OperationAuthorizationRegistry: "0xD4505645b724754f5170a2027804a4265e860d44",
|
|
513
554
|
ContractVersionRegistry: "0x5e18f77d01940dA5B1D986D373D9A6ad0767008d",
|
|
@@ -516,7 +557,9 @@ var MAINNET_CONTRACTS = {
|
|
|
516
557
|
BitcoinProviderRegistry: "0x4ab3Fb96e02893Ed6FAa61bad1918390c8DbbFFC",
|
|
517
558
|
BitcoinWithdrawalAddressRegistry: "0xf667f77FDba7458345f227eB6Bfe4148243E7270",
|
|
518
559
|
SimplePSMV2: "0xfE0C14B4E614f40Bf58845b4B04CeD17fd116532",
|
|
519
|
-
PKPValidation: "0x29922d3ccb86516f6C24F89f1eb3068655ca7Fa0"
|
|
560
|
+
PKPValidation: "0x29922d3ccb86516f6C24F89f1eb3068655ca7Fa0",
|
|
561
|
+
AgentDelegationRegistry: "0x54853b7E91ce2Be34ce65655D80c4447e67187Fa",
|
|
562
|
+
DHAgentDelegate: "0x70232d0caBe529e29a01A442423d7e03BBd414c8"
|
|
520
563
|
};
|
|
521
564
|
var LOCALHOST_DEPLOYMENT = {
|
|
522
565
|
network: "localhost",
|