@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.
- package/browser/dist/browser.js +1 -1
- package/dist/deployments.js +84 -51
- package/dist/deployments.mjs +84 -51
- package/dist/index.js +90 -71
- package/dist/index.mjs +90 -71
- 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/utils/position-delegate.utils.d.ts +17 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -94,11 +94,11 @@ var init_deployment_addresses = __esm({
|
|
|
94
94
|
},
|
|
95
95
|
upgraded: {
|
|
96
96
|
PositionManager: {
|
|
97
|
-
previousImplementation: "
|
|
98
|
-
newImplementation: "
|
|
99
|
-
upgradedAt: "2026-07-
|
|
97
|
+
previousImplementation: "0xb1885Be99BA64Bba773Bf423783A0334B7109409",
|
|
98
|
+
newImplementation: "0xfA7413a4547F496BF223ed25DF443c17ef6D4668",
|
|
99
|
+
upgradedAt: "2026-07-30T17:55:25.314Z",
|
|
100
100
|
upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
|
|
101
|
-
reason: "
|
|
101
|
+
reason: "Add setViews escape hatch so PositionManagerViews can be repointed (mainnet Views is a frozen non-proxy)"
|
|
102
102
|
},
|
|
103
103
|
LoanOperationsManagerModule: {
|
|
104
104
|
previousImplementation: "0x8c20e9Edf44146718F2EF15eEF47A201CaC229B8",
|
|
@@ -122,16 +122,16 @@ var init_deployment_addresses = __esm({
|
|
|
122
122
|
reason: "Shared upgrade script: TermManagerModule implementation update"
|
|
123
123
|
},
|
|
124
124
|
CircuitBreakerModule: {
|
|
125
|
-
previousImplementation: "
|
|
126
|
-
newImplementation: "
|
|
127
|
-
upgradedAt: "2026-
|
|
125
|
+
previousImplementation: "0xF6277dEF72D51312CC99616B5380f34Eb7603D75",
|
|
126
|
+
newImplementation: "0x4b28F1d4ecBcc13b51a8d0f890e6d5bF4966EEB4",
|
|
127
|
+
upgradedAt: "2026-07-30T09:28:12.835Z",
|
|
128
128
|
upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
|
|
129
129
|
reason: "Shared upgrade script: CircuitBreakerModule implementation update"
|
|
130
130
|
},
|
|
131
131
|
AdminModule: {
|
|
132
|
-
previousImplementation: "
|
|
133
|
-
newImplementation: "
|
|
134
|
-
upgradedAt: "2026-
|
|
132
|
+
previousImplementation: "0xBBA86246169f81a307Fafff02C1e3D8456aab973",
|
|
133
|
+
newImplementation: "0x2905964e27BD78595cf8fFa6FFc5A99E54F399c4",
|
|
134
|
+
upgradedAt: "2026-07-30T09:02:25.915Z",
|
|
135
135
|
upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
|
|
136
136
|
reason: "Shared upgrade script: AdminModule implementation update"
|
|
137
137
|
},
|
|
@@ -192,21 +192,18 @@ var init_deployment_addresses = __esm({
|
|
|
192
192
|
reason: "Shared upgrade script: SimplePSMV2 implementation update"
|
|
193
193
|
},
|
|
194
194
|
UpgradeValidator: {
|
|
195
|
-
previousImplementation: "
|
|
196
|
-
newImplementation: "
|
|
197
|
-
upgradedAt: "2026-
|
|
195
|
+
previousImplementation: "0x2Dd375041Be067E7d12bAB2106911Ce209EbD12f",
|
|
196
|
+
newImplementation: "0x9E70e1D07AB11ac9dD37B67AA091Efe97d7Ed84b",
|
|
197
|
+
upgradedAt: "2026-07-30T09:32:13.726Z",
|
|
198
198
|
upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
|
|
199
199
|
reason: "Shared upgrade script: UpgradeValidator implementation update"
|
|
200
200
|
},
|
|
201
201
|
LITActionValidator: {
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
version: "2.3.0",
|
|
206
|
-
upgradedAt: "2026-05-18T21:30:13.008Z",
|
|
202
|
+
previousImplementation: "0xE2f99EA35b4DA01A66338427EC9077581d28FDb5",
|
|
203
|
+
newImplementation: "0x8FF30Fab0cC09C67dF6DF0ee017f817d5B101457",
|
|
204
|
+
upgradedAt: "2026-07-30T09:30:13.928Z",
|
|
207
205
|
upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
|
|
208
|
-
|
|
209
|
-
note: "M-03: removed validateLITActionSignature, LIT_PROTOCOL_ROLE, isValidatedPKP, getValidationProof, helpers"
|
|
206
|
+
reason: "Shared upgrade script: LITActionValidator implementation update"
|
|
210
207
|
},
|
|
211
208
|
ContractVersionRegistry: {
|
|
212
209
|
previousImplementation: "0x327Ced106C2804283994F0C0e2436E4B76AA7dAD",
|
|
@@ -216,11 +213,11 @@ var init_deployment_addresses = __esm({
|
|
|
216
213
|
reason: "Shared upgrade script: ContractVersionRegistry implementation update"
|
|
217
214
|
},
|
|
218
215
|
PositionDelegateRegistry: {
|
|
219
|
-
previousImplementation: "
|
|
220
|
-
newImplementation: "
|
|
221
|
-
upgradedAt: "2026-
|
|
216
|
+
previousImplementation: "0x301fa9AA527016D033e151b982C64cD8670a39E3",
|
|
217
|
+
newImplementation: "0xc681c48688cdAA966119E265e4a378ef8Fe0eBcA",
|
|
218
|
+
upgradedAt: "2026-07-30T09:02:27.050Z",
|
|
222
219
|
upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
|
|
223
|
-
reason: "
|
|
220
|
+
reason: "Reconciled implementation from chain"
|
|
224
221
|
},
|
|
225
222
|
OperationAuthorizationRegistry: {
|
|
226
223
|
previousImplementation: "0xF56090039c268B90f1867075813B5B36C40092B4",
|
|
@@ -230,18 +227,18 @@ var init_deployment_addresses = __esm({
|
|
|
230
227
|
reason: "Shared upgrade script: OperationAuthorizationRegistry implementation update"
|
|
231
228
|
},
|
|
232
229
|
FeeRecipientRegistry: {
|
|
233
|
-
previousImplementation: "
|
|
234
|
-
newImplementation: "
|
|
235
|
-
upgradedAt: "2026-
|
|
230
|
+
previousImplementation: "0xd08513a7cB2dd354B26cDDf549616F12054c34c9",
|
|
231
|
+
newImplementation: "0x44057f5Ca13B1C3a74E5507c372704F3c8c5834f",
|
|
232
|
+
upgradedAt: "2026-07-30T09:23:25.934Z",
|
|
236
233
|
upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
|
|
237
|
-
reason: "Shared upgrade script: FeeRecipientRegistry
|
|
234
|
+
reason: "Shared upgrade script: FeeRecipientRegistry implementation update"
|
|
238
235
|
},
|
|
239
236
|
BitcoinProviderRegistry: {
|
|
240
|
-
previousImplementation: "
|
|
241
|
-
newImplementation: "
|
|
242
|
-
upgradedAt: "2026-
|
|
237
|
+
previousImplementation: "0xc5899d53426aD9354CEdAFe3002cbd3aBfAC46ab",
|
|
238
|
+
newImplementation: "0x37A8D9a57f9dEa7ae7D5B7BC7B1BB61a80960eB7",
|
|
239
|
+
upgradedAt: "2026-07-30T09:26:01.725Z",
|
|
243
240
|
upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
|
|
244
|
-
reason: "
|
|
241
|
+
reason: "Shared upgrade script: BitcoinProviderRegistry implementation update"
|
|
245
242
|
},
|
|
246
243
|
BitcoinWithdrawalAddressRegistry: {
|
|
247
244
|
previousImplementation: "0xFF270BC4470dBA80430Bd1a3a66EB691599354fA",
|
|
@@ -320,27 +317,27 @@ var init_deployment_addresses = __esm({
|
|
|
320
317
|
UCD_CONTROLLER_IMPL: "0x91204831bBCfcDCEa5fEE09B0d875778E9651690",
|
|
321
318
|
LOAN_OPERATIONS_MANAGER_MODULE_IMPL: "0x6Ad08177F264f441074921C437670D1fA5934676",
|
|
322
319
|
TERM_MANAGER_MODULE_IMPL: "0xA2D6543faFA9d84C16Cd5e5E34F746B6e138F54d",
|
|
323
|
-
CIRCUIT_BREAKER_MODULE_IMPL: "
|
|
324
|
-
ADMIN_MODULE_IMPL: "
|
|
320
|
+
CIRCUIT_BREAKER_MODULE_IMPL: "0x4b28F1d4ecBcc13b51a8d0f890e6d5bF4966EEB4",
|
|
321
|
+
ADMIN_MODULE_IMPL: "0x2905964e27BD78595cf8fFa6FFc5A99E54F399c4",
|
|
325
322
|
POSITION_MANAGER_VIEWS_IMPL: "0xA455B542cFb36AF8451fc420dB89e590E5c87cef",
|
|
326
|
-
POSITION_MANAGER_IMPL: "
|
|
323
|
+
POSITION_MANAGER_IMPL: "0xfA7413a4547F496BF223ed25DF443c17ef6D4668",
|
|
327
324
|
SIMPLE_PSM_V2: "0x19EcF7BA26e054fd4Ff06009A03070103dbBB058",
|
|
328
325
|
SIMPLE_PSM_V2_IMPL: "0xE38010BE47B389922A1cd4b533470F0af7d20101",
|
|
329
326
|
UCD_TOKEN_IMPL: "0xa6C8C4cfc7DD3dCE5F1259A4a1eAf8461aA8CeC8",
|
|
330
327
|
POSITION_MANAGER_CORE_MODULE: "0xfFAA39a08887FeFB697eBC8691A8630CbCC33391",
|
|
331
328
|
POSITION_MANAGER_CORE_MODULE_IMPL: "0x0E721048c066C5589C41f97785f7E5737ac2BEB3",
|
|
332
329
|
COLLATERAL_MANAGER_MODULE: "0x967E92c976Fc0fa8268D37D4d6B7245d912aA7dB",
|
|
333
|
-
COLLATERAL_MANAGER_MODULE_IMPL: "
|
|
330
|
+
COLLATERAL_MANAGER_MODULE_IMPL: "0xF57BBbb4818371605e308228A04F8Ec4Dcc5E7Ba",
|
|
334
331
|
LIQUIDATION_MANAGER_MODULE: "0xC4AB00f39e7ceD812F5C67058C9fa44e15d40e76",
|
|
335
332
|
LIQUIDATION_MANAGER_MODULE_IMPL: "0xCe7587C47094BBb3dCa13D7a2299Ec9beA6cd759",
|
|
336
333
|
BTC_SPEND_AUTHORIZER: "0xd7E9Eb5eE53f1d9ee55Dc162bBC7486bE437B6bD",
|
|
337
334
|
BTC_SPEND_AUTHORIZER_IMPL: "0xdd3DFaEc50d6214d57eA64e8b76ff318b501607b",
|
|
338
335
|
UPGRADE_VALIDATOR: "0x592e650edD9bA26ecc407989fdd6F9cdcDeC27A6",
|
|
339
|
-
UPGRADE_VALIDATOR_IMPL: "
|
|
336
|
+
UPGRADE_VALIDATOR_IMPL: "0x9E70e1D07AB11ac9dD37B67AA091Efe97d7Ed84b",
|
|
340
337
|
BITCOIN_PROVIDER_REGISTRY: "0xbfA0c48B070D0a9A9CD27469AeacFD2d4261cEE2",
|
|
341
|
-
BITCOIN_PROVIDER_REGISTRY_IMPL: "
|
|
338
|
+
BITCOIN_PROVIDER_REGISTRY_IMPL: "0x37A8D9a57f9dEa7ae7D5B7BC7B1BB61a80960eB7",
|
|
342
339
|
LIT_ACTION_VALIDATOR: "0x54eECd7C90F8A8fac27749Ba30BbE8AFBAccc856",
|
|
343
|
-
LIT_ACTION_VALIDATOR_IMPL: "
|
|
340
|
+
LIT_ACTION_VALIDATOR_IMPL: "0x8FF30Fab0cC09C67dF6DF0ee017f817d5B101457",
|
|
344
341
|
CONTRACT_VERSION_REGISTRY: "0x97E43AA6aFF2C0cf659d3aE501658D2Ef6777522",
|
|
345
342
|
CONTRACT_VERSION_REGISTRY_IMPL: "0xF3389De4bCeC735e4F6d35b9f71170D96037D1B7",
|
|
346
343
|
MOCK_USDC_TOKEN: "0x96409A98e0D322d6566b7F44a0fAbD1BD4ce2AEc",
|
|
@@ -349,10 +346,10 @@ var init_deployment_addresses = __esm({
|
|
|
349
346
|
POSITION_DELEGATE_REGISTRY_IMPL: "0xc681c48688cdAA966119E265e4a378ef8Fe0eBcA",
|
|
350
347
|
AGENT_MODULE: "0xefb8C29C1e7e92ed7d81a52dbedaed74e37fe380",
|
|
351
348
|
FEE_RECIPIENT_REGISTRY: "0x95795F8403DDb629E8527B2934C4e71f5fC0C374",
|
|
352
|
-
FEE_RECIPIENT_REGISTRY_IMPL: "
|
|
349
|
+
FEE_RECIPIENT_REGISTRY_IMPL: "0x44057f5Ca13B1C3a74E5507c372704F3c8c5834f",
|
|
353
350
|
OPERATION_AUTHORIZATION_REGISTRY_IMPL: "0xe0D981B60351f0f8fFDA2b50C8180Fb37CeF3883",
|
|
354
351
|
BITCOIN_WITHDRAWAL_ADDRESS_REGISTRY: "0x6376D392097F0A81e51BD83960A97EA20eaf1dbe",
|
|
355
|
-
BITCOIN_WITHDRAWAL_ADDRESS_REGISTRY_IMPL: "
|
|
352
|
+
BITCOIN_WITHDRAWAL_ADDRESS_REGISTRY_IMPL: "0x76E0a2c9d89562fD7c50b5f554d7fa25957e39Db",
|
|
356
353
|
CARRY_AGENT_REGISTRY: "0x5595CB538D44E6Cf179D20364fD631D0477e69f7",
|
|
357
354
|
CARRY_AGENT_REGISTRY_IMPL: "0x1b11a3D5e46F3672E643c997f0d569DFf0b64a01",
|
|
358
355
|
AGENT_DELEGATION_REGISTRY: "0x6AE7fc6bE0925126b9D25b1B7Ce5AD5d127ec025",
|
|
@@ -418,7 +415,9 @@ var init_deployment_addresses = __esm({
|
|
|
418
415
|
BitcoinProviderRegistry: "0x4ab3Fb96e02893Ed6FAa61bad1918390c8DbbFFC",
|
|
419
416
|
BitcoinWithdrawalAddressRegistry: "0xf667f77FDba7458345f227eB6Bfe4148243E7270",
|
|
420
417
|
SimplePSMV2: "0xfE0C14B4E614f40Bf58845b4B04CeD17fd116532",
|
|
421
|
-
PKPValidation: "0x29922d3ccb86516f6C24F89f1eb3068655ca7Fa0"
|
|
418
|
+
PKPValidation: "0x29922d3ccb86516f6C24F89f1eb3068655ca7Fa0",
|
|
419
|
+
AgentDelegationRegistry: "0x54853b7E91ce2Be34ce65655D80c4447e67187Fa",
|
|
420
|
+
DHAgentDelegate: "0x70232d0caBe529e29a01A442423d7e03BBd414c8"
|
|
422
421
|
},
|
|
423
422
|
upgraded: {
|
|
424
423
|
SimplePSMV2: {
|
|
@@ -433,16 +432,20 @@ var init_deployment_addresses = __esm({
|
|
|
433
432
|
CollateralManagerModule: {
|
|
434
433
|
previousImplementation: "0x1919860e528Cd2AbbD31a17858c986b8aCc8C185",
|
|
435
434
|
newImplementation: "0x55110B9dd6B2c9f812564e7a1ef42b3c76E1A3Bb",
|
|
436
|
-
upgradedAt: "2026-07-08T20:33:
|
|
437
|
-
upgradedBy: "AdminModule generic-op 0x740efe0cfe85044479cbd8ee3058aa244057d90703dd2b37044dd6787cbf3485 (3-of-5 ADMIN_ROLE Safes, 24h timelock; executed
|
|
438
|
-
reason: "Validator gas fix (#420): BitcoinAddressValidator packed-table lookups; VERSION 1.3.0 -> 1.3.1"
|
|
435
|
+
upgradedAt: "2026-07-08T20:33:59.000Z",
|
|
436
|
+
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)",
|
|
437
|
+
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.",
|
|
438
|
+
executeTx: "0x430c8e450f12d3d9359cde356ac5e2ef39661d7a89884b5674a596c1090f6cff",
|
|
439
|
+
block: 25490267
|
|
439
440
|
},
|
|
440
441
|
BitcoinWithdrawalAddressRegistry: {
|
|
441
442
|
previousImplementation: "0x11731bFEC3068F2cc19D016381dfEA3B93013b1C",
|
|
442
443
|
newImplementation: "0x190c08300Ae650fb88ed8156445BBeb13bE9E8a3",
|
|
443
|
-
upgradedAt: "2026-07-08T20:33:
|
|
444
|
-
upgradedBy: "AdminModule generic-op 0x2603a486c0f34554b864cc1d909b325c7e105331da10ec0fd7e0b9373fa76207 (3-of-5 ADMIN_ROLE Safes, 24h timelock; executed
|
|
445
|
-
reason: "Validator gas fix (#420): BitcoinAddressValidator packed-table lookups; VERSION 1.0.0 -> 1.0.1"
|
|
444
|
+
upgradedAt: "2026-07-08T20:33:59.000Z",
|
|
445
|
+
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)",
|
|
446
|
+
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.",
|
|
447
|
+
executeTx: "0x430c8e450f12d3d9359cde356ac5e2ef39661d7a89884b5674a596c1090f6cff",
|
|
448
|
+
block: 25490267
|
|
446
449
|
},
|
|
447
450
|
UCDController: {
|
|
448
451
|
previousImplementation: "0x16f94AcC78cE87bEeBCfF90552091B3EfC071E48",
|
|
@@ -506,6 +509,31 @@ var init_deployment_addresses = __esm({
|
|
|
506
509
|
reason: "Reconciled from chain \u2014 mainnet audit rollout batch (cross-ref onchain-auth/.safe-batches/mainnet-audit-execute.json)",
|
|
507
510
|
executeTx: "0x9820e259700865a281b8376e248044048ba2fed1d17c811ac66ac54d36711a5b",
|
|
508
511
|
block: 25472961
|
|
512
|
+
},
|
|
513
|
+
BitcoinProviderRegistry: {
|
|
514
|
+
newImplementation: "0x7Bc9473E45fb3EA594e8b13992F57D0444902ddB",
|
|
515
|
+
upgradedAt: "2026-06-16T17:51:11.000Z",
|
|
516
|
+
upgradedBy: "AdminModule/Safe audit-batch upgradeToAndCall; executed by 0xEba7BfAeB35ee18408b424Ee0BB45AdDf776589f in tx 0xf97e21ce2bc23876d60414c24ce6f45b2f0dd5e1ce42aca84f245f90f18ea17d (block 25331694)",
|
|
517
|
+
reason: "Reconciled from chain \u2014 mainnet audit rollout batch (cross-ref onchain-auth/.safe-batches/mainnet-audit-execute.json)",
|
|
518
|
+
executeTx: "0xf97e21ce2bc23876d60414c24ce6f45b2f0dd5e1ce42aca84f245f90f18ea17d",
|
|
519
|
+
block: 25331694
|
|
520
|
+
},
|
|
521
|
+
FeeRecipientRegistry: {
|
|
522
|
+
newImplementation: "0xEfAeB37faAdc2D420dC6F99128296B79fDDe74bE",
|
|
523
|
+
upgradedAt: "2026-06-16T17:30:35.000Z",
|
|
524
|
+
upgradedBy: "AdminModule/Safe audit-batch upgradeToAndCall; executed by 0xEba7BfAeB35ee18408b424Ee0BB45AdDf776589f in tx 0xc8f592166923f83b9b0cfc44e67c2ec75f79ca95be4f8ffa01654f702eaac502 (block 25331591)",
|
|
525
|
+
reason: "Reconciled from chain \u2014 mainnet audit rollout batch (cross-ref onchain-auth/.safe-batches/mainnet-audit-execute.json)",
|
|
526
|
+
executeTx: "0xc8f592166923f83b9b0cfc44e67c2ec75f79ca95be4f8ffa01654f702eaac502",
|
|
527
|
+
block: 25331591
|
|
528
|
+
},
|
|
529
|
+
PositionDelegateRegistry: {
|
|
530
|
+
previousImplementation: "0x3c7B975c03F549fe0656D9cbbA218BcF1C7092af",
|
|
531
|
+
newImplementation: "0x560a87251b3D306116F32D6e197FD068577e5349",
|
|
532
|
+
upgradedAt: "2026-08-02T18:34:35.000Z",
|
|
533
|
+
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)",
|
|
534
|
+
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.",
|
|
535
|
+
executeTx: "0xf0f237f6c4e958c37de556571908283c59c3fba6ebf9fa3cefb956f37e315a10",
|
|
536
|
+
block: 25669024
|
|
509
537
|
}
|
|
510
538
|
},
|
|
511
539
|
latestEnv: {
|
|
@@ -514,7 +542,7 @@ var init_deployment_addresses = __esm({
|
|
|
514
542
|
FEE_RECIPIENT_REGISTRY: "0x8fbCAAdA198E1C246ecEb2fB021C5A3d8050c6B3",
|
|
515
543
|
FEE_RECIPIENT_REGISTRY_IMPL: "0xEfAeB37faAdc2D420dC6F99128296B79fDDe74bE",
|
|
516
544
|
POSITION_DELEGATE_REGISTRY: "0xf0aa2678aD4F60f49e8F7725089B5E86B7F8FE4C",
|
|
517
|
-
POSITION_DELEGATE_REGISTRY_IMPL: "
|
|
545
|
+
POSITION_DELEGATE_REGISTRY_IMPL: "0x560a87251b3D306116F32D6e197FD068577e5349",
|
|
518
546
|
BITCOIN_PROVIDER_REGISTRY: "0x4ab3Fb96e02893Ed6FAa61bad1918390c8DbbFFC",
|
|
519
547
|
BITCOIN_PROVIDER_REGISTRY_IMPL: "0x7Bc9473E45fb3EA594e8b13992F57D0444902ddB",
|
|
520
548
|
BITCOIN_WITHDRAWAL_ADDRESS_REGISTRY: "0xf667f77FDba7458345f227eB6Bfe4148243E7270",
|
|
@@ -548,7 +576,10 @@ var init_deployment_addresses = __esm({
|
|
|
548
576
|
UPGRADE_VALIDATOR: "0xC46Ae71F22e3741A6CF46E399aE914C4868fEbed",
|
|
549
577
|
UPGRADE_VALIDATOR_IMPL: "0x4f835e77D1211299a1cbb8Aa2b42d9B390cC95CA",
|
|
550
578
|
OPERATION_AUTHORIZATION_REGISTRY: "0xD4505645b724754f5170a2027804a4265e860d44",
|
|
551
|
-
OPERATION_AUTHORIZATION_REGISTRY_IMPL: "0x493118746840EDB2D396E71632D2E774CA14070e"
|
|
579
|
+
OPERATION_AUTHORIZATION_REGISTRY_IMPL: "0x493118746840EDB2D396E71632D2E774CA14070e",
|
|
580
|
+
AGENT_DELEGATION_REGISTRY: "0x54853b7E91ce2Be34ce65655D80c4447e67187Fa",
|
|
581
|
+
AGENT_DELEGATION_REGISTRY_IMPL: "0xa9fF405Edd4329fc3159a64F56B37EBD253e4928",
|
|
582
|
+
DH_AGENT_DELEGATE: "0x70232d0caBe529e29a01A442423d7e03BBd414c8"
|
|
552
583
|
}
|
|
553
584
|
};
|
|
554
585
|
MAINNET_CONTRACTS = {
|
|
@@ -574,7 +605,9 @@ var init_deployment_addresses = __esm({
|
|
|
574
605
|
BitcoinProviderRegistry: "0x4ab3Fb96e02893Ed6FAa61bad1918390c8DbbFFC",
|
|
575
606
|
BitcoinWithdrawalAddressRegistry: "0xf667f77FDba7458345f227eB6Bfe4148243E7270",
|
|
576
607
|
SimplePSMV2: "0xfE0C14B4E614f40Bf58845b4B04CeD17fd116532",
|
|
577
|
-
PKPValidation: "0x29922d3ccb86516f6C24F89f1eb3068655ca7Fa0"
|
|
608
|
+
PKPValidation: "0x29922d3ccb86516f6C24F89f1eb3068655ca7Fa0",
|
|
609
|
+
AgentDelegationRegistry: "0x54853b7E91ce2Be34ce65655D80c4447e67187Fa",
|
|
610
|
+
DHAgentDelegate: "0x70232d0caBe529e29a01A442423d7e03BBd414c8"
|
|
578
611
|
};
|
|
579
612
|
LOCALHOST_DEPLOYMENT = {
|
|
580
613
|
network: "localhost",
|
|
@@ -1383,7 +1416,11 @@ var require_pkg_src = __commonJS({
|
|
|
1383
1416
|
),
|
|
1384
1417
|
name: "Btc Withdrawal",
|
|
1385
1418
|
description: "Production Btc Withdrawal",
|
|
1386
|
-
|
|
1419
|
+
// Monotonic per action, NOT a shared release train — the EIP-1271 rotation
|
|
1420
|
+
// stamped its cohort 1.2.1, but this action was already at 1.2.3 from the vout
|
|
1421
|
+
// canonicalization fix. Reusing the cohort stamp made a newer CID read as older
|
|
1422
|
+
// than the one it replaced, which a rotation ceremony would treat as a rollback.
|
|
1423
|
+
version: "1.2.4",
|
|
1387
1424
|
deployed: true,
|
|
1388
1425
|
deployedAt: 1785226412397,
|
|
1389
1426
|
size: 92754,
|
|
@@ -8056,9 +8093,6 @@ var UCD_CONTROLLER_ABI = [
|
|
|
8056
8093
|
"function balanceOf(address account) external view returns (uint256)",
|
|
8057
8094
|
"function transfer(address to, uint256 amount) external returns (bool)"
|
|
8058
8095
|
];
|
|
8059
|
-
var PRICE_FEED_ABI = [
|
|
8060
|
-
"function getLatestPrice() external view returns (int256)"
|
|
8061
|
-
];
|
|
8062
8096
|
var TERM_MANAGER_ABI = [
|
|
8063
8097
|
"function getAvailableTerms() external view returns (uint256[] memory termIds, uint256[] memory durationDays, uint256[] memory interestRateBps)",
|
|
8064
8098
|
"function getValidTermsWithFees() external view returns (uint256[] terms, uint88[] originationFees, uint88[] extensionFees)"
|
|
@@ -8126,11 +8160,6 @@ var ContractManager = class {
|
|
|
8126
8160
|
UCD_CONTROLLER_ABI,
|
|
8127
8161
|
contractRunner
|
|
8128
8162
|
),
|
|
8129
|
-
priceFeed: new import_ethers10.Contract(
|
|
8130
|
-
contractAddresses.priceFeedConsumer || import_ethers10.ZeroAddress,
|
|
8131
|
-
PRICE_FEED_ABI,
|
|
8132
|
-
contractRunner
|
|
8133
|
-
),
|
|
8134
8163
|
termManager: new import_ethers10.Contract(
|
|
8135
8164
|
contractAddresses.termManager || import_ethers10.ZeroAddress,
|
|
8136
8165
|
TERM_MANAGER_ABI,
|
|
@@ -8176,7 +8205,6 @@ var ContractManager = class {
|
|
|
8176
8205
|
"ucdToken"
|
|
8177
8206
|
];
|
|
8178
8207
|
const optionalAddresses = [
|
|
8179
|
-
"priceFeedConsumer",
|
|
8180
8208
|
"loanOperationsManager",
|
|
8181
8209
|
"termManager",
|
|
8182
8210
|
"circuitBreaker",
|
|
@@ -8262,16 +8290,6 @@ var ContractManager = class {
|
|
|
8262
8290
|
}
|
|
8263
8291
|
return success(contractsResult.value.ucdController);
|
|
8264
8292
|
}
|
|
8265
|
-
/**
|
|
8266
|
-
* Get Price Feed contract
|
|
8267
|
-
*/
|
|
8268
|
-
getPriceFeed() {
|
|
8269
|
-
const contractsResult = this.getContracts();
|
|
8270
|
-
if (!contractsResult.success) {
|
|
8271
|
-
return contractsResult;
|
|
8272
|
-
}
|
|
8273
|
-
return success(contractsResult.value.priceFeed);
|
|
8274
|
-
}
|
|
8275
8293
|
/**
|
|
8276
8294
|
* Get Term Manager contract
|
|
8277
8295
|
*/
|
|
@@ -17934,6 +17952,7 @@ var DelegateDenyReason = /* @__PURE__ */ ((DelegateDenyReason2) => {
|
|
|
17934
17952
|
DelegateDenyReason2[DelegateDenyReason2["PAUSED"] = 1] = "PAUSED";
|
|
17935
17953
|
DelegateDenyReason2[DelegateDenyReason2["NO_DELEGATE"] = 2] = "NO_DELEGATE";
|
|
17936
17954
|
DelegateDenyReason2[DelegateDenyReason2["NOT_DELEGATE"] = 3] = "NOT_DELEGATE";
|
|
17955
|
+
DelegateDenyReason2[DelegateDenyReason2["BURNED"] = 4] = "BURNED";
|
|
17937
17956
|
return DelegateDenyReason2;
|
|
17938
17957
|
})(DelegateDenyReason || {});
|
|
17939
17958
|
var DELEGATE_STATUS_ABI = [
|