@defisaver/positions-sdk 0.0.17 → 0.0.18
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/cjs/aaveV3/index.d.ts +1 -1
- package/cjs/aaveV3/index.js +2 -3
- package/cjs/compoundV3/index.d.ts +1 -1
- package/cjs/compoundV3/index.js +2 -3
- package/cjs/config/contracts.d.ts +184 -72
- package/cjs/config/contracts.js +16 -0
- package/cjs/markets/curveUsd/index.d.ts +2 -0
- package/cjs/markets/curveUsd/index.js +14 -1
- package/cjs/morphoAaveV3/index.d.ts +1 -1
- package/cjs/morphoAaveV3/index.js +2 -3
- package/cjs/types/contracts/generated/CrvUSDsfrxETHAmm.d.ts +139 -0
- package/cjs/types/contracts/generated/CrvUSDsfrxETHAmm.js +5 -0
- package/cjs/types/contracts/generated/CrvUSDsfrxETHController.d.ts +205 -0
- package/cjs/types/contracts/generated/CrvUSDsfrxETHController.js +5 -0
- package/cjs/types/contracts/generated/index.d.ts +2 -0
- package/cjs/types/curveUsd.d.ts +2 -1
- package/cjs/types/curveUsd.js +1 -0
- package/esm/aaveV3/index.d.ts +1 -1
- package/esm/aaveV3/index.js +2 -3
- package/esm/compoundV3/index.d.ts +1 -1
- package/esm/compoundV3/index.js +2 -3
- package/esm/config/contracts.d.ts +184 -72
- package/esm/config/contracts.js +16 -0
- package/esm/markets/curveUsd/index.d.ts +2 -0
- package/esm/markets/curveUsd/index.js +12 -0
- package/esm/morphoAaveV3/index.d.ts +1 -1
- package/esm/morphoAaveV3/index.js +2 -3
- package/esm/types/contracts/generated/CrvUSDsfrxETHAmm.d.ts +139 -0
- package/esm/types/contracts/generated/CrvUSDsfrxETHAmm.js +4 -0
- package/esm/types/contracts/generated/CrvUSDsfrxETHController.d.ts +205 -0
- package/esm/types/contracts/generated/CrvUSDsfrxETHController.js +4 -0
- package/esm/types/contracts/generated/index.d.ts +2 -0
- package/esm/types/curveUsd.d.ts +2 -1
- package/esm/types/curveUsd.js +1 -0
- package/package.json +1 -1
- package/src/aaveV3/index.ts +2 -4
- package/src/compoundV3/index.ts +1 -4
- package/src/morphoAaveV3/index.ts +1 -4
- package/src/types/contracts/generated/CrvUSDsfrxETHAmm.ts +286 -0
- package/src/types/contracts/generated/CrvUSDsfrxETHController.ts +403 -0
- package/src/types/contracts/generated/index.ts +2 -0
package/cjs/aaveV3/index.d.ts
CHANGED
|
@@ -29,5 +29,5 @@ export declare const EMPTY_AAVE_DATA: {
|
|
|
29
29
|
suppliedCollateralUsd: string;
|
|
30
30
|
};
|
|
31
31
|
export declare const getAaveV3AccountBalances: (web3: Web3, network: NetworkNumber, block: Blockish, addressMapping: boolean, address: EthAddress) => Promise<PositionBalances>;
|
|
32
|
-
export declare const getAaveV3AccountData: (web3: Web3, network: NetworkNumber, address: EthAddress, extractedState: any
|
|
32
|
+
export declare const getAaveV3AccountData: (web3: Web3, network: NetworkNumber, address: EthAddress, extractedState: any) => Promise<AaveV3PositionData>;
|
|
33
33
|
export declare const getAaveV3FullPositionData: (web3: Web3, network: NetworkNumber, address: string, market: AaveMarketInfo, mainnetWeb3: Web3) => Promise<AaveV3PositionData>;
|
package/cjs/aaveV3/index.js
CHANGED
|
@@ -288,7 +288,7 @@ const getAaveV3AccountBalances = (web3, network, block, addressMapping, address)
|
|
|
288
288
|
return balances;
|
|
289
289
|
});
|
|
290
290
|
exports.getAaveV3AccountBalances = getAaveV3AccountBalances;
|
|
291
|
-
const getAaveV3AccountData = (web3, network, address, extractedState
|
|
291
|
+
const getAaveV3AccountData = (web3, network, address, extractedState) => __awaiter(void 0, void 0, void 0, function* () {
|
|
292
292
|
const { selectedMarket: market, assetsData, } = extractedState;
|
|
293
293
|
let payload = Object.assign(Object.assign({}, exports.EMPTY_AAVE_DATA), { lastUpdated: Date.now() });
|
|
294
294
|
if (!address) {
|
|
@@ -359,9 +359,8 @@ const getAaveV3AccountData = (web3, network, address, extractedState, customGetA
|
|
|
359
359
|
usedAssets[asset] = Object.assign(Object.assign({}, usedAssets[asset]), { symbol: asset, supplied, suppliedUsd: new decimal_js_1.default(supplied).mul(assetsData[asset].price).toString(), isSupplied, collateral: enabledAsCollateral, stableBorrowRate: new decimal_js_1.default(tokenInfo.stableBorrowRate).div(1e25).toString(), discountedBorrowRate: new decimal_js_1.default(assetsData[asset].borrowRate).mul(1 - parseFloat(discountRateOnBorrow)).toString(), borrowedStable,
|
|
360
360
|
borrowedVariable, borrowedUsdStable: new decimal_js_1.default(borrowedStable).mul(assetsData[asset].price).toString(), borrowedUsdVariable: new decimal_js_1.default(borrowedVariable).mul(assetsData[asset].price).toString(), borrowed, borrowedUsd: new decimal_js_1.default(new decimal_js_1.default(borrowedVariable).add(borrowedStable)).mul(assetsData[asset].price).toString(), isBorrowed, eModeCategory: assetsData[asset].eModeCategory, interestMode });
|
|
361
361
|
}));
|
|
362
|
-
const aggregateFunction = customGetAggregatedDataFunction || aaveHelpers_1.aaveAnyGetAggregatedPositionData;
|
|
363
362
|
payload.eModeCategory = +multicallRes[0][0];
|
|
364
|
-
payload = Object.assign(Object.assign(Object.assign({}, payload), { usedAssets }),
|
|
363
|
+
payload = Object.assign(Object.assign(Object.assign({}, payload), { usedAssets }), (0, aaveHelpers_1.aaveAnyGetAggregatedPositionData)(Object.assign(Object.assign({}, extractedState), { usedAssets, eModeCategory: payload.eModeCategory })));
|
|
365
364
|
payload.eModeCategories = (0, exports.aaveV3EmodeCategoriesMapping)(extractedState, usedAssets);
|
|
366
365
|
payload.isInIsolationMode = (0, aaveHelpers_1.aaveV3IsInIsolationMode)({ usedAssets, assetsData });
|
|
367
366
|
payload.isInSiloedMode = (0, aaveHelpers_1.aaveV3IsInSiloedMode)({ usedAssets, assetsData });
|
|
@@ -33,5 +33,5 @@ export declare const getCompoundV3AccountBalances: (web3: Web3, network: Network
|
|
|
33
33
|
export declare const getCompoundV3AccountData: (web3: Web3, network: NetworkNumber, address: string, proxyAddress: string, extractedState: ({
|
|
34
34
|
selectedMarket: CompoundMarketData;
|
|
35
35
|
assetsData: CompoundV3AssetsData;
|
|
36
|
-
})
|
|
36
|
+
})) => Promise<CompoundV3PositionData>;
|
|
37
37
|
export declare const getCompoundV3FullPositionData: (web3: Web3, network: NetworkNumber, address: string, proxyAddress: string, selectedMarket: CompoundMarketData, mainnetWeb3: Web3) => Promise<CompoundV3PositionData>;
|
package/cjs/compoundV3/index.js
CHANGED
|
@@ -144,7 +144,7 @@ const getCompoundV3AccountBalances = (web3, network, block, addressMapping, addr
|
|
|
144
144
|
return balances;
|
|
145
145
|
});
|
|
146
146
|
exports.getCompoundV3AccountBalances = getCompoundV3AccountBalances;
|
|
147
|
-
const getCompoundV3AccountData = (web3, network, address, proxyAddress, extractedState
|
|
147
|
+
const getCompoundV3AccountData = (web3, network, address, proxyAddress, extractedState) => __awaiter(void 0, void 0, void 0, function* () {
|
|
148
148
|
if (!address)
|
|
149
149
|
throw new Error('No address provided');
|
|
150
150
|
const { selectedMarket, assetsData, } = extractedState;
|
|
@@ -197,8 +197,7 @@ const getCompoundV3AccountData = (web3, network, address, proxyAddress, extracte
|
|
|
197
197
|
supplied,
|
|
198
198
|
suppliedUsd, isBorrowed: false, symbol, collateral: true });
|
|
199
199
|
});
|
|
200
|
-
|
|
201
|
-
payload = Object.assign(Object.assign(Object.assign(Object.assign({}, payload), { usedAssets }), aggregateFunction({
|
|
200
|
+
payload = Object.assign(Object.assign(Object.assign(Object.assign({}, payload), { usedAssets }), (0, compoundHelpers_1.getCompoundV3AggregatedData)({
|
|
202
201
|
usedAssets, assetsData, network, selectedMarket,
|
|
203
202
|
})), { isAllowed: data[1][0] });
|
|
204
203
|
// Calculate borrow limits per asset
|
|
@@ -2451,7 +2451,7 @@ export namespace crvUSDtBTCController {
|
|
|
2451
2451
|
};
|
|
2452
2452
|
export { networks_41 as networks };
|
|
2453
2453
|
}
|
|
2454
|
-
export namespace
|
|
2454
|
+
export namespace crvUSDsfrxETHController {
|
|
2455
2455
|
let abi_42: ({
|
|
2456
2456
|
name: string;
|
|
2457
2457
|
inputs: {
|
|
@@ -2473,6 +2473,13 @@ export namespace crvUSDwstETHAmm {
|
|
|
2473
2473
|
outputs: never[];
|
|
2474
2474
|
name?: undefined;
|
|
2475
2475
|
anonymous?: undefined;
|
|
2476
|
+
} | {
|
|
2477
|
+
stateMutability: string;
|
|
2478
|
+
type: string;
|
|
2479
|
+
name?: undefined;
|
|
2480
|
+
inputs?: undefined;
|
|
2481
|
+
anonymous?: undefined;
|
|
2482
|
+
outputs?: undefined;
|
|
2476
2483
|
} | {
|
|
2477
2484
|
stateMutability: string;
|
|
2478
2485
|
type: string;
|
|
@@ -2486,6 +2493,23 @@ export namespace crvUSDwstETHAmm {
|
|
|
2486
2493
|
type: string;
|
|
2487
2494
|
}[];
|
|
2488
2495
|
anonymous?: undefined;
|
|
2496
|
+
} | {
|
|
2497
|
+
stateMutability: string;
|
|
2498
|
+
type: string;
|
|
2499
|
+
name: string;
|
|
2500
|
+
inputs: {
|
|
2501
|
+
name: string;
|
|
2502
|
+
type: string;
|
|
2503
|
+
}[];
|
|
2504
|
+
outputs: {
|
|
2505
|
+
name: string;
|
|
2506
|
+
type: string;
|
|
2507
|
+
components: {
|
|
2508
|
+
name: string;
|
|
2509
|
+
type: string;
|
|
2510
|
+
}[];
|
|
2511
|
+
}[];
|
|
2512
|
+
anonymous?: undefined;
|
|
2489
2513
|
})[];
|
|
2490
2514
|
export { abi_42 as abi };
|
|
2491
2515
|
let networks_42: {
|
|
@@ -2495,7 +2519,7 @@ export namespace crvUSDwstETHAmm {
|
|
|
2495
2519
|
};
|
|
2496
2520
|
export { networks_42 as networks };
|
|
2497
2521
|
}
|
|
2498
|
-
export namespace
|
|
2522
|
+
export namespace crvUSDwstETHAmm {
|
|
2499
2523
|
let abi_43: ({
|
|
2500
2524
|
name: string;
|
|
2501
2525
|
inputs: {
|
|
@@ -2539,7 +2563,7 @@ export namespace crvUSDETHAmm {
|
|
|
2539
2563
|
};
|
|
2540
2564
|
export { networks_43 as networks };
|
|
2541
2565
|
}
|
|
2542
|
-
export namespace
|
|
2566
|
+
export namespace crvUSDETHAmm {
|
|
2543
2567
|
let abi_44: ({
|
|
2544
2568
|
name: string;
|
|
2545
2569
|
inputs: {
|
|
@@ -2583,7 +2607,7 @@ export namespace crvUSDWBTCAmm {
|
|
|
2583
2607
|
};
|
|
2584
2608
|
export { networks_44 as networks };
|
|
2585
2609
|
}
|
|
2586
|
-
export namespace
|
|
2610
|
+
export namespace crvUSDWBTCAmm {
|
|
2587
2611
|
let abi_45: ({
|
|
2588
2612
|
name: string;
|
|
2589
2613
|
inputs: {
|
|
@@ -2627,8 +2651,96 @@ export namespace crvUSDtBTCAmm {
|
|
|
2627
2651
|
};
|
|
2628
2652
|
export { networks_45 as networks };
|
|
2629
2653
|
}
|
|
2630
|
-
export namespace
|
|
2654
|
+
export namespace crvUSDtBTCAmm {
|
|
2631
2655
|
let abi_46: ({
|
|
2656
|
+
name: string;
|
|
2657
|
+
inputs: {
|
|
2658
|
+
name: string;
|
|
2659
|
+
type: string;
|
|
2660
|
+
indexed: boolean;
|
|
2661
|
+
}[];
|
|
2662
|
+
anonymous: boolean;
|
|
2663
|
+
type: string;
|
|
2664
|
+
stateMutability?: undefined;
|
|
2665
|
+
outputs?: undefined;
|
|
2666
|
+
} | {
|
|
2667
|
+
stateMutability: string;
|
|
2668
|
+
type: string;
|
|
2669
|
+
inputs: {
|
|
2670
|
+
name: string;
|
|
2671
|
+
type: string;
|
|
2672
|
+
}[];
|
|
2673
|
+
outputs: never[];
|
|
2674
|
+
name?: undefined;
|
|
2675
|
+
anonymous?: undefined;
|
|
2676
|
+
} | {
|
|
2677
|
+
stateMutability: string;
|
|
2678
|
+
type: string;
|
|
2679
|
+
name: string;
|
|
2680
|
+
inputs: {
|
|
2681
|
+
name: string;
|
|
2682
|
+
type: string;
|
|
2683
|
+
}[];
|
|
2684
|
+
outputs: {
|
|
2685
|
+
name: string;
|
|
2686
|
+
type: string;
|
|
2687
|
+
}[];
|
|
2688
|
+
anonymous?: undefined;
|
|
2689
|
+
})[];
|
|
2690
|
+
export { abi_46 as abi };
|
|
2691
|
+
let networks_46: {
|
|
2692
|
+
"1": {
|
|
2693
|
+
address: string;
|
|
2694
|
+
};
|
|
2695
|
+
};
|
|
2696
|
+
export { networks_46 as networks };
|
|
2697
|
+
}
|
|
2698
|
+
export namespace crvUSDsfrxETHAmm {
|
|
2699
|
+
let abi_47: ({
|
|
2700
|
+
name: string;
|
|
2701
|
+
inputs: {
|
|
2702
|
+
name: string;
|
|
2703
|
+
type: string;
|
|
2704
|
+
indexed: boolean;
|
|
2705
|
+
}[];
|
|
2706
|
+
anonymous: boolean;
|
|
2707
|
+
type: string;
|
|
2708
|
+
stateMutability?: undefined;
|
|
2709
|
+
outputs?: undefined;
|
|
2710
|
+
} | {
|
|
2711
|
+
stateMutability: string;
|
|
2712
|
+
type: string;
|
|
2713
|
+
inputs: {
|
|
2714
|
+
name: string;
|
|
2715
|
+
type: string;
|
|
2716
|
+
}[];
|
|
2717
|
+
outputs: never[];
|
|
2718
|
+
name?: undefined;
|
|
2719
|
+
anonymous?: undefined;
|
|
2720
|
+
} | {
|
|
2721
|
+
stateMutability: string;
|
|
2722
|
+
type: string;
|
|
2723
|
+
name: string;
|
|
2724
|
+
inputs: {
|
|
2725
|
+
name: string;
|
|
2726
|
+
type: string;
|
|
2727
|
+
}[];
|
|
2728
|
+
outputs: {
|
|
2729
|
+
name: string;
|
|
2730
|
+
type: string;
|
|
2731
|
+
}[];
|
|
2732
|
+
anonymous?: undefined;
|
|
2733
|
+
})[];
|
|
2734
|
+
export { abi_47 as abi };
|
|
2735
|
+
let networks_47: {
|
|
2736
|
+
"1": {
|
|
2737
|
+
address: string;
|
|
2738
|
+
};
|
|
2739
|
+
};
|
|
2740
|
+
export { networks_47 as networks };
|
|
2741
|
+
}
|
|
2742
|
+
export namespace crvUSDView {
|
|
2743
|
+
let abi_48: ({
|
|
2632
2744
|
inputs: {
|
|
2633
2745
|
internalType: string;
|
|
2634
2746
|
name: string;
|
|
@@ -2672,8 +2784,8 @@ export namespace crvUSDView {
|
|
|
2672
2784
|
stateMutability: string;
|
|
2673
2785
|
type: string;
|
|
2674
2786
|
})[];
|
|
2675
|
-
export {
|
|
2676
|
-
let
|
|
2787
|
+
export { abi_48 as abi };
|
|
2788
|
+
let networks_48: {
|
|
2677
2789
|
"1": {
|
|
2678
2790
|
address: string;
|
|
2679
2791
|
createdBlock: number;
|
|
@@ -2682,10 +2794,10 @@ export namespace crvUSDView {
|
|
|
2682
2794
|
};
|
|
2683
2795
|
};
|
|
2684
2796
|
};
|
|
2685
|
-
export {
|
|
2797
|
+
export { networks_48 as networks };
|
|
2686
2798
|
}
|
|
2687
2799
|
export namespace crvUSDFactory {
|
|
2688
|
-
let
|
|
2800
|
+
let abi_49: ({
|
|
2689
2801
|
name: string;
|
|
2690
2802
|
inputs: {
|
|
2691
2803
|
name: string;
|
|
@@ -2720,16 +2832,16 @@ export namespace crvUSDFactory {
|
|
|
2720
2832
|
}[];
|
|
2721
2833
|
anonymous?: undefined;
|
|
2722
2834
|
})[];
|
|
2723
|
-
export {
|
|
2724
|
-
let
|
|
2835
|
+
export { abi_49 as abi };
|
|
2836
|
+
let networks_49: {
|
|
2725
2837
|
"1": {
|
|
2726
2838
|
address: string;
|
|
2727
2839
|
};
|
|
2728
2840
|
};
|
|
2729
|
-
export {
|
|
2841
|
+
export { networks_49 as networks };
|
|
2730
2842
|
}
|
|
2731
2843
|
export namespace LiquityView {
|
|
2732
|
-
let
|
|
2844
|
+
let abi_50: {
|
|
2733
2845
|
inputs: {
|
|
2734
2846
|
internalType: string;
|
|
2735
2847
|
name: string;
|
|
@@ -2744,8 +2856,8 @@ export namespace LiquityView {
|
|
|
2744
2856
|
stateMutability: string;
|
|
2745
2857
|
type: string;
|
|
2746
2858
|
}[];
|
|
2747
|
-
export {
|
|
2748
|
-
let
|
|
2859
|
+
export { abi_50 as abi };
|
|
2860
|
+
let networks_50: {
|
|
2749
2861
|
"1": {
|
|
2750
2862
|
address: string;
|
|
2751
2863
|
createdBlock: number;
|
|
@@ -2757,10 +2869,10 @@ export namespace LiquityView {
|
|
|
2757
2869
|
};
|
|
2758
2870
|
};
|
|
2759
2871
|
};
|
|
2760
|
-
export {
|
|
2872
|
+
export { networks_50 as networks };
|
|
2761
2873
|
}
|
|
2762
2874
|
export namespace CollSurplusPool {
|
|
2763
|
-
let
|
|
2875
|
+
let abi_51: ({
|
|
2764
2876
|
anonymous: boolean;
|
|
2765
2877
|
inputs: {
|
|
2766
2878
|
indexed: boolean;
|
|
@@ -2795,16 +2907,16 @@ export namespace CollSurplusPool {
|
|
|
2795
2907
|
name?: undefined;
|
|
2796
2908
|
outputs?: undefined;
|
|
2797
2909
|
})[];
|
|
2798
|
-
export {
|
|
2799
|
-
let
|
|
2910
|
+
export { abi_51 as abi };
|
|
2911
|
+
let networks_51: {
|
|
2800
2912
|
"1": {
|
|
2801
2913
|
address: string;
|
|
2802
2914
|
};
|
|
2803
2915
|
};
|
|
2804
|
-
export {
|
|
2916
|
+
export { networks_51 as networks };
|
|
2805
2917
|
}
|
|
2806
2918
|
export namespace TroveManager {
|
|
2807
|
-
let
|
|
2919
|
+
let abi_52: ({
|
|
2808
2920
|
anonymous: boolean;
|
|
2809
2921
|
inputs: {
|
|
2810
2922
|
indexed: boolean;
|
|
@@ -2832,16 +2944,16 @@ export namespace TroveManager {
|
|
|
2832
2944
|
type: string;
|
|
2833
2945
|
anonymous?: undefined;
|
|
2834
2946
|
})[];
|
|
2835
|
-
export {
|
|
2836
|
-
let
|
|
2947
|
+
export { abi_52 as abi };
|
|
2948
|
+
let networks_52: {
|
|
2837
2949
|
"1": {
|
|
2838
2950
|
address: string;
|
|
2839
2951
|
};
|
|
2840
2952
|
};
|
|
2841
|
-
export {
|
|
2953
|
+
export { networks_52 as networks };
|
|
2842
2954
|
}
|
|
2843
2955
|
export namespace PriceFeed {
|
|
2844
|
-
let
|
|
2956
|
+
let abi_53: ({
|
|
2845
2957
|
anonymous: boolean;
|
|
2846
2958
|
inputs: {
|
|
2847
2959
|
indexed: boolean;
|
|
@@ -2876,16 +2988,16 @@ export namespace PriceFeed {
|
|
|
2876
2988
|
type: string;
|
|
2877
2989
|
anonymous?: undefined;
|
|
2878
2990
|
})[];
|
|
2879
|
-
export {
|
|
2880
|
-
let
|
|
2991
|
+
export { abi_53 as abi };
|
|
2992
|
+
let networks_53: {
|
|
2881
2993
|
"1": {
|
|
2882
2994
|
address: string;
|
|
2883
2995
|
};
|
|
2884
2996
|
};
|
|
2885
|
-
export {
|
|
2997
|
+
export { networks_53 as networks };
|
|
2886
2998
|
}
|
|
2887
2999
|
export namespace LiquityActivePool {
|
|
2888
|
-
let
|
|
3000
|
+
let abi_54: {
|
|
2889
3001
|
inputs: never[];
|
|
2890
3002
|
name: string;
|
|
2891
3003
|
outputs: {
|
|
@@ -2896,16 +3008,16 @@ export namespace LiquityActivePool {
|
|
|
2896
3008
|
stateMutability: string;
|
|
2897
3009
|
type: string;
|
|
2898
3010
|
}[];
|
|
2899
|
-
export {
|
|
2900
|
-
let
|
|
3011
|
+
export { abi_54 as abi };
|
|
3012
|
+
let networks_54: {
|
|
2901
3013
|
"1": {
|
|
2902
3014
|
address: string;
|
|
2903
3015
|
};
|
|
2904
3016
|
};
|
|
2905
|
-
export {
|
|
3017
|
+
export { networks_54 as networks };
|
|
2906
3018
|
}
|
|
2907
3019
|
export namespace McdView {
|
|
2908
|
-
let
|
|
3020
|
+
let abi_55: {
|
|
2909
3021
|
inputs: {
|
|
2910
3022
|
internalType: string;
|
|
2911
3023
|
name: string;
|
|
@@ -2920,8 +3032,8 @@ export namespace McdView {
|
|
|
2920
3032
|
stateMutability: string;
|
|
2921
3033
|
type: string;
|
|
2922
3034
|
}[];
|
|
2923
|
-
export {
|
|
2924
|
-
let
|
|
3035
|
+
export { abi_55 as abi };
|
|
3036
|
+
let networks_55: {
|
|
2925
3037
|
"1": {
|
|
2926
3038
|
address: string;
|
|
2927
3039
|
createdBlock: number;
|
|
@@ -2930,10 +3042,10 @@ export namespace McdView {
|
|
|
2930
3042
|
};
|
|
2931
3043
|
};
|
|
2932
3044
|
};
|
|
2933
|
-
export {
|
|
3045
|
+
export { networks_55 as networks };
|
|
2934
3046
|
}
|
|
2935
3047
|
export namespace McdSpotter {
|
|
2936
|
-
let
|
|
3048
|
+
let abi_56: {
|
|
2937
3049
|
constant: boolean;
|
|
2938
3050
|
inputs: {
|
|
2939
3051
|
name: string;
|
|
@@ -2948,16 +3060,16 @@ export namespace McdSpotter {
|
|
|
2948
3060
|
stateMutability: string;
|
|
2949
3061
|
type: string;
|
|
2950
3062
|
}[];
|
|
2951
|
-
export {
|
|
2952
|
-
let
|
|
3063
|
+
export { abi_56 as abi };
|
|
3064
|
+
let networks_56: {
|
|
2953
3065
|
"1": {
|
|
2954
3066
|
address: string;
|
|
2955
3067
|
};
|
|
2956
3068
|
};
|
|
2957
|
-
export {
|
|
3069
|
+
export { networks_56 as networks };
|
|
2958
3070
|
}
|
|
2959
3071
|
export namespace McdVat {
|
|
2960
|
-
let
|
|
3072
|
+
let abi_57: ({
|
|
2961
3073
|
inputs: never[];
|
|
2962
3074
|
payable: boolean;
|
|
2963
3075
|
stateMutability: string;
|
|
@@ -2998,16 +3110,16 @@ export namespace McdVat {
|
|
|
2998
3110
|
type: string;
|
|
2999
3111
|
anonymous?: undefined;
|
|
3000
3112
|
})[];
|
|
3001
|
-
export {
|
|
3002
|
-
let
|
|
3113
|
+
export { abi_57 as abi };
|
|
3114
|
+
let networks_57: {
|
|
3003
3115
|
"1": {
|
|
3004
3116
|
address: string;
|
|
3005
3117
|
};
|
|
3006
3118
|
};
|
|
3007
|
-
export {
|
|
3119
|
+
export { networks_57 as networks };
|
|
3008
3120
|
}
|
|
3009
3121
|
export namespace McdJug {
|
|
3010
|
-
let
|
|
3122
|
+
let abi_58: ({
|
|
3011
3123
|
inputs: {
|
|
3012
3124
|
internalType: string;
|
|
3013
3125
|
name: string;
|
|
@@ -3052,16 +3164,16 @@ export namespace McdJug {
|
|
|
3052
3164
|
type: string;
|
|
3053
3165
|
anonymous?: undefined;
|
|
3054
3166
|
})[];
|
|
3055
|
-
export {
|
|
3056
|
-
let
|
|
3167
|
+
export { abi_58 as abi };
|
|
3168
|
+
let networks_58: {
|
|
3057
3169
|
"1": {
|
|
3058
3170
|
address: string;
|
|
3059
3171
|
};
|
|
3060
3172
|
};
|
|
3061
|
-
export {
|
|
3173
|
+
export { networks_58 as networks };
|
|
3062
3174
|
}
|
|
3063
3175
|
export namespace McdDog {
|
|
3064
|
-
let
|
|
3176
|
+
let abi_59: ({
|
|
3065
3177
|
inputs: {
|
|
3066
3178
|
internalType: string;
|
|
3067
3179
|
name: string;
|
|
@@ -3100,16 +3212,16 @@ export namespace McdDog {
|
|
|
3100
3212
|
type: string;
|
|
3101
3213
|
anonymous?: undefined;
|
|
3102
3214
|
})[];
|
|
3103
|
-
export {
|
|
3104
|
-
let
|
|
3215
|
+
export { abi_59 as abi };
|
|
3216
|
+
let networks_59: {
|
|
3105
3217
|
"1": {
|
|
3106
3218
|
address: string;
|
|
3107
3219
|
};
|
|
3108
3220
|
};
|
|
3109
|
-
export {
|
|
3221
|
+
export { networks_59 as networks };
|
|
3110
3222
|
}
|
|
3111
3223
|
export namespace ChickenBondsView {
|
|
3112
|
-
let
|
|
3224
|
+
let abi_60: ({
|
|
3113
3225
|
inputs: never[];
|
|
3114
3226
|
name: string;
|
|
3115
3227
|
outputs: {
|
|
@@ -3139,17 +3251,17 @@ export namespace ChickenBondsView {
|
|
|
3139
3251
|
stateMutability: string;
|
|
3140
3252
|
type: string;
|
|
3141
3253
|
})[];
|
|
3142
|
-
export {
|
|
3143
|
-
let
|
|
3254
|
+
export { abi_60 as abi };
|
|
3255
|
+
let networks_60: {
|
|
3144
3256
|
"1": {
|
|
3145
3257
|
address: string;
|
|
3146
3258
|
createdBlock: number;
|
|
3147
3259
|
};
|
|
3148
3260
|
};
|
|
3149
|
-
export {
|
|
3261
|
+
export { networks_60 as networks };
|
|
3150
3262
|
}
|
|
3151
3263
|
export namespace ChickenBondsManager {
|
|
3152
|
-
let
|
|
3264
|
+
let abi_61: {
|
|
3153
3265
|
inputs: {
|
|
3154
3266
|
internalType: string;
|
|
3155
3267
|
name: string;
|
|
@@ -3164,16 +3276,16 @@ export namespace ChickenBondsManager {
|
|
|
3164
3276
|
stateMutability: string;
|
|
3165
3277
|
type: string;
|
|
3166
3278
|
}[];
|
|
3167
|
-
export {
|
|
3168
|
-
let
|
|
3279
|
+
export { abi_61 as abi };
|
|
3280
|
+
let networks_61: {
|
|
3169
3281
|
"1": {
|
|
3170
3282
|
address: string;
|
|
3171
3283
|
};
|
|
3172
3284
|
};
|
|
3173
|
-
export {
|
|
3285
|
+
export { networks_61 as networks };
|
|
3174
3286
|
}
|
|
3175
3287
|
export namespace COMPPriceFeed {
|
|
3176
|
-
let
|
|
3288
|
+
let abi_62: ({
|
|
3177
3289
|
inputs: {
|
|
3178
3290
|
internalType: string;
|
|
3179
3291
|
name: string;
|
|
@@ -3212,16 +3324,16 @@ export namespace COMPPriceFeed {
|
|
|
3212
3324
|
type: string;
|
|
3213
3325
|
anonymous?: undefined;
|
|
3214
3326
|
})[];
|
|
3215
|
-
export {
|
|
3216
|
-
let
|
|
3327
|
+
export { abi_62 as abi };
|
|
3328
|
+
let networks_62: {
|
|
3217
3329
|
"1": {
|
|
3218
3330
|
address: string;
|
|
3219
3331
|
};
|
|
3220
3332
|
};
|
|
3221
|
-
export {
|
|
3333
|
+
export { networks_62 as networks };
|
|
3222
3334
|
}
|
|
3223
3335
|
export namespace ETHPriceFeed {
|
|
3224
|
-
let
|
|
3336
|
+
let abi_63: ({
|
|
3225
3337
|
inputs: {
|
|
3226
3338
|
internalType: string;
|
|
3227
3339
|
name: string;
|
|
@@ -3260,16 +3372,16 @@ export namespace ETHPriceFeed {
|
|
|
3260
3372
|
type: string;
|
|
3261
3373
|
anonymous?: undefined;
|
|
3262
3374
|
})[];
|
|
3263
|
-
export {
|
|
3264
|
-
let
|
|
3375
|
+
export { abi_63 as abi };
|
|
3376
|
+
let networks_63: {
|
|
3265
3377
|
"1": {
|
|
3266
3378
|
address: string;
|
|
3267
3379
|
};
|
|
3268
3380
|
};
|
|
3269
|
-
export {
|
|
3381
|
+
export { networks_63 as networks };
|
|
3270
3382
|
}
|
|
3271
3383
|
export namespace USDCPriceFeed {
|
|
3272
|
-
let
|
|
3384
|
+
let abi_64: ({
|
|
3273
3385
|
inputs: {
|
|
3274
3386
|
internalType: string;
|
|
3275
3387
|
name: string;
|
|
@@ -3308,11 +3420,11 @@ export namespace USDCPriceFeed {
|
|
|
3308
3420
|
type: string;
|
|
3309
3421
|
anonymous?: undefined;
|
|
3310
3422
|
})[];
|
|
3311
|
-
export {
|
|
3312
|
-
let
|
|
3423
|
+
export { abi_64 as abi };
|
|
3424
|
+
let networks_64: {
|
|
3313
3425
|
"1": {
|
|
3314
3426
|
address: string;
|
|
3315
3427
|
};
|
|
3316
3428
|
};
|
|
3317
|
-
export {
|
|
3429
|
+
export { networks_64 as networks };
|
|
3318
3430
|
}
|