"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

// src/deployments.ts
var deployments_exports = {};
__export(deployments_exports, {
  ALL_CONTRACTS: () => ALL_CONTRACTS,
  ALL_DEPLOYMENTS: () => ALL_DEPLOYMENTS,
  LOCALHOST_CONTRACTS: () => LOCALHOST_CONTRACTS,
  LOCALHOST_DEPLOYMENT: () => LOCALHOST_DEPLOYMENT,
  SEPOLIA_CONTRACTS: () => SEPOLIA_CONTRACTS,
  SEPOLIA_DEPLOYMENT: () => SEPOLIA_DEPLOYMENT,
  getContractsByNetwork: () => getContractsByNetwork,
  getDeploymentByNetwork: () => getDeploymentByNetwork
});
module.exports = __toCommonJS(deployments_exports);

// src/constants/chunks/deployment-addresses.ts
var SEPOLIA_DEPLOYMENT = {
  network: "sepolia",
  chainId: 11155111,
  timestamp: "2026-03-13T20:04:15.417Z",
  deployer: "",
  contracts: {
    UpgradeValidator: "0x592e650edD9bA26ecc407989fdd6F9cdcDeC27A6",
    UCDToken: "0xdd817Ff47C9b8f81335Ac579895D8EA321Fa86Df",
    UCDController: "0x360Bde4e489ee94E26601B206932De09EE60FF04",
    PriceFeedConsumer: "0xb3Dc64501935a6f0334779126Ee37bE463cee318",
    PositionManagerCoreModule: "0xfFAA39a08887FeFB697eBC8691A8630CbCC33391",
    TermManagerModule: "0x94Adc6F9558368B1482197584f1fc7133Ecf835b",
    LoanOperationsManagerModule: "0x3e05e760a87715207b7F4e8fD35EF7559BcA72C0",
    CollateralManagerModule: "0x967E92c976Fc0fa8268D37D4d6B7245d912aA7dB",
    LiquidationManagerModule: "0xC4AB00f39e7ceD812F5C67058C9fa44e15d40e76",
    CircuitBreakerModule: "0x3D0B2cAE481821E57BA9CC3807bCC0d0D7F18bd8",
    AdminModule: "0xAcd1f07915b17CA3727e7fE89BdF618A1545a1ed",
    PositionManagerViews: "0x3b970E41a0668508B4B2ACb83653b2A402F745AE",
    PositionManager: "0x68e0507D982AEBF1D1C1Af8FBbd842327e2deeFF",
    OperationAuthorizationRegistry: "0x75f36E772df9616d40b02092642744D6fd702Df8",
    PKPValidation: "0xC8Ca02238fbCDAEbE6dbF804461D43F46F9406F4",
    BTCSpendAuthorizer: "0xd7E9Eb5eE53f1d9ee55Dc162bBC7486bE437B6bD",
    LITActionValidator: "0x54eECd7C90F8A8fac27749Ba30BbE8AFBAccc856",
    SimplePSMV2: "0x19EcF7BA26e054fd4Ff06009A03070103dbBB058",
    BitcoinProviderRegistry: "0xbfA0c48B070D0a9A9CD27469AeacFD2d4261cEE2",
    ContractVersionRegistry: "0x97E43AA6aFF2C0cf659d3aE501658D2Ef6777522",
    mockUsdcToken: "0x96409A98e0D322d6566b7F44a0fAbD1BD4ce2AEc",
    mockUsdtToken: "0xF8b7fB38b17a310960E47805Be9adba0b0e0394D",
    PositionDelegateRegistry: "0x482369De283622E7b05731875ec137d4E3D208F9",
    FeeRecipientRegistry: "0x95795F8403DDb629E8527B2934C4e71f5fC0C374"
  },
  upgraded: {
    PositionManager: {
      previousImplementation: "0x10D220f7724Ceca26a25248DC8F609962343f97e",
      newImplementation: "0x70f0Ef61703d97D58b81738B1C39aA0679FE28Ce",
      upgradedAt: "2026-05-17T20:00:12.958Z",
      upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
      reason: "Shared upgrade script: PositionManager implementation update"
    },
    LoanOperationsManagerModule: {
      previousImplementation: "0x291B412c573a4F52410f09D7Ba82eead17D9a674",
      newImplementation: "0x9DA8d69d7BcF9Fa3ba5734580e8C32618aB52D36",
      upgradedAt: "2026-05-17T20:02:12.883Z",
      upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
      reason: "Shared upgrade script: LoanOperationsManagerModule implementation update"
    },
    UCDController: {
      previousImplementation: "0x30d0458bE846f4C5D231242eB5a9e9Db68e7232F",
      newImplementation: "0xF820098c311C736AB1793656044d95A0F6806B27",
      upgradedAt: "2026-06-02T11:35:00.000Z",
      upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
      reason: "H-1: UCDController v1.4.0 \u2014 liquidationManager slot + dailyBurnLimit exemption, __gap 28->27"
    },
    TermManagerModule: {
      previousImplementation: "0x309CE239A87ffFB31d4C720804e9908E482d4f10",
      newImplementation: "0x358d6A7A864853beAA3E157fEB83dCEb1628E8eB",
      upgradedAt: "2026-05-17T15:35:37.627Z",
      upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
      reason: "Shared upgrade script: TermManagerModule implementation update"
    },
    CircuitBreakerModule: {
      previousImplementation: "0xA5b11b895fB5a49731ab81BF9FC807b9029c8C98",
      newImplementation: "0xF6277dEF72D51312CC99616B5380f34Eb7603D75",
      upgradedAt: "2026-05-17T19:22:13.051Z",
      upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
      reason: "Shared upgrade script: CircuitBreakerModule implementation update"
    },
    AdminModule: {
      previousImplementation: "0xF94A1801Fcc416e621Ae83B8030D1fE08b2DeB41",
      newImplementation: "0xBBA86246169f81a307Fafff02C1e3D8456aab973",
      upgradedAt: "2026-05-18T21:20:49.009Z",
      upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
      reason: "Shared upgrade script: AdminModule implementation update"
    },
    PositionManagerViews: {
      previousImplementation: "0x4fB9438bf7c5D01030F8848d5086a7F750EaF6fD",
      newImplementation: "0x1EB2B1d058006ACd9033E01e846D73eDE686b620",
      upgradedAt: "2026-05-17T19:57:25.453Z",
      upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
      reason: "Shared upgrade script: PositionManagerViews implementation update"
    },
    TestPositionManager: {
      previousImplementation: "0x0B46Ee1a9C6b42559758B7FF78294Cd867BB08f8",
      newImplementation: "0x0B46Ee1a9C6b42559758B7FF78294Cd867BB08f8",
      upgradedAt: "2026-03-17T15:18:07.382Z",
      upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
      reason: "Add setPositionExpiry() for expiry-liquidation E2E testing"
    },
    UCDToken: {
      previousImplementation: "0x65c23B6fB5331ACeeC2d82328c6de7dB6b62bB65",
      newImplementation: "0xC587a2cb7e828A44d8C6190eDA6c47b08BA07115",
      upgradedAt: "2026-05-17T15:30:48.963Z",
      upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
      reason: "Shared upgrade script: UCDToken implementation update"
    },
    PositionManagerCoreModule: {
      previousImplementation: "0xD023E83fdcb7BafCA74E40Cd0D1fca154Faf84DB",
      newImplementation: "0x84762B9Eb9d350E7128f0535573528b25F96626c",
      upgradedAt: "2026-05-18T21:16:00.919Z",
      upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
      reason: "Shared upgrade script: PositionManagerCoreModule implementation update"
    },
    CollateralManagerModule: {
      previousImplementation: "0x428982fCC9A0455c56881B8e21C96B220CC1506B",
      newImplementation: "0x124e61aBff60CC70c4B81ab3019A8A7D35B412d4",
      upgradedAt: "2026-05-17T19:17:01.129Z",
      upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
      reason: "Shared upgrade script: CollateralManagerModule implementation update"
    },
    LiquidationManagerModule: {
      previousImplementation: "0xD99bdF37a8C259bbfb394b4CdB03e76731Fa4904",
      newImplementation: "0xE1B3352A702acd16fDffe9C15646d723d112456F",
      upgradedAt: "2026-06-02T11:37:00.686Z",
      upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
      reason: "Shared upgrade script: LiquidationManagerModule implementation update"
    },
    BTCSpendAuthorizer: {
      previousImplementation: "0x4c0dc0Da80B7c51fE1719Ffd28c82c083e74A9D3",
      newImplementation: "0x8775a520cAA18c03Cc3f51ee254cAB830960f80E",
      upgradedAt: "2026-05-17T19:54:27.975Z",
      upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
      reason: "Shared upgrade script: BTCSpendAuthorizer implementation update"
    },
    SimplePSMV2: {
      previousImplementation: "0x12Fa503C05700a54E41659B3EE456D2F8D024C50",
      newImplementation: "0xd2488cb7d9ba211e7437FcE9dcfBC3c2D4CBe419",
      upgradedAt: "2026-05-18T05:46:49.081Z",
      upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
      reason: "M-8 fix: add transferFee + FeeRecipientRegistry + entry-fee mint bug fix"
    },
    UpgradeValidator: {
      previousImplementation: "0x535c9d66F9CFa4f2337cF6074BFc8fdcBBb9cFC4",
      newImplementation: "0x2Dd375041Be067E7d12bAB2106911Ce209EbD12f",
      upgradedAt: "2026-05-17T15:58:37.805Z",
      upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
      reason: "Shared upgrade script: UpgradeValidator implementation update"
    },
    LITActionValidator: {
      proxy: "0x54eECd7C90F8A8fac27749Ba30BbE8AFBAccc856",
      previousImplementation: "0xc71935a9B7A54e9D1FD266ab4D216644974A154d",
      implementation: "0xE2f99EA35b4DA01A66338427EC9077581d28FDb5",
      version: "2.3.0",
      upgradedAt: "2026-05-18T21:30:13.008Z",
      upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
      upgradeTx: "0xf287387ea7190138d0fd183d9381d8c051d3521569bb9d0e7d6c3dcb46d65964",
      note: "M-03: removed validateLITActionSignature, LIT_PROTOCOL_ROLE, isValidatedPKP, getValidationProof, helpers"
    },
    ContractVersionRegistry: {
      previousImplementation: "0x2cDba7a3440399Ef276fa18edAE7D90168382D09",
      newImplementation: "0x327Ced106C2804283994F0C0e2436E4B76AA7dAD",
      upgradedAt: "2026-05-17T15:26:25.349Z",
      upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
      reason: "Shared upgrade script: ContractVersionRegistry implementation update"
    },
    PositionDelegateRegistry: {
      previousImplementation: "0xAE227De03D5aeDC870d6e096D9C6652E001a92aF",
      newImplementation: "0x301fa9AA527016D033e151b982C64cD8670a39E3",
      upgradedAt: "2026-05-17T16:00:25.211Z",
      upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
      reason: "Shared upgrade script: PositionDelegateRegistry implementation update"
    },
    OperationAuthorizationRegistry: {
      previousImplementation: "0x9f8072d4672d643e39d8638478e900Fea1f2c81D",
      newImplementation: "0xF56090039c268B90f1867075813B5B36C40092B4",
      upgradedAt: "2026-05-19T13:52:13.092Z",
      upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
      reason: "Shared upgrade script: OperationAuthorizationRegistry implementation update"
    },
    FeeRecipientRegistry: {
      previousImplementation: "0x974a0f64d572a4F4e1395aaeB22d1c2685D22459",
      newImplementation: "0xd08513a7cB2dd354B26cDDf549616F12054c34c9",
      upgradedAt: "2026-05-15T17:52:37.448Z",
      upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
      reason: "Shared upgrade script: FeeRecipientRegistry v1.1.0 \u2014 _authorizeUpgrade gated by onlyAdminModule + AccessControlEnumerable base"
    },
    BitcoinProviderRegistry: {
      previousImplementation: "0x225309A4ae6D146ba93A3278A7b40224FfC81448",
      newImplementation: "0xc5899d53426aD9354CEdAFe3002cbd3aBfAC46ab",
      upgradedAt: "2026-05-27T12:16:13.356Z",
      upgradedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
      reason: "Audit C-7: BitcoinProviderRegistry v1.0.0 \u2192 v1.1.0 \u2014 per-chainId CID allowlist (addAllowedCid / removeAllowedCid / isAllowedCid views). Storage gap 46 \u2192 43."
    }
  },
  history: {
    LoanOperationsManagerModule: {
      previous: "0x48D46188e25452148A743f8f6599b0E66C178512",
      new: "0x1f70024444C5E89fFC232d2768C0359F7a13c6e7",
      reason: "Storage layout scrambled \u2014 fresh deploy with F20 admin",
      deployedAt: "2026-03-12T10:28:15.833Z",
      deployedBy: "0x2767441E044aCd9bbC21a759fB0517494875092d"
    },
    freshDeploy: {
      reason: "Full fresh deploy \u2014 F20 as admin, correct AdminModule on PM, no 0x276 dependency",
      deployedAt: "2026-03-12T11:07:45.335Z",
      deployedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
      old: {
        UCDToken: "0x86060fa5b3e01e003b8afd9c1295f1f444a7dc60",
        UCDController: "0x703Ce9a94A8e42EC48499a79ef5c38a37664Fc5a",
        PositionManagerCoreModule: "0x3Ff6F2E40B0d7c0557Da8fd04F699198Bdcb1b4C",
        LiquidationManagerModule: "0xAC3886766Ac20d379b069BdFB97e401aBad6188C",
        LoanOperationsManagerModule: "0x1f70024444C5E89fFC232d2768C0359F7a13c6e7",
        CollateralManagerModule: "0x34E3DcA5d00570f323c62f09f46D8314674de723",
        PositionManagerViews: "0xAC32f1845ace22e012aF30760fe9296b9aEb8a45",
        PositionManager: "0x141D078A82F093F4Ea8345b9Bc9999C9008619Ae"
      },
      new: {
        UCDToken: "0xdd817Ff47C9b8f81335Ac579895D8EA321Fa86Df",
        UCDController: "0x360Bde4e489ee94E26601B206932De09EE60FF04",
        PositionManagerCoreModule: "0xfFAA39a08887FeFB697eBC8691A8630CbCC33391",
        LiquidationManagerModule: "0xC4AB00f39e7ceD812F5C67058C9fa44e15d40e76",
        LoanOperationsManagerModule: "0xD3ADCCe9b46287763f723dC9a3FCfa59ab74b8bB",
        CollateralManagerModule: "0x967E92c976Fc0fa8268D37D4d6B7245d912aA7dB",
        PositionManagerViews: "0x3b970E41a0668508B4B2ACb83653b2A402F745AE",
        PositionManager: "0xc767484Cced727D3fC0c5C2872BA6549967d7517"
      }
    }
  },
  pkpValidationDeployed: {
    address: "0xC8Ca02238fbCDAEbE6dbF804461D43F46F9406F4",
    deployedAt: "2026-04-21T09:27:25.783Z",
    deployedBy: "0xF20986F02420EF443AE9BE5092FB8A4975cF3aA6",
    setPKPValidationRegistryTx: "0xddc776e0120bfee2eb53c33e058501fe0bd2cfb769083d2e37bc7064edda2c59",
    replacedAddress: "0xA95C81020713158a88616a6Db88d3d6293968CEB"
  },
  latestEnv: {
    UCD_TOKEN: "0xdd817Ff47C9b8f81335Ac579895D8EA321Fa86Df",
    UCD_CONTROLLER: "0x360Bde4e489ee94E26601B206932De09EE60FF04",
    POSITION_MANAGER: "0x68e0507D982AEBF1D1C1Af8FBbd842327e2deeFF",
    PKP_VALIDATION_REGISTRY: "0xC8Ca02238fbCDAEbE6dbF804461D43F46F9406F4",
    PKP_VALIDATION_CID_V1: "0x1220246b43f71828ed1cfdc455b6bd4fd9e7382251ea634589f8da9b12f61d40cd51",
    PKP_ETH_ADDRESS: "0x9624C46073E1d1F5AB975c67Fc899536d599bb57",
    OPERATION_AUTHORIZATION_REGISTRY: "0x75f36E772df9616d40b02092642744D6fd702Df8",
    UCD_MINT_VALIDATOR_ADDRESS: "0x4D9299055093938d0CD2F26C42A87260CB50adD8",
    UCD_MINT_VALIDATOR_VERSION: 1,
    BTC_WITHDRAWAL_VALIDATOR_ADDRESS: "0x7b9316cAA00B257F7CE30F7F6979bd6867BA9eE2",
    BTC_WITHDRAWAL_VALIDATOR_VERSION: 1,
    UPDATE_BALANCE_VALIDATOR_ADDRESS: "0x8A40C22B03348bc10df9ae0dc54346b4AE8e909c",
    UPDATE_BALANCE_VALIDATOR_VERSION: 1,
    PROCESS_PAYMENT_VALIDATOR_ADDRESS: "0x2800E9e335e51730132f7CB9F4912bCc2ED0636C",
    PROCESS_PAYMENT_VALIDATOR_VERSION: 1,
    EXTEND_POSITION_VALIDATOR_ADDRESS: "0xa8031d1F4515Ef021A13357E8462340cE1b8711b",
    EXTEND_POSITION_VALIDATOR_VERSION: 1,
    LOAN_OPERATIONS_MANAGER_MODULE: "0x3e05e760a87715207b7F4e8fD35EF7559BcA72C0",
    TERM_MANAGER_MODULE: "0x94Adc6F9558368B1482197584f1fc7133Ecf835b",
    COMMUNITY_MANAGER_MODULE: "0x7f8fC386fbD96ed690cdf6B1648d060d93Bf99d5",
    POSITION_MANAGER_VIEWS: "0x3b970E41a0668508B4B2ACb83653b2A402F745AE",
    CIRCUIT_BREAKER_MODULE: "0x3D0B2cAE481821E57BA9CC3807bCC0d0D7F18bd8",
    ADMIN_MODULE: "0xAcd1f07915b17CA3727e7fE89BdF618A1545a1ed",
    UCD_CONTROLLER_IMPL: "0x30d0458bE846f4C5D231242eB5a9e9Db68e7232F",
    LOAN_OPERATIONS_MANAGER_MODULE_IMPL: "0x9DA8d69d7BcF9Fa3ba5734580e8C32618aB52D36",
    TERM_MANAGER_MODULE_IMPL: "0x358d6A7A864853beAA3E157fEB83dCEb1628E8eB",
    CIRCUIT_BREAKER_MODULE_IMPL: "0xF6277dEF72D51312CC99616B5380f34Eb7603D75",
    ADMIN_MODULE_IMPL: "0xBBA86246169f81a307Fafff02C1e3D8456aab973",
    POSITION_MANAGER_VIEWS_IMPL: "0x1EB2B1d058006ACd9033E01e846D73eDE686b620",
    POSITION_MANAGER_IMPL: "0x70f0Ef61703d97D58b81738B1C39aA0679FE28Ce",
    SIMPLE_PSM_V2: "0x19EcF7BA26e054fd4Ff06009A03070103dbBB058",
    SIMPLE_PSM_V2_IMPL: "0xd2488cb7d9ba211e7437FcE9dcfBC3c2D4CBe419",
    UCD_TOKEN_IMPL: "0xC587a2cb7e828A44d8C6190eDA6c47b08BA07115",
    POSITION_MANAGER_CORE_MODULE: "0xfFAA39a08887FeFB697eBC8691A8630CbCC33391",
    POSITION_MANAGER_CORE_MODULE_IMPL: "0x84762B9Eb9d350E7128f0535573528b25F96626c",
    COLLATERAL_MANAGER_MODULE: "0x967E92c976Fc0fa8268D37D4d6B7245d912aA7dB",
    COLLATERAL_MANAGER_MODULE_IMPL: "0x124e61aBff60CC70c4B81ab3019A8A7D35B412d4",
    LIQUIDATION_MANAGER_MODULE: "0xC4AB00f39e7ceD812F5C67058C9fa44e15d40e76",
    LIQUIDATION_MANAGER_MODULE_IMPL: "0xD99bdF37a8C259bbfb394b4CdB03e76731Fa4904",
    BTC_SPEND_AUTHORIZER: "0xd7E9Eb5eE53f1d9ee55Dc162bBC7486bE437B6bD",
    BTC_SPEND_AUTHORIZER_IMPL: "0x8775a520cAA18c03Cc3f51ee254cAB830960f80E",
    UPGRADE_VALIDATOR: "0x592e650edD9bA26ecc407989fdd6F9cdcDeC27A6",
    UPGRADE_VALIDATOR_IMPL: "0x2Dd375041Be067E7d12bAB2106911Ce209EbD12f",
    BITCOIN_PROVIDER_REGISTRY: "0xbfA0c48B070D0a9A9CD27469AeacFD2d4261cEE2",
    BITCOIN_PROVIDER_REGISTRY_IMPL: "0xc5899d53426aD9354CEdAFe3002cbd3aBfAC46ab",
    LIT_ACTION_VALIDATOR: "0x54eECd7C90F8A8fac27749Ba30BbE8AFBAccc856",
    LIT_ACTION_VALIDATOR_IMPL: "0xE2f99EA35b4DA01A66338427EC9077581d28FDb5",
    CONTRACT_VERSION_REGISTRY: "0x97E43AA6aFF2C0cf659d3aE501658D2Ef6777522",
    CONTRACT_VERSION_REGISTRY_IMPL: "0x327Ced106C2804283994F0C0e2436E4B76AA7dAD",
    MOCK_USDC_TOKEN: "0x96409A98e0D322d6566b7F44a0fAbD1BD4ce2AEc",
    MOCK_USDT_TOKEN: "0xF8b7fB38b17a310960E47805Be9adba0b0e0394D",
    POSITION_DELEGATE_REGISTRY: "0x482369De283622E7b05731875ec137d4E3D208F9",
    POSITION_DELEGATE_REGISTRY_IMPL: "0x301fa9AA527016D033e151b982C64cD8670a39E3",
    AGENT_MODULE: "0xefb8C29C1e7e92ed7d81a52dbedaed74e37fe380",
    FEE_RECIPIENT_REGISTRY: "0x95795F8403DDb629E8527B2934C4e71f5fC0C374",
    FEE_RECIPIENT_REGISTRY_IMPL: "0xd08513a7cB2dd354B26cDDf549616F12054c34c9",
    OPERATION_AUTHORIZATION_REGISTRY_IMPL: "0x9f8072d4672d643e39d8638478e900Fea1f2c81D"
  }
};
var SEPOLIA_CONTRACTS = {
  UpgradeValidator: "0x592e650edD9bA26ecc407989fdd6F9cdcDeC27A6",
  UCDToken: "0xdd817Ff47C9b8f81335Ac579895D8EA321Fa86Df",
  UCDController: "0x360Bde4e489ee94E26601B206932De09EE60FF04",
  PriceFeedConsumer: "0xb3Dc64501935a6f0334779126Ee37bE463cee318",
  PositionManagerCoreModule: "0xfFAA39a08887FeFB697eBC8691A8630CbCC33391",
  TermManagerModule: "0x94Adc6F9558368B1482197584f1fc7133Ecf835b",
  LoanOperationsManagerModule: "0x3e05e760a87715207b7F4e8fD35EF7559BcA72C0",
  CollateralManagerModule: "0x967E92c976Fc0fa8268D37D4d6B7245d912aA7dB",
  LiquidationManagerModule: "0xC4AB00f39e7ceD812F5C67058C9fa44e15d40e76",
  CircuitBreakerModule: "0x3D0B2cAE481821E57BA9CC3807bCC0d0D7F18bd8",
  AdminModule: "0xAcd1f07915b17CA3727e7fE89BdF618A1545a1ed",
  PositionManagerViews: "0x3b970E41a0668508B4B2ACb83653b2A402F745AE",
  PositionManager: "0x68e0507D982AEBF1D1C1Af8FBbd842327e2deeFF",
  OperationAuthorizationRegistry: "0x75f36E772df9616d40b02092642744D6fd702Df8",
  PKPValidation: "0xC8Ca02238fbCDAEbE6dbF804461D43F46F9406F4",
  BTCSpendAuthorizer: "0xd7E9Eb5eE53f1d9ee55Dc162bBC7486bE437B6bD",
  LITActionValidator: "0x54eECd7C90F8A8fac27749Ba30BbE8AFBAccc856",
  SimplePSMV2: "0x19EcF7BA26e054fd4Ff06009A03070103dbBB058",
  BitcoinProviderRegistry: "0xbfA0c48B070D0a9A9CD27469AeacFD2d4261cEE2",
  ContractVersionRegistry: "0x97E43AA6aFF2C0cf659d3aE501658D2Ef6777522",
  mockUsdcToken: "0x96409A98e0D322d6566b7F44a0fAbD1BD4ce2AEc",
  mockUsdtToken: "0xF8b7fB38b17a310960E47805Be9adba0b0e0394D",
  PositionDelegateRegistry: "0x482369De283622E7b05731875ec137d4E3D208F9",
  FeeRecipientRegistry: "0x95795F8403DDb629E8527B2934C4e71f5fC0C374"
};
var LOCALHOST_DEPLOYMENT = {
  network: "localhost",
  chainId: 31337,
  timestamp: "2026-03-23T15:33:34.068Z",
  deployer: "",
  contracts: {
    MessageHashBuilder: "0xE6E340D132b5f46d1e472DebcD681B2aBc16e57E",
    UpgradeValidator: "0x8A791620dd6260079BF849Dc5567aDC3F2FdC318",
    UCDToken: "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
    UCDController: "0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9",
    PositionManagerCoreModule: "0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e",
    TermManagerModule: "0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82",
    LoanOperationsManagerModule: "0x68B1D87F95878fE05B998F19b66F4baba5De1aed",
    BTCSpendAuthorizer: "0x59b670e9fA9D0A427751Af201D676719a970857b",
    CollateralManagerModule: "0xa85233C63b9Ee964Add6F2cffe00Fd84eb32338f",
    LiquidationManagerModule: "0x7a2088a1bFc9d81c55368AE168C2C02570cB814F",
    CircuitBreakerModule: "0x0B306BF915C4d645ff596e518fAf3F9669b97016",
    AdminModule: "0xc5a5C42992dECbae36851359345FE25997F5C42d",
    PositionManagerViews: "0x959922bE3CAee4b8Cd9a407cc3ac1C251C2007B1",
    PositionManager: "0x84eA74d481Ee0A5332c457a4d796187F6Ba67fEB",
    OperationAuthorizationRegistry: "0x7969c5eD335650692Bc04293B07F5BF2e7A673C0",
    PKPValidation: "0xcbEAF3BDe82155F56486Fb5a1072cb8baAf547cc"
  },
  latestEnv: {
    UCD_TOKEN: "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
    UCD_CONTROLLER: "0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9",
    POSITION_MANAGER: "0x84eA74d481Ee0A5332c457a4d796187F6Ba67fEB",
    PKP_VALIDATION_REGISTRY: "0xcbEAF3BDe82155F56486Fb5a1072cb8baAf547cc",
    PKP_VALIDATION_CID_V1: "QmfHJKA4RnW7RepsdLmrDwKjVTzPXB2K3qMTco3JNPDexm",
    PKP_ETH_ADDRESS: "0x9624C46073E1d1F5AB975c67Fc899536d599bb57",
    OPERATION_AUTHORIZATION_REGISTRY: "0x7969c5eD335650692Bc04293B07F5BF2e7A673C0",
    UCD_MINT_VALIDATOR_ADDRESS: "0x80f81afb9e6dF27afCD752ad46cD286e705e42be",
    UCD_MINT_VALIDATOR_VERSION: 1,
    BTC_WITHDRAWAL_VALIDATOR_ADDRESS: "0xa751ad81E1CAe61d6cF5Cf64839Fe8D28A1372Df",
    BTC_WITHDRAWAL_VALIDATOR_VERSION: 1,
    UPDATE_BALANCE_VALIDATOR_ADDRESS: "0x8A40C22B03348bc10df9ae0dc54346b4AE8e909c",
    UPDATE_BALANCE_VALIDATOR_VERSION: 1,
    PROCESS_PAYMENT_VALIDATOR_ADDRESS: "0x28f50E07532d3aF677b8E0bcF220422d159b0dd6",
    PROCESS_PAYMENT_VALIDATOR_VERSION: 1,
    EXTEND_POSITION_VALIDATOR_ADDRESS: "0xc7aC43F2F907123465449575e853f5D0229898e1",
    EXTEND_POSITION_VALIDATOR_VERSION: 1,
    POSITION_MANAGER_CORE_MODULE: "0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e",
    LOAN_OPERATIONS_MANAGER_MODULE: "0x68B1D87F95878fE05B998F19b66F4baba5De1aed",
    TERM_MANAGER_MODULE: "0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82"
  }
};
var LOCALHOST_CONTRACTS = {
  MessageHashBuilder: "0xE6E340D132b5f46d1e472DebcD681B2aBc16e57E",
  UpgradeValidator: "0x8A791620dd6260079BF849Dc5567aDC3F2FdC318",
  UCDToken: "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
  UCDController: "0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9",
  PositionManagerCoreModule: "0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e",
  TermManagerModule: "0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82",
  LoanOperationsManagerModule: "0x68B1D87F95878fE05B998F19b66F4baba5De1aed",
  BTCSpendAuthorizer: "0x59b670e9fA9D0A427751Af201D676719a970857b",
  CollateralManagerModule: "0xa85233C63b9Ee964Add6F2cffe00Fd84eb32338f",
  LiquidationManagerModule: "0x7a2088a1bFc9d81c55368AE168C2C02570cB814F",
  CircuitBreakerModule: "0x0B306BF915C4d645ff596e518fAf3F9669b97016",
  AdminModule: "0xc5a5C42992dECbae36851359345FE25997F5C42d",
  PositionManagerViews: "0x959922bE3CAee4b8Cd9a407cc3ac1C251C2007B1",
  PositionManager: "0x84eA74d481Ee0A5332c457a4d796187F6Ba67fEB",
  OperationAuthorizationRegistry: "0x7969c5eD335650692Bc04293B07F5BF2e7A673C0",
  PKPValidation: "0xcbEAF3BDe82155F56486Fb5a1072cb8baAf547cc"
};
var ALL_DEPLOYMENTS = {
  sepolia: SEPOLIA_DEPLOYMENT,
  localhost: LOCALHOST_DEPLOYMENT
};
var ALL_CONTRACTS = {
  sepolia: SEPOLIA_CONTRACTS,
  localhost: LOCALHOST_CONTRACTS
};
function getDeploymentByNetwork(network) {
  return ALL_DEPLOYMENTS[network] || null;
}
function getContractsByNetwork(network) {
  return ALL_CONTRACTS[network] || null;
}
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  ALL_CONTRACTS,
  ALL_DEPLOYMENTS,
  LOCALHOST_CONTRACTS,
  LOCALHOST_DEPLOYMENT,
  SEPOLIA_CONTRACTS,
  SEPOLIA_DEPLOYMENT,
  getContractsByNetwork,
  getDeploymentByNetwork
});
