@gvnrdao/dh-sdk 0.0.317 → 0.0.318

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.
@@ -69,11 +69,11 @@ var SEPOLIA_DEPLOYMENT = {
69
69
  },
70
70
  upgraded: {
71
71
  PositionManager: {
72
- previousImplementation: "0x3a493909920DF104D4048c2c20270B9DAFC81716",
73
- newImplementation: "0x607a80aee6eF425C7eC7bA5230E5FAFC95B0388F",
74
- upgradedAt: "2026-07-23T23:55:25.994Z",
72
+ previousImplementation: "0xb1885Be99BA64Bba773Bf423783A0334B7109409",
73
+ newImplementation: "0xfA7413a4547F496BF223ed25DF443c17ef6D4668",
74
+ upgradedAt: "2026-07-30T17:55:25.314Z",
75
75
  upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
76
- reason: "Shared upgrade script: PositionManager implementation update"
76
+ reason: "Add setViews escape hatch so PositionManagerViews can be repointed (mainnet Views is a frozen non-proxy)"
77
77
  },
78
78
  LoanOperationsManagerModule: {
79
79
  previousImplementation: "0x8c20e9Edf44146718F2EF15eEF47A201CaC229B8",
@@ -97,16 +97,16 @@ var SEPOLIA_DEPLOYMENT = {
97
97
  reason: "Shared upgrade script: TermManagerModule implementation update"
98
98
  },
99
99
  CircuitBreakerModule: {
100
- previousImplementation: "0xA5b11b895fB5a49731ab81BF9FC807b9029c8C98",
101
- newImplementation: "0xF6277dEF72D51312CC99616B5380f34Eb7603D75",
102
- upgradedAt: "2026-05-17T19:22:13.051Z",
100
+ previousImplementation: "0xF6277dEF72D51312CC99616B5380f34Eb7603D75",
101
+ newImplementation: "0x4b28F1d4ecBcc13b51a8d0f890e6d5bF4966EEB4",
102
+ upgradedAt: "2026-07-30T09:28:12.835Z",
103
103
  upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
104
104
  reason: "Shared upgrade script: CircuitBreakerModule implementation update"
105
105
  },
106
106
  AdminModule: {
107
- previousImplementation: "0xF94A1801Fcc416e621Ae83B8030D1fE08b2DeB41",
108
- newImplementation: "0xBBA86246169f81a307Fafff02C1e3D8456aab973",
109
- upgradedAt: "2026-05-18T21:20:49.009Z",
107
+ previousImplementation: "0xBBA86246169f81a307Fafff02C1e3D8456aab973",
108
+ newImplementation: "0x2905964e27BD78595cf8fFa6FFc5A99E54F399c4",
109
+ upgradedAt: "2026-07-30T09:02:25.915Z",
110
110
  upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
111
111
  reason: "Shared upgrade script: AdminModule implementation update"
112
112
  },
@@ -167,21 +167,18 @@ var SEPOLIA_DEPLOYMENT = {
167
167
  reason: "Shared upgrade script: SimplePSMV2 implementation update"
168
168
  },
169
169
  UpgradeValidator: {
170
- previousImplementation: "0x535c9d66F9CFa4f2337cF6074BFc8fdcBBb9cFC4",
171
- newImplementation: "0x2Dd375041Be067E7d12bAB2106911Ce209EbD12f",
172
- upgradedAt: "2026-05-17T15:58:37.805Z",
170
+ previousImplementation: "0x2Dd375041Be067E7d12bAB2106911Ce209EbD12f",
171
+ newImplementation: "0x9E70e1D07AB11ac9dD37B67AA091Efe97d7Ed84b",
172
+ upgradedAt: "2026-07-30T09:32:13.726Z",
173
173
  upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
174
174
  reason: "Shared upgrade script: UpgradeValidator implementation update"
175
175
  },
176
176
  LITActionValidator: {
177
- proxy: "0x54eECd7C90F8A8fac27749Ba30BbE8AFBAccc856",
178
- previousImplementation: "0xc71935a9B7A54e9D1FD266ab4D216644974A154d",
179
- implementation: "0xE2f99EA35b4DA01A66338427EC9077581d28FDb5",
180
- version: "2.3.0",
181
- upgradedAt: "2026-05-18T21:30:13.008Z",
177
+ previousImplementation: "0xE2f99EA35b4DA01A66338427EC9077581d28FDb5",
178
+ newImplementation: "0x8FF30Fab0cC09C67dF6DF0ee017f817d5B101457",
179
+ upgradedAt: "2026-07-30T09:30:13.928Z",
182
180
  upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
183
- upgradeTx: "0xf287387ea7190138d0fd183d9381d8c051d3521569bb9d0e7d6c3dcb46d65964",
184
- note: "M-03: removed validateLITActionSignature, LIT_PROTOCOL_ROLE, isValidatedPKP, getValidationProof, helpers"
181
+ reason: "Shared upgrade script: LITActionValidator implementation update"
185
182
  },
186
183
  ContractVersionRegistry: {
187
184
  previousImplementation: "0x327Ced106C2804283994F0C0e2436E4B76AA7dAD",
@@ -191,11 +188,11 @@ var SEPOLIA_DEPLOYMENT = {
191
188
  reason: "Shared upgrade script: ContractVersionRegistry implementation update"
192
189
  },
193
190
  PositionDelegateRegistry: {
194
- previousImplementation: "0xAE227De03D5aeDC870d6e096D9C6652E001a92aF",
195
- newImplementation: "0x301fa9AA527016D033e151b982C64cD8670a39E3",
196
- upgradedAt: "2026-05-17T16:00:25.211Z",
191
+ previousImplementation: "0x301fa9AA527016D033e151b982C64cD8670a39E3",
192
+ newImplementation: "0xc681c48688cdAA966119E265e4a378ef8Fe0eBcA",
193
+ upgradedAt: "2026-07-30T09:02:27.050Z",
197
194
  upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
198
- reason: "Shared upgrade script: PositionDelegateRegistry implementation update"
195
+ reason: "Reconciled implementation from chain"
199
196
  },
200
197
  OperationAuthorizationRegistry: {
201
198
  previousImplementation: "0xF56090039c268B90f1867075813B5B36C40092B4",
@@ -205,18 +202,18 @@ var SEPOLIA_DEPLOYMENT = {
205
202
  reason: "Shared upgrade script: OperationAuthorizationRegistry implementation update"
206
203
  },
207
204
  FeeRecipientRegistry: {
208
- previousImplementation: "0x974a0f64d572a4F4e1395aaeB22d1c2685D22459",
209
- newImplementation: "0xd08513a7cB2dd354B26cDDf549616F12054c34c9",
210
- upgradedAt: "2026-05-15T17:52:37.448Z",
205
+ previousImplementation: "0xd08513a7cB2dd354B26cDDf549616F12054c34c9",
206
+ newImplementation: "0x44057f5Ca13B1C3a74E5507c372704F3c8c5834f",
207
+ upgradedAt: "2026-07-30T09:23:25.934Z",
211
208
  upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
212
- reason: "Shared upgrade script: FeeRecipientRegistry v1.1.0 \u2014 _authorizeUpgrade gated by onlyAdminModule + AccessControlEnumerable base"
209
+ reason: "Shared upgrade script: FeeRecipientRegistry implementation update"
213
210
  },
214
211
  BitcoinProviderRegistry: {
215
- previousImplementation: "0x225309A4ae6D146ba93A3278A7b40224FfC81448",
216
- newImplementation: "0xc5899d53426aD9354CEdAFe3002cbd3aBfAC46ab",
217
- upgradedAt: "2026-05-27T12:16:13.356Z",
212
+ previousImplementation: "0xc5899d53426aD9354CEdAFe3002cbd3aBfAC46ab",
213
+ newImplementation: "0x37A8D9a57f9dEa7ae7D5B7BC7B1BB61a80960eB7",
214
+ upgradedAt: "2026-07-30T09:26:01.725Z",
218
215
  upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
219
- reason: "Audit C-7: BitcoinProviderRegistry v1.0.0 \u2192 v1.1.0 \u2014 per-chainId CID allowlist (addAllowedCid / removeAllowedCid / isAllowedCid views). Storage gap 46 \u2192 43."
216
+ reason: "Shared upgrade script: BitcoinProviderRegistry implementation update"
220
217
  },
221
218
  BitcoinWithdrawalAddressRegistry: {
222
219
  previousImplementation: "0xFF270BC4470dBA80430Bd1a3a66EB691599354fA",
@@ -295,27 +292,27 @@ var SEPOLIA_DEPLOYMENT = {
295
292
  UCD_CONTROLLER_IMPL: "0x91204831bBCfcDCEa5fEE09B0d875778E9651690",
296
293
  LOAN_OPERATIONS_MANAGER_MODULE_IMPL: "0x6Ad08177F264f441074921C437670D1fA5934676",
297
294
  TERM_MANAGER_MODULE_IMPL: "0xA2D6543faFA9d84C16Cd5e5E34F746B6e138F54d",
298
- CIRCUIT_BREAKER_MODULE_IMPL: "0xF6277dEF72D51312CC99616B5380f34Eb7603D75",
299
- ADMIN_MODULE_IMPL: "0xBBA86246169f81a307Fafff02C1e3D8456aab973",
295
+ CIRCUIT_BREAKER_MODULE_IMPL: "0x4b28F1d4ecBcc13b51a8d0f890e6d5bF4966EEB4",
296
+ ADMIN_MODULE_IMPL: "0x2905964e27BD78595cf8fFa6FFc5A99E54F399c4",
300
297
  POSITION_MANAGER_VIEWS_IMPL: "0xA455B542cFb36AF8451fc420dB89e590E5c87cef",
301
- POSITION_MANAGER_IMPL: "0x607a80aee6eF425C7eC7bA5230E5FAFC95B0388F",
298
+ POSITION_MANAGER_IMPL: "0xfA7413a4547F496BF223ed25DF443c17ef6D4668",
302
299
  SIMPLE_PSM_V2: "0x19EcF7BA26e054fd4Ff06009A03070103dbBB058",
303
300
  SIMPLE_PSM_V2_IMPL: "0xE38010BE47B389922A1cd4b533470F0af7d20101",
304
301
  UCD_TOKEN_IMPL: "0xa6C8C4cfc7DD3dCE5F1259A4a1eAf8461aA8CeC8",
305
302
  POSITION_MANAGER_CORE_MODULE: "0xfFAA39a08887FeFB697eBC8691A8630CbCC33391",
306
303
  POSITION_MANAGER_CORE_MODULE_IMPL: "0x0E721048c066C5589C41f97785f7E5737ac2BEB3",
307
304
  COLLATERAL_MANAGER_MODULE: "0x967E92c976Fc0fa8268D37D4d6B7245d912aA7dB",
308
- COLLATERAL_MANAGER_MODULE_IMPL: "0xC232E95951303828CF66eaf76181A7956144d27a",
305
+ COLLATERAL_MANAGER_MODULE_IMPL: "0xF57BBbb4818371605e308228A04F8Ec4Dcc5E7Ba",
309
306
  LIQUIDATION_MANAGER_MODULE: "0xC4AB00f39e7ceD812F5C67058C9fa44e15d40e76",
310
307
  LIQUIDATION_MANAGER_MODULE_IMPL: "0xCe7587C47094BBb3dCa13D7a2299Ec9beA6cd759",
311
308
  BTC_SPEND_AUTHORIZER: "0xd7E9Eb5eE53f1d9ee55Dc162bBC7486bE437B6bD",
312
309
  BTC_SPEND_AUTHORIZER_IMPL: "0xdd3DFaEc50d6214d57eA64e8b76ff318b501607b",
313
310
  UPGRADE_VALIDATOR: "0x592e650edD9bA26ecc407989fdd6F9cdcDeC27A6",
314
- UPGRADE_VALIDATOR_IMPL: "0x2Dd375041Be067E7d12bAB2106911Ce209EbD12f",
311
+ UPGRADE_VALIDATOR_IMPL: "0x9E70e1D07AB11ac9dD37B67AA091Efe97d7Ed84b",
315
312
  BITCOIN_PROVIDER_REGISTRY: "0xbfA0c48B070D0a9A9CD27469AeacFD2d4261cEE2",
316
- BITCOIN_PROVIDER_REGISTRY_IMPL: "0xc5899d53426aD9354CEdAFe3002cbd3aBfAC46ab",
313
+ BITCOIN_PROVIDER_REGISTRY_IMPL: "0x37A8D9a57f9dEa7ae7D5B7BC7B1BB61a80960eB7",
317
314
  LIT_ACTION_VALIDATOR: "0x54eECd7C90F8A8fac27749Ba30BbE8AFBAccc856",
318
- LIT_ACTION_VALIDATOR_IMPL: "0xE2f99EA35b4DA01A66338427EC9077581d28FDb5",
315
+ LIT_ACTION_VALIDATOR_IMPL: "0x8FF30Fab0cC09C67dF6DF0ee017f817d5B101457",
319
316
  CONTRACT_VERSION_REGISTRY: "0x97E43AA6aFF2C0cf659d3aE501658D2Ef6777522",
320
317
  CONTRACT_VERSION_REGISTRY_IMPL: "0xF3389De4bCeC735e4F6d35b9f71170D96037D1B7",
321
318
  MOCK_USDC_TOKEN: "0x96409A98e0D322d6566b7F44a0fAbD1BD4ce2AEc",
@@ -324,10 +321,10 @@ var SEPOLIA_DEPLOYMENT = {
324
321
  POSITION_DELEGATE_REGISTRY_IMPL: "0xc681c48688cdAA966119E265e4a378ef8Fe0eBcA",
325
322
  AGENT_MODULE: "0xefb8C29C1e7e92ed7d81a52dbedaed74e37fe380",
326
323
  FEE_RECIPIENT_REGISTRY: "0x95795F8403DDb629E8527B2934C4e71f5fC0C374",
327
- FEE_RECIPIENT_REGISTRY_IMPL: "0xd08513a7cB2dd354B26cDDf549616F12054c34c9",
324
+ FEE_RECIPIENT_REGISTRY_IMPL: "0x44057f5Ca13B1C3a74E5507c372704F3c8c5834f",
328
325
  OPERATION_AUTHORIZATION_REGISTRY_IMPL: "0xe0D981B60351f0f8fFDA2b50C8180Fb37CeF3883",
329
326
  BITCOIN_WITHDRAWAL_ADDRESS_REGISTRY: "0x6376D392097F0A81e51BD83960A97EA20eaf1dbe",
330
- BITCOIN_WITHDRAWAL_ADDRESS_REGISTRY_IMPL: "0xFF270BC4470dBA80430Bd1a3a66EB691599354fA",
327
+ BITCOIN_WITHDRAWAL_ADDRESS_REGISTRY_IMPL: "0x76E0a2c9d89562fD7c50b5f554d7fa25957e39Db",
331
328
  CARRY_AGENT_REGISTRY: "0x5595CB538D44E6Cf179D20364fD631D0477e69f7",
332
329
  CARRY_AGENT_REGISTRY_IMPL: "0x1b11a3D5e46F3672E643c997f0d569DFf0b64a01",
333
330
  AGENT_DELEGATION_REGISTRY: "0x6AE7fc6bE0925126b9D25b1B7Ce5AD5d127ec025",
@@ -393,7 +390,9 @@ var MAINNET_DEPLOYMENT = {
393
390
  BitcoinProviderRegistry: "0x4ab3Fb96e02893Ed6FAa61bad1918390c8DbbFFC",
394
391
  BitcoinWithdrawalAddressRegistry: "0xf667f77FDba7458345f227eB6Bfe4148243E7270",
395
392
  SimplePSMV2: "0xfE0C14B4E614f40Bf58845b4B04CeD17fd116532",
396
- PKPValidation: "0x29922d3ccb86516f6C24F89f1eb3068655ca7Fa0"
393
+ PKPValidation: "0x29922d3ccb86516f6C24F89f1eb3068655ca7Fa0",
394
+ AgentDelegationRegistry: "0x54853b7E91ce2Be34ce65655D80c4447e67187Fa",
395
+ DHAgentDelegate: "0x70232d0caBe529e29a01A442423d7e03BBd414c8"
397
396
  },
398
397
  upgraded: {
399
398
  SimplePSMV2: {
@@ -408,16 +407,20 @@ var MAINNET_DEPLOYMENT = {
408
407
  CollateralManagerModule: {
409
408
  previousImplementation: "0x1919860e528Cd2AbbD31a17858c986b8aCc8C185",
410
409
  newImplementation: "0x55110B9dd6B2c9f812564e7a1ef42b3c76E1A3Bb",
411
- upgradedAt: "2026-07-08T20:33:59Z",
412
- upgradedBy: "AdminModule generic-op 0x740efe0cfe85044479cbd8ee3058aa244057d90703dd2b37044dd6787cbf3485 (3-of-5 ADMIN_ROLE Safes, 24h timelock; executed by 0xfb3B8cbeFB7D666A6Af34C53e189EdC31862a7be in tx 0x430c8e450f12d3d9359cde356ac5e2ef39661d7a89884b5674a596c1090f6cff)",
413
- reason: "Validator gas fix (#420): BitcoinAddressValidator packed-table lookups; VERSION 1.3.0 -> 1.3.1"
410
+ upgradedAt: "2026-07-08T20:33:59.000Z",
411
+ 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)",
412
+ 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.",
413
+ executeTx: "0x430c8e450f12d3d9359cde356ac5e2ef39661d7a89884b5674a596c1090f6cff",
414
+ block: 25490267
414
415
  },
415
416
  BitcoinWithdrawalAddressRegistry: {
416
417
  previousImplementation: "0x11731bFEC3068F2cc19D016381dfEA3B93013b1C",
417
418
  newImplementation: "0x190c08300Ae650fb88ed8156445BBeb13bE9E8a3",
418
- upgradedAt: "2026-07-08T20:33:59Z",
419
- upgradedBy: "AdminModule generic-op 0x2603a486c0f34554b864cc1d909b325c7e105331da10ec0fd7e0b9373fa76207 (3-of-5 ADMIN_ROLE Safes, 24h timelock; executed by 0xfb3B8cbeFB7D666A6Af34C53e189EdC31862a7be in tx 0x430c8e450f12d3d9359cde356ac5e2ef39661d7a89884b5674a596c1090f6cff)",
420
- reason: "Validator gas fix (#420): BitcoinAddressValidator packed-table lookups; VERSION 1.0.0 -> 1.0.1"
419
+ upgradedAt: "2026-07-08T20:33:59.000Z",
420
+ 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)",
421
+ 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.",
422
+ executeTx: "0x430c8e450f12d3d9359cde356ac5e2ef39661d7a89884b5674a596c1090f6cff",
423
+ block: 25490267
421
424
  },
422
425
  UCDController: {
423
426
  previousImplementation: "0x16f94AcC78cE87bEeBCfF90552091B3EfC071E48",
@@ -481,6 +484,31 @@ var MAINNET_DEPLOYMENT = {
481
484
  reason: "Reconciled from chain \u2014 mainnet audit rollout batch (cross-ref onchain-auth/.safe-batches/mainnet-audit-execute.json)",
482
485
  executeTx: "0x9820e259700865a281b8376e248044048ba2fed1d17c811ac66ac54d36711a5b",
483
486
  block: 25472961
487
+ },
488
+ BitcoinProviderRegistry: {
489
+ newImplementation: "0x7Bc9473E45fb3EA594e8b13992F57D0444902ddB",
490
+ upgradedAt: "2026-06-16T17:51:11.000Z",
491
+ upgradedBy: "AdminModule/Safe audit-batch upgradeToAndCall; executed by 0xEba7BfAeB35ee18408b424Ee0BB45AdDf776589f in tx 0xf97e21ce2bc23876d60414c24ce6f45b2f0dd5e1ce42aca84f245f90f18ea17d (block 25331694)",
492
+ reason: "Reconciled from chain \u2014 mainnet audit rollout batch (cross-ref onchain-auth/.safe-batches/mainnet-audit-execute.json)",
493
+ executeTx: "0xf97e21ce2bc23876d60414c24ce6f45b2f0dd5e1ce42aca84f245f90f18ea17d",
494
+ block: 25331694
495
+ },
496
+ FeeRecipientRegistry: {
497
+ newImplementation: "0xEfAeB37faAdc2D420dC6F99128296B79fDDe74bE",
498
+ upgradedAt: "2026-06-16T17:30:35.000Z",
499
+ upgradedBy: "AdminModule/Safe audit-batch upgradeToAndCall; executed by 0xEba7BfAeB35ee18408b424Ee0BB45AdDf776589f in tx 0xc8f592166923f83b9b0cfc44e67c2ec75f79ca95be4f8ffa01654f702eaac502 (block 25331591)",
500
+ reason: "Reconciled from chain \u2014 mainnet audit rollout batch (cross-ref onchain-auth/.safe-batches/mainnet-audit-execute.json)",
501
+ executeTx: "0xc8f592166923f83b9b0cfc44e67c2ec75f79ca95be4f8ffa01654f702eaac502",
502
+ block: 25331591
503
+ },
504
+ PositionDelegateRegistry: {
505
+ previousImplementation: "0x3c7B975c03F549fe0656D9cbbA218BcF1C7092af",
506
+ newImplementation: "0x560a87251b3D306116F32D6e197FD068577e5349",
507
+ upgradedAt: "2026-08-02T18:34:35.000Z",
508
+ 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)",
509
+ 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.",
510
+ executeTx: "0xf0f237f6c4e958c37de556571908283c59c3fba6ebf9fa3cefb956f37e315a10",
511
+ block: 25669024
484
512
  }
485
513
  },
486
514
  latestEnv: {
@@ -489,7 +517,7 @@ var MAINNET_DEPLOYMENT = {
489
517
  FEE_RECIPIENT_REGISTRY: "0x8fbCAAdA198E1C246ecEb2fB021C5A3d8050c6B3",
490
518
  FEE_RECIPIENT_REGISTRY_IMPL: "0xEfAeB37faAdc2D420dC6F99128296B79fDDe74bE",
491
519
  POSITION_DELEGATE_REGISTRY: "0xf0aa2678aD4F60f49e8F7725089B5E86B7F8FE4C",
492
- POSITION_DELEGATE_REGISTRY_IMPL: "0x3c7B975c03F549fe0656D9cbbA218BcF1C7092af",
520
+ POSITION_DELEGATE_REGISTRY_IMPL: "0x560a87251b3D306116F32D6e197FD068577e5349",
493
521
  BITCOIN_PROVIDER_REGISTRY: "0x4ab3Fb96e02893Ed6FAa61bad1918390c8DbbFFC",
494
522
  BITCOIN_PROVIDER_REGISTRY_IMPL: "0x7Bc9473E45fb3EA594e8b13992F57D0444902ddB",
495
523
  BITCOIN_WITHDRAWAL_ADDRESS_REGISTRY: "0xf667f77FDba7458345f227eB6Bfe4148243E7270",
@@ -523,7 +551,10 @@ var MAINNET_DEPLOYMENT = {
523
551
  UPGRADE_VALIDATOR: "0xC46Ae71F22e3741A6CF46E399aE914C4868fEbed",
524
552
  UPGRADE_VALIDATOR_IMPL: "0x4f835e77D1211299a1cbb8Aa2b42d9B390cC95CA",
525
553
  OPERATION_AUTHORIZATION_REGISTRY: "0xD4505645b724754f5170a2027804a4265e860d44",
526
- OPERATION_AUTHORIZATION_REGISTRY_IMPL: "0x493118746840EDB2D396E71632D2E774CA14070e"
554
+ OPERATION_AUTHORIZATION_REGISTRY_IMPL: "0x493118746840EDB2D396E71632D2E774CA14070e",
555
+ AGENT_DELEGATION_REGISTRY: "0x54853b7E91ce2Be34ce65655D80c4447e67187Fa",
556
+ AGENT_DELEGATION_REGISTRY_IMPL: "0xa9fF405Edd4329fc3159a64F56B37EBD253e4928",
557
+ DH_AGENT_DELEGATE: "0x70232d0caBe529e29a01A442423d7e03BBd414c8"
527
558
  }
528
559
  };
529
560
  var MAINNET_CONTRACTS = {
@@ -549,7 +580,9 @@ var MAINNET_CONTRACTS = {
549
580
  BitcoinProviderRegistry: "0x4ab3Fb96e02893Ed6FAa61bad1918390c8DbbFFC",
550
581
  BitcoinWithdrawalAddressRegistry: "0xf667f77FDba7458345f227eB6Bfe4148243E7270",
551
582
  SimplePSMV2: "0xfE0C14B4E614f40Bf58845b4B04CeD17fd116532",
552
- PKPValidation: "0x29922d3ccb86516f6C24F89f1eb3068655ca7Fa0"
583
+ PKPValidation: "0x29922d3ccb86516f6C24F89f1eb3068655ca7Fa0",
584
+ AgentDelegationRegistry: "0x54853b7E91ce2Be34ce65655D80c4447e67187Fa",
585
+ DHAgentDelegate: "0x70232d0caBe529e29a01A442423d7e03BBd414c8"
553
586
  };
554
587
  var LOCALHOST_DEPLOYMENT = {
555
588
  network: "localhost",
@@ -36,11 +36,11 @@ var SEPOLIA_DEPLOYMENT = {
36
36
  },
37
37
  upgraded: {
38
38
  PositionManager: {
39
- previousImplementation: "0x3a493909920DF104D4048c2c20270B9DAFC81716",
40
- newImplementation: "0x607a80aee6eF425C7eC7bA5230E5FAFC95B0388F",
41
- upgradedAt: "2026-07-23T23:55:25.994Z",
39
+ previousImplementation: "0xb1885Be99BA64Bba773Bf423783A0334B7109409",
40
+ newImplementation: "0xfA7413a4547F496BF223ed25DF443c17ef6D4668",
41
+ upgradedAt: "2026-07-30T17:55:25.314Z",
42
42
  upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
43
- reason: "Shared upgrade script: PositionManager implementation update"
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: "0xA5b11b895fB5a49731ab81BF9FC807b9029c8C98",
68
- newImplementation: "0xF6277dEF72D51312CC99616B5380f34Eb7603D75",
69
- upgradedAt: "2026-05-17T19:22:13.051Z",
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: "0xF94A1801Fcc416e621Ae83B8030D1fE08b2DeB41",
75
- newImplementation: "0xBBA86246169f81a307Fafff02C1e3D8456aab973",
76
- upgradedAt: "2026-05-18T21:20:49.009Z",
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: "0x535c9d66F9CFa4f2337cF6074BFc8fdcBBb9cFC4",
138
- newImplementation: "0x2Dd375041Be067E7d12bAB2106911Ce209EbD12f",
139
- upgradedAt: "2026-05-17T15:58:37.805Z",
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
- proxy: "0x54eECd7C90F8A8fac27749Ba30BbE8AFBAccc856",
145
- previousImplementation: "0xc71935a9B7A54e9D1FD266ab4D216644974A154d",
146
- implementation: "0xE2f99EA35b4DA01A66338427EC9077581d28FDb5",
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
- upgradeTx: "0xf287387ea7190138d0fd183d9381d8c051d3521569bb9d0e7d6c3dcb46d65964",
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: "0xAE227De03D5aeDC870d6e096D9C6652E001a92aF",
162
- newImplementation: "0x301fa9AA527016D033e151b982C64cD8670a39E3",
163
- upgradedAt: "2026-05-17T16:00:25.211Z",
158
+ previousImplementation: "0x301fa9AA527016D033e151b982C64cD8670a39E3",
159
+ newImplementation: "0xc681c48688cdAA966119E265e4a378ef8Fe0eBcA",
160
+ upgradedAt: "2026-07-30T09:02:27.050Z",
164
161
  upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
165
- reason: "Shared upgrade script: PositionDelegateRegistry implementation update"
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: "0x974a0f64d572a4F4e1395aaeB22d1c2685D22459",
176
- newImplementation: "0xd08513a7cB2dd354B26cDDf549616F12054c34c9",
177
- upgradedAt: "2026-05-15T17:52:37.448Z",
172
+ previousImplementation: "0xd08513a7cB2dd354B26cDDf549616F12054c34c9",
173
+ newImplementation: "0x44057f5Ca13B1C3a74E5507c372704F3c8c5834f",
174
+ upgradedAt: "2026-07-30T09:23:25.934Z",
178
175
  upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
179
- reason: "Shared upgrade script: FeeRecipientRegistry v1.1.0 \u2014 _authorizeUpgrade gated by onlyAdminModule + AccessControlEnumerable base"
176
+ reason: "Shared upgrade script: FeeRecipientRegistry implementation update"
180
177
  },
181
178
  BitcoinProviderRegistry: {
182
- previousImplementation: "0x225309A4ae6D146ba93A3278A7b40224FfC81448",
183
- newImplementation: "0xc5899d53426aD9354CEdAFe3002cbd3aBfAC46ab",
184
- upgradedAt: "2026-05-27T12:16:13.356Z",
179
+ previousImplementation: "0xc5899d53426aD9354CEdAFe3002cbd3aBfAC46ab",
180
+ newImplementation: "0x37A8D9a57f9dEa7ae7D5B7BC7B1BB61a80960eB7",
181
+ upgradedAt: "2026-07-30T09:26:01.725Z",
185
182
  upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
186
- reason: "Audit C-7: BitcoinProviderRegistry v1.0.0 \u2192 v1.1.0 \u2014 per-chainId CID allowlist (addAllowedCid / removeAllowedCid / isAllowedCid views). Storage gap 46 \u2192 43."
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: "0xF6277dEF72D51312CC99616B5380f34Eb7603D75",
266
- ADMIN_MODULE_IMPL: "0xBBA86246169f81a307Fafff02C1e3D8456aab973",
262
+ CIRCUIT_BREAKER_MODULE_IMPL: "0x4b28F1d4ecBcc13b51a8d0f890e6d5bF4966EEB4",
263
+ ADMIN_MODULE_IMPL: "0x2905964e27BD78595cf8fFa6FFc5A99E54F399c4",
267
264
  POSITION_MANAGER_VIEWS_IMPL: "0xA455B542cFb36AF8451fc420dB89e590E5c87cef",
268
- POSITION_MANAGER_IMPL: "0x607a80aee6eF425C7eC7bA5230E5FAFC95B0388F",
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: "0xC232E95951303828CF66eaf76181A7956144d27a",
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: "0x2Dd375041Be067E7d12bAB2106911Ce209EbD12f",
278
+ UPGRADE_VALIDATOR_IMPL: "0x9E70e1D07AB11ac9dD37B67AA091Efe97d7Ed84b",
282
279
  BITCOIN_PROVIDER_REGISTRY: "0xbfA0c48B070D0a9A9CD27469AeacFD2d4261cEE2",
283
- BITCOIN_PROVIDER_REGISTRY_IMPL: "0xc5899d53426aD9354CEdAFe3002cbd3aBfAC46ab",
280
+ BITCOIN_PROVIDER_REGISTRY_IMPL: "0x37A8D9a57f9dEa7ae7D5B7BC7B1BB61a80960eB7",
284
281
  LIT_ACTION_VALIDATOR: "0x54eECd7C90F8A8fac27749Ba30BbE8AFBAccc856",
285
- LIT_ACTION_VALIDATOR_IMPL: "0xE2f99EA35b4DA01A66338427EC9077581d28FDb5",
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: "0xd08513a7cB2dd354B26cDDf549616F12054c34c9",
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: "0xFF270BC4470dBA80430Bd1a3a66EB691599354fA",
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",
@@ -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:59Z",
379
- upgradedBy: "AdminModule generic-op 0x740efe0cfe85044479cbd8ee3058aa244057d90703dd2b37044dd6787cbf3485 (3-of-5 ADMIN_ROLE Safes, 24h timelock; executed by 0xfb3B8cbeFB7D666A6Af34C53e189EdC31862a7be in tx 0x430c8e450f12d3d9359cde356ac5e2ef39661d7a89884b5674a596c1090f6cff)",
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:59Z",
386
- upgradedBy: "AdminModule generic-op 0x2603a486c0f34554b864cc1d909b325c7e105331da10ec0fd7e0b9373fa76207 (3-of-5 ADMIN_ROLE Safes, 24h timelock; executed by 0xfb3B8cbeFB7D666A6Af34C53e189EdC31862a7be in tx 0x430c8e450f12d3d9359cde356ac5e2ef39661d7a89884b5674a596c1090f6cff)",
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",
@@ -448,6 +451,31 @@ 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
451
479
  }
452
480
  },
453
481
  latestEnv: {
@@ -456,7 +484,7 @@ var MAINNET_DEPLOYMENT = {
456
484
  FEE_RECIPIENT_REGISTRY: "0x8fbCAAdA198E1C246ecEb2fB021C5A3d8050c6B3",
457
485
  FEE_RECIPIENT_REGISTRY_IMPL: "0xEfAeB37faAdc2D420dC6F99128296B79fDDe74bE",
458
486
  POSITION_DELEGATE_REGISTRY: "0xf0aa2678aD4F60f49e8F7725089B5E86B7F8FE4C",
459
- POSITION_DELEGATE_REGISTRY_IMPL: "0x3c7B975c03F549fe0656D9cbbA218BcF1C7092af",
487
+ POSITION_DELEGATE_REGISTRY_IMPL: "0x560a87251b3D306116F32D6e197FD068577e5349",
460
488
  BITCOIN_PROVIDER_REGISTRY: "0x4ab3Fb96e02893Ed6FAa61bad1918390c8DbbFFC",
461
489
  BITCOIN_PROVIDER_REGISTRY_IMPL: "0x7Bc9473E45fb3EA594e8b13992F57D0444902ddB",
462
490
  BITCOIN_WITHDRAWAL_ADDRESS_REGISTRY: "0xf667f77FDba7458345f227eB6Bfe4148243E7270",
@@ -490,7 +518,10 @@ var MAINNET_DEPLOYMENT = {
490
518
  UPGRADE_VALIDATOR: "0xC46Ae71F22e3741A6CF46E399aE914C4868fEbed",
491
519
  UPGRADE_VALIDATOR_IMPL: "0x4f835e77D1211299a1cbb8Aa2b42d9B390cC95CA",
492
520
  OPERATION_AUTHORIZATION_REGISTRY: "0xD4505645b724754f5170a2027804a4265e860d44",
493
- OPERATION_AUTHORIZATION_REGISTRY_IMPL: "0x493118746840EDB2D396E71632D2E774CA14070e"
521
+ OPERATION_AUTHORIZATION_REGISTRY_IMPL: "0x493118746840EDB2D396E71632D2E774CA14070e",
522
+ AGENT_DELEGATION_REGISTRY: "0x54853b7E91ce2Be34ce65655D80c4447e67187Fa",
523
+ AGENT_DELEGATION_REGISTRY_IMPL: "0xa9fF405Edd4329fc3159a64F56B37EBD253e4928",
524
+ DH_AGENT_DELEGATE: "0x70232d0caBe529e29a01A442423d7e03BBd414c8"
494
525
  }
495
526
  };
496
527
  var MAINNET_CONTRACTS = {
@@ -516,7 +547,9 @@ var MAINNET_CONTRACTS = {
516
547
  BitcoinProviderRegistry: "0x4ab3Fb96e02893Ed6FAa61bad1918390c8DbbFFC",
517
548
  BitcoinWithdrawalAddressRegistry: "0xf667f77FDba7458345f227eB6Bfe4148243E7270",
518
549
  SimplePSMV2: "0xfE0C14B4E614f40Bf58845b4B04CeD17fd116532",
519
- PKPValidation: "0x29922d3ccb86516f6C24F89f1eb3068655ca7Fa0"
550
+ PKPValidation: "0x29922d3ccb86516f6C24F89f1eb3068655ca7Fa0",
551
+ AgentDelegationRegistry: "0x54853b7E91ce2Be34ce65655D80c4447e67187Fa",
552
+ DHAgentDelegate: "0x70232d0caBe529e29a01A442423d7e03BBd414c8"
520
553
  };
521
554
  var LOCALHOST_DEPLOYMENT = {
522
555
  network: "localhost",