@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.
@@ -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",
@@ -384,7 +381,7 @@ var MAINNET_DEPLOYMENT = {
384
381
  LiquidationManagerModule: "0x74B28695352E7bf736D6c9F76ccb7B4439477De9",
385
382
  CircuitBreakerModule: "0xF7b545d3a4Ee056D06909AB367E2F7bFFE3cB1BC",
386
383
  AdminModule: "0x0023B71B586795eE5fa4E83E384345C1EC8Bb946",
387
- PositionManagerViews: "0x9225647a30bbACA4Acc0491B786869036914242e",
384
+ PositionManagerViews: "0x8B57954eA338c6A6bfF1457f71080e25baFF3937",
388
385
  PositionManager: "0x12A1836e56139ccaD8722B89519d84233efc224B",
389
386
  OperationAuthorizationRegistry: "0xD4505645b724754f5170a2027804a4265e860d44",
390
387
  ContractVersionRegistry: "0x5e18f77d01940dA5B1D986D373D9A6ad0767008d",
@@ -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",
@@ -456,13 +459,13 @@ var MAINNET_DEPLOYMENT = {
456
459
  block: 25472957
457
460
  },
458
461
  PositionManager: {
459
- previousImplementation: "0x9f52BaBB40FbFC5863e45B1A4014cB433950c684",
460
- newImplementation: "0x600Dc0D1C2c0F94882B6Bc09172f8650047Ad5B1",
461
- upgradedAt: "2026-07-06T08:42:47.000Z",
462
- upgradedBy: "AdminModule/Safe audit-batch upgradeToAndCall; executed by 0x2002827d34A781883Ec4c83c36ECC140c3911F2B in tx 0xa1fbe31cb71736514a868e681573dff22c9fab91d69cec157a24a30e29eadbe6 (block 25472368)",
463
- reason: "Reconciled from chain \u2014 mainnet audit rollout batch (cross-ref onchain-auth/.safe-batches/mainnet-audit-execute.json)",
464
- executeTx: "0xa1fbe31cb71736514a868e681573dff22c9fab91d69cec157a24a30e29eadbe6",
465
- block: 25472368
462
+ previousImplementation: "0x600Dc0D1C2c0F94882B6Bc09172f8650047Ad5B1",
463
+ newImplementation: "0x2e7170d6Fb15A876dB726732e72e63109bcB916d",
464
+ upgradedAt: "2026-08-03T08:34:23.000Z",
465
+ 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)",
466
+ 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.",
467
+ executeTx: "0xf1f8d5fc13f45d7a3f932bf1a2d6e29381fdd41cd31298ad785bf7688df07fe6",
468
+ block: 25673200
466
469
  },
467
470
  LoanOperationsManagerModule: {
468
471
  previousImplementation: "0x56671D671e492Dae625413d463D47605Cf54edf6",
@@ -481,6 +484,41 @@ 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
512
+ },
513
+ PositionManagerViews: {
514
+ previousImplementation: "0x9225647a30bbACA4Acc0491B786869036914242e",
515
+ newImplementation: "0xE68DC096A65Ecddbc6A9b5c6e5f878e2CE143Bfe",
516
+ proxy: "0x8B57954eA338c6A6bfF1457f71080e25baFF3937",
517
+ upgradedAt: "2026-08-03T08:34:23.000Z",
518
+ 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",
519
+ 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.",
520
+ executeTx: "0xf1f8d5fc13f45d7a3f932bf1a2d6e29381fdd41cd31298ad785bf7688df07fe6",
521
+ block: 25673200
484
522
  }
485
523
  },
486
524
  latestEnv: {
@@ -489,7 +527,7 @@ var MAINNET_DEPLOYMENT = {
489
527
  FEE_RECIPIENT_REGISTRY: "0x8fbCAAdA198E1C246ecEb2fB021C5A3d8050c6B3",
490
528
  FEE_RECIPIENT_REGISTRY_IMPL: "0xEfAeB37faAdc2D420dC6F99128296B79fDDe74bE",
491
529
  POSITION_DELEGATE_REGISTRY: "0xf0aa2678aD4F60f49e8F7725089B5E86B7F8FE4C",
492
- POSITION_DELEGATE_REGISTRY_IMPL: "0x3c7B975c03F549fe0656D9cbbA218BcF1C7092af",
530
+ POSITION_DELEGATE_REGISTRY_IMPL: "0x560a87251b3D306116F32D6e197FD068577e5349",
493
531
  BITCOIN_PROVIDER_REGISTRY: "0x4ab3Fb96e02893Ed6FAa61bad1918390c8DbbFFC",
494
532
  BITCOIN_PROVIDER_REGISTRY_IMPL: "0x7Bc9473E45fb3EA594e8b13992F57D0444902ddB",
495
533
  BITCOIN_WITHDRAWAL_ADDRESS_REGISTRY: "0xf667f77FDba7458345f227eB6Bfe4148243E7270",
@@ -514,16 +552,19 @@ var MAINNET_DEPLOYMENT = {
514
552
  ADMIN_MODULE_IMPL: "0xb4C5C7E051A1e672F014B25CB5D55B225Aa0D512",
515
553
  BTC_SPEND_AUTHORIZER: "0xfBbF108486fa07F1B06a811C5b66ed68DD9c508a",
516
554
  BTC_SPEND_AUTHORIZER_IMPL: "0x40c9e8C46C65E0A57BB63da5368868A9E8Df81A5",
517
- POSITION_MANAGER_VIEWS: "0x9225647a30bbACA4Acc0491B786869036914242e",
518
- POSITION_MANAGER_VIEWS_IMPL: "0x9225647a30bbACA4Acc0491B786869036914242e",
555
+ POSITION_MANAGER_VIEWS: "0x8B57954eA338c6A6bfF1457f71080e25baFF3937",
556
+ POSITION_MANAGER_VIEWS_IMPL: "0xE68DC096A65Ecddbc6A9b5c6e5f878e2CE143Bfe",
519
557
  POSITION_MANAGER: "0x12A1836e56139ccaD8722B89519d84233efc224B",
520
- POSITION_MANAGER_IMPL: "0x600Dc0D1C2c0F94882B6Bc09172f8650047Ad5B1",
558
+ POSITION_MANAGER_IMPL: "0x2e7170d6Fb15A876dB726732e72e63109bcB916d",
521
559
  LOAN_OPERATIONS_MANAGER_MODULE: "0x2561974A40F1AEed1251d0A090A83cF8536FB9E9",
522
560
  LOAN_OPERATIONS_MANAGER_MODULE_IMPL: "0x7d90aAB4466f59BA9aC9C7a9BF14dC53734336e7",
523
561
  UPGRADE_VALIDATOR: "0xC46Ae71F22e3741A6CF46E399aE914C4868fEbed",
524
562
  UPGRADE_VALIDATOR_IMPL: "0x4f835e77D1211299a1cbb8Aa2b42d9B390cC95CA",
525
563
  OPERATION_AUTHORIZATION_REGISTRY: "0xD4505645b724754f5170a2027804a4265e860d44",
526
- OPERATION_AUTHORIZATION_REGISTRY_IMPL: "0x493118746840EDB2D396E71632D2E774CA14070e"
564
+ OPERATION_AUTHORIZATION_REGISTRY_IMPL: "0x493118746840EDB2D396E71632D2E774CA14070e",
565
+ AGENT_DELEGATION_REGISTRY: "0x54853b7E91ce2Be34ce65655D80c4447e67187Fa",
566
+ AGENT_DELEGATION_REGISTRY_IMPL: "0xa9fF405Edd4329fc3159a64F56B37EBD253e4928",
567
+ DH_AGENT_DELEGATE: "0x70232d0caBe529e29a01A442423d7e03BBd414c8"
527
568
  }
528
569
  };
529
570
  var MAINNET_CONTRACTS = {
@@ -540,7 +581,7 @@ var MAINNET_CONTRACTS = {
540
581
  LiquidationManagerModule: "0x74B28695352E7bf736D6c9F76ccb7B4439477De9",
541
582
  CircuitBreakerModule: "0xF7b545d3a4Ee056D06909AB367E2F7bFFE3cB1BC",
542
583
  AdminModule: "0x0023B71B586795eE5fa4E83E384345C1EC8Bb946",
543
- PositionManagerViews: "0x9225647a30bbACA4Acc0491B786869036914242e",
584
+ PositionManagerViews: "0x8B57954eA338c6A6bfF1457f71080e25baFF3937",
544
585
  PositionManager: "0x12A1836e56139ccaD8722B89519d84233efc224B",
545
586
  OperationAuthorizationRegistry: "0xD4505645b724754f5170a2027804a4265e860d44",
546
587
  ContractVersionRegistry: "0x5e18f77d01940dA5B1D986D373D9A6ad0767008d",
@@ -549,7 +590,9 @@ var MAINNET_CONTRACTS = {
549
590
  BitcoinProviderRegistry: "0x4ab3Fb96e02893Ed6FAa61bad1918390c8DbbFFC",
550
591
  BitcoinWithdrawalAddressRegistry: "0xf667f77FDba7458345f227eB6Bfe4148243E7270",
551
592
  SimplePSMV2: "0xfE0C14B4E614f40Bf58845b4B04CeD17fd116532",
552
- PKPValidation: "0x29922d3ccb86516f6C24F89f1eb3068655ca7Fa0"
593
+ PKPValidation: "0x29922d3ccb86516f6C24F89f1eb3068655ca7Fa0",
594
+ AgentDelegationRegistry: "0x54853b7E91ce2Be34ce65655D80c4447e67187Fa",
595
+ DHAgentDelegate: "0x70232d0caBe529e29a01A442423d7e03BBd414c8"
553
596
  };
554
597
  var LOCALHOST_DEPLOYMENT = {
555
598
  network: "localhost",