@gvnrdao/dh-mcp 0.5.26 → 0.5.27
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/dist/boundary.js +169 -55
- package/dist/connector-embed.js +180 -62
- package/dist/connector.js +180 -62
- package/dist/index.js +180 -62
- package/package.json +2 -2
package/dist/connector.js
CHANGED
|
@@ -13782,9 +13782,9 @@ var require_interfaces = __commonJS({
|
|
|
13782
13782
|
}
|
|
13783
13783
|
});
|
|
13784
13784
|
|
|
13785
|
-
// node_modules/@gvnrdao/dh-lit-actions/pkg-dist/pkg-src/index.js
|
|
13785
|
+
// node_modules/@gvnrdao/dh-lit-ops/node_modules/@gvnrdao/dh-lit-actions/pkg-dist/pkg-src/index.js
|
|
13786
13786
|
var require_pkg_src = __commonJS({
|
|
13787
|
-
"node_modules/@gvnrdao/dh-lit-actions/pkg-dist/pkg-src/index.js"(exports2, module2) {
|
|
13787
|
+
"node_modules/@gvnrdao/dh-lit-ops/node_modules/@gvnrdao/dh-lit-actions/pkg-dist/pkg-src/index.js"(exports2, module2) {
|
|
13788
13788
|
"use strict";
|
|
13789
13789
|
var __defProp3 = Object.defineProperty;
|
|
13790
13790
|
var __getOwnPropDesc3 = Object.getOwnPropertyDescriptor;
|
|
@@ -43491,13 +43491,17 @@ function switchNetworkIndexLine(d) {
|
|
|
43491
43491
|
}
|
|
43492
43492
|
function psmStablecoinRealityNote(d) {
|
|
43493
43493
|
if (d.networks.includes("sepolia")) {
|
|
43494
|
-
return `**Practice funding (sepolia):** the sepolia stablecoin is
|
|
43495
|
-
|
|
43496
|
-
the
|
|
43497
|
-
|
|
43494
|
+
return `**Practice funding (sepolia):** the sepolia stablecoin is Circle's own testnet USDC \u2014
|
|
43495
|
+
real USDC with faucet-limited supply, NOT a token you can mint yourself. Practice USDC
|
|
43496
|
+
comes from the protocol's dispenser: \`POST /v1/faucet/sepolia/usdc\` on the GVNR api sends
|
|
43497
|
+
25 USDC by default (50 max per request, 100 per address per 24 h) to the address you name.
|
|
43498
|
+
\`protocol://psm\` states each token's kind (\`circle\` = Circle USDC; \`mock\` = the legacy
|
|
43499
|
+
practice token with a public self-serve \`mint\`, listed only until it is retired) and
|
|
43500
|
+
address so you never have to guess whether the money is real. On mainnet the stablecoin is
|
|
43501
|
+
real Circle USDC.`;
|
|
43498
43502
|
}
|
|
43499
43503
|
return `**Real money, and no practice path from here.** This deployment is not rolled out to
|
|
43500
|
-
sepolia, so the
|
|
43504
|
+
sepolia, so the faucet-limited testnet USDC that funds practice swaps there is out of reach \u2014
|
|
43501
43505
|
every swap executed on this deployment moves real Circle USDC and real UCD.
|
|
43502
43506
|
\`protocol://psm\` states the token's kind (\`mock\` vs \`circle\`) and address, so you never
|
|
43503
43507
|
have to guess whether the money is real.`;
|
|
@@ -44617,9 +44621,15 @@ function iso(sec) {
|
|
|
44617
44621
|
}
|
|
44618
44622
|
var PSM_FLOOR_TOLERANCE_BPS = 100;
|
|
44619
44623
|
var CANONICAL_MAINNET_USDC = "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
|
|
44624
|
+
var CANONICAL_SEPOLIA_USDC = "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238";
|
|
44625
|
+
var CANONICAL_USDC_BY_NETWORK = {
|
|
44626
|
+
sepolia: CANONICAL_SEPOLIA_USDC,
|
|
44627
|
+
mainnet: CANONICAL_MAINNET_USDC
|
|
44628
|
+
};
|
|
44620
44629
|
function stablecoinKindFor(network, stablecoinAddress) {
|
|
44621
|
-
if (network
|
|
44622
|
-
|
|
44630
|
+
if (network === "mock") return "mock";
|
|
44631
|
+
if (stablecoinAddress.toLowerCase() === CANONICAL_USDC_BY_NETWORK[network].toLowerCase()) return "circle";
|
|
44632
|
+
return network === "sepolia" ? "mock" : "onchain";
|
|
44623
44633
|
}
|
|
44624
44634
|
function failureToError(f) {
|
|
44625
44635
|
const code = f.kind === "signer-missing" ? "SIGNER_UNAVAILABLE" : f.kind === "unavailable" ? "UPSTREAM_UNAVAILABLE" : f.kind === "unsupported" ? "NOT_IMPLEMENTED" : f.kind === "not-found" ? "NOT_FOUND" : "UPSTREAM_REJECTED";
|
|
@@ -45158,9 +45168,10 @@ var BoundaryCore = class {
|
|
|
45158
45168
|
chainId: this.deps.chainId,
|
|
45159
45169
|
psmAddress: s.psmAddress,
|
|
45160
45170
|
stablecoinAddress: s.stablecoinAddress,
|
|
45161
|
-
// Labelled by the ACTUAL coin, not the network (C-49): `circle` only for
|
|
45162
|
-
//
|
|
45163
|
-
// (e.g. mainnet USDT) — a
|
|
45171
|
+
// Labelled by the ACTUAL coin, not the network (C-49): `circle` only for Circle's
|
|
45172
|
+
// USDC on this network (mainnet, or Circle's faucet-limited Sepolia issuance), `mock`
|
|
45173
|
+
// for the practice token, `onchain` for any other real coin (e.g. mainnet USDT) — a
|
|
45174
|
+
// USDT swap must never render as "real USDC".
|
|
45164
45175
|
stablecoinKind: stablecoinKindFor(this.deps.network, s.stablecoinAddress),
|
|
45165
45176
|
stablecoinSymbol: s.stablecoinSymbol,
|
|
45166
45177
|
stablecoinDecimals: s.stablecoinDecimals,
|
|
@@ -56029,6 +56040,7 @@ var init_deployment_addresses = __esm2({
|
|
|
56029
56040
|
SimplePSMV2: "0x19EcF7BA26e054fd4Ff06009A03070103dbBB058",
|
|
56030
56041
|
BitcoinProviderRegistry: "0xbfA0c48B070D0a9A9CD27469AeacFD2d4261cEE2",
|
|
56031
56042
|
ContractVersionRegistry: "0x97E43AA6aFF2C0cf659d3aE501658D2Ef6777522",
|
|
56043
|
+
usdcToken: "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
|
|
56032
56044
|
mockUsdcToken: "0x96409A98e0D322d6566b7F44a0fAbD1BD4ce2AEc",
|
|
56033
56045
|
mockUsdtToken: "0xF8b7fB38b17a310960E47805Be9adba0b0e0394D",
|
|
56034
56046
|
PositionDelegateRegistry: "0x482369De283622E7b05731875ec137d4E3D208F9",
|
|
@@ -56041,7 +56053,8 @@ var init_deployment_addresses = __esm2({
|
|
|
56041
56053
|
StUSDCVault: "0x7aBac04d4Bf2b3A63AF363B9527970791346463a",
|
|
56042
56054
|
CarryFeeReceiver: "0x2C8e54f099Cf479182D7c87D76FeD88b4172cdB4",
|
|
56043
56055
|
FeeRecognitionLedger: "0xA5EBfb856fe2b847cC6011B0fe2dB6ACE63D6C3c",
|
|
56044
|
-
FeeBurner: "0x397a50c81Eb3C1f68F936794524Adb26B03Dd826"
|
|
56056
|
+
FeeBurner: "0x397a50c81Eb3C1f68F936794524Adb26B03Dd826",
|
|
56057
|
+
BackingOracle: "0x003b97EF135e414198bCc4D2c50AC6B1BFb602C0"
|
|
56045
56058
|
},
|
|
56046
56059
|
upgraded: {
|
|
56047
56060
|
PositionManager: {
|
|
@@ -56221,10 +56234,10 @@ var init_deployment_addresses = __esm2({
|
|
|
56221
56234
|
},
|
|
56222
56235
|
CarryFeeReceiver: {
|
|
56223
56236
|
previousImplementation: "0x9c43996C6f6BAD82F2A5152AbA61137E929EFA17",
|
|
56224
|
-
newImplementation: "
|
|
56225
|
-
upgradedAt: "2026-
|
|
56237
|
+
newImplementation: "0x3a86A23ff3cd6c26B1Fa2C5aeBAeEEdbF6095D69",
|
|
56238
|
+
upgradedAt: "2026-11-04T16:30:38.150Z",
|
|
56226
56239
|
upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
|
|
56227
|
-
reason: "
|
|
56240
|
+
reason: "Shared upgrade script: CarryFeeReceiver implementation update"
|
|
56228
56241
|
},
|
|
56229
56242
|
FeeRecognitionLedger: {
|
|
56230
56243
|
previousImplementation: "0x50E3EEdf1e106041e0F521808815d7c6B2AeD8CA",
|
|
@@ -56232,6 +56245,13 @@ var init_deployment_addresses = __esm2({
|
|
|
56232
56245
|
upgradedAt: "2026-10-30T16:59:24.774Z",
|
|
56233
56246
|
upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
|
|
56234
56247
|
reason: "Initial FeeRecognitionLedger deployment"
|
|
56248
|
+
},
|
|
56249
|
+
BackingOracle: {
|
|
56250
|
+
previousImplementation: "0x472C89BB35482e4F8d5092497087c47Fa8B9ccEa",
|
|
56251
|
+
newImplementation: "0x472C89BB35482e4F8d5092497087c47Fa8B9ccEa",
|
|
56252
|
+
upgradedAt: "2026-11-05T12:34:48.972Z",
|
|
56253
|
+
upgradedBy: "0x0f8f23674cc90Ef7107930a4437341fD8B460362",
|
|
56254
|
+
reason: "Initial BackingOracle deployment"
|
|
56235
56255
|
}
|
|
56236
56256
|
},
|
|
56237
56257
|
history: {
|
|
@@ -56326,6 +56346,7 @@ var init_deployment_addresses = __esm2({
|
|
|
56326
56346
|
LIT_ACTION_VALIDATOR_IMPL: "0x8FF30Fab0cC09C67dF6DF0ee017f817d5B101457",
|
|
56327
56347
|
CONTRACT_VERSION_REGISTRY: "0x97E43AA6aFF2C0cf659d3aE501658D2Ef6777522",
|
|
56328
56348
|
CONTRACT_VERSION_REGISTRY_IMPL: "0xF3389De4bCeC735e4F6d35b9f71170D96037D1B7",
|
|
56349
|
+
USDC_TOKEN: "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
|
|
56329
56350
|
MOCK_USDC_TOKEN: "0x96409A98e0D322d6566b7F44a0fAbD1BD4ce2AEc",
|
|
56330
56351
|
MOCK_USDT_TOKEN: "0xF8b7fB38b17a310960E47805Be9adba0b0e0394D",
|
|
56331
56352
|
POSITION_DELEGATE_REGISTRY: "0x482369De283622E7b05731875ec137d4E3D208F9",
|
|
@@ -56344,10 +56365,12 @@ var init_deployment_addresses = __esm2({
|
|
|
56344
56365
|
STUSDC_VAULT: "0x7aBac04d4Bf2b3A63AF363B9527970791346463a",
|
|
56345
56366
|
STUSDC_VAULT_IMPL: "0x3619b14C23c5F7d950EF845481C2299939873004",
|
|
56346
56367
|
CARRY_FEE_RECEIVER: "0x2C8e54f099Cf479182D7c87D76FeD88b4172cdB4",
|
|
56347
|
-
CARRY_FEE_RECEIVER_IMPL: "
|
|
56368
|
+
CARRY_FEE_RECEIVER_IMPL: "0x3a86A23ff3cd6c26B1Fa2C5aeBAeEEdbF6095D69",
|
|
56348
56369
|
FEE_RECOGNITION_LEDGER: "0xA5EBfb856fe2b847cC6011B0fe2dB6ACE63D6C3c",
|
|
56349
56370
|
FEE_RECOGNITION_LEDGER_IMPL: "0x50E3EEdf1e106041e0F521808815d7c6B2AeD8CA",
|
|
56350
|
-
FEE_BURNER: "0x397a50c81Eb3C1f68F936794524Adb26B03Dd826"
|
|
56371
|
+
FEE_BURNER: "0x397a50c81Eb3C1f68F936794524Adb26B03Dd826",
|
|
56372
|
+
BACKING_ORACLE: "0x003b97EF135e414198bCc4D2c50AC6B1BFb602C0",
|
|
56373
|
+
BACKING_ORACLE_IMPL: "0x472C89BB35482e4F8d5092497087c47Fa8B9ccEa"
|
|
56351
56374
|
}
|
|
56352
56375
|
};
|
|
56353
56376
|
SEPOLIA_CONTRACTS = {
|
|
@@ -56371,6 +56394,7 @@ var init_deployment_addresses = __esm2({
|
|
|
56371
56394
|
SimplePSMV2: "0x19EcF7BA26e054fd4Ff06009A03070103dbBB058",
|
|
56372
56395
|
BitcoinProviderRegistry: "0xbfA0c48B070D0a9A9CD27469AeacFD2d4261cEE2",
|
|
56373
56396
|
ContractVersionRegistry: "0x97E43AA6aFF2C0cf659d3aE501658D2Ef6777522",
|
|
56397
|
+
usdcToken: "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
|
|
56374
56398
|
mockUsdcToken: "0x96409A98e0D322d6566b7F44a0fAbD1BD4ce2AEc",
|
|
56375
56399
|
mockUsdtToken: "0xF8b7fB38b17a310960E47805Be9adba0b0e0394D",
|
|
56376
56400
|
PositionDelegateRegistry: "0x482369De283622E7b05731875ec137d4E3D208F9",
|
|
@@ -56383,7 +56407,8 @@ var init_deployment_addresses = __esm2({
|
|
|
56383
56407
|
StUSDCVault: "0x7aBac04d4Bf2b3A63AF363B9527970791346463a",
|
|
56384
56408
|
CarryFeeReceiver: "0x2C8e54f099Cf479182D7c87D76FeD88b4172cdB4",
|
|
56385
56409
|
FeeRecognitionLedger: "0xA5EBfb856fe2b847cC6011B0fe2dB6ACE63D6C3c",
|
|
56386
|
-
FeeBurner: "0x397a50c81Eb3C1f68F936794524Adb26B03Dd826"
|
|
56410
|
+
FeeBurner: "0x397a50c81Eb3C1f68F936794524Adb26B03Dd826",
|
|
56411
|
+
BackingOracle: "0x003b97EF135e414198bCc4D2c50AC6B1BFb602C0"
|
|
56387
56412
|
};
|
|
56388
56413
|
MAINNET_DEPLOYMENT = {
|
|
56389
56414
|
network: "mainnet",
|
|
@@ -56413,6 +56438,7 @@ var init_deployment_addresses = __esm2({
|
|
|
56413
56438
|
BitcoinProviderRegistry: "0x4ab3Fb96e02893Ed6FAa61bad1918390c8DbbFFC",
|
|
56414
56439
|
BitcoinWithdrawalAddressRegistry: "0xf667f77FDba7458345f227eB6Bfe4148243E7270",
|
|
56415
56440
|
SimplePSMV2: "0xfE0C14B4E614f40Bf58845b4B04CeD17fd116532",
|
|
56441
|
+
usdcToken: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
56416
56442
|
PKPValidation: "0x29922d3ccb86516f6C24F89f1eb3068655ca7Fa0",
|
|
56417
56443
|
AgentDelegationRegistry: "0x54853b7E91ce2Be34ce65655D80c4447e67187Fa",
|
|
56418
56444
|
DHAgentDelegate: "0x70232d0caBe529e29a01A442423d7e03BBd414c8"
|
|
@@ -56577,6 +56603,7 @@ var init_deployment_addresses = __esm2({
|
|
|
56577
56603
|
BITCOIN_WITHDRAWAL_ADDRESS_REGISTRY_IMPL: "0x190c08300Ae650fb88ed8156445BBeb13bE9E8a3",
|
|
56578
56604
|
SIMPLE_PSM_V2: "0xfE0C14B4E614f40Bf58845b4B04CeD17fd116532",
|
|
56579
56605
|
SIMPLE_PSM_V2_IMPL: "0x8717761444b1822c2E6916aB5bD9ac96c91b6DF5",
|
|
56606
|
+
USDC_TOKEN: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
56580
56607
|
UCD_CONTROLLER: "0x4b4f8063048bCD59D469219E3f07C6aaDF4f6157",
|
|
56581
56608
|
UCD_CONTROLLER_IMPL: "0x28B8cAB89D89B3F83581FD2290de2Ce84535bd0A",
|
|
56582
56609
|
UCD_TOKEN: "0xaAaB6B05E5EecB015898483d4e6703d7F218850b",
|
|
@@ -56633,6 +56660,7 @@ var init_deployment_addresses = __esm2({
|
|
|
56633
56660
|
BitcoinProviderRegistry: "0x4ab3Fb96e02893Ed6FAa61bad1918390c8DbbFFC",
|
|
56634
56661
|
BitcoinWithdrawalAddressRegistry: "0xf667f77FDba7458345f227eB6Bfe4148243E7270",
|
|
56635
56662
|
SimplePSMV2: "0xfE0C14B4E614f40Bf58845b4B04CeD17fd116532",
|
|
56663
|
+
usdcToken: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
56636
56664
|
PKPValidation: "0x29922d3ccb86516f6C24F89f1eb3068655ca7Fa0",
|
|
56637
56665
|
AgentDelegationRegistry: "0x54853b7E91ce2Be34ce65655D80c4447e67187Fa",
|
|
56638
56666
|
DHAgentDelegate: "0x70232d0caBe529e29a01A442423d7e03BBd414c8"
|
|
@@ -56640,46 +56668,76 @@ var init_deployment_addresses = __esm2({
|
|
|
56640
56668
|
LOCALHOST_DEPLOYMENT = {
|
|
56641
56669
|
network: "localhost",
|
|
56642
56670
|
chainId: 1337,
|
|
56643
|
-
timestamp: "2026-
|
|
56671
|
+
timestamp: "2026-10-28T15:50:42.373Z",
|
|
56644
56672
|
deployer: "",
|
|
56645
56673
|
contracts: {
|
|
56646
|
-
MessageHashBuilder: "
|
|
56674
|
+
MessageHashBuilder: "0x1613beB3B2C4f22Ee086B2b38C1476A3cE7f78E8",
|
|
56647
56675
|
LITActionValidator: "0xa513E6E4b8f2a923D98304ec87F64353C4D5C853",
|
|
56648
56676
|
UpgradeValidator: "0x8A791620dd6260079BF849Dc5567aDC3F2FdC318",
|
|
56649
56677
|
UCDToken: "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
|
|
56650
56678
|
UCDController: "0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9",
|
|
56651
56679
|
PositionManagerCoreModule: "0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e",
|
|
56652
56680
|
TermManagerModule: "0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82",
|
|
56653
|
-
LoanOperationsManagerModule: "
|
|
56654
|
-
BTCSpendAuthorizer: "
|
|
56655
|
-
CollateralManagerModule: "
|
|
56656
|
-
LiquidationManagerModule: "
|
|
56681
|
+
LoanOperationsManagerModule: "0x3Aa5ebB10DC797CAC828524e59A333d0A371443c",
|
|
56682
|
+
BTCSpendAuthorizer: "0x59b670e9fA9D0A427751Af201D676719a970857b",
|
|
56683
|
+
CollateralManagerModule: "0xa85233C63b9Ee964Add6F2cffe00Fd84eb32338f",
|
|
56684
|
+
LiquidationManagerModule: "0x7a2088a1bFc9d81c55368AE168C2C02570cB814F",
|
|
56657
56685
|
CircuitBreakerModule: "0x0B306BF915C4d645ff596e518fAf3F9669b97016",
|
|
56658
|
-
AdminModule: "
|
|
56659
|
-
PositionManagerViews: "
|
|
56660
|
-
PositionManager: "
|
|
56661
|
-
OperationAuthorizationRegistry: "
|
|
56662
|
-
|
|
56686
|
+
AdminModule: "0xc5a5C42992dECbae36851359345FE25997F5C42d",
|
|
56687
|
+
PositionManagerViews: "0x9A9f2CCfdE556A7E9Ff0848998Aa4a0CFD8863AE",
|
|
56688
|
+
PositionManager: "0xf5059a5D33d5853360D16C683c16e67980206f36",
|
|
56689
|
+
OperationAuthorizationRegistry: "0x34B40BA116d5Dec75548a9e9A8f15411461E8c70",
|
|
56690
|
+
PositionDelegateRegistry: "0x3aAde2dCD2Df6a8cAc689EE797591b2913658659",
|
|
56691
|
+
AgentDelegationRegistry: "0x457cCf29090fe5A24c19c1bc95F492168C0EaFdb",
|
|
56692
|
+
PKPValidation: "0x07882Ae1ecB7429a84f1D53048d35c4bB2056877"
|
|
56693
|
+
},
|
|
56694
|
+
latestEnv: {
|
|
56695
|
+
UCD_TOKEN: "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
|
|
56696
|
+
UCD_CONTROLLER: "0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9",
|
|
56697
|
+
POSITION_MANAGER: "0xf5059a5D33d5853360D16C683c16e67980206f36",
|
|
56698
|
+
PKP_VALIDATION_REGISTRY: "0x07882Ae1ecB7429a84f1D53048d35c4bB2056877",
|
|
56699
|
+
PKP_VALIDATION_CID_V1: "0x12205a453abbe0ea212dfdbd8ec0a385e40d54b3dc3ace298359d9af12a0db05a40f",
|
|
56700
|
+
PKP_VALIDATION_CID_V3: "0x12205a453abbe0ea212dfdbd8ec0a385e40d54b3dc3ace298359d9af12a0db05a40f",
|
|
56701
|
+
PKP_ETH_ADDRESS: "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
|
|
56702
|
+
OPERATION_AUTHORIZATION_REGISTRY: "0x34B40BA116d5Dec75548a9e9A8f15411461E8c70",
|
|
56703
|
+
UCD_MINT_VALIDATOR_ADDRESS: "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
|
|
56704
|
+
UCD_MINT_VALIDATOR_VERSION: 5,
|
|
56705
|
+
BTC_WITHDRAWAL_VALIDATOR_ADDRESS: "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
|
|
56706
|
+
BTC_WITHDRAWAL_VALIDATOR_VERSION: 5,
|
|
56707
|
+
UPDATE_BALANCE_VALIDATOR_ADDRESS: "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
|
|
56708
|
+
UPDATE_BALANCE_VALIDATOR_VERSION: 5,
|
|
56709
|
+
PROCESS_PAYMENT_VALIDATOR_ADDRESS: "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
|
|
56710
|
+
PROCESS_PAYMENT_VALIDATOR_VERSION: 5,
|
|
56711
|
+
EXTEND_POSITION_VALIDATOR_ADDRESS: "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
|
|
56712
|
+
EXTEND_POSITION_VALIDATOR_VERSION: 5,
|
|
56713
|
+
POSITION_DELEGATE_REGISTRY: "0x3aAde2dCD2Df6a8cAc689EE797591b2913658659",
|
|
56714
|
+
AGENT_DELEGATION_REGISTRY: "0x457cCf29090fe5A24c19c1bc95F492168C0EaFdb",
|
|
56715
|
+
POSITION_MANAGER_CORE_MODULE: "0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e",
|
|
56716
|
+
LOAN_OPERATIONS_MANAGER_MODULE: "0x3Aa5ebB10DC797CAC828524e59A333d0A371443c",
|
|
56717
|
+
TERM_MANAGER_MODULE: "0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82",
|
|
56718
|
+
COMMUNITY_MANAGER_MODULE: ""
|
|
56663
56719
|
}
|
|
56664
56720
|
};
|
|
56665
56721
|
LOCALHOST_CONTRACTS = {
|
|
56666
|
-
MessageHashBuilder: "
|
|
56722
|
+
MessageHashBuilder: "0x1613beB3B2C4f22Ee086B2b38C1476A3cE7f78E8",
|
|
56667
56723
|
LITActionValidator: "0xa513E6E4b8f2a923D98304ec87F64353C4D5C853",
|
|
56668
56724
|
UpgradeValidator: "0x8A791620dd6260079BF849Dc5567aDC3F2FdC318",
|
|
56669
56725
|
UCDToken: "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
|
|
56670
56726
|
UCDController: "0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9",
|
|
56671
56727
|
PositionManagerCoreModule: "0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e",
|
|
56672
56728
|
TermManagerModule: "0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82",
|
|
56673
|
-
LoanOperationsManagerModule: "
|
|
56674
|
-
BTCSpendAuthorizer: "
|
|
56675
|
-
CollateralManagerModule: "
|
|
56676
|
-
LiquidationManagerModule: "
|
|
56729
|
+
LoanOperationsManagerModule: "0x3Aa5ebB10DC797CAC828524e59A333d0A371443c",
|
|
56730
|
+
BTCSpendAuthorizer: "0x59b670e9fA9D0A427751Af201D676719a970857b",
|
|
56731
|
+
CollateralManagerModule: "0xa85233C63b9Ee964Add6F2cffe00Fd84eb32338f",
|
|
56732
|
+
LiquidationManagerModule: "0x7a2088a1bFc9d81c55368AE168C2C02570cB814F",
|
|
56677
56733
|
CircuitBreakerModule: "0x0B306BF915C4d645ff596e518fAf3F9669b97016",
|
|
56678
|
-
AdminModule: "
|
|
56679
|
-
PositionManagerViews: "
|
|
56680
|
-
PositionManager: "
|
|
56681
|
-
OperationAuthorizationRegistry: "
|
|
56682
|
-
|
|
56734
|
+
AdminModule: "0xc5a5C42992dECbae36851359345FE25997F5C42d",
|
|
56735
|
+
PositionManagerViews: "0x9A9f2CCfdE556A7E9Ff0848998Aa4a0CFD8863AE",
|
|
56736
|
+
PositionManager: "0xf5059a5D33d5853360D16C683c16e67980206f36",
|
|
56737
|
+
OperationAuthorizationRegistry: "0x34B40BA116d5Dec75548a9e9A8f15411461E8c70",
|
|
56738
|
+
PositionDelegateRegistry: "0x3aAde2dCD2Df6a8cAc689EE797591b2913658659",
|
|
56739
|
+
AgentDelegationRegistry: "0x457cCf29090fe5A24c19c1bc95F492168C0EaFdb",
|
|
56740
|
+
PKPValidation: "0x07882Ae1ecB7429a84f1D53048d35c4bB2056877"
|
|
56683
56741
|
};
|
|
56684
56742
|
ALL_DEPLOYMENTS = {
|
|
56685
56743
|
sepolia: SEPOLIA_DEPLOYMENT,
|
|
@@ -57637,6 +57695,19 @@ var require_pkg_src2 = __commonJS2({
|
|
|
57637
57695
|
deployedAt: 1790925699980,
|
|
57638
57696
|
size: 7193,
|
|
57639
57697
|
hash: "4944ada61610cf64b32e33b5be62087088dcf5e821040c69e67942e643ce74c9"
|
|
57698
|
+
},
|
|
57699
|
+
backingAttestation: {
|
|
57700
|
+
cid: "QmRkWKprbhP865uALCjfp8gC34JJtZZuD5UFZxqB2jJ8Hi",
|
|
57701
|
+
authorizedCidHex: cidToHex(
|
|
57702
|
+
"QmRkWKprbhP865uALCjfp8gC34JJtZZuD5UFZxqB2jJ8Hi"
|
|
57703
|
+
),
|
|
57704
|
+
name: "Backing Attestation",
|
|
57705
|
+
description: "BackingOracle report: BTC collateral over loan UCD at a pinned block, from a keeper snapshot the action verifies",
|
|
57706
|
+
version: "1.0.2",
|
|
57707
|
+
deployed: true,
|
|
57708
|
+
deployedAt: 1793955517792,
|
|
57709
|
+
size: 20733,
|
|
57710
|
+
hash: "9b87800369aa37b12496cfaf8247e5e52eb82ad292519e75e799274046cf214a"
|
|
57640
57711
|
}
|
|
57641
57712
|
};
|
|
57642
57713
|
function getDeploymentsForNetwork(network) {
|
|
@@ -61844,6 +61915,7 @@ function getSepoliaConfig() {
|
|
|
61844
61915
|
positionManagerCore: SEPOLIA_CONTRACTS.PositionManagerCoreModule || "",
|
|
61845
61916
|
positionManagerViews: SEPOLIA_CONTRACTS.PositionManagerViews || "",
|
|
61846
61917
|
simplePsmV2: SEPOLIA_CONTRACTS.SimplePSMV2 || "",
|
|
61918
|
+
usdcToken: SEPOLIA_CONTRACTS.usdcToken || "",
|
|
61847
61919
|
mockUsdcToken: SEPOLIA_CONTRACTS.mockUsdcToken || "",
|
|
61848
61920
|
mockUsdtToken: SEPOLIA_CONTRACTS.mockUsdtToken || "",
|
|
61849
61921
|
loanOperationsManager: SEPOLIA_CONTRACTS.LoanOperationsManagerModule || "",
|
|
@@ -61867,7 +61939,8 @@ function getSepoliaConfig() {
|
|
|
61867
61939
|
stUsdcVault: SEPOLIA_CONTRACTS.StUSDCVault || "",
|
|
61868
61940
|
carryFeeReceiver: SEPOLIA_CONTRACTS.CarryFeeReceiver || "",
|
|
61869
61941
|
feeRecognitionLedger: SEPOLIA_CONTRACTS.FeeRecognitionLedger || "",
|
|
61870
|
-
feeBurner: SEPOLIA_CONTRACTS.FeeBurner || ""
|
|
61942
|
+
feeBurner: SEPOLIA_CONTRACTS.FeeBurner || "",
|
|
61943
|
+
backingOracle: SEPOLIA_CONTRACTS.BackingOracle || ""
|
|
61871
61944
|
},
|
|
61872
61945
|
subgraphs: {
|
|
61873
61946
|
// Lazy getter for the same module-init snapshot reason as serviceEndpoint.
|
|
@@ -61904,6 +61977,7 @@ function getMainnetConfig() {
|
|
|
61904
61977
|
positionManagerCore: MAINNET_CONTRACTS.PositionManagerCoreModule || "",
|
|
61905
61978
|
positionManagerViews: MAINNET_CONTRACTS.PositionManagerViews || "",
|
|
61906
61979
|
simplePsmV2: MAINNET_CONTRACTS.SimplePSMV2 || "",
|
|
61980
|
+
usdcToken: MAINNET_CONTRACTS.usdcToken || "",
|
|
61907
61981
|
loanOperationsManager: MAINNET_CONTRACTS.LoanOperationsManagerModule || "",
|
|
61908
61982
|
termManager: MAINNET_CONTRACTS.TermManagerModule || "",
|
|
61909
61983
|
circuitBreaker: MAINNET_CONTRACTS.CircuitBreakerModule || "",
|
|
@@ -61927,7 +62001,8 @@ function getMainnetConfig() {
|
|
|
61927
62001
|
stUsdcVault: MAINNET_CONTRACTS.StUSDCVault || "",
|
|
61928
62002
|
carryFeeReceiver: MAINNET_CONTRACTS.CarryFeeReceiver || "",
|
|
61929
62003
|
feeRecognitionLedger: MAINNET_CONTRACTS.FeeRecognitionLedger || "",
|
|
61930
|
-
feeBurner: MAINNET_CONTRACTS.FeeBurner || ""
|
|
62004
|
+
feeBurner: MAINNET_CONTRACTS.FeeBurner || "",
|
|
62005
|
+
backingOracle: MAINNET_CONTRACTS.BackingOracle || ""
|
|
61931
62006
|
},
|
|
61932
62007
|
subgraphs: {
|
|
61933
62008
|
// The MAINNET subgraph on The Graph's decentralized network — the same id
|
|
@@ -87894,6 +87969,7 @@ var SEPOLIA_DEPLOYMENT2 = {
|
|
|
87894
87969
|
SimplePSMV2: "0x19EcF7BA26e054fd4Ff06009A03070103dbBB058",
|
|
87895
87970
|
BitcoinProviderRegistry: "0xbfA0c48B070D0a9A9CD27469AeacFD2d4261cEE2",
|
|
87896
87971
|
ContractVersionRegistry: "0x97E43AA6aFF2C0cf659d3aE501658D2Ef6777522",
|
|
87972
|
+
usdcToken: "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
|
|
87897
87973
|
mockUsdcToken: "0x96409A98e0D322d6566b7F44a0fAbD1BD4ce2AEc",
|
|
87898
87974
|
mockUsdtToken: "0xF8b7fB38b17a310960E47805Be9adba0b0e0394D",
|
|
87899
87975
|
PositionDelegateRegistry: "0x482369De283622E7b05731875ec137d4E3D208F9",
|
|
@@ -87906,7 +87982,8 @@ var SEPOLIA_DEPLOYMENT2 = {
|
|
|
87906
87982
|
StUSDCVault: "0x7aBac04d4Bf2b3A63AF363B9527970791346463a",
|
|
87907
87983
|
CarryFeeReceiver: "0x2C8e54f099Cf479182D7c87D76FeD88b4172cdB4",
|
|
87908
87984
|
FeeRecognitionLedger: "0xA5EBfb856fe2b847cC6011B0fe2dB6ACE63D6C3c",
|
|
87909
|
-
FeeBurner: "0x397a50c81Eb3C1f68F936794524Adb26B03Dd826"
|
|
87985
|
+
FeeBurner: "0x397a50c81Eb3C1f68F936794524Adb26B03Dd826",
|
|
87986
|
+
BackingOracle: "0x003b97EF135e414198bCc4D2c50AC6B1BFb602C0"
|
|
87910
87987
|
},
|
|
87911
87988
|
upgraded: {
|
|
87912
87989
|
PositionManager: {
|
|
@@ -88086,10 +88163,10 @@ var SEPOLIA_DEPLOYMENT2 = {
|
|
|
88086
88163
|
},
|
|
88087
88164
|
CarryFeeReceiver: {
|
|
88088
88165
|
previousImplementation: "0x9c43996C6f6BAD82F2A5152AbA61137E929EFA17",
|
|
88089
|
-
newImplementation: "
|
|
88090
|
-
upgradedAt: "2026-
|
|
88166
|
+
newImplementation: "0x3a86A23ff3cd6c26B1Fa2C5aeBAeEEdbF6095D69",
|
|
88167
|
+
upgradedAt: "2026-11-04T16:30:38.150Z",
|
|
88091
88168
|
upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
|
|
88092
|
-
reason: "
|
|
88169
|
+
reason: "Shared upgrade script: CarryFeeReceiver implementation update"
|
|
88093
88170
|
},
|
|
88094
88171
|
FeeRecognitionLedger: {
|
|
88095
88172
|
previousImplementation: "0x50E3EEdf1e106041e0F521808815d7c6B2AeD8CA",
|
|
@@ -88097,6 +88174,13 @@ var SEPOLIA_DEPLOYMENT2 = {
|
|
|
88097
88174
|
upgradedAt: "2026-10-30T16:59:24.774Z",
|
|
88098
88175
|
upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
|
|
88099
88176
|
reason: "Initial FeeRecognitionLedger deployment"
|
|
88177
|
+
},
|
|
88178
|
+
BackingOracle: {
|
|
88179
|
+
previousImplementation: "0x472C89BB35482e4F8d5092497087c47Fa8B9ccEa",
|
|
88180
|
+
newImplementation: "0x472C89BB35482e4F8d5092497087c47Fa8B9ccEa",
|
|
88181
|
+
upgradedAt: "2026-11-05T12:34:48.972Z",
|
|
88182
|
+
upgradedBy: "0x0f8f23674cc90Ef7107930a4437341fD8B460362",
|
|
88183
|
+
reason: "Initial BackingOracle deployment"
|
|
88100
88184
|
}
|
|
88101
88185
|
},
|
|
88102
88186
|
history: {
|
|
@@ -88191,6 +88275,7 @@ var SEPOLIA_DEPLOYMENT2 = {
|
|
|
88191
88275
|
LIT_ACTION_VALIDATOR_IMPL: "0x8FF30Fab0cC09C67dF6DF0ee017f817d5B101457",
|
|
88192
88276
|
CONTRACT_VERSION_REGISTRY: "0x97E43AA6aFF2C0cf659d3aE501658D2Ef6777522",
|
|
88193
88277
|
CONTRACT_VERSION_REGISTRY_IMPL: "0xF3389De4bCeC735e4F6d35b9f71170D96037D1B7",
|
|
88278
|
+
USDC_TOKEN: "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
|
|
88194
88279
|
MOCK_USDC_TOKEN: "0x96409A98e0D322d6566b7F44a0fAbD1BD4ce2AEc",
|
|
88195
88280
|
MOCK_USDT_TOKEN: "0xF8b7fB38b17a310960E47805Be9adba0b0e0394D",
|
|
88196
88281
|
POSITION_DELEGATE_REGISTRY: "0x482369De283622E7b05731875ec137d4E3D208F9",
|
|
@@ -88209,10 +88294,12 @@ var SEPOLIA_DEPLOYMENT2 = {
|
|
|
88209
88294
|
STUSDC_VAULT: "0x7aBac04d4Bf2b3A63AF363B9527970791346463a",
|
|
88210
88295
|
STUSDC_VAULT_IMPL: "0x3619b14C23c5F7d950EF845481C2299939873004",
|
|
88211
88296
|
CARRY_FEE_RECEIVER: "0x2C8e54f099Cf479182D7c87D76FeD88b4172cdB4",
|
|
88212
|
-
CARRY_FEE_RECEIVER_IMPL: "
|
|
88297
|
+
CARRY_FEE_RECEIVER_IMPL: "0x3a86A23ff3cd6c26B1Fa2C5aeBAeEEdbF6095D69",
|
|
88213
88298
|
FEE_RECOGNITION_LEDGER: "0xA5EBfb856fe2b847cC6011B0fe2dB6ACE63D6C3c",
|
|
88214
88299
|
FEE_RECOGNITION_LEDGER_IMPL: "0x50E3EEdf1e106041e0F521808815d7c6B2AeD8CA",
|
|
88215
|
-
FEE_BURNER: "0x397a50c81Eb3C1f68F936794524Adb26B03Dd826"
|
|
88300
|
+
FEE_BURNER: "0x397a50c81Eb3C1f68F936794524Adb26B03Dd826",
|
|
88301
|
+
BACKING_ORACLE: "0x003b97EF135e414198bCc4D2c50AC6B1BFb602C0",
|
|
88302
|
+
BACKING_ORACLE_IMPL: "0x472C89BB35482e4F8d5092497087c47Fa8B9ccEa"
|
|
88216
88303
|
}
|
|
88217
88304
|
};
|
|
88218
88305
|
var MAINNET_DEPLOYMENT2 = {
|
|
@@ -88243,6 +88330,7 @@ var MAINNET_DEPLOYMENT2 = {
|
|
|
88243
88330
|
BitcoinProviderRegistry: "0x4ab3Fb96e02893Ed6FAa61bad1918390c8DbbFFC",
|
|
88244
88331
|
BitcoinWithdrawalAddressRegistry: "0xf667f77FDba7458345f227eB6Bfe4148243E7270",
|
|
88245
88332
|
SimplePSMV2: "0xfE0C14B4E614f40Bf58845b4B04CeD17fd116532",
|
|
88333
|
+
usdcToken: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
88246
88334
|
PKPValidation: "0x29922d3ccb86516f6C24F89f1eb3068655ca7Fa0",
|
|
88247
88335
|
AgentDelegationRegistry: "0x54853b7E91ce2Be34ce65655D80c4447e67187Fa",
|
|
88248
88336
|
DHAgentDelegate: "0x70232d0caBe529e29a01A442423d7e03BBd414c8"
|
|
@@ -88407,6 +88495,7 @@ var MAINNET_DEPLOYMENT2 = {
|
|
|
88407
88495
|
BITCOIN_WITHDRAWAL_ADDRESS_REGISTRY_IMPL: "0x190c08300Ae650fb88ed8156445BBeb13bE9E8a3",
|
|
88408
88496
|
SIMPLE_PSM_V2: "0xfE0C14B4E614f40Bf58845b4B04CeD17fd116532",
|
|
88409
88497
|
SIMPLE_PSM_V2_IMPL: "0x8717761444b1822c2E6916aB5bD9ac96c91b6DF5",
|
|
88498
|
+
USDC_TOKEN: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
88410
88499
|
UCD_CONTROLLER: "0x4b4f8063048bCD59D469219E3f07C6aaDF4f6157",
|
|
88411
88500
|
UCD_CONTROLLER_IMPL: "0x28B8cAB89D89B3F83581FD2290de2Ce84535bd0A",
|
|
88412
88501
|
UCD_TOKEN: "0xaAaB6B05E5EecB015898483d4e6703d7F218850b",
|
|
@@ -88443,26 +88532,54 @@ var MAINNET_DEPLOYMENT2 = {
|
|
|
88443
88532
|
var LOCALHOST_DEPLOYMENT2 = {
|
|
88444
88533
|
network: "localhost",
|
|
88445
88534
|
chainId: 1337,
|
|
88446
|
-
timestamp: "2026-
|
|
88535
|
+
timestamp: "2026-10-28T15:50:42.373Z",
|
|
88447
88536
|
deployer: "",
|
|
88448
88537
|
contracts: {
|
|
88449
|
-
MessageHashBuilder: "
|
|
88538
|
+
MessageHashBuilder: "0x1613beB3B2C4f22Ee086B2b38C1476A3cE7f78E8",
|
|
88450
88539
|
LITActionValidator: "0xa513E6E4b8f2a923D98304ec87F64353C4D5C853",
|
|
88451
88540
|
UpgradeValidator: "0x8A791620dd6260079BF849Dc5567aDC3F2FdC318",
|
|
88452
88541
|
UCDToken: "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
|
|
88453
88542
|
UCDController: "0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9",
|
|
88454
88543
|
PositionManagerCoreModule: "0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e",
|
|
88455
88544
|
TermManagerModule: "0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82",
|
|
88456
|
-
LoanOperationsManagerModule: "
|
|
88457
|
-
BTCSpendAuthorizer: "
|
|
88458
|
-
CollateralManagerModule: "
|
|
88459
|
-
LiquidationManagerModule: "
|
|
88545
|
+
LoanOperationsManagerModule: "0x3Aa5ebB10DC797CAC828524e59A333d0A371443c",
|
|
88546
|
+
BTCSpendAuthorizer: "0x59b670e9fA9D0A427751Af201D676719a970857b",
|
|
88547
|
+
CollateralManagerModule: "0xa85233C63b9Ee964Add6F2cffe00Fd84eb32338f",
|
|
88548
|
+
LiquidationManagerModule: "0x7a2088a1bFc9d81c55368AE168C2C02570cB814F",
|
|
88460
88549
|
CircuitBreakerModule: "0x0B306BF915C4d645ff596e518fAf3F9669b97016",
|
|
88461
|
-
AdminModule: "
|
|
88462
|
-
PositionManagerViews: "
|
|
88463
|
-
PositionManager: "
|
|
88464
|
-
OperationAuthorizationRegistry: "
|
|
88465
|
-
|
|
88550
|
+
AdminModule: "0xc5a5C42992dECbae36851359345FE25997F5C42d",
|
|
88551
|
+
PositionManagerViews: "0x9A9f2CCfdE556A7E9Ff0848998Aa4a0CFD8863AE",
|
|
88552
|
+
PositionManager: "0xf5059a5D33d5853360D16C683c16e67980206f36",
|
|
88553
|
+
OperationAuthorizationRegistry: "0x34B40BA116d5Dec75548a9e9A8f15411461E8c70",
|
|
88554
|
+
PositionDelegateRegistry: "0x3aAde2dCD2Df6a8cAc689EE797591b2913658659",
|
|
88555
|
+
AgentDelegationRegistry: "0x457cCf29090fe5A24c19c1bc95F492168C0EaFdb",
|
|
88556
|
+
PKPValidation: "0x07882Ae1ecB7429a84f1D53048d35c4bB2056877"
|
|
88557
|
+
},
|
|
88558
|
+
latestEnv: {
|
|
88559
|
+
UCD_TOKEN: "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
|
|
88560
|
+
UCD_CONTROLLER: "0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9",
|
|
88561
|
+
POSITION_MANAGER: "0xf5059a5D33d5853360D16C683c16e67980206f36",
|
|
88562
|
+
PKP_VALIDATION_REGISTRY: "0x07882Ae1ecB7429a84f1D53048d35c4bB2056877",
|
|
88563
|
+
PKP_VALIDATION_CID_V1: "0x12205a453abbe0ea212dfdbd8ec0a385e40d54b3dc3ace298359d9af12a0db05a40f",
|
|
88564
|
+
PKP_VALIDATION_CID_V3: "0x12205a453abbe0ea212dfdbd8ec0a385e40d54b3dc3ace298359d9af12a0db05a40f",
|
|
88565
|
+
PKP_ETH_ADDRESS: "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
|
|
88566
|
+
OPERATION_AUTHORIZATION_REGISTRY: "0x34B40BA116d5Dec75548a9e9A8f15411461E8c70",
|
|
88567
|
+
UCD_MINT_VALIDATOR_ADDRESS: "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
|
|
88568
|
+
UCD_MINT_VALIDATOR_VERSION: 5,
|
|
88569
|
+
BTC_WITHDRAWAL_VALIDATOR_ADDRESS: "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
|
|
88570
|
+
BTC_WITHDRAWAL_VALIDATOR_VERSION: 5,
|
|
88571
|
+
UPDATE_BALANCE_VALIDATOR_ADDRESS: "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
|
|
88572
|
+
UPDATE_BALANCE_VALIDATOR_VERSION: 5,
|
|
88573
|
+
PROCESS_PAYMENT_VALIDATOR_ADDRESS: "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
|
|
88574
|
+
PROCESS_PAYMENT_VALIDATOR_VERSION: 5,
|
|
88575
|
+
EXTEND_POSITION_VALIDATOR_ADDRESS: "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
|
|
88576
|
+
EXTEND_POSITION_VALIDATOR_VERSION: 5,
|
|
88577
|
+
POSITION_DELEGATE_REGISTRY: "0x3aAde2dCD2Df6a8cAc689EE797591b2913658659",
|
|
88578
|
+
AGENT_DELEGATION_REGISTRY: "0x457cCf29090fe5A24c19c1bc95F492168C0EaFdb",
|
|
88579
|
+
POSITION_MANAGER_CORE_MODULE: "0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e",
|
|
88580
|
+
LOAN_OPERATIONS_MANAGER_MODULE: "0x3Aa5ebB10DC797CAC828524e59A333d0A371443c",
|
|
88581
|
+
TERM_MANAGER_MODULE: "0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82",
|
|
88582
|
+
COMMUNITY_MANAGER_MODULE: ""
|
|
88466
88583
|
}
|
|
88467
88584
|
};
|
|
88468
88585
|
var ALL_DEPLOYMENTS2 = {
|
|
@@ -93137,7 +93254,8 @@ var RealUpstreamPlugin = class {
|
|
|
93137
93254
|
}
|
|
93138
93255
|
// ---- helpers ----
|
|
93139
93256
|
/** Lazily-built PSM wrapper. Addresses come ONLY from the bundled SDK deployment table
|
|
93140
|
-
* (never invented): sepolia runs
|
|
93257
|
+
* (never invented): sepolia runs Circle's testnet USDC (dispenser-funded) beside the
|
|
93258
|
+
* legacy self-mintable mock USDC until that is retired; the MAINNET table carries
|
|
93141
93259
|
* SimplePSMV2 but NO stablecoin address — mainnet PSM reads refuse typed rather than
|
|
93142
93260
|
* guess the Circle USDC address (reads-verify only, and only once the table names it). */
|
|
93143
93261
|
/** One wrapper per stablecoin — the PSM supports several and each has its own decimals,
|
|
@@ -94083,7 +94201,7 @@ function registerProtocolResources(server, getB) {
|
|
|
94083
94201
|
"protocol://psm",
|
|
94084
94202
|
{
|
|
94085
94203
|
title: "PSM status (UCD \u2194 USDC exchange)",
|
|
94086
|
-
description: "Live SimplePSMV2 state as {data, warnings, source}. `data` carries network + chainId + psmAddress (the money surface names its chain) and `stablecoins`: EVERY coin this PSM supports, each with its own stablecoinKind (mock = practice token with a public self-serve mint
|
|
94204
|
+
description: "Live SimplePSMV2 state as {data, warnings, source}. `data` carries network + chainId + psmAddress (the money surface names its chain) and `stablecoins`: EVERY coin this PSM supports, each with its own stablecoinKind (circle = Circle's canonical USDC on this network \u2014 real Circle USDC on mainnet; on sepolia Circle's own testnet USDC, real USDC that is NOT self-mintable: practice funds come from the protocol's faucet-limited dispenser, POST /v1/faucet/sepolia/usdc on the GVNR api, 25 USDC per request by default, 50 max, 100 per address per 24 h; mock = the practice token \u2014 the mock world's simulated coin, or the legacy sepolia MockUSDC with a public self-serve mint until it is retired; onchain = any OTHER real mainnet coin such as USDT \u2014 real and on-chain, but NOT Circle USDC), pause + redeemEnabled switches, live reserves, and per-direction fees (WITH their token), min/max (WITH their units \u2014 to-ucd caps in the stablecoin's smallest units, from-ucd caps in UCD wei) and per-block volume caps ('uncapped' when the on-chain cap is 0). This is where a caller learns the coin names that `psm_quote` and `psm_swap` require.",
|
|
94087
94205
|
mimeType: "application/json"
|
|
94088
94206
|
},
|
|
94089
94207
|
async (uri) => {
|
|
@@ -94145,7 +94263,7 @@ function registerBoundaryInfoResource(server, getB) {
|
|
|
94145
94263
|
}
|
|
94146
94264
|
|
|
94147
94265
|
// src/version.ts
|
|
94148
|
-
var SERVER_VERSION = "0.5.
|
|
94266
|
+
var SERVER_VERSION = "0.5.27";
|
|
94149
94267
|
|
|
94150
94268
|
// src/server.ts
|
|
94151
94269
|
var SERVER_INSTRUCTIONS = "Diamond Hands MCP \u2014 Bitcoin-collateralized borrowing. Before promising ANY flow, read the boundary://info resource and honor its `capabilities` block: it states which network this server is on, whether money is real (practiceWorld), whether writes are enabled (and the true reason when they are not), and which signer modes this build actually offers \u2014 never describe a flow outside it. State the network and whether funds are real when the user first acts. Authorization is chosen by conversation via the signer_setup tool (when listed); writes always require confirmed:true after showing the human-readable card. For walkthroughs consult the guide tool / guide:// resources instead of inventing steps; when a tool refuses, relay its stated reason and remedy \u2014 do not improvise alternatives. When a network_switch tool is listed, the network can change mid-session \u2014 after ANY switch, re-read boundary://info and state the new network and money reality to the user before doing anything else. When the user asks to disconnect / log out / sign out / forget or remove their wallet, call signer_setup action 'disconnect' (the full flush) \u2014 never treat 'reset-borrower' as a disconnect; it only swaps identity. READING DATA: a payload's fields and notes are authoritative \u2014 state what they say, never speculate past them, and when the data does not carry something, say 'the data does not carry X'. Field meanings live in guide topic 'reading-data'; `reading` notes inside a result are interpretation instructions for that exact payload \u2014 follow them over any prior assumption.";
|