@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-embed.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;
|
|
@@ -43497,13 +43497,17 @@ function switchNetworkIndexLine(d) {
|
|
|
43497
43497
|
}
|
|
43498
43498
|
function psmStablecoinRealityNote(d) {
|
|
43499
43499
|
if (d.networks.includes("sepolia")) {
|
|
43500
|
-
return `**Practice funding (sepolia):** the sepolia stablecoin is
|
|
43501
|
-
|
|
43502
|
-
the
|
|
43503
|
-
|
|
43500
|
+
return `**Practice funding (sepolia):** the sepolia stablecoin is Circle's own testnet USDC \u2014
|
|
43501
|
+
real USDC with faucet-limited supply, NOT a token you can mint yourself. Practice USDC
|
|
43502
|
+
comes from the protocol's dispenser: \`POST /v1/faucet/sepolia/usdc\` on the GVNR api sends
|
|
43503
|
+
25 USDC by default (50 max per request, 100 per address per 24 h) to the address you name.
|
|
43504
|
+
\`protocol://psm\` states each token's kind (\`circle\` = Circle USDC; \`mock\` = the legacy
|
|
43505
|
+
practice token with a public self-serve \`mint\`, listed only until it is retired) and
|
|
43506
|
+
address so you never have to guess whether the money is real. On mainnet the stablecoin is
|
|
43507
|
+
real Circle USDC.`;
|
|
43504
43508
|
}
|
|
43505
43509
|
return `**Real money, and no practice path from here.** This deployment is not rolled out to
|
|
43506
|
-
sepolia, so the
|
|
43510
|
+
sepolia, so the faucet-limited testnet USDC that funds practice swaps there is out of reach \u2014
|
|
43507
43511
|
every swap executed on this deployment moves real Circle USDC and real UCD.
|
|
43508
43512
|
\`protocol://psm\` states the token's kind (\`mock\` vs \`circle\`) and address, so you never
|
|
43509
43513
|
have to guess whether the money is real.`;
|
|
@@ -44623,9 +44627,15 @@ function iso(sec) {
|
|
|
44623
44627
|
}
|
|
44624
44628
|
var PSM_FLOOR_TOLERANCE_BPS = 100;
|
|
44625
44629
|
var CANONICAL_MAINNET_USDC = "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
|
|
44630
|
+
var CANONICAL_SEPOLIA_USDC = "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238";
|
|
44631
|
+
var CANONICAL_USDC_BY_NETWORK = {
|
|
44632
|
+
sepolia: CANONICAL_SEPOLIA_USDC,
|
|
44633
|
+
mainnet: CANONICAL_MAINNET_USDC
|
|
44634
|
+
};
|
|
44626
44635
|
function stablecoinKindFor(network, stablecoinAddress) {
|
|
44627
|
-
if (network
|
|
44628
|
-
|
|
44636
|
+
if (network === "mock") return "mock";
|
|
44637
|
+
if (stablecoinAddress.toLowerCase() === CANONICAL_USDC_BY_NETWORK[network].toLowerCase()) return "circle";
|
|
44638
|
+
return network === "sepolia" ? "mock" : "onchain";
|
|
44629
44639
|
}
|
|
44630
44640
|
function failureToError(f) {
|
|
44631
44641
|
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";
|
|
@@ -45164,9 +45174,10 @@ var BoundaryCore = class {
|
|
|
45164
45174
|
chainId: this.deps.chainId,
|
|
45165
45175
|
psmAddress: s.psmAddress,
|
|
45166
45176
|
stablecoinAddress: s.stablecoinAddress,
|
|
45167
|
-
// Labelled by the ACTUAL coin, not the network (C-49): `circle` only for
|
|
45168
|
-
//
|
|
45169
|
-
// (e.g. mainnet USDT) — a
|
|
45177
|
+
// Labelled by the ACTUAL coin, not the network (C-49): `circle` only for Circle's
|
|
45178
|
+
// USDC on this network (mainnet, or Circle's faucet-limited Sepolia issuance), `mock`
|
|
45179
|
+
// for the practice token, `onchain` for any other real coin (e.g. mainnet USDT) — a
|
|
45180
|
+
// USDT swap must never render as "real USDC".
|
|
45170
45181
|
stablecoinKind: stablecoinKindFor(this.deps.network, s.stablecoinAddress),
|
|
45171
45182
|
stablecoinSymbol: s.stablecoinSymbol,
|
|
45172
45183
|
stablecoinDecimals: s.stablecoinDecimals,
|
|
@@ -56035,6 +56046,7 @@ var init_deployment_addresses = __esm2({
|
|
|
56035
56046
|
SimplePSMV2: "0x19EcF7BA26e054fd4Ff06009A03070103dbBB058",
|
|
56036
56047
|
BitcoinProviderRegistry: "0xbfA0c48B070D0a9A9CD27469AeacFD2d4261cEE2",
|
|
56037
56048
|
ContractVersionRegistry: "0x97E43AA6aFF2C0cf659d3aE501658D2Ef6777522",
|
|
56049
|
+
usdcToken: "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
|
|
56038
56050
|
mockUsdcToken: "0x96409A98e0D322d6566b7F44a0fAbD1BD4ce2AEc",
|
|
56039
56051
|
mockUsdtToken: "0xF8b7fB38b17a310960E47805Be9adba0b0e0394D",
|
|
56040
56052
|
PositionDelegateRegistry: "0x482369De283622E7b05731875ec137d4E3D208F9",
|
|
@@ -56047,7 +56059,8 @@ var init_deployment_addresses = __esm2({
|
|
|
56047
56059
|
StUSDCVault: "0x7aBac04d4Bf2b3A63AF363B9527970791346463a",
|
|
56048
56060
|
CarryFeeReceiver: "0x2C8e54f099Cf479182D7c87D76FeD88b4172cdB4",
|
|
56049
56061
|
FeeRecognitionLedger: "0xA5EBfb856fe2b847cC6011B0fe2dB6ACE63D6C3c",
|
|
56050
|
-
FeeBurner: "0x397a50c81Eb3C1f68F936794524Adb26B03Dd826"
|
|
56062
|
+
FeeBurner: "0x397a50c81Eb3C1f68F936794524Adb26B03Dd826",
|
|
56063
|
+
BackingOracle: "0x003b97EF135e414198bCc4D2c50AC6B1BFb602C0"
|
|
56051
56064
|
},
|
|
56052
56065
|
upgraded: {
|
|
56053
56066
|
PositionManager: {
|
|
@@ -56227,10 +56240,10 @@ var init_deployment_addresses = __esm2({
|
|
|
56227
56240
|
},
|
|
56228
56241
|
CarryFeeReceiver: {
|
|
56229
56242
|
previousImplementation: "0x9c43996C6f6BAD82F2A5152AbA61137E929EFA17",
|
|
56230
|
-
newImplementation: "
|
|
56231
|
-
upgradedAt: "2026-
|
|
56243
|
+
newImplementation: "0x3a86A23ff3cd6c26B1Fa2C5aeBAeEEdbF6095D69",
|
|
56244
|
+
upgradedAt: "2026-11-04T16:30:38.150Z",
|
|
56232
56245
|
upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
|
|
56233
|
-
reason: "
|
|
56246
|
+
reason: "Shared upgrade script: CarryFeeReceiver implementation update"
|
|
56234
56247
|
},
|
|
56235
56248
|
FeeRecognitionLedger: {
|
|
56236
56249
|
previousImplementation: "0x50E3EEdf1e106041e0F521808815d7c6B2AeD8CA",
|
|
@@ -56238,6 +56251,13 @@ var init_deployment_addresses = __esm2({
|
|
|
56238
56251
|
upgradedAt: "2026-10-30T16:59:24.774Z",
|
|
56239
56252
|
upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
|
|
56240
56253
|
reason: "Initial FeeRecognitionLedger deployment"
|
|
56254
|
+
},
|
|
56255
|
+
BackingOracle: {
|
|
56256
|
+
previousImplementation: "0x472C89BB35482e4F8d5092497087c47Fa8B9ccEa",
|
|
56257
|
+
newImplementation: "0x472C89BB35482e4F8d5092497087c47Fa8B9ccEa",
|
|
56258
|
+
upgradedAt: "2026-11-05T12:34:48.972Z",
|
|
56259
|
+
upgradedBy: "0x0f8f23674cc90Ef7107930a4437341fD8B460362",
|
|
56260
|
+
reason: "Initial BackingOracle deployment"
|
|
56241
56261
|
}
|
|
56242
56262
|
},
|
|
56243
56263
|
history: {
|
|
@@ -56332,6 +56352,7 @@ var init_deployment_addresses = __esm2({
|
|
|
56332
56352
|
LIT_ACTION_VALIDATOR_IMPL: "0x8FF30Fab0cC09C67dF6DF0ee017f817d5B101457",
|
|
56333
56353
|
CONTRACT_VERSION_REGISTRY: "0x97E43AA6aFF2C0cf659d3aE501658D2Ef6777522",
|
|
56334
56354
|
CONTRACT_VERSION_REGISTRY_IMPL: "0xF3389De4bCeC735e4F6d35b9f71170D96037D1B7",
|
|
56355
|
+
USDC_TOKEN: "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
|
|
56335
56356
|
MOCK_USDC_TOKEN: "0x96409A98e0D322d6566b7F44a0fAbD1BD4ce2AEc",
|
|
56336
56357
|
MOCK_USDT_TOKEN: "0xF8b7fB38b17a310960E47805Be9adba0b0e0394D",
|
|
56337
56358
|
POSITION_DELEGATE_REGISTRY: "0x482369De283622E7b05731875ec137d4E3D208F9",
|
|
@@ -56350,10 +56371,12 @@ var init_deployment_addresses = __esm2({
|
|
|
56350
56371
|
STUSDC_VAULT: "0x7aBac04d4Bf2b3A63AF363B9527970791346463a",
|
|
56351
56372
|
STUSDC_VAULT_IMPL: "0x3619b14C23c5F7d950EF845481C2299939873004",
|
|
56352
56373
|
CARRY_FEE_RECEIVER: "0x2C8e54f099Cf479182D7c87D76FeD88b4172cdB4",
|
|
56353
|
-
CARRY_FEE_RECEIVER_IMPL: "
|
|
56374
|
+
CARRY_FEE_RECEIVER_IMPL: "0x3a86A23ff3cd6c26B1Fa2C5aeBAeEEdbF6095D69",
|
|
56354
56375
|
FEE_RECOGNITION_LEDGER: "0xA5EBfb856fe2b847cC6011B0fe2dB6ACE63D6C3c",
|
|
56355
56376
|
FEE_RECOGNITION_LEDGER_IMPL: "0x50E3EEdf1e106041e0F521808815d7c6B2AeD8CA",
|
|
56356
|
-
FEE_BURNER: "0x397a50c81Eb3C1f68F936794524Adb26B03Dd826"
|
|
56377
|
+
FEE_BURNER: "0x397a50c81Eb3C1f68F936794524Adb26B03Dd826",
|
|
56378
|
+
BACKING_ORACLE: "0x003b97EF135e414198bCc4D2c50AC6B1BFb602C0",
|
|
56379
|
+
BACKING_ORACLE_IMPL: "0x472C89BB35482e4F8d5092497087c47Fa8B9ccEa"
|
|
56357
56380
|
}
|
|
56358
56381
|
};
|
|
56359
56382
|
SEPOLIA_CONTRACTS = {
|
|
@@ -56377,6 +56400,7 @@ var init_deployment_addresses = __esm2({
|
|
|
56377
56400
|
SimplePSMV2: "0x19EcF7BA26e054fd4Ff06009A03070103dbBB058",
|
|
56378
56401
|
BitcoinProviderRegistry: "0xbfA0c48B070D0a9A9CD27469AeacFD2d4261cEE2",
|
|
56379
56402
|
ContractVersionRegistry: "0x97E43AA6aFF2C0cf659d3aE501658D2Ef6777522",
|
|
56403
|
+
usdcToken: "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
|
|
56380
56404
|
mockUsdcToken: "0x96409A98e0D322d6566b7F44a0fAbD1BD4ce2AEc",
|
|
56381
56405
|
mockUsdtToken: "0xF8b7fB38b17a310960E47805Be9adba0b0e0394D",
|
|
56382
56406
|
PositionDelegateRegistry: "0x482369De283622E7b05731875ec137d4E3D208F9",
|
|
@@ -56389,7 +56413,8 @@ var init_deployment_addresses = __esm2({
|
|
|
56389
56413
|
StUSDCVault: "0x7aBac04d4Bf2b3A63AF363B9527970791346463a",
|
|
56390
56414
|
CarryFeeReceiver: "0x2C8e54f099Cf479182D7c87D76FeD88b4172cdB4",
|
|
56391
56415
|
FeeRecognitionLedger: "0xA5EBfb856fe2b847cC6011B0fe2dB6ACE63D6C3c",
|
|
56392
|
-
FeeBurner: "0x397a50c81Eb3C1f68F936794524Adb26B03Dd826"
|
|
56416
|
+
FeeBurner: "0x397a50c81Eb3C1f68F936794524Adb26B03Dd826",
|
|
56417
|
+
BackingOracle: "0x003b97EF135e414198bCc4D2c50AC6B1BFb602C0"
|
|
56393
56418
|
};
|
|
56394
56419
|
MAINNET_DEPLOYMENT = {
|
|
56395
56420
|
network: "mainnet",
|
|
@@ -56419,6 +56444,7 @@ var init_deployment_addresses = __esm2({
|
|
|
56419
56444
|
BitcoinProviderRegistry: "0x4ab3Fb96e02893Ed6FAa61bad1918390c8DbbFFC",
|
|
56420
56445
|
BitcoinWithdrawalAddressRegistry: "0xf667f77FDba7458345f227eB6Bfe4148243E7270",
|
|
56421
56446
|
SimplePSMV2: "0xfE0C14B4E614f40Bf58845b4B04CeD17fd116532",
|
|
56447
|
+
usdcToken: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
56422
56448
|
PKPValidation: "0x29922d3ccb86516f6C24F89f1eb3068655ca7Fa0",
|
|
56423
56449
|
AgentDelegationRegistry: "0x54853b7E91ce2Be34ce65655D80c4447e67187Fa",
|
|
56424
56450
|
DHAgentDelegate: "0x70232d0caBe529e29a01A442423d7e03BBd414c8"
|
|
@@ -56583,6 +56609,7 @@ var init_deployment_addresses = __esm2({
|
|
|
56583
56609
|
BITCOIN_WITHDRAWAL_ADDRESS_REGISTRY_IMPL: "0x190c08300Ae650fb88ed8156445BBeb13bE9E8a3",
|
|
56584
56610
|
SIMPLE_PSM_V2: "0xfE0C14B4E614f40Bf58845b4B04CeD17fd116532",
|
|
56585
56611
|
SIMPLE_PSM_V2_IMPL: "0x8717761444b1822c2E6916aB5bD9ac96c91b6DF5",
|
|
56612
|
+
USDC_TOKEN: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
56586
56613
|
UCD_CONTROLLER: "0x4b4f8063048bCD59D469219E3f07C6aaDF4f6157",
|
|
56587
56614
|
UCD_CONTROLLER_IMPL: "0x28B8cAB89D89B3F83581FD2290de2Ce84535bd0A",
|
|
56588
56615
|
UCD_TOKEN: "0xaAaB6B05E5EecB015898483d4e6703d7F218850b",
|
|
@@ -56639,6 +56666,7 @@ var init_deployment_addresses = __esm2({
|
|
|
56639
56666
|
BitcoinProviderRegistry: "0x4ab3Fb96e02893Ed6FAa61bad1918390c8DbbFFC",
|
|
56640
56667
|
BitcoinWithdrawalAddressRegistry: "0xf667f77FDba7458345f227eB6Bfe4148243E7270",
|
|
56641
56668
|
SimplePSMV2: "0xfE0C14B4E614f40Bf58845b4B04CeD17fd116532",
|
|
56669
|
+
usdcToken: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
56642
56670
|
PKPValidation: "0x29922d3ccb86516f6C24F89f1eb3068655ca7Fa0",
|
|
56643
56671
|
AgentDelegationRegistry: "0x54853b7E91ce2Be34ce65655D80c4447e67187Fa",
|
|
56644
56672
|
DHAgentDelegate: "0x70232d0caBe529e29a01A442423d7e03BBd414c8"
|
|
@@ -56646,46 +56674,76 @@ var init_deployment_addresses = __esm2({
|
|
|
56646
56674
|
LOCALHOST_DEPLOYMENT = {
|
|
56647
56675
|
network: "localhost",
|
|
56648
56676
|
chainId: 1337,
|
|
56649
|
-
timestamp: "2026-
|
|
56677
|
+
timestamp: "2026-10-28T15:50:42.373Z",
|
|
56650
56678
|
deployer: "",
|
|
56651
56679
|
contracts: {
|
|
56652
|
-
MessageHashBuilder: "
|
|
56680
|
+
MessageHashBuilder: "0x1613beB3B2C4f22Ee086B2b38C1476A3cE7f78E8",
|
|
56653
56681
|
LITActionValidator: "0xa513E6E4b8f2a923D98304ec87F64353C4D5C853",
|
|
56654
56682
|
UpgradeValidator: "0x8A791620dd6260079BF849Dc5567aDC3F2FdC318",
|
|
56655
56683
|
UCDToken: "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
|
|
56656
56684
|
UCDController: "0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9",
|
|
56657
56685
|
PositionManagerCoreModule: "0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e",
|
|
56658
56686
|
TermManagerModule: "0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82",
|
|
56659
|
-
LoanOperationsManagerModule: "
|
|
56660
|
-
BTCSpendAuthorizer: "
|
|
56661
|
-
CollateralManagerModule: "
|
|
56662
|
-
LiquidationManagerModule: "
|
|
56687
|
+
LoanOperationsManagerModule: "0x3Aa5ebB10DC797CAC828524e59A333d0A371443c",
|
|
56688
|
+
BTCSpendAuthorizer: "0x59b670e9fA9D0A427751Af201D676719a970857b",
|
|
56689
|
+
CollateralManagerModule: "0xa85233C63b9Ee964Add6F2cffe00Fd84eb32338f",
|
|
56690
|
+
LiquidationManagerModule: "0x7a2088a1bFc9d81c55368AE168C2C02570cB814F",
|
|
56663
56691
|
CircuitBreakerModule: "0x0B306BF915C4d645ff596e518fAf3F9669b97016",
|
|
56664
|
-
AdminModule: "
|
|
56665
|
-
PositionManagerViews: "
|
|
56666
|
-
PositionManager: "
|
|
56667
|
-
OperationAuthorizationRegistry: "
|
|
56668
|
-
|
|
56692
|
+
AdminModule: "0xc5a5C42992dECbae36851359345FE25997F5C42d",
|
|
56693
|
+
PositionManagerViews: "0x9A9f2CCfdE556A7E9Ff0848998Aa4a0CFD8863AE",
|
|
56694
|
+
PositionManager: "0xf5059a5D33d5853360D16C683c16e67980206f36",
|
|
56695
|
+
OperationAuthorizationRegistry: "0x34B40BA116d5Dec75548a9e9A8f15411461E8c70",
|
|
56696
|
+
PositionDelegateRegistry: "0x3aAde2dCD2Df6a8cAc689EE797591b2913658659",
|
|
56697
|
+
AgentDelegationRegistry: "0x457cCf29090fe5A24c19c1bc95F492168C0EaFdb",
|
|
56698
|
+
PKPValidation: "0x07882Ae1ecB7429a84f1D53048d35c4bB2056877"
|
|
56699
|
+
},
|
|
56700
|
+
latestEnv: {
|
|
56701
|
+
UCD_TOKEN: "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
|
|
56702
|
+
UCD_CONTROLLER: "0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9",
|
|
56703
|
+
POSITION_MANAGER: "0xf5059a5D33d5853360D16C683c16e67980206f36",
|
|
56704
|
+
PKP_VALIDATION_REGISTRY: "0x07882Ae1ecB7429a84f1D53048d35c4bB2056877",
|
|
56705
|
+
PKP_VALIDATION_CID_V1: "0x12205a453abbe0ea212dfdbd8ec0a385e40d54b3dc3ace298359d9af12a0db05a40f",
|
|
56706
|
+
PKP_VALIDATION_CID_V3: "0x12205a453abbe0ea212dfdbd8ec0a385e40d54b3dc3ace298359d9af12a0db05a40f",
|
|
56707
|
+
PKP_ETH_ADDRESS: "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
|
|
56708
|
+
OPERATION_AUTHORIZATION_REGISTRY: "0x34B40BA116d5Dec75548a9e9A8f15411461E8c70",
|
|
56709
|
+
UCD_MINT_VALIDATOR_ADDRESS: "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
|
|
56710
|
+
UCD_MINT_VALIDATOR_VERSION: 5,
|
|
56711
|
+
BTC_WITHDRAWAL_VALIDATOR_ADDRESS: "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
|
|
56712
|
+
BTC_WITHDRAWAL_VALIDATOR_VERSION: 5,
|
|
56713
|
+
UPDATE_BALANCE_VALIDATOR_ADDRESS: "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
|
|
56714
|
+
UPDATE_BALANCE_VALIDATOR_VERSION: 5,
|
|
56715
|
+
PROCESS_PAYMENT_VALIDATOR_ADDRESS: "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
|
|
56716
|
+
PROCESS_PAYMENT_VALIDATOR_VERSION: 5,
|
|
56717
|
+
EXTEND_POSITION_VALIDATOR_ADDRESS: "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
|
|
56718
|
+
EXTEND_POSITION_VALIDATOR_VERSION: 5,
|
|
56719
|
+
POSITION_DELEGATE_REGISTRY: "0x3aAde2dCD2Df6a8cAc689EE797591b2913658659",
|
|
56720
|
+
AGENT_DELEGATION_REGISTRY: "0x457cCf29090fe5A24c19c1bc95F492168C0EaFdb",
|
|
56721
|
+
POSITION_MANAGER_CORE_MODULE: "0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e",
|
|
56722
|
+
LOAN_OPERATIONS_MANAGER_MODULE: "0x3Aa5ebB10DC797CAC828524e59A333d0A371443c",
|
|
56723
|
+
TERM_MANAGER_MODULE: "0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82",
|
|
56724
|
+
COMMUNITY_MANAGER_MODULE: ""
|
|
56669
56725
|
}
|
|
56670
56726
|
};
|
|
56671
56727
|
LOCALHOST_CONTRACTS = {
|
|
56672
|
-
MessageHashBuilder: "
|
|
56728
|
+
MessageHashBuilder: "0x1613beB3B2C4f22Ee086B2b38C1476A3cE7f78E8",
|
|
56673
56729
|
LITActionValidator: "0xa513E6E4b8f2a923D98304ec87F64353C4D5C853",
|
|
56674
56730
|
UpgradeValidator: "0x8A791620dd6260079BF849Dc5567aDC3F2FdC318",
|
|
56675
56731
|
UCDToken: "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
|
|
56676
56732
|
UCDController: "0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9",
|
|
56677
56733
|
PositionManagerCoreModule: "0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e",
|
|
56678
56734
|
TermManagerModule: "0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82",
|
|
56679
|
-
LoanOperationsManagerModule: "
|
|
56680
|
-
BTCSpendAuthorizer: "
|
|
56681
|
-
CollateralManagerModule: "
|
|
56682
|
-
LiquidationManagerModule: "
|
|
56735
|
+
LoanOperationsManagerModule: "0x3Aa5ebB10DC797CAC828524e59A333d0A371443c",
|
|
56736
|
+
BTCSpendAuthorizer: "0x59b670e9fA9D0A427751Af201D676719a970857b",
|
|
56737
|
+
CollateralManagerModule: "0xa85233C63b9Ee964Add6F2cffe00Fd84eb32338f",
|
|
56738
|
+
LiquidationManagerModule: "0x7a2088a1bFc9d81c55368AE168C2C02570cB814F",
|
|
56683
56739
|
CircuitBreakerModule: "0x0B306BF915C4d645ff596e518fAf3F9669b97016",
|
|
56684
|
-
AdminModule: "
|
|
56685
|
-
PositionManagerViews: "
|
|
56686
|
-
PositionManager: "
|
|
56687
|
-
OperationAuthorizationRegistry: "
|
|
56688
|
-
|
|
56740
|
+
AdminModule: "0xc5a5C42992dECbae36851359345FE25997F5C42d",
|
|
56741
|
+
PositionManagerViews: "0x9A9f2CCfdE556A7E9Ff0848998Aa4a0CFD8863AE",
|
|
56742
|
+
PositionManager: "0xf5059a5D33d5853360D16C683c16e67980206f36",
|
|
56743
|
+
OperationAuthorizationRegistry: "0x34B40BA116d5Dec75548a9e9A8f15411461E8c70",
|
|
56744
|
+
PositionDelegateRegistry: "0x3aAde2dCD2Df6a8cAc689EE797591b2913658659",
|
|
56745
|
+
AgentDelegationRegistry: "0x457cCf29090fe5A24c19c1bc95F492168C0EaFdb",
|
|
56746
|
+
PKPValidation: "0x07882Ae1ecB7429a84f1D53048d35c4bB2056877"
|
|
56689
56747
|
};
|
|
56690
56748
|
ALL_DEPLOYMENTS = {
|
|
56691
56749
|
sepolia: SEPOLIA_DEPLOYMENT,
|
|
@@ -57643,6 +57701,19 @@ var require_pkg_src2 = __commonJS2({
|
|
|
57643
57701
|
deployedAt: 1790925699980,
|
|
57644
57702
|
size: 7193,
|
|
57645
57703
|
hash: "4944ada61610cf64b32e33b5be62087088dcf5e821040c69e67942e643ce74c9"
|
|
57704
|
+
},
|
|
57705
|
+
backingAttestation: {
|
|
57706
|
+
cid: "QmRkWKprbhP865uALCjfp8gC34JJtZZuD5UFZxqB2jJ8Hi",
|
|
57707
|
+
authorizedCidHex: cidToHex(
|
|
57708
|
+
"QmRkWKprbhP865uALCjfp8gC34JJtZZuD5UFZxqB2jJ8Hi"
|
|
57709
|
+
),
|
|
57710
|
+
name: "Backing Attestation",
|
|
57711
|
+
description: "BackingOracle report: BTC collateral over loan UCD at a pinned block, from a keeper snapshot the action verifies",
|
|
57712
|
+
version: "1.0.2",
|
|
57713
|
+
deployed: true,
|
|
57714
|
+
deployedAt: 1793955517792,
|
|
57715
|
+
size: 20733,
|
|
57716
|
+
hash: "9b87800369aa37b12496cfaf8247e5e52eb82ad292519e75e799274046cf214a"
|
|
57646
57717
|
}
|
|
57647
57718
|
};
|
|
57648
57719
|
function getDeploymentsForNetwork(network) {
|
|
@@ -61850,6 +61921,7 @@ function getSepoliaConfig() {
|
|
|
61850
61921
|
positionManagerCore: SEPOLIA_CONTRACTS.PositionManagerCoreModule || "",
|
|
61851
61922
|
positionManagerViews: SEPOLIA_CONTRACTS.PositionManagerViews || "",
|
|
61852
61923
|
simplePsmV2: SEPOLIA_CONTRACTS.SimplePSMV2 || "",
|
|
61924
|
+
usdcToken: SEPOLIA_CONTRACTS.usdcToken || "",
|
|
61853
61925
|
mockUsdcToken: SEPOLIA_CONTRACTS.mockUsdcToken || "",
|
|
61854
61926
|
mockUsdtToken: SEPOLIA_CONTRACTS.mockUsdtToken || "",
|
|
61855
61927
|
loanOperationsManager: SEPOLIA_CONTRACTS.LoanOperationsManagerModule || "",
|
|
@@ -61873,7 +61945,8 @@ function getSepoliaConfig() {
|
|
|
61873
61945
|
stUsdcVault: SEPOLIA_CONTRACTS.StUSDCVault || "",
|
|
61874
61946
|
carryFeeReceiver: SEPOLIA_CONTRACTS.CarryFeeReceiver || "",
|
|
61875
61947
|
feeRecognitionLedger: SEPOLIA_CONTRACTS.FeeRecognitionLedger || "",
|
|
61876
|
-
feeBurner: SEPOLIA_CONTRACTS.FeeBurner || ""
|
|
61948
|
+
feeBurner: SEPOLIA_CONTRACTS.FeeBurner || "",
|
|
61949
|
+
backingOracle: SEPOLIA_CONTRACTS.BackingOracle || ""
|
|
61877
61950
|
},
|
|
61878
61951
|
subgraphs: {
|
|
61879
61952
|
// Lazy getter for the same module-init snapshot reason as serviceEndpoint.
|
|
@@ -61910,6 +61983,7 @@ function getMainnetConfig() {
|
|
|
61910
61983
|
positionManagerCore: MAINNET_CONTRACTS.PositionManagerCoreModule || "",
|
|
61911
61984
|
positionManagerViews: MAINNET_CONTRACTS.PositionManagerViews || "",
|
|
61912
61985
|
simplePsmV2: MAINNET_CONTRACTS.SimplePSMV2 || "",
|
|
61986
|
+
usdcToken: MAINNET_CONTRACTS.usdcToken || "",
|
|
61913
61987
|
loanOperationsManager: MAINNET_CONTRACTS.LoanOperationsManagerModule || "",
|
|
61914
61988
|
termManager: MAINNET_CONTRACTS.TermManagerModule || "",
|
|
61915
61989
|
circuitBreaker: MAINNET_CONTRACTS.CircuitBreakerModule || "",
|
|
@@ -61933,7 +62007,8 @@ function getMainnetConfig() {
|
|
|
61933
62007
|
stUsdcVault: MAINNET_CONTRACTS.StUSDCVault || "",
|
|
61934
62008
|
carryFeeReceiver: MAINNET_CONTRACTS.CarryFeeReceiver || "",
|
|
61935
62009
|
feeRecognitionLedger: MAINNET_CONTRACTS.FeeRecognitionLedger || "",
|
|
61936
|
-
feeBurner: MAINNET_CONTRACTS.FeeBurner || ""
|
|
62010
|
+
feeBurner: MAINNET_CONTRACTS.FeeBurner || "",
|
|
62011
|
+
backingOracle: MAINNET_CONTRACTS.BackingOracle || ""
|
|
61937
62012
|
},
|
|
61938
62013
|
subgraphs: {
|
|
61939
62014
|
// The MAINNET subgraph on The Graph's decentralized network — the same id
|
|
@@ -87900,6 +87975,7 @@ var SEPOLIA_DEPLOYMENT2 = {
|
|
|
87900
87975
|
SimplePSMV2: "0x19EcF7BA26e054fd4Ff06009A03070103dbBB058",
|
|
87901
87976
|
BitcoinProviderRegistry: "0xbfA0c48B070D0a9A9CD27469AeacFD2d4261cEE2",
|
|
87902
87977
|
ContractVersionRegistry: "0x97E43AA6aFF2C0cf659d3aE501658D2Ef6777522",
|
|
87978
|
+
usdcToken: "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
|
|
87903
87979
|
mockUsdcToken: "0x96409A98e0D322d6566b7F44a0fAbD1BD4ce2AEc",
|
|
87904
87980
|
mockUsdtToken: "0xF8b7fB38b17a310960E47805Be9adba0b0e0394D",
|
|
87905
87981
|
PositionDelegateRegistry: "0x482369De283622E7b05731875ec137d4E3D208F9",
|
|
@@ -87912,7 +87988,8 @@ var SEPOLIA_DEPLOYMENT2 = {
|
|
|
87912
87988
|
StUSDCVault: "0x7aBac04d4Bf2b3A63AF363B9527970791346463a",
|
|
87913
87989
|
CarryFeeReceiver: "0x2C8e54f099Cf479182D7c87D76FeD88b4172cdB4",
|
|
87914
87990
|
FeeRecognitionLedger: "0xA5EBfb856fe2b847cC6011B0fe2dB6ACE63D6C3c",
|
|
87915
|
-
FeeBurner: "0x397a50c81Eb3C1f68F936794524Adb26B03Dd826"
|
|
87991
|
+
FeeBurner: "0x397a50c81Eb3C1f68F936794524Adb26B03Dd826",
|
|
87992
|
+
BackingOracle: "0x003b97EF135e414198bCc4D2c50AC6B1BFb602C0"
|
|
87916
87993
|
},
|
|
87917
87994
|
upgraded: {
|
|
87918
87995
|
PositionManager: {
|
|
@@ -88092,10 +88169,10 @@ var SEPOLIA_DEPLOYMENT2 = {
|
|
|
88092
88169
|
},
|
|
88093
88170
|
CarryFeeReceiver: {
|
|
88094
88171
|
previousImplementation: "0x9c43996C6f6BAD82F2A5152AbA61137E929EFA17",
|
|
88095
|
-
newImplementation: "
|
|
88096
|
-
upgradedAt: "2026-
|
|
88172
|
+
newImplementation: "0x3a86A23ff3cd6c26B1Fa2C5aeBAeEEdbF6095D69",
|
|
88173
|
+
upgradedAt: "2026-11-04T16:30:38.150Z",
|
|
88097
88174
|
upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
|
|
88098
|
-
reason: "
|
|
88175
|
+
reason: "Shared upgrade script: CarryFeeReceiver implementation update"
|
|
88099
88176
|
},
|
|
88100
88177
|
FeeRecognitionLedger: {
|
|
88101
88178
|
previousImplementation: "0x50E3EEdf1e106041e0F521808815d7c6B2AeD8CA",
|
|
@@ -88103,6 +88180,13 @@ var SEPOLIA_DEPLOYMENT2 = {
|
|
|
88103
88180
|
upgradedAt: "2026-10-30T16:59:24.774Z",
|
|
88104
88181
|
upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
|
|
88105
88182
|
reason: "Initial FeeRecognitionLedger deployment"
|
|
88183
|
+
},
|
|
88184
|
+
BackingOracle: {
|
|
88185
|
+
previousImplementation: "0x472C89BB35482e4F8d5092497087c47Fa8B9ccEa",
|
|
88186
|
+
newImplementation: "0x472C89BB35482e4F8d5092497087c47Fa8B9ccEa",
|
|
88187
|
+
upgradedAt: "2026-11-05T12:34:48.972Z",
|
|
88188
|
+
upgradedBy: "0x0f8f23674cc90Ef7107930a4437341fD8B460362",
|
|
88189
|
+
reason: "Initial BackingOracle deployment"
|
|
88106
88190
|
}
|
|
88107
88191
|
},
|
|
88108
88192
|
history: {
|
|
@@ -88197,6 +88281,7 @@ var SEPOLIA_DEPLOYMENT2 = {
|
|
|
88197
88281
|
LIT_ACTION_VALIDATOR_IMPL: "0x8FF30Fab0cC09C67dF6DF0ee017f817d5B101457",
|
|
88198
88282
|
CONTRACT_VERSION_REGISTRY: "0x97E43AA6aFF2C0cf659d3aE501658D2Ef6777522",
|
|
88199
88283
|
CONTRACT_VERSION_REGISTRY_IMPL: "0xF3389De4bCeC735e4F6d35b9f71170D96037D1B7",
|
|
88284
|
+
USDC_TOKEN: "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
|
|
88200
88285
|
MOCK_USDC_TOKEN: "0x96409A98e0D322d6566b7F44a0fAbD1BD4ce2AEc",
|
|
88201
88286
|
MOCK_USDT_TOKEN: "0xF8b7fB38b17a310960E47805Be9adba0b0e0394D",
|
|
88202
88287
|
POSITION_DELEGATE_REGISTRY: "0x482369De283622E7b05731875ec137d4E3D208F9",
|
|
@@ -88215,10 +88300,12 @@ var SEPOLIA_DEPLOYMENT2 = {
|
|
|
88215
88300
|
STUSDC_VAULT: "0x7aBac04d4Bf2b3A63AF363B9527970791346463a",
|
|
88216
88301
|
STUSDC_VAULT_IMPL: "0x3619b14C23c5F7d950EF845481C2299939873004",
|
|
88217
88302
|
CARRY_FEE_RECEIVER: "0x2C8e54f099Cf479182D7c87D76FeD88b4172cdB4",
|
|
88218
|
-
CARRY_FEE_RECEIVER_IMPL: "
|
|
88303
|
+
CARRY_FEE_RECEIVER_IMPL: "0x3a86A23ff3cd6c26B1Fa2C5aeBAeEEdbF6095D69",
|
|
88219
88304
|
FEE_RECOGNITION_LEDGER: "0xA5EBfb856fe2b847cC6011B0fe2dB6ACE63D6C3c",
|
|
88220
88305
|
FEE_RECOGNITION_LEDGER_IMPL: "0x50E3EEdf1e106041e0F521808815d7c6B2AeD8CA",
|
|
88221
|
-
FEE_BURNER: "0x397a50c81Eb3C1f68F936794524Adb26B03Dd826"
|
|
88306
|
+
FEE_BURNER: "0x397a50c81Eb3C1f68F936794524Adb26B03Dd826",
|
|
88307
|
+
BACKING_ORACLE: "0x003b97EF135e414198bCc4D2c50AC6B1BFb602C0",
|
|
88308
|
+
BACKING_ORACLE_IMPL: "0x472C89BB35482e4F8d5092497087c47Fa8B9ccEa"
|
|
88222
88309
|
}
|
|
88223
88310
|
};
|
|
88224
88311
|
var MAINNET_DEPLOYMENT2 = {
|
|
@@ -88249,6 +88336,7 @@ var MAINNET_DEPLOYMENT2 = {
|
|
|
88249
88336
|
BitcoinProviderRegistry: "0x4ab3Fb96e02893Ed6FAa61bad1918390c8DbbFFC",
|
|
88250
88337
|
BitcoinWithdrawalAddressRegistry: "0xf667f77FDba7458345f227eB6Bfe4148243E7270",
|
|
88251
88338
|
SimplePSMV2: "0xfE0C14B4E614f40Bf58845b4B04CeD17fd116532",
|
|
88339
|
+
usdcToken: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
88252
88340
|
PKPValidation: "0x29922d3ccb86516f6C24F89f1eb3068655ca7Fa0",
|
|
88253
88341
|
AgentDelegationRegistry: "0x54853b7E91ce2Be34ce65655D80c4447e67187Fa",
|
|
88254
88342
|
DHAgentDelegate: "0x70232d0caBe529e29a01A442423d7e03BBd414c8"
|
|
@@ -88413,6 +88501,7 @@ var MAINNET_DEPLOYMENT2 = {
|
|
|
88413
88501
|
BITCOIN_WITHDRAWAL_ADDRESS_REGISTRY_IMPL: "0x190c08300Ae650fb88ed8156445BBeb13bE9E8a3",
|
|
88414
88502
|
SIMPLE_PSM_V2: "0xfE0C14B4E614f40Bf58845b4B04CeD17fd116532",
|
|
88415
88503
|
SIMPLE_PSM_V2_IMPL: "0x8717761444b1822c2E6916aB5bD9ac96c91b6DF5",
|
|
88504
|
+
USDC_TOKEN: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
88416
88505
|
UCD_CONTROLLER: "0x4b4f8063048bCD59D469219E3f07C6aaDF4f6157",
|
|
88417
88506
|
UCD_CONTROLLER_IMPL: "0x28B8cAB89D89B3F83581FD2290de2Ce84535bd0A",
|
|
88418
88507
|
UCD_TOKEN: "0xaAaB6B05E5EecB015898483d4e6703d7F218850b",
|
|
@@ -88449,26 +88538,54 @@ var MAINNET_DEPLOYMENT2 = {
|
|
|
88449
88538
|
var LOCALHOST_DEPLOYMENT2 = {
|
|
88450
88539
|
network: "localhost",
|
|
88451
88540
|
chainId: 1337,
|
|
88452
|
-
timestamp: "2026-
|
|
88541
|
+
timestamp: "2026-10-28T15:50:42.373Z",
|
|
88453
88542
|
deployer: "",
|
|
88454
88543
|
contracts: {
|
|
88455
|
-
MessageHashBuilder: "
|
|
88544
|
+
MessageHashBuilder: "0x1613beB3B2C4f22Ee086B2b38C1476A3cE7f78E8",
|
|
88456
88545
|
LITActionValidator: "0xa513E6E4b8f2a923D98304ec87F64353C4D5C853",
|
|
88457
88546
|
UpgradeValidator: "0x8A791620dd6260079BF849Dc5567aDC3F2FdC318",
|
|
88458
88547
|
UCDToken: "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
|
|
88459
88548
|
UCDController: "0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9",
|
|
88460
88549
|
PositionManagerCoreModule: "0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e",
|
|
88461
88550
|
TermManagerModule: "0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82",
|
|
88462
|
-
LoanOperationsManagerModule: "
|
|
88463
|
-
BTCSpendAuthorizer: "
|
|
88464
|
-
CollateralManagerModule: "
|
|
88465
|
-
LiquidationManagerModule: "
|
|
88551
|
+
LoanOperationsManagerModule: "0x3Aa5ebB10DC797CAC828524e59A333d0A371443c",
|
|
88552
|
+
BTCSpendAuthorizer: "0x59b670e9fA9D0A427751Af201D676719a970857b",
|
|
88553
|
+
CollateralManagerModule: "0xa85233C63b9Ee964Add6F2cffe00Fd84eb32338f",
|
|
88554
|
+
LiquidationManagerModule: "0x7a2088a1bFc9d81c55368AE168C2C02570cB814F",
|
|
88466
88555
|
CircuitBreakerModule: "0x0B306BF915C4d645ff596e518fAf3F9669b97016",
|
|
88467
|
-
AdminModule: "
|
|
88468
|
-
PositionManagerViews: "
|
|
88469
|
-
PositionManager: "
|
|
88470
|
-
OperationAuthorizationRegistry: "
|
|
88471
|
-
|
|
88556
|
+
AdminModule: "0xc5a5C42992dECbae36851359345FE25997F5C42d",
|
|
88557
|
+
PositionManagerViews: "0x9A9f2CCfdE556A7E9Ff0848998Aa4a0CFD8863AE",
|
|
88558
|
+
PositionManager: "0xf5059a5D33d5853360D16C683c16e67980206f36",
|
|
88559
|
+
OperationAuthorizationRegistry: "0x34B40BA116d5Dec75548a9e9A8f15411461E8c70",
|
|
88560
|
+
PositionDelegateRegistry: "0x3aAde2dCD2Df6a8cAc689EE797591b2913658659",
|
|
88561
|
+
AgentDelegationRegistry: "0x457cCf29090fe5A24c19c1bc95F492168C0EaFdb",
|
|
88562
|
+
PKPValidation: "0x07882Ae1ecB7429a84f1D53048d35c4bB2056877"
|
|
88563
|
+
},
|
|
88564
|
+
latestEnv: {
|
|
88565
|
+
UCD_TOKEN: "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
|
|
88566
|
+
UCD_CONTROLLER: "0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9",
|
|
88567
|
+
POSITION_MANAGER: "0xf5059a5D33d5853360D16C683c16e67980206f36",
|
|
88568
|
+
PKP_VALIDATION_REGISTRY: "0x07882Ae1ecB7429a84f1D53048d35c4bB2056877",
|
|
88569
|
+
PKP_VALIDATION_CID_V1: "0x12205a453abbe0ea212dfdbd8ec0a385e40d54b3dc3ace298359d9af12a0db05a40f",
|
|
88570
|
+
PKP_VALIDATION_CID_V3: "0x12205a453abbe0ea212dfdbd8ec0a385e40d54b3dc3ace298359d9af12a0db05a40f",
|
|
88571
|
+
PKP_ETH_ADDRESS: "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
|
|
88572
|
+
OPERATION_AUTHORIZATION_REGISTRY: "0x34B40BA116d5Dec75548a9e9A8f15411461E8c70",
|
|
88573
|
+
UCD_MINT_VALIDATOR_ADDRESS: "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
|
|
88574
|
+
UCD_MINT_VALIDATOR_VERSION: 5,
|
|
88575
|
+
BTC_WITHDRAWAL_VALIDATOR_ADDRESS: "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
|
|
88576
|
+
BTC_WITHDRAWAL_VALIDATOR_VERSION: 5,
|
|
88577
|
+
UPDATE_BALANCE_VALIDATOR_ADDRESS: "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
|
|
88578
|
+
UPDATE_BALANCE_VALIDATOR_VERSION: 5,
|
|
88579
|
+
PROCESS_PAYMENT_VALIDATOR_ADDRESS: "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
|
|
88580
|
+
PROCESS_PAYMENT_VALIDATOR_VERSION: 5,
|
|
88581
|
+
EXTEND_POSITION_VALIDATOR_ADDRESS: "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
|
|
88582
|
+
EXTEND_POSITION_VALIDATOR_VERSION: 5,
|
|
88583
|
+
POSITION_DELEGATE_REGISTRY: "0x3aAde2dCD2Df6a8cAc689EE797591b2913658659",
|
|
88584
|
+
AGENT_DELEGATION_REGISTRY: "0x457cCf29090fe5A24c19c1bc95F492168C0EaFdb",
|
|
88585
|
+
POSITION_MANAGER_CORE_MODULE: "0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e",
|
|
88586
|
+
LOAN_OPERATIONS_MANAGER_MODULE: "0x3Aa5ebB10DC797CAC828524e59A333d0A371443c",
|
|
88587
|
+
TERM_MANAGER_MODULE: "0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82",
|
|
88588
|
+
COMMUNITY_MANAGER_MODULE: ""
|
|
88472
88589
|
}
|
|
88473
88590
|
};
|
|
88474
88591
|
var ALL_DEPLOYMENTS2 = {
|
|
@@ -93143,7 +93260,8 @@ var RealUpstreamPlugin = class {
|
|
|
93143
93260
|
}
|
|
93144
93261
|
// ---- helpers ----
|
|
93145
93262
|
/** Lazily-built PSM wrapper. Addresses come ONLY from the bundled SDK deployment table
|
|
93146
|
-
* (never invented): sepolia runs
|
|
93263
|
+
* (never invented): sepolia runs Circle's testnet USDC (dispenser-funded) beside the
|
|
93264
|
+
* legacy self-mintable mock USDC until that is retired; the MAINNET table carries
|
|
93147
93265
|
* SimplePSMV2 but NO stablecoin address — mainnet PSM reads refuse typed rather than
|
|
93148
93266
|
* guess the Circle USDC address (reads-verify only, and only once the table names it). */
|
|
93149
93267
|
/** One wrapper per stablecoin — the PSM supports several and each has its own decimals,
|
|
@@ -94089,7 +94207,7 @@ function registerProtocolResources(server, getB) {
|
|
|
94089
94207
|
"protocol://psm",
|
|
94090
94208
|
{
|
|
94091
94209
|
title: "PSM status (UCD \u2194 USDC exchange)",
|
|
94092
|
-
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
|
|
94210
|
+
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.",
|
|
94093
94211
|
mimeType: "application/json"
|
|
94094
94212
|
},
|
|
94095
94213
|
async (uri) => {
|
|
@@ -94151,7 +94269,7 @@ function registerBoundaryInfoResource(server, getB) {
|
|
|
94151
94269
|
}
|
|
94152
94270
|
|
|
94153
94271
|
// src/version.ts
|
|
94154
|
-
var SERVER_VERSION = "0.5.
|
|
94272
|
+
var SERVER_VERSION = "0.5.27";
|
|
94155
94273
|
|
|
94156
94274
|
// src/server.ts
|
|
94157
94275
|
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.";
|