@1delta/margin-fetcher 0.0.77 → 0.0.79
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/_esm-32O7VXQT.js +3641 -0
- package/dist/_esm-32O7VXQT.js.map +1 -0
- package/dist/abis/aave/AaveOracle.d.ts +50 -0
- package/dist/abis/aave/AaveOracle.d.ts.map +1 -0
- package/dist/abis/aave/AavePoolAndDataProvider.d.ts +1618 -0
- package/dist/abis/aave/AavePoolAndDataProvider.d.ts.map +1 -0
- package/dist/abis/aave/AavePoolV3Upgraded.d.ts +1134 -0
- package/dist/abis/aave/AavePoolV3Upgraded.d.ts.map +1 -0
- package/dist/abis/aave/AaveV3ProtocolDataProvider.d.ts +420 -0
- package/dist/abis/aave/AaveV3ProtocolDataProvider.d.ts.map +1 -0
- package/dist/abis/aave/VariableDebtToken.d.ts +635 -0
- package/dist/abis/aave/VariableDebtToken.d.ts.map +1 -0
- package/dist/abis/aave-v2/ProtocolDataProvider.d.ts +238 -0
- package/dist/abis/aave-v2/ProtocolDataProvider.d.ts.map +1 -0
- package/dist/abis/aave-v2/YLDR.d.ts +209 -0
- package/dist/abis/aave-v2/YLDR.d.ts.map +1 -0
- package/dist/abis/aave-v3/AavePoolDataProviderLegacy.d.ts +406 -0
- package/dist/abis/aave-v3/AavePoolDataProviderLegacy.d.ts.map +1 -0
- package/dist/abis/aave-v3/AavePoolLegacy.d.ts +819 -0
- package/dist/abis/aave-v3/AavePoolLegacy.d.ts.map +1 -0
- package/dist/abis/aave-v3/YLDR.d.ts +36 -0
- package/dist/abis/aave-v3/YLDR.d.ts.map +1 -0
- package/dist/abis/aurelius/Rewarder.d.ts +90 -0
- package/dist/abis/aurelius/Rewarder.d.ts.map +1 -0
- package/dist/abis/compound-v2/CompoundLens.d.ts +656 -0
- package/dist/abis/compound-v2/CompoundLens.d.ts.map +1 -0
- package/dist/abis/compound-v2/Comptroller.d.ts +1615 -0
- package/dist/abis/compound-v2/Comptroller.d.ts.map +1 -0
- package/dist/abis/compound-v3/Comet.d.ts +1382 -0
- package/dist/abis/compound-v3/Comet.d.ts.map +1 -0
- package/dist/abis/compound-v3/CometExt.d.ts +411 -0
- package/dist/abis/compound-v3/CometExt.d.ts.map +1 -0
- package/dist/abis/compound-v3/CometLens.d.ts +152 -0
- package/dist/abis/compound-v3/CometLens.d.ts.map +1 -0
- package/dist/abis/compound-v3/CometRewards.d.ts +253 -0
- package/dist/abis/compound-v3/CometRewards.d.ts.map +1 -0
- package/dist/abis/compound-v3/IrGetter.d.ts +24 -0
- package/dist/abis/compound-v3/IrGetter.d.ts.map +1 -0
- package/dist/abis/flashloan-united/flashAbi.d.ts +54 -0
- package/dist/abis/flashloan-united/flashAbi.d.ts.map +1 -0
- package/dist/abis/init/InitLens.d.ts +158 -0
- package/dist/abis/init/InitLens.d.ts.map +1 -0
- package/dist/abis/lendle/IncentivesController.d.ts +404 -0
- package/dist/abis/lendle/IncentivesController.d.ts.map +1 -0
- package/dist/abis/lendle/MultiFeeDistribution.d.ts +624 -0
- package/dist/abis/lendle/MultiFeeDistribution.d.ts.map +1 -0
- package/dist/abis/meridian/PullRewardsIncentivesController.d.ts +74 -0
- package/dist/abis/meridian/PullRewardsIncentivesController.d.ts.map +1 -0
- package/dist/abis/morpho/blue.d.ts +76 -0
- package/dist/abis/morpho/blue.d.ts.map +1 -0
- package/dist/abis/morpho/lens.d.ts +39 -0
- package/dist/abis/morpho/lens.d.ts.map +1 -0
- package/dist/abis/multicall/Multicall.d.ts +80 -0
- package/dist/abis/multicall/Multicall.d.ts.map +1 -0
- package/dist/abis/oracle/AaveOracle.d.ts +50 -0
- package/dist/abis/oracle/AaveOracle.d.ts.map +1 -0
- package/dist/abis/oracle/Api3Oracle.d.ts +48 -0
- package/dist/abis/oracle/Api3Oracle.d.ts.map +1 -0
- package/dist/abis/oracle/ChainLinkAggregator.d.ts +372 -0
- package/dist/abis/oracle/ChainLinkAggregator.d.ts.map +1 -0
- package/dist/abis/oracle/ProxyOracle.d.ts +12 -0
- package/dist/abis/oracle/ProxyOracle.d.ts.map +1 -0
- package/dist/abis/oracle/RWADynamicOracle.d.ts +12 -0
- package/dist/abis/oracle/RWADynamicOracle.d.ts.map +1 -0
- package/dist/abis/oracle/UniV3.d.ts +50 -0
- package/dist/abis/oracle/UniV3.d.ts.map +1 -0
- package/dist/abis/oracle/UniswapV2Pair.d.ts +513 -0
- package/dist/abis/oracle/UniswapV2Pair.d.ts.map +1 -0
- package/dist/assets/index.d.ts +15 -0
- package/dist/assets/index.d.ts.map +1 -0
- package/dist/assets/liquidityThresholds.d.ts +39 -0
- package/dist/assets/liquidityThresholds.d.ts.map +1 -0
- package/dist/ccip-DSCWXCSY-ZTHOXJV6.js +4 -0
- package/dist/ccip-DSCWXCSY-ZTHOXJV6.js.map +1 -0
- package/dist/ccip-V63HKYUC.js +5 -0
- package/dist/ccip-V63HKYUC.js.map +1 -0
- package/dist/chunk-5R4LXFCO.js +4078 -0
- package/dist/chunk-5R4LXFCO.js.map +1 -0
- package/dist/chunk-BYTNVMX7.js +369 -0
- package/dist/chunk-BYTNVMX7.js.map +1 -0
- package/dist/chunk-O4JCFUFK.js +3974 -0
- package/dist/chunk-O4JCFUFK.js.map +1 -0
- package/dist/chunk-PR4QN5HX.js +39 -0
- package/dist/chunk-PR4QN5HX.js.map +1 -0
- package/dist/flash-liquidity/assets.d.ts +21 -0
- package/dist/flash-liquidity/assets.d.ts.map +1 -0
- package/dist/flash-liquidity/fetchLiquidity.d.ts +4 -0
- package/dist/flash-liquidity/fetchLiquidity.d.ts.map +1 -0
- package/dist/flash-liquidity/index.d.ts +3 -0
- package/dist/flash-liquidity/index.d.ts.map +1 -0
- package/dist/flash-liquidity/types.d.ts +24 -0
- package/dist/flash-liquidity/types.d.ts.map +1 -0
- package/dist/flash-liquidity/utils.d.ts +12 -0
- package/dist/flash-liquidity/utils.d.ts.map +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +24454 -0
- package/dist/index.js.map +1 -0
- package/dist/lending/aave-v2-type/misc.d.ts +8 -0
- package/dist/lending/aave-v2-type/misc.d.ts.map +1 -0
- package/dist/lending/aave-v2-type/publicCallBuild.d.ts +7 -0
- package/dist/lending/aave-v2-type/publicCallBuild.d.ts.map +1 -0
- package/dist/lending/aave-v2-type/publicCallParse.d.ts +8 -0
- package/dist/lending/aave-v2-type/publicCallParse.d.ts.map +1 -0
- package/dist/lending/aave-v3-type/publicCallBuild.d.ts +5 -0
- package/dist/lending/aave-v3-type/publicCallBuild.d.ts.map +1 -0
- package/dist/lending/aave-v3-type/publicCallParse.d.ts +9 -0
- package/dist/lending/aave-v3-type/publicCallParse.d.ts.map +1 -0
- package/dist/lending/addresses/aave.d.ts +10 -0
- package/dist/lending/addresses/aave.d.ts.map +1 -0
- package/dist/lending/addresses/aaveV2.d.ts +6 -0
- package/dist/lending/addresses/aaveV2.d.ts.map +1 -0
- package/dist/lending/addresses/aurelius.d.ts +12 -0
- package/dist/lending/addresses/aurelius.d.ts.map +1 -0
- package/dist/lending/addresses/compoundV3.d.ts +9 -0
- package/dist/lending/addresses/compoundV3.d.ts.map +1 -0
- package/dist/lending/addresses/contracts.d.ts +4 -0
- package/dist/lending/addresses/contracts.d.ts.map +1 -0
- package/dist/lending/addresses/hana.d.ts +6 -0
- package/dist/lending/addresses/hana.d.ts.map +1 -0
- package/dist/lending/addresses/index.d.ts +2 -0
- package/dist/lending/addresses/index.d.ts.map +1 -0
- package/dist/lending/addresses/init.d.ts +4 -0
- package/dist/lending/addresses/init.d.ts.map +1 -0
- package/dist/lending/addresses/lendle.d.ts +12 -0
- package/dist/lending/addresses/lendle.d.ts.map +1 -0
- package/dist/lending/addresses/meridian.d.ts +15 -0
- package/dist/lending/addresses/meridian.d.ts.map +1 -0
- package/dist/lending/addresses/takotako.d.ts +12 -0
- package/dist/lending/addresses/takotako.d.ts.map +1 -0
- package/dist/lending/compound-v3/publicCallBuild.d.ts +3 -0
- package/dist/lending/compound-v3/publicCallBuild.d.ts.map +1 -0
- package/dist/lending/compound-v3/publicCallParse.d.ts +8 -0
- package/dist/lending/compound-v3/publicCallParse.d.ts.map +1 -0
- package/dist/lending/fetchLender.d.ts +9 -0
- package/dist/lending/fetchLender.d.ts.map +1 -0
- package/dist/lending/fetchLenderAll.d.ts +9 -0
- package/dist/lending/fetchLenderAll.d.ts.map +1 -0
- package/dist/lending/fetchLenderExt.d.ts +9 -0
- package/dist/lending/fetchLenderExt.d.ts.map +1 -0
- package/dist/lending/index.d.ts +6 -0
- package/dist/lending/index.d.ts.map +1 -0
- package/dist/lending/init/publicCallBuild.d.ts +7 -0
- package/dist/lending/init/publicCallBuild.d.ts.map +1 -0
- package/dist/lending/init/publicCallParse.d.ts +11 -0
- package/dist/lending/init/publicCallParse.d.ts.map +1 -0
- package/dist/lending/meta/index.d.ts +19 -0
- package/dist/lending/meta/index.d.ts.map +1 -0
- package/dist/lending/morpho/chainsConfigs.d.ts +21 -0
- package/dist/lending/morpho/chainsConfigs.d.ts.map +1 -0
- package/dist/lending/morpho/constants/markets.d.ts +4 -0
- package/dist/lending/morpho/constants/markets.d.ts.map +1 -0
- package/dist/lending/morpho/convertPublic.d.ts +7 -0
- package/dist/lending/morpho/convertPublic.d.ts.map +1 -0
- package/dist/lending/morpho/fetchPublic.d.ts +3 -0
- package/dist/lending/morpho/fetchPublic.d.ts.map +1 -0
- package/dist/lending/morpho/getMarketsFromChain.d.ts +8 -0
- package/dist/lending/morpho/getMarketsFromChain.d.ts.map +1 -0
- package/dist/lending/morpho/publicCallBuild.d.ts +10 -0
- package/dist/lending/morpho/publicCallBuild.d.ts.map +1 -0
- package/dist/lending/morpho/utils/evmParser.d.ts +22 -0
- package/dist/lending/morpho/utils/evmParser.d.ts.map +1 -0
- package/dist/lending/morpho/utils/mathLib.d.ts +125 -0
- package/dist/lending/morpho/utils/mathLib.d.ts.map +1 -0
- package/dist/lending/morpho/utils/parsers.d.ts +10 -0
- package/dist/lending/morpho/utils/parsers.d.ts.map +1 -0
- package/dist/lending/user-data/aave-v2-type/userCallBuild.d.ts +4 -0
- package/dist/lending/user-data/aave-v2-type/userCallBuild.d.ts.map +1 -0
- package/dist/lending/user-data/aave-v2-type/userCallParse.d.ts +8 -0
- package/dist/lending/user-data/aave-v2-type/userCallParse.d.ts.map +1 -0
- package/dist/lending/user-data/aave-v3-type/userCallBuild.d.ts +4 -0
- package/dist/lending/user-data/aave-v3-type/userCallBuild.d.ts.map +1 -0
- package/dist/lending/user-data/aave-v3-type/userCallParse.d.ts +8 -0
- package/dist/lending/user-data/aave-v3-type/userCallParse.d.ts.map +1 -0
- package/dist/lending/user-data/aave-v3-type/userCallParseYldr.d.ts +9 -0
- package/dist/lending/user-data/aave-v3-type/userCallParseYldr.d.ts.map +1 -0
- package/dist/lending/user-data/abis.d.ts +9200 -0
- package/dist/lending/user-data/abis.d.ts.map +1 -0
- package/dist/lending/user-data/compound-v3/index.d.ts +3 -0
- package/dist/lending/user-data/compound-v3/index.d.ts.map +1 -0
- package/dist/lending/user-data/compound-v3/userCallBuild.d.ts +4 -0
- package/dist/lending/user-data/compound-v3/userCallBuild.d.ts.map +1 -0
- package/dist/lending/user-data/compound-v3/userCallParse.d.ts +8 -0
- package/dist/lending/user-data/compound-v3/userCallParse.d.ts.map +1 -0
- package/dist/lending/user-data/fetchUserData.d.ts +28 -0
- package/dist/lending/user-data/fetchUserData.d.ts.map +1 -0
- package/dist/lending/user-data/index.d.ts +2 -0
- package/dist/lending/user-data/index.d.ts.map +1 -0
- package/dist/lending/user-data/init/userCallBuild.d.ts +8 -0
- package/dist/lending/user-data/init/userCallBuild.d.ts.map +1 -0
- package/dist/lending/user-data/init/userCallParse.d.ts +8 -0
- package/dist/lending/user-data/init/userCallParse.d.ts.map +1 -0
- package/dist/lending/user-data/morpho/decoder.d.ts +21 -0
- package/dist/lending/user-data/morpho/decoder.d.ts.map +1 -0
- package/dist/lending/user-data/morpho/morphoLib.d.ts +5 -0
- package/dist/lending/user-data/morpho/morphoLib.d.ts.map +1 -0
- package/dist/lending/user-data/morpho/types.d.ts +12 -0
- package/dist/lending/user-data/morpho/types.d.ts.map +1 -0
- package/dist/lending/user-data/morpho/userCallBuild.d.ts +8 -0
- package/dist/lending/user-data/morpho/userCallBuild.d.ts.map +1 -0
- package/dist/lending/user-data/morpho/userCallParse.d.ts +10 -0
- package/dist/lending/user-data/morpho/userCallParse.d.ts.map +1 -0
- package/dist/lending/user-data/utils/createGeneralUserState.d.ts +45 -0
- package/dist/lending/user-data/utils/createGeneralUserState.d.ts.map +1 -0
- package/dist/lending/user-data/utils/createMultiAccountStyleUserState.d.ts +16 -0
- package/dist/lending/user-data/utils/createMultiAccountStyleUserState.d.ts.map +1 -0
- package/dist/lending/user-data/utils/formatting/generalFormatters.d.ts +55 -0
- package/dist/lending/user-data/utils/formatting/generalFormatters.d.ts.map +1 -0
- package/dist/lending/user-data/utils/formatting/index.d.ts +2 -0
- package/dist/lending/user-data/utils/formatting/index.d.ts.map +1 -0
- package/dist/lending/user-data/utils/index.d.ts +8 -0
- package/dist/lending/user-data/utils/index.d.ts.map +1 -0
- package/dist/lending-pairs/computeLendingPairs.d.ts +52 -0
- package/dist/lending-pairs/computeLendingPairs.d.ts.map +1 -0
- package/dist/lending-pairs/index.d.ts +2 -0
- package/dist/lending-pairs/index.d.ts.map +1 -0
- package/dist/prices/defillama/index.d.ts +3 -0
- package/dist/prices/defillama/index.d.ts.map +1 -0
- package/dist/prices/index.d.ts +4 -0
- package/dist/prices/index.d.ts.map +1 -0
- package/dist/prices/main-prices/addresses/api3.d.ts +6 -0
- package/dist/prices/main-prices/addresses/api3.d.ts.map +1 -0
- package/dist/prices/main-prices/addresses/chainlink.d.ts +734 -0
- package/dist/prices/main-prices/addresses/chainlink.d.ts.map +1 -0
- package/dist/prices/main-prices/fetchOracleData.d.ts +17 -0
- package/dist/prices/main-prices/fetchOracleData.d.ts.map +1 -0
- package/dist/prices/main-prices/index.d.ts +2 -0
- package/dist/prices/main-prices/index.d.ts.map +1 -0
- package/dist/prices/pendle/fetchPendlePrices.d.ts +47 -0
- package/dist/prices/pendle/fetchPendlePrices.d.ts.map +1 -0
- package/dist/prices/pendle/index.d.ts +2 -0
- package/dist/prices/pendle/index.d.ts.map +1 -0
- package/dist/secp256k1-XP7IUONI.js +2208 -0
- package/dist/secp256k1-XP7IUONI.js.map +1 -0
- package/dist/types/apiReturnType.d.ts +72 -0
- package/dist/types/apiReturnType.d.ts.map +1 -0
- package/dist/types/general.d.ts +18 -0
- package/dist/types/general.d.ts.map +1 -0
- package/dist/types/index.d.ts +6 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/lender/aave-v2-types.d.ts +80 -0
- package/dist/types/lender/aave-v2-types.d.ts.map +1 -0
- package/dist/types/lender/aave-v3-types.d.ts +158 -0
- package/dist/types/lender/aave-v3-types.d.ts.map +1 -0
- package/dist/types/lender/compound-v3-types.d.ts +32 -0
- package/dist/types/lender/compound-v3-types.d.ts.map +1 -0
- package/dist/types/lender/init-types.d.ts +40 -0
- package/dist/types/lender/init-types.d.ts.map +1 -0
- package/dist/types/lender/morpho-types.d.ts +110 -0
- package/dist/types/lender/morpho-types.d.ts.map +1 -0
- package/dist/types/lenderTypes.d.ts +229 -0
- package/dist/types/lenderTypes.d.ts.map +1 -0
- package/dist/types/misc.d.ts +47 -0
- package/dist/types/misc.d.ts.map +1 -0
- package/dist/types/providers.d.ts +12 -0
- package/dist/types/providers.d.ts.map +1 -0
- package/dist/utils/constants.d.ts +7 -0
- package/dist/utils/constants.d.ts.map +1 -0
- package/dist/utils/index.d.ts +20 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/multicall.d.ts +6 -0
- package/dist/utils/multicall.d.ts.map +1 -0
- package/dist/utils/parsing.d.ts +17 -0
- package/dist/utils/parsing.d.ts.map +1 -0
- package/dist/yields/index.d.ts +21 -0
- package/dist/yields/index.d.ts.map +1 -0
- package/dist/yields/yieldTypes.d.ts +76 -0
- package/dist/yields/yieldTypes.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
export declare const ProtocolDataProviderAbi: readonly [{
|
|
2
|
+
readonly inputs: readonly [{
|
|
3
|
+
readonly internalType: "address";
|
|
4
|
+
readonly name: "asset";
|
|
5
|
+
readonly type: "address";
|
|
6
|
+
}];
|
|
7
|
+
readonly name: "getConfiguration";
|
|
8
|
+
readonly outputs: readonly [{
|
|
9
|
+
readonly components: readonly [{
|
|
10
|
+
readonly type: "uint256";
|
|
11
|
+
}];
|
|
12
|
+
readonly internalType: "struct DataTypes.ReserveConfigurationMap";
|
|
13
|
+
readonly name: "";
|
|
14
|
+
readonly type: "tuple";
|
|
15
|
+
}];
|
|
16
|
+
readonly stateMutability: "view";
|
|
17
|
+
readonly type: "function";
|
|
18
|
+
}, {
|
|
19
|
+
readonly type: "constructor";
|
|
20
|
+
readonly inputs: readonly [{
|
|
21
|
+
readonly type: "address";
|
|
22
|
+
readonly name: "addressesProvider";
|
|
23
|
+
readonly internalType: "contract ILendingPoolAddressesProvider";
|
|
24
|
+
}];
|
|
25
|
+
}, {
|
|
26
|
+
readonly type: "function";
|
|
27
|
+
readonly stateMutability: "view";
|
|
28
|
+
readonly outputs: readonly [{
|
|
29
|
+
readonly type: "address";
|
|
30
|
+
readonly name: "";
|
|
31
|
+
readonly internalType: "contract ILendingPoolAddressesProvider";
|
|
32
|
+
}];
|
|
33
|
+
readonly name: "ADDRESSES_PROVIDER";
|
|
34
|
+
readonly inputs: readonly [];
|
|
35
|
+
}, {
|
|
36
|
+
readonly type: "function";
|
|
37
|
+
readonly stateMutability: "view";
|
|
38
|
+
readonly outputs: readonly [{
|
|
39
|
+
readonly type: "tuple[]";
|
|
40
|
+
readonly name: "";
|
|
41
|
+
readonly internalType: "struct AaveProtocolDataProvider.TokenData[]";
|
|
42
|
+
readonly components: readonly [{
|
|
43
|
+
readonly type: "string";
|
|
44
|
+
}, {
|
|
45
|
+
readonly type: "address";
|
|
46
|
+
}];
|
|
47
|
+
}];
|
|
48
|
+
readonly name: "getAllATokens";
|
|
49
|
+
readonly inputs: readonly [];
|
|
50
|
+
}, {
|
|
51
|
+
readonly type: "function";
|
|
52
|
+
readonly stateMutability: "view";
|
|
53
|
+
readonly outputs: readonly [{
|
|
54
|
+
readonly type: "tuple[]";
|
|
55
|
+
readonly name: "";
|
|
56
|
+
readonly internalType: "struct AaveProtocolDataProvider.TokenData[]";
|
|
57
|
+
readonly components: readonly [{
|
|
58
|
+
readonly type: "string";
|
|
59
|
+
}, {
|
|
60
|
+
readonly type: "address";
|
|
61
|
+
}];
|
|
62
|
+
}];
|
|
63
|
+
readonly name: "getAllReservesTokens";
|
|
64
|
+
readonly inputs: readonly [];
|
|
65
|
+
}, {
|
|
66
|
+
readonly type: "function";
|
|
67
|
+
readonly stateMutability: "view";
|
|
68
|
+
readonly outputs: readonly [{
|
|
69
|
+
readonly type: "uint256";
|
|
70
|
+
readonly name: "decimals";
|
|
71
|
+
readonly internalType: "uint256";
|
|
72
|
+
}, {
|
|
73
|
+
readonly type: "uint256";
|
|
74
|
+
readonly name: "ltv";
|
|
75
|
+
readonly internalType: "uint256";
|
|
76
|
+
}, {
|
|
77
|
+
readonly type: "uint256";
|
|
78
|
+
readonly name: "liquidationThreshold";
|
|
79
|
+
readonly internalType: "uint256";
|
|
80
|
+
}, {
|
|
81
|
+
readonly type: "uint256";
|
|
82
|
+
readonly name: "liquidationBonus";
|
|
83
|
+
readonly internalType: "uint256";
|
|
84
|
+
}, {
|
|
85
|
+
readonly type: "uint256";
|
|
86
|
+
readonly name: "reserveFactor";
|
|
87
|
+
readonly internalType: "uint256";
|
|
88
|
+
}, {
|
|
89
|
+
readonly type: "bool";
|
|
90
|
+
readonly name: "usageAsCollateralEnabled";
|
|
91
|
+
readonly internalType: "bool";
|
|
92
|
+
}, {
|
|
93
|
+
readonly type: "bool";
|
|
94
|
+
readonly name: "borrowingEnabled";
|
|
95
|
+
readonly internalType: "bool";
|
|
96
|
+
}, {
|
|
97
|
+
readonly type: "bool";
|
|
98
|
+
readonly name: "stableBorrowRateEnabled";
|
|
99
|
+
readonly internalType: "bool";
|
|
100
|
+
}, {
|
|
101
|
+
readonly type: "bool";
|
|
102
|
+
readonly name: "isActive";
|
|
103
|
+
readonly internalType: "bool";
|
|
104
|
+
}, {
|
|
105
|
+
readonly type: "bool";
|
|
106
|
+
readonly name: "isFrozen";
|
|
107
|
+
readonly internalType: "bool";
|
|
108
|
+
}];
|
|
109
|
+
readonly name: "getReserveConfigurationData";
|
|
110
|
+
readonly inputs: readonly [{
|
|
111
|
+
readonly type: "address";
|
|
112
|
+
readonly name: "asset";
|
|
113
|
+
readonly internalType: "address";
|
|
114
|
+
}];
|
|
115
|
+
}, {
|
|
116
|
+
readonly type: "function";
|
|
117
|
+
readonly stateMutability: "view";
|
|
118
|
+
readonly outputs: readonly [{
|
|
119
|
+
readonly type: "uint256";
|
|
120
|
+
readonly name: "availableLiquidity";
|
|
121
|
+
readonly internalType: "uint256";
|
|
122
|
+
}, {
|
|
123
|
+
readonly type: "uint256";
|
|
124
|
+
readonly name: "totalStableDebt";
|
|
125
|
+
readonly internalType: "uint256";
|
|
126
|
+
}, {
|
|
127
|
+
readonly type: "uint256";
|
|
128
|
+
readonly name: "totalVariableDebt";
|
|
129
|
+
readonly internalType: "uint256";
|
|
130
|
+
}, {
|
|
131
|
+
readonly type: "uint256";
|
|
132
|
+
readonly name: "liquidityRate";
|
|
133
|
+
readonly internalType: "uint256";
|
|
134
|
+
}, {
|
|
135
|
+
readonly type: "uint256";
|
|
136
|
+
readonly name: "variableBorrowRate";
|
|
137
|
+
readonly internalType: "uint256";
|
|
138
|
+
}, {
|
|
139
|
+
readonly type: "uint256";
|
|
140
|
+
readonly name: "stableBorrowRate";
|
|
141
|
+
readonly internalType: "uint256";
|
|
142
|
+
}, {
|
|
143
|
+
readonly type: "uint256";
|
|
144
|
+
readonly name: "averageStableBorrowRate";
|
|
145
|
+
readonly internalType: "uint256";
|
|
146
|
+
}, {
|
|
147
|
+
readonly type: "uint256";
|
|
148
|
+
readonly name: "liquidityIndex";
|
|
149
|
+
readonly internalType: "uint256";
|
|
150
|
+
}, {
|
|
151
|
+
readonly type: "uint256";
|
|
152
|
+
readonly name: "variableBorrowIndex";
|
|
153
|
+
readonly internalType: "uint256";
|
|
154
|
+
}, {
|
|
155
|
+
readonly type: "uint40";
|
|
156
|
+
readonly name: "lastUpdateTimestamp";
|
|
157
|
+
readonly internalType: "uint40";
|
|
158
|
+
}];
|
|
159
|
+
readonly name: "getReserveData";
|
|
160
|
+
readonly inputs: readonly [{
|
|
161
|
+
readonly type: "address";
|
|
162
|
+
readonly name: "asset";
|
|
163
|
+
readonly internalType: "address";
|
|
164
|
+
}];
|
|
165
|
+
}, {
|
|
166
|
+
readonly type: "function";
|
|
167
|
+
readonly stateMutability: "view";
|
|
168
|
+
readonly outputs: readonly [{
|
|
169
|
+
readonly type: "address";
|
|
170
|
+
readonly name: "aTokenAddress";
|
|
171
|
+
readonly internalType: "address";
|
|
172
|
+
}, {
|
|
173
|
+
readonly type: "address";
|
|
174
|
+
readonly name: "stableDebtTokenAddress";
|
|
175
|
+
readonly internalType: "address";
|
|
176
|
+
}, {
|
|
177
|
+
readonly type: "address";
|
|
178
|
+
readonly name: "variableDebtTokenAddress";
|
|
179
|
+
readonly internalType: "address";
|
|
180
|
+
}];
|
|
181
|
+
readonly name: "getReserveTokensAddresses";
|
|
182
|
+
readonly inputs: readonly [{
|
|
183
|
+
readonly type: "address";
|
|
184
|
+
readonly name: "asset";
|
|
185
|
+
readonly internalType: "address";
|
|
186
|
+
}];
|
|
187
|
+
}, {
|
|
188
|
+
readonly type: "function";
|
|
189
|
+
readonly stateMutability: "view";
|
|
190
|
+
readonly outputs: readonly [{
|
|
191
|
+
readonly type: "uint256";
|
|
192
|
+
readonly name: "currentATokenBalance";
|
|
193
|
+
readonly internalType: "uint256";
|
|
194
|
+
}, {
|
|
195
|
+
readonly type: "uint256";
|
|
196
|
+
readonly name: "currentStableDebt";
|
|
197
|
+
readonly internalType: "uint256";
|
|
198
|
+
}, {
|
|
199
|
+
readonly type: "uint256";
|
|
200
|
+
readonly name: "currentVariableDebt";
|
|
201
|
+
readonly internalType: "uint256";
|
|
202
|
+
}, {
|
|
203
|
+
readonly type: "uint256";
|
|
204
|
+
readonly name: "principalStableDebt";
|
|
205
|
+
readonly internalType: "uint256";
|
|
206
|
+
}, {
|
|
207
|
+
readonly type: "uint256";
|
|
208
|
+
readonly name: "scaledVariableDebt";
|
|
209
|
+
readonly internalType: "uint256";
|
|
210
|
+
}, {
|
|
211
|
+
readonly type: "uint256";
|
|
212
|
+
readonly name: "stableBorrowRate";
|
|
213
|
+
readonly internalType: "uint256";
|
|
214
|
+
}, {
|
|
215
|
+
readonly type: "uint256";
|
|
216
|
+
readonly name: "liquidityRate";
|
|
217
|
+
readonly internalType: "uint256";
|
|
218
|
+
}, {
|
|
219
|
+
readonly type: "uint40";
|
|
220
|
+
readonly name: "stableRateLastUpdated";
|
|
221
|
+
readonly internalType: "uint40";
|
|
222
|
+
}, {
|
|
223
|
+
readonly type: "bool";
|
|
224
|
+
readonly name: "usageAsCollateralEnabled";
|
|
225
|
+
readonly internalType: "bool";
|
|
226
|
+
}];
|
|
227
|
+
readonly name: "getUserReserveData";
|
|
228
|
+
readonly inputs: readonly [{
|
|
229
|
+
readonly type: "address";
|
|
230
|
+
readonly name: "asset";
|
|
231
|
+
readonly internalType: "address";
|
|
232
|
+
}, {
|
|
233
|
+
readonly type: "address";
|
|
234
|
+
readonly name: "user";
|
|
235
|
+
readonly internalType: "address";
|
|
236
|
+
}];
|
|
237
|
+
}];
|
|
238
|
+
//# sourceMappingURL=ProtocolDataProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProtocolDataProvider.d.ts","sourceRoot":"","sources":["../../../src/abis/aave-v2/ProtocolDataProvider.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuT1B,CAAA"}
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
export declare const YLDRProtocolDataProviderAbi: readonly [{
|
|
2
|
+
readonly type: "constructor";
|
|
3
|
+
readonly inputs: readonly [{
|
|
4
|
+
readonly type: "address";
|
|
5
|
+
readonly name: "addressesProvider";
|
|
6
|
+
readonly internalType: "contract ILendingPoolAddressesProvider";
|
|
7
|
+
}];
|
|
8
|
+
}, {
|
|
9
|
+
readonly type: "function";
|
|
10
|
+
readonly stateMutability: "view";
|
|
11
|
+
readonly outputs: readonly [{
|
|
12
|
+
readonly type: "address";
|
|
13
|
+
readonly name: "";
|
|
14
|
+
readonly internalType: "contract ILendingPoolAddressesProvider";
|
|
15
|
+
}];
|
|
16
|
+
readonly name: "ADDRESSES_PROVIDER";
|
|
17
|
+
readonly inputs: readonly [];
|
|
18
|
+
}, {
|
|
19
|
+
readonly type: "function";
|
|
20
|
+
readonly stateMutability: "view";
|
|
21
|
+
readonly outputs: readonly [{
|
|
22
|
+
readonly type: "tuple[]";
|
|
23
|
+
readonly name: "";
|
|
24
|
+
readonly internalType: "struct AaveProtocolDataProvider.TokenData[]";
|
|
25
|
+
readonly components: readonly [{
|
|
26
|
+
readonly type: "string";
|
|
27
|
+
}, {
|
|
28
|
+
readonly type: "address";
|
|
29
|
+
}];
|
|
30
|
+
}];
|
|
31
|
+
readonly name: "getAllATokens";
|
|
32
|
+
readonly inputs: readonly [];
|
|
33
|
+
}, {
|
|
34
|
+
readonly type: "function";
|
|
35
|
+
readonly stateMutability: "view";
|
|
36
|
+
readonly outputs: readonly [{
|
|
37
|
+
readonly type: "tuple[]";
|
|
38
|
+
readonly name: "";
|
|
39
|
+
readonly internalType: "struct AaveProtocolDataProvider.TokenData[]";
|
|
40
|
+
readonly components: readonly [{
|
|
41
|
+
readonly type: "string";
|
|
42
|
+
}, {
|
|
43
|
+
readonly type: "address";
|
|
44
|
+
}];
|
|
45
|
+
}];
|
|
46
|
+
readonly name: "getAllReservesTokens";
|
|
47
|
+
readonly inputs: readonly [];
|
|
48
|
+
}, {
|
|
49
|
+
readonly inputs: readonly [{
|
|
50
|
+
readonly internalType: "address";
|
|
51
|
+
readonly name: "asset";
|
|
52
|
+
readonly type: "address";
|
|
53
|
+
}];
|
|
54
|
+
readonly name: "getReserveConfigurationData";
|
|
55
|
+
readonly outputs: readonly [{
|
|
56
|
+
readonly internalType: "uint256";
|
|
57
|
+
readonly name: "decimals";
|
|
58
|
+
readonly type: "uint256";
|
|
59
|
+
}, {
|
|
60
|
+
readonly internalType: "uint256";
|
|
61
|
+
readonly name: "ltv";
|
|
62
|
+
readonly type: "uint256";
|
|
63
|
+
}, {
|
|
64
|
+
readonly internalType: "uint256";
|
|
65
|
+
readonly name: "liquidationThreshold";
|
|
66
|
+
readonly type: "uint256";
|
|
67
|
+
}, {
|
|
68
|
+
readonly internalType: "uint256";
|
|
69
|
+
readonly name: "liquidationBonus";
|
|
70
|
+
readonly type: "uint256";
|
|
71
|
+
}, {
|
|
72
|
+
readonly internalType: "uint256";
|
|
73
|
+
readonly name: "reserveFactor";
|
|
74
|
+
readonly type: "uint256";
|
|
75
|
+
}, {
|
|
76
|
+
readonly internalType: "bool";
|
|
77
|
+
readonly name: "usageAsCollateralEnabled";
|
|
78
|
+
readonly type: "bool";
|
|
79
|
+
}, {
|
|
80
|
+
readonly internalType: "bool";
|
|
81
|
+
readonly name: "borrowingEnabled";
|
|
82
|
+
readonly type: "bool";
|
|
83
|
+
}, {
|
|
84
|
+
readonly internalType: "bool";
|
|
85
|
+
readonly name: "isActive";
|
|
86
|
+
readonly type: "bool";
|
|
87
|
+
}, {
|
|
88
|
+
readonly internalType: "bool";
|
|
89
|
+
readonly name: "isFrozen";
|
|
90
|
+
readonly type: "bool";
|
|
91
|
+
}];
|
|
92
|
+
readonly stateMutability: "view";
|
|
93
|
+
readonly type: "function";
|
|
94
|
+
}, {
|
|
95
|
+
readonly inputs: readonly [{
|
|
96
|
+
readonly internalType: "address";
|
|
97
|
+
readonly name: "asset";
|
|
98
|
+
readonly type: "address";
|
|
99
|
+
}];
|
|
100
|
+
readonly name: "getReserveData";
|
|
101
|
+
readonly outputs: readonly [{
|
|
102
|
+
readonly internalType: "uint256";
|
|
103
|
+
readonly name: "accruedToTreasuryScaled";
|
|
104
|
+
readonly type: "uint256";
|
|
105
|
+
}, {
|
|
106
|
+
readonly internalType: "uint256";
|
|
107
|
+
readonly name: "totalYToken";
|
|
108
|
+
readonly type: "uint256";
|
|
109
|
+
}, {
|
|
110
|
+
readonly internalType: "uint256";
|
|
111
|
+
readonly name: "totalVariableDebt";
|
|
112
|
+
readonly type: "uint256";
|
|
113
|
+
}, {
|
|
114
|
+
readonly internalType: "uint256";
|
|
115
|
+
readonly name: "liquidityRate";
|
|
116
|
+
readonly type: "uint256";
|
|
117
|
+
}, {
|
|
118
|
+
readonly internalType: "uint256";
|
|
119
|
+
readonly name: "variableBorrowRate";
|
|
120
|
+
readonly type: "uint256";
|
|
121
|
+
}, {
|
|
122
|
+
readonly internalType: "uint256";
|
|
123
|
+
readonly name: "liquidityIndex";
|
|
124
|
+
readonly type: "uint256";
|
|
125
|
+
}, {
|
|
126
|
+
readonly internalType: "uint256";
|
|
127
|
+
readonly name: "variableBorrowIndex";
|
|
128
|
+
readonly type: "uint256";
|
|
129
|
+
}, {
|
|
130
|
+
readonly internalType: "uint40";
|
|
131
|
+
readonly name: "lastUpdateTimestamp";
|
|
132
|
+
readonly type: "uint40";
|
|
133
|
+
}];
|
|
134
|
+
readonly stateMutability: "view";
|
|
135
|
+
readonly type: "function";
|
|
136
|
+
}, {
|
|
137
|
+
readonly type: "function";
|
|
138
|
+
readonly stateMutability: "view";
|
|
139
|
+
readonly outputs: readonly [{
|
|
140
|
+
readonly type: "address";
|
|
141
|
+
readonly name: "aTokenAddress";
|
|
142
|
+
readonly internalType: "address";
|
|
143
|
+
}, {
|
|
144
|
+
readonly type: "address";
|
|
145
|
+
readonly name: "stableDebtTokenAddress";
|
|
146
|
+
readonly internalType: "address";
|
|
147
|
+
}, {
|
|
148
|
+
readonly type: "address";
|
|
149
|
+
readonly name: "variableDebtTokenAddress";
|
|
150
|
+
readonly internalType: "address";
|
|
151
|
+
}];
|
|
152
|
+
readonly name: "getReserveTokensAddresses";
|
|
153
|
+
readonly inputs: readonly [{
|
|
154
|
+
readonly type: "address";
|
|
155
|
+
readonly name: "asset";
|
|
156
|
+
readonly internalType: "address";
|
|
157
|
+
}];
|
|
158
|
+
}, {
|
|
159
|
+
readonly type: "function";
|
|
160
|
+
readonly stateMutability: "view";
|
|
161
|
+
readonly outputs: readonly [{
|
|
162
|
+
readonly type: "uint256";
|
|
163
|
+
readonly name: "currentATokenBalance";
|
|
164
|
+
readonly internalType: "uint256";
|
|
165
|
+
}, {
|
|
166
|
+
readonly type: "uint256";
|
|
167
|
+
readonly name: "currentStableDebt";
|
|
168
|
+
readonly internalType: "uint256";
|
|
169
|
+
}, {
|
|
170
|
+
readonly type: "uint256";
|
|
171
|
+
readonly name: "currentVariableDebt";
|
|
172
|
+
readonly internalType: "uint256";
|
|
173
|
+
}, {
|
|
174
|
+
readonly type: "uint256";
|
|
175
|
+
readonly name: "principalStableDebt";
|
|
176
|
+
readonly internalType: "uint256";
|
|
177
|
+
}, {
|
|
178
|
+
readonly type: "uint256";
|
|
179
|
+
readonly name: "scaledVariableDebt";
|
|
180
|
+
readonly internalType: "uint256";
|
|
181
|
+
}, {
|
|
182
|
+
readonly type: "uint256";
|
|
183
|
+
readonly name: "stableBorrowRate";
|
|
184
|
+
readonly internalType: "uint256";
|
|
185
|
+
}, {
|
|
186
|
+
readonly type: "uint256";
|
|
187
|
+
readonly name: "liquidityRate";
|
|
188
|
+
readonly internalType: "uint256";
|
|
189
|
+
}, {
|
|
190
|
+
readonly type: "uint40";
|
|
191
|
+
readonly name: "stableRateLastUpdated";
|
|
192
|
+
readonly internalType: "uint40";
|
|
193
|
+
}, {
|
|
194
|
+
readonly type: "bool";
|
|
195
|
+
readonly name: "usageAsCollateralEnabled";
|
|
196
|
+
readonly internalType: "bool";
|
|
197
|
+
}];
|
|
198
|
+
readonly name: "getUserReserveData";
|
|
199
|
+
readonly inputs: readonly [{
|
|
200
|
+
readonly type: "address";
|
|
201
|
+
readonly name: "asset";
|
|
202
|
+
readonly internalType: "address";
|
|
203
|
+
}, {
|
|
204
|
+
readonly type: "address";
|
|
205
|
+
readonly name: "user";
|
|
206
|
+
readonly internalType: "address";
|
|
207
|
+
}];
|
|
208
|
+
}];
|
|
209
|
+
//# sourceMappingURL=YLDR.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"YLDR.d.ts","sourceRoot":"","sources":["../../../src/abis/aave-v2/YLDR.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkO9B,CAAA"}
|