@gearbox-protocol/sdk 10.4.5 → 10.6.0

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.
Files changed (32) hide show
  1. package/dist/cjs/abi/310/generated.js +239 -25
  2. package/dist/cjs/dev/RevolverTransport.js +124 -83
  3. package/dist/cjs/sdk/market/MarketSuite.js +4 -0
  4. package/dist/cjs/sdk/market/credit/CreditFacadeV300Contract.js +4 -1
  5. package/dist/cjs/sdk/market/credit/CreditFacadeV310Contract.js +2 -2
  6. package/dist/cjs/sdk/market/loss-policy/AliasLossPolicyV310Contract.js +40 -0
  7. package/dist/cjs/sdk/market/loss-policy/LossPolicyContract.js +40 -0
  8. package/dist/cjs/sdk/market/loss-policy/createLossPolicy.js +48 -0
  9. package/dist/cjs/sdk/market/loss-policy/index.js +28 -0
  10. package/dist/cjs/sdk/market/loss-policy/types.js +16 -0
  11. package/dist/esm/abi/310/generated.js +238 -25
  12. package/dist/esm/dev/RevolverTransport.js +125 -83
  13. package/dist/esm/sdk/market/MarketSuite.js +6 -0
  14. package/dist/esm/sdk/market/credit/CreditFacadeV300Contract.js +4 -1
  15. package/dist/esm/sdk/market/credit/CreditFacadeV310Contract.js +2 -2
  16. package/dist/esm/sdk/market/loss-policy/AliasLossPolicyV310Contract.js +16 -0
  17. package/dist/esm/sdk/market/loss-policy/LossPolicyContract.js +16 -0
  18. package/dist/esm/sdk/market/loss-policy/createLossPolicy.js +24 -0
  19. package/dist/esm/sdk/market/loss-policy/index.js +4 -0
  20. package/dist/esm/sdk/market/loss-policy/types.js +0 -0
  21. package/dist/types/abi/310/generated.d.ts +292 -22
  22. package/dist/types/dev/RevolverTransport.d.ts +14 -6
  23. package/dist/types/sdk/market/MarketSuite.d.ts +2 -0
  24. package/dist/types/sdk/market/credit/CreditFacadeV300Contract.d.ts +2 -2
  25. package/dist/types/sdk/market/credit/CreditFacadeV310Contract.d.ts +2 -2
  26. package/dist/types/sdk/market/loss-policy/AliasLossPolicyV310Contract.d.ts +277 -0
  27. package/dist/types/sdk/market/loss-policy/LossPolicyContract.d.ts +133 -0
  28. package/dist/types/sdk/market/loss-policy/createLossPolicy.d.ts +16 -0
  29. package/dist/types/sdk/market/loss-policy/index.d.ts +4 -0
  30. package/dist/types/sdk/market/loss-policy/types.d.ts +5 -0
  31. package/dist/types/sdk/types/state-human.d.ts +1 -0
  32. package/package.json +1 -1
@@ -81,10 +81,10 @@ class CreditFacadeV310Contract extends import_base.BaseContract {
81
81
  break;
82
82
  }
83
83
  }
84
- liquidateCreditAccount(ca, to, calls) {
84
+ liquidateCreditAccount(ca, to, calls, lossPolicyData) {
85
85
  return this.createRawTx({
86
86
  functionName: "liquidateCreditAccount",
87
- args: [ca, to, calls]
87
+ args: lossPolicyData ? [ca, to, calls, lossPolicyData] : [ca, to, calls]
88
88
  });
89
89
  }
90
90
  closeCreditAccount(ca, calls) {
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var AliasLossPolicyV310Contract_exports = {};
20
+ __export(AliasLossPolicyV310Contract_exports, {
21
+ AliasLossPolicyV310Contract: () => AliasLossPolicyV310Contract
22
+ });
23
+ module.exports = __toCommonJS(AliasLossPolicyV310Contract_exports);
24
+ var import_generated = require("../../../abi/310/generated.js");
25
+ var import_base = require("../../base/index.js");
26
+ const abi = import_generated.iAliasedLossPolicyV310Abi;
27
+ class AliasLossPolicyV310Contract extends import_base.BaseContract {
28
+ constructor(sdk, params) {
29
+ super(sdk, {
30
+ abi,
31
+ addr: params.addr,
32
+ contractType: params.contractType,
33
+ version: params.version
34
+ });
35
+ }
36
+ }
37
+ // Annotate the CommonJS export names for ESM import in node:
38
+ 0 && (module.exports = {
39
+ AliasLossPolicyV310Contract
40
+ });
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var LossPolicyContract_exports = {};
20
+ __export(LossPolicyContract_exports, {
21
+ LossPolicyContract: () => LossPolicyContract
22
+ });
23
+ module.exports = __toCommonJS(LossPolicyContract_exports);
24
+ var import_generated = require("../../../abi/310/generated.js");
25
+ var import_base = require("../../base/index.js");
26
+ const abi = import_generated.iLossPolicyV310Abi;
27
+ class LossPolicyContract extends import_base.BaseContract {
28
+ constructor(sdk, params) {
29
+ super(sdk, {
30
+ abi,
31
+ addr: params.addr,
32
+ contractType: params.contractType,
33
+ version: params.version
34
+ });
35
+ }
36
+ }
37
+ // Annotate the CommonJS export names for ESM import in node:
38
+ 0 && (module.exports = {
39
+ LossPolicyContract
40
+ });
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var createLossPolicy_exports = {};
20
+ __export(createLossPolicy_exports, {
21
+ createLossPolicy: () => createLossPolicy
22
+ });
23
+ module.exports = __toCommonJS(createLossPolicy_exports);
24
+ var import__ = require("../../index.js");
25
+ var import_AliasLossPolicyV310Contract = require("./AliasLossPolicyV310Contract.js");
26
+ var import_LossPolicyContract = require("./LossPolicyContract.js");
27
+ function createLossPolicy(sdk, { baseParams }) {
28
+ const existing = sdk.contracts.get(baseParams.addr);
29
+ if (existing) {
30
+ return existing;
31
+ }
32
+ const contractType = (0, import__.bytes32ToString)(baseParams.contractType);
33
+ switch (contractType) {
34
+ case "LOSS_POLICY::ALIASED":
35
+ return new import_AliasLossPolicyV310Contract.AliasLossPolicyV310Contract(sdk, baseParams);
36
+ case "LOSS_POLICY::DEFAULT":
37
+ return new import_LossPolicyContract.LossPolicyContract(sdk, baseParams);
38
+ default:
39
+ if (sdk.strictContractTypes) {
40
+ throw new Error(`unsupported loss policy type ${contractType}`);
41
+ }
42
+ return new import_LossPolicyContract.LossPolicyContract(sdk, baseParams);
43
+ }
44
+ }
45
+ // Annotate the CommonJS export names for ESM import in node:
46
+ 0 && (module.exports = {
47
+ createLossPolicy
48
+ });
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
+ var loss_policy_exports = {};
17
+ module.exports = __toCommonJS(loss_policy_exports);
18
+ __reExport(loss_policy_exports, require("./AliasLossPolicyV310Contract.js"), module.exports);
19
+ __reExport(loss_policy_exports, require("./createLossPolicy.js"), module.exports);
20
+ __reExport(loss_policy_exports, require("./LossPolicyContract.js"), module.exports);
21
+ __reExport(loss_policy_exports, require("./types.js"), module.exports);
22
+ // Annotate the CommonJS export names for ESM import in node:
23
+ 0 && (module.exports = {
24
+ ...require("./AliasLossPolicyV310Contract.js"),
25
+ ...require("./createLossPolicy.js"),
26
+ ...require("./LossPolicyContract.js"),
27
+ ...require("./types.js")
28
+ });
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+ var types_exports = {};
16
+ module.exports = __toCommonJS(types_exports);
@@ -2326,101 +2326,313 @@ const iGaugeV310Abi = [
2326
2326
  const iLossPolicyV310Abi = [
2327
2327
  {
2328
2328
  type: "function",
2329
- inputs: [],
2330
2329
  name: "accessMode",
2330
+ inputs: [],
2331
2331
  outputs: [
2332
- { name: "", internalType: "enum ILossPolicy.AccessMode", type: "uint8" }
2332
+ { name: "", type: "uint8", internalType: "enum ILossPolicy.AccessMode" }
2333
2333
  ],
2334
2334
  stateMutability: "view"
2335
2335
  },
2336
2336
  {
2337
2337
  type: "function",
2338
- inputs: [],
2339
2338
  name: "checksEnabled",
2340
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
2339
+ inputs: [],
2340
+ outputs: [{ name: "", type: "bool", internalType: "bool" }],
2341
2341
  stateMutability: "view"
2342
2342
  },
2343
2343
  {
2344
2344
  type: "function",
2345
- inputs: [],
2346
2345
  name: "contractType",
2347
- outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
2346
+ inputs: [],
2347
+ outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
2348
2348
  stateMutability: "view"
2349
2349
  },
2350
2350
  {
2351
2351
  type: "function",
2352
+ name: "isLiquidatableWithLoss",
2352
2353
  inputs: [
2353
- { name: "creditAccount", internalType: "address", type: "address" },
2354
- { name: "caller", internalType: "address", type: "address" },
2354
+ { name: "creditAccount", type: "address", internalType: "address" },
2355
+ { name: "caller", type: "address", internalType: "address" },
2355
2356
  {
2356
2357
  name: "params",
2358
+ type: "tuple",
2357
2359
  internalType: "struct ILossPolicy.Params",
2360
+ components: [
2361
+ { name: "totalDebtUSD", type: "uint256", internalType: "uint256" },
2362
+ { name: "twvUSD", type: "uint256", internalType: "uint256" },
2363
+ { name: "extraData", type: "bytes", internalType: "bytes" }
2364
+ ]
2365
+ }
2366
+ ],
2367
+ outputs: [{ name: "", type: "bool", internalType: "bool" }],
2368
+ stateMutability: "nonpayable"
2369
+ },
2370
+ {
2371
+ type: "function",
2372
+ name: "serialize",
2373
+ inputs: [],
2374
+ outputs: [{ name: "serializedData", type: "bytes", internalType: "bytes" }],
2375
+ stateMutability: "view"
2376
+ },
2377
+ {
2378
+ type: "function",
2379
+ name: "setAccessMode",
2380
+ inputs: [
2381
+ {
2382
+ name: "mode",
2383
+ type: "uint8",
2384
+ internalType: "enum ILossPolicy.AccessMode"
2385
+ }
2386
+ ],
2387
+ outputs: [],
2388
+ stateMutability: "nonpayable"
2389
+ },
2390
+ {
2391
+ type: "function",
2392
+ name: "setChecksEnabled",
2393
+ inputs: [{ name: "enabled", type: "bool", internalType: "bool" }],
2394
+ outputs: [],
2395
+ stateMutability: "nonpayable"
2396
+ },
2397
+ {
2398
+ type: "function",
2399
+ name: "version",
2400
+ inputs: [],
2401
+ outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
2402
+ stateMutability: "view"
2403
+ },
2404
+ {
2405
+ type: "event",
2406
+ name: "SetAccessMode",
2407
+ inputs: [
2408
+ {
2409
+ name: "mode",
2410
+ type: "uint8",
2411
+ indexed: false,
2412
+ internalType: "enum ILossPolicy.AccessMode"
2413
+ }
2414
+ ],
2415
+ anonymous: false
2416
+ },
2417
+ {
2418
+ type: "event",
2419
+ name: "SetChecksEnabled",
2420
+ inputs: [
2421
+ { name: "enabled", type: "bool", indexed: false, internalType: "bool" }
2422
+ ],
2423
+ anonymous: false
2424
+ }
2425
+ ];
2426
+ const iAliasedLossPolicyV310Abi = [
2427
+ {
2428
+ type: "function",
2429
+ name: "accessMode",
2430
+ inputs: [],
2431
+ outputs: [
2432
+ { name: "", type: "uint8", internalType: "enum ILossPolicy.AccessMode" }
2433
+ ],
2434
+ stateMutability: "view"
2435
+ },
2436
+ {
2437
+ type: "function",
2438
+ name: "acl",
2439
+ inputs: [],
2440
+ outputs: [{ name: "", type: "address", internalType: "address" }],
2441
+ stateMutability: "view"
2442
+ },
2443
+ {
2444
+ type: "function",
2445
+ name: "checksEnabled",
2446
+ inputs: [],
2447
+ outputs: [{ name: "", type: "bool", internalType: "bool" }],
2448
+ stateMutability: "view"
2449
+ },
2450
+ {
2451
+ type: "function",
2452
+ name: "contractType",
2453
+ inputs: [],
2454
+ outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
2455
+ stateMutability: "view"
2456
+ },
2457
+ {
2458
+ type: "function",
2459
+ name: "getAliasPriceFeedParams",
2460
+ inputs: [{ name: "token", type: "address", internalType: "address" }],
2461
+ outputs: [
2462
+ {
2463
+ name: "",
2358
2464
  type: "tuple",
2465
+ internalType: "struct PriceFeedParams",
2359
2466
  components: [
2360
- { name: "totalDebtUSD", internalType: "uint256", type: "uint256" },
2361
- { name: "twvUSD", internalType: "uint256", type: "uint256" },
2362
- { name: "extraData", internalType: "bytes", type: "bytes" }
2467
+ { name: "priceFeed", type: "address", internalType: "address" },
2468
+ { name: "stalenessPeriod", type: "uint32", internalType: "uint32" },
2469
+ { name: "skipCheck", type: "bool", internalType: "bool" },
2470
+ { name: "tokenDecimals", type: "uint8", internalType: "uint8" }
2363
2471
  ]
2364
2472
  }
2365
2473
  ],
2474
+ stateMutability: "view"
2475
+ },
2476
+ {
2477
+ type: "function",
2478
+ name: "getRequiredAliasPriceFeeds",
2479
+ inputs: [
2480
+ { name: "creditAccount", type: "address", internalType: "address" }
2481
+ ],
2482
+ outputs: [{ name: "", type: "address[]", internalType: "address[]" }],
2483
+ stateMutability: "view"
2484
+ },
2485
+ {
2486
+ type: "function",
2487
+ name: "getTokensWithAlias",
2488
+ inputs: [],
2489
+ outputs: [{ name: "", type: "address[]", internalType: "address[]" }],
2490
+ stateMutability: "view"
2491
+ },
2492
+ {
2493
+ type: "function",
2366
2494
  name: "isLiquidatableWithLoss",
2367
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
2495
+ inputs: [
2496
+ { name: "creditAccount", type: "address", internalType: "address" },
2497
+ { name: "caller", type: "address", internalType: "address" },
2498
+ {
2499
+ name: "params",
2500
+ type: "tuple",
2501
+ internalType: "struct ILossPolicy.Params",
2502
+ components: [
2503
+ { name: "totalDebtUSD", type: "uint256", internalType: "uint256" },
2504
+ { name: "twvUSD", type: "uint256", internalType: "uint256" },
2505
+ { name: "extraData", type: "bytes", internalType: "bytes" }
2506
+ ]
2507
+ }
2508
+ ],
2509
+ outputs: [{ name: "", type: "bool", internalType: "bool" }],
2368
2510
  stateMutability: "nonpayable"
2369
2511
  },
2370
2512
  {
2371
2513
  type: "function",
2514
+ name: "pool",
2515
+ inputs: [],
2516
+ outputs: [{ name: "", type: "address", internalType: "address" }],
2517
+ stateMutability: "view"
2518
+ },
2519
+ {
2520
+ type: "function",
2521
+ name: "priceFeedStore",
2372
2522
  inputs: [],
2523
+ outputs: [{ name: "", type: "address", internalType: "address" }],
2524
+ stateMutability: "view"
2525
+ },
2526
+ {
2527
+ type: "function",
2373
2528
  name: "serialize",
2374
- outputs: [{ name: "serializedData", internalType: "bytes", type: "bytes" }],
2529
+ inputs: [],
2530
+ outputs: [{ name: "serializedData", type: "bytes", internalType: "bytes" }],
2375
2531
  stateMutability: "view"
2376
2532
  },
2377
2533
  {
2378
2534
  type: "function",
2535
+ name: "setAccessMode",
2379
2536
  inputs: [
2380
2537
  {
2381
2538
  name: "mode",
2382
- internalType: "enum ILossPolicy.AccessMode",
2383
- type: "uint8"
2539
+ type: "uint8",
2540
+ internalType: "enum ILossPolicy.AccessMode"
2384
2541
  }
2385
2542
  ],
2386
- name: "setAccessMode",
2387
2543
  outputs: [],
2388
2544
  stateMutability: "nonpayable"
2389
2545
  },
2390
2546
  {
2391
2547
  type: "function",
2392
- inputs: [{ name: "enabled", internalType: "bool", type: "bool" }],
2548
+ name: "setAliasPriceFeed",
2549
+ inputs: [
2550
+ { name: "token", type: "address", internalType: "address" },
2551
+ { name: "priceFeed", type: "address", internalType: "address" }
2552
+ ],
2553
+ outputs: [],
2554
+ stateMutability: "nonpayable"
2555
+ },
2556
+ {
2557
+ type: "function",
2393
2558
  name: "setChecksEnabled",
2559
+ inputs: [{ name: "enabled", type: "bool", internalType: "bool" }],
2394
2560
  outputs: [],
2395
2561
  stateMutability: "nonpayable"
2396
2562
  },
2397
2563
  {
2398
2564
  type: "function",
2565
+ name: "underlying",
2399
2566
  inputs: [],
2567
+ outputs: [{ name: "", type: "address", internalType: "address" }],
2568
+ stateMutability: "view"
2569
+ },
2570
+ {
2571
+ type: "function",
2400
2572
  name: "version",
2401
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
2573
+ inputs: [],
2574
+ outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
2402
2575
  stateMutability: "view"
2403
2576
  },
2404
2577
  {
2405
2578
  type: "event",
2406
- anonymous: false,
2579
+ name: "SetAccessMode",
2407
2580
  inputs: [
2408
2581
  {
2409
2582
  name: "mode",
2410
- internalType: "enum ILossPolicy.AccessMode",
2411
2583
  type: "uint8",
2412
- indexed: false
2584
+ indexed: false,
2585
+ internalType: "enum ILossPolicy.AccessMode"
2413
2586
  }
2414
2587
  ],
2415
- name: "SetAccessMode"
2588
+ anonymous: false
2416
2589
  },
2417
2590
  {
2418
2591
  type: "event",
2419
- anonymous: false,
2592
+ name: "SetAliasPriceFeed",
2420
2593
  inputs: [
2421
- { name: "enabled", internalType: "bool", type: "bool", indexed: false }
2594
+ {
2595
+ name: "token",
2596
+ type: "address",
2597
+ indexed: true,
2598
+ internalType: "address"
2599
+ },
2600
+ {
2601
+ name: "priceFeed",
2602
+ type: "address",
2603
+ indexed: true,
2604
+ internalType: "address"
2605
+ },
2606
+ {
2607
+ name: "stalenessPeriod",
2608
+ type: "uint32",
2609
+ indexed: false,
2610
+ internalType: "uint32"
2611
+ },
2612
+ { name: "skipCheck", type: "bool", indexed: false, internalType: "bool" }
2613
+ ],
2614
+ anonymous: false
2615
+ },
2616
+ {
2617
+ type: "event",
2618
+ name: "SetChecksEnabled",
2619
+ inputs: [
2620
+ { name: "enabled", type: "bool", indexed: false, internalType: "bool" }
2621
+ ],
2622
+ anonymous: false
2623
+ },
2624
+ {
2625
+ type: "event",
2626
+ name: "UnsetAliasPriceFeed",
2627
+ inputs: [
2628
+ {
2629
+ name: "token",
2630
+ type: "address",
2631
+ indexed: true,
2632
+ internalType: "address"
2633
+ }
2422
2634
  ],
2423
- name: "SetChecksEnabled"
2635
+ anonymous: false
2424
2636
  }
2425
2637
  ];
2426
2638
  const iMarketConfiguratorV310Abi = [
@@ -5115,6 +5327,7 @@ const iTumblerV310Abi = [
5115
5327
  ];
5116
5328
  export {
5117
5329
  iAddressProviderV310Abi,
5330
+ iAliasedLossPolicyV310Abi,
5118
5331
  iBotListV310Abi,
5119
5332
  iCreditConfiguratorV310Abi,
5120
5333
  iCreditFacadeMulticallV310Abi,