@1delta/margin-fetcher 0.0.75 → 0.0.77
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/package.json +1 -1
- package/dist/_esm-32O7VXQT.js +0 -3641
- package/dist/_esm-32O7VXQT.js.map +0 -1
- package/dist/abis/aave/AaveOracle.d.ts +0 -50
- package/dist/abis/aave/AaveOracle.d.ts.map +0 -1
- package/dist/abis/aave/AavePoolAndDataProvider.d.ts +0 -1618
- package/dist/abis/aave/AavePoolAndDataProvider.d.ts.map +0 -1
- package/dist/abis/aave/AavePoolV3Upgraded.d.ts +0 -1134
- package/dist/abis/aave/AavePoolV3Upgraded.d.ts.map +0 -1
- package/dist/abis/aave/AaveV3ProtocolDataProvider.d.ts +0 -420
- package/dist/abis/aave/AaveV3ProtocolDataProvider.d.ts.map +0 -1
- package/dist/abis/aave/VariableDebtToken.d.ts +0 -635
- package/dist/abis/aave/VariableDebtToken.d.ts.map +0 -1
- package/dist/abis/aave-v2/ProtocolDataProvider.d.ts +0 -238
- package/dist/abis/aave-v2/ProtocolDataProvider.d.ts.map +0 -1
- package/dist/abis/aave-v2/YLDR.d.ts +0 -209
- package/dist/abis/aave-v2/YLDR.d.ts.map +0 -1
- package/dist/abis/aave-v3/AavePoolDataProviderLegacy.d.ts +0 -406
- package/dist/abis/aave-v3/AavePoolDataProviderLegacy.d.ts.map +0 -1
- package/dist/abis/aave-v3/AavePoolLegacy.d.ts +0 -819
- package/dist/abis/aave-v3/AavePoolLegacy.d.ts.map +0 -1
- package/dist/abis/aave-v3/YLDR.d.ts +0 -36
- package/dist/abis/aave-v3/YLDR.d.ts.map +0 -1
- package/dist/abis/aurelius/Rewarder.d.ts +0 -90
- package/dist/abis/aurelius/Rewarder.d.ts.map +0 -1
- package/dist/abis/compound-v2/CompoundLens.d.ts +0 -656
- package/dist/abis/compound-v2/CompoundLens.d.ts.map +0 -1
- package/dist/abis/compound-v2/Comptroller.d.ts +0 -1615
- package/dist/abis/compound-v2/Comptroller.d.ts.map +0 -1
- package/dist/abis/compound-v3/Comet.d.ts +0 -1382
- package/dist/abis/compound-v3/Comet.d.ts.map +0 -1
- package/dist/abis/compound-v3/CometExt.d.ts +0 -411
- package/dist/abis/compound-v3/CometExt.d.ts.map +0 -1
- package/dist/abis/compound-v3/CometLens.d.ts +0 -152
- package/dist/abis/compound-v3/CometLens.d.ts.map +0 -1
- package/dist/abis/compound-v3/CometRewards.d.ts +0 -253
- package/dist/abis/compound-v3/CometRewards.d.ts.map +0 -1
- package/dist/abis/compound-v3/IrGetter.d.ts +0 -24
- package/dist/abis/compound-v3/IrGetter.d.ts.map +0 -1
- package/dist/abis/flashloan-united/flashAbi.d.ts +0 -54
- package/dist/abis/flashloan-united/flashAbi.d.ts.map +0 -1
- package/dist/abis/init/InitLens.d.ts +0 -158
- package/dist/abis/init/InitLens.d.ts.map +0 -1
- package/dist/abis/lendle/IncentivesController.d.ts +0 -404
- package/dist/abis/lendle/IncentivesController.d.ts.map +0 -1
- package/dist/abis/lendle/MultiFeeDistribution.d.ts +0 -624
- package/dist/abis/lendle/MultiFeeDistribution.d.ts.map +0 -1
- package/dist/abis/meridian/PullRewardsIncentivesController.d.ts +0 -74
- package/dist/abis/meridian/PullRewardsIncentivesController.d.ts.map +0 -1
- package/dist/abis/morpho/blue.d.ts +0 -76
- package/dist/abis/morpho/blue.d.ts.map +0 -1
- package/dist/abis/morpho/lens.d.ts +0 -39
- package/dist/abis/morpho/lens.d.ts.map +0 -1
- package/dist/abis/multicall/Multicall.d.ts +0 -80
- package/dist/abis/multicall/Multicall.d.ts.map +0 -1
- package/dist/abis/oracle/AaveOracle.d.ts +0 -50
- package/dist/abis/oracle/AaveOracle.d.ts.map +0 -1
- package/dist/abis/oracle/Api3Oracle.d.ts +0 -48
- package/dist/abis/oracle/Api3Oracle.d.ts.map +0 -1
- package/dist/abis/oracle/ChainLinkAggregator.d.ts +0 -372
- package/dist/abis/oracle/ChainLinkAggregator.d.ts.map +0 -1
- package/dist/abis/oracle/ProxyOracle.d.ts +0 -12
- package/dist/abis/oracle/ProxyOracle.d.ts.map +0 -1
- package/dist/abis/oracle/RWADynamicOracle.d.ts +0 -12
- package/dist/abis/oracle/RWADynamicOracle.d.ts.map +0 -1
- package/dist/abis/oracle/UniV3.d.ts +0 -50
- package/dist/abis/oracle/UniV3.d.ts.map +0 -1
- package/dist/abis/oracle/UniswapV2Pair.d.ts +0 -513
- package/dist/abis/oracle/UniswapV2Pair.d.ts.map +0 -1
- package/dist/assets/index.d.ts +0 -15
- package/dist/assets/index.d.ts.map +0 -1
- package/dist/assets/liquidityThresholds.d.ts +0 -39
- package/dist/assets/liquidityThresholds.d.ts.map +0 -1
- package/dist/ccip-DSCWXCSY-ZTHOXJV6.js +0 -4
- package/dist/ccip-DSCWXCSY-ZTHOXJV6.js.map +0 -1
- package/dist/ccip-V63HKYUC.js +0 -5
- package/dist/ccip-V63HKYUC.js.map +0 -1
- package/dist/chunk-5R4LXFCO.js +0 -4078
- package/dist/chunk-5R4LXFCO.js.map +0 -1
- package/dist/chunk-BYTNVMX7.js +0 -369
- package/dist/chunk-BYTNVMX7.js.map +0 -1
- package/dist/chunk-O4JCFUFK.js +0 -3974
- package/dist/chunk-O4JCFUFK.js.map +0 -1
- package/dist/chunk-PR4QN5HX.js +0 -39
- package/dist/chunk-PR4QN5HX.js.map +0 -1
- package/dist/flash-liquidity/assets.d.ts +0 -21
- package/dist/flash-liquidity/assets.d.ts.map +0 -1
- package/dist/flash-liquidity/fetchLiquidity.d.ts +0 -4
- package/dist/flash-liquidity/fetchLiquidity.d.ts.map +0 -1
- package/dist/flash-liquidity/index.d.ts +0 -3
- package/dist/flash-liquidity/index.d.ts.map +0 -1
- package/dist/flash-liquidity/types.d.ts +0 -24
- package/dist/flash-liquidity/types.d.ts.map +0 -1
- package/dist/flash-liquidity/utils.d.ts +0 -12
- package/dist/flash-liquidity/utils.d.ts.map +0 -1
- package/dist/index.d.ts +0 -8
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -24447
- package/dist/index.js.map +0 -1
- package/dist/lending/aave-v2-type/misc.d.ts +0 -8
- package/dist/lending/aave-v2-type/misc.d.ts.map +0 -1
- package/dist/lending/aave-v2-type/publicCallBuild.d.ts +0 -7
- package/dist/lending/aave-v2-type/publicCallBuild.d.ts.map +0 -1
- package/dist/lending/aave-v2-type/publicCallParse.d.ts +0 -8
- package/dist/lending/aave-v2-type/publicCallParse.d.ts.map +0 -1
- package/dist/lending/aave-v3-type/publicCallBuild.d.ts +0 -5
- package/dist/lending/aave-v3-type/publicCallBuild.d.ts.map +0 -1
- package/dist/lending/aave-v3-type/publicCallParse.d.ts +0 -9
- package/dist/lending/aave-v3-type/publicCallParse.d.ts.map +0 -1
- package/dist/lending/addresses/aave.d.ts +0 -10
- package/dist/lending/addresses/aave.d.ts.map +0 -1
- package/dist/lending/addresses/aaveV2.d.ts +0 -6
- package/dist/lending/addresses/aaveV2.d.ts.map +0 -1
- package/dist/lending/addresses/aurelius.d.ts +0 -12
- package/dist/lending/addresses/aurelius.d.ts.map +0 -1
- package/dist/lending/addresses/compoundV3.d.ts +0 -9
- package/dist/lending/addresses/compoundV3.d.ts.map +0 -1
- package/dist/lending/addresses/contracts.d.ts +0 -4
- package/dist/lending/addresses/contracts.d.ts.map +0 -1
- package/dist/lending/addresses/hana.d.ts +0 -6
- package/dist/lending/addresses/hana.d.ts.map +0 -1
- package/dist/lending/addresses/index.d.ts +0 -2
- package/dist/lending/addresses/index.d.ts.map +0 -1
- package/dist/lending/addresses/init.d.ts +0 -4
- package/dist/lending/addresses/init.d.ts.map +0 -1
- package/dist/lending/addresses/lendle.d.ts +0 -12
- package/dist/lending/addresses/lendle.d.ts.map +0 -1
- package/dist/lending/addresses/meridian.d.ts +0 -15
- package/dist/lending/addresses/meridian.d.ts.map +0 -1
- package/dist/lending/addresses/takotako.d.ts +0 -12
- package/dist/lending/addresses/takotako.d.ts.map +0 -1
- package/dist/lending/compound-v3/publicCallBuild.d.ts +0 -3
- package/dist/lending/compound-v3/publicCallBuild.d.ts.map +0 -1
- package/dist/lending/compound-v3/publicCallParse.d.ts +0 -8
- package/dist/lending/compound-v3/publicCallParse.d.ts.map +0 -1
- package/dist/lending/fetchLender.d.ts +0 -9
- package/dist/lending/fetchLender.d.ts.map +0 -1
- package/dist/lending/fetchLenderAll.d.ts +0 -9
- package/dist/lending/fetchLenderAll.d.ts.map +0 -1
- package/dist/lending/fetchLenderExt.d.ts +0 -9
- package/dist/lending/fetchLenderExt.d.ts.map +0 -1
- package/dist/lending/index.d.ts +0 -6
- package/dist/lending/index.d.ts.map +0 -1
- package/dist/lending/init/publicCallBuild.d.ts +0 -7
- package/dist/lending/init/publicCallBuild.d.ts.map +0 -1
- package/dist/lending/init/publicCallParse.d.ts +0 -11
- package/dist/lending/init/publicCallParse.d.ts.map +0 -1
- package/dist/lending/meta/index.d.ts +0 -19
- package/dist/lending/meta/index.d.ts.map +0 -1
- package/dist/lending/morpho/chainsConfigs.d.ts +0 -21
- package/dist/lending/morpho/chainsConfigs.d.ts.map +0 -1
- package/dist/lending/morpho/constants/markets.d.ts +0 -4
- package/dist/lending/morpho/constants/markets.d.ts.map +0 -1
- package/dist/lending/morpho/convertPublic.d.ts +0 -7
- package/dist/lending/morpho/convertPublic.d.ts.map +0 -1
- package/dist/lending/morpho/fetchPublic.d.ts +0 -3
- package/dist/lending/morpho/fetchPublic.d.ts.map +0 -1
- package/dist/lending/morpho/getMarketsFromChain.d.ts +0 -8
- package/dist/lending/morpho/getMarketsFromChain.d.ts.map +0 -1
- package/dist/lending/morpho/publicCallBuild.d.ts +0 -10
- package/dist/lending/morpho/publicCallBuild.d.ts.map +0 -1
- package/dist/lending/morpho/utils/evmParser.d.ts +0 -22
- package/dist/lending/morpho/utils/evmParser.d.ts.map +0 -1
- package/dist/lending/morpho/utils/mathLib.d.ts +0 -125
- package/dist/lending/morpho/utils/mathLib.d.ts.map +0 -1
- package/dist/lending/morpho/utils/parsers.d.ts +0 -10
- package/dist/lending/morpho/utils/parsers.d.ts.map +0 -1
- package/dist/lending/user-data/aave-v2-type/userCallBuild.d.ts +0 -4
- package/dist/lending/user-data/aave-v2-type/userCallBuild.d.ts.map +0 -1
- package/dist/lending/user-data/aave-v2-type/userCallParse.d.ts +0 -8
- package/dist/lending/user-data/aave-v2-type/userCallParse.d.ts.map +0 -1
- package/dist/lending/user-data/aave-v3-type/userCallBuild.d.ts +0 -4
- package/dist/lending/user-data/aave-v3-type/userCallBuild.d.ts.map +0 -1
- package/dist/lending/user-data/aave-v3-type/userCallParse.d.ts +0 -8
- package/dist/lending/user-data/aave-v3-type/userCallParse.d.ts.map +0 -1
- package/dist/lending/user-data/aave-v3-type/userCallParseYldr.d.ts +0 -9
- package/dist/lending/user-data/aave-v3-type/userCallParseYldr.d.ts.map +0 -1
- package/dist/lending/user-data/abis.d.ts +0 -9200
- package/dist/lending/user-data/abis.d.ts.map +0 -1
- package/dist/lending/user-data/compound-v3/index.d.ts +0 -3
- package/dist/lending/user-data/compound-v3/index.d.ts.map +0 -1
- package/dist/lending/user-data/compound-v3/userCallBuild.d.ts +0 -4
- package/dist/lending/user-data/compound-v3/userCallBuild.d.ts.map +0 -1
- package/dist/lending/user-data/compound-v3/userCallParse.d.ts +0 -8
- package/dist/lending/user-data/compound-v3/userCallParse.d.ts.map +0 -1
- package/dist/lending/user-data/fetchUserData.d.ts +0 -28
- package/dist/lending/user-data/fetchUserData.d.ts.map +0 -1
- package/dist/lending/user-data/index.d.ts +0 -2
- package/dist/lending/user-data/index.d.ts.map +0 -1
- package/dist/lending/user-data/init/userCallBuild.d.ts +0 -8
- package/dist/lending/user-data/init/userCallBuild.d.ts.map +0 -1
- package/dist/lending/user-data/init/userCallParse.d.ts +0 -8
- package/dist/lending/user-data/init/userCallParse.d.ts.map +0 -1
- package/dist/lending/user-data/morpho/decoder.d.ts +0 -21
- package/dist/lending/user-data/morpho/decoder.d.ts.map +0 -1
- package/dist/lending/user-data/morpho/morphoLib.d.ts +0 -5
- package/dist/lending/user-data/morpho/morphoLib.d.ts.map +0 -1
- package/dist/lending/user-data/morpho/types.d.ts +0 -12
- package/dist/lending/user-data/morpho/types.d.ts.map +0 -1
- package/dist/lending/user-data/morpho/userCallBuild.d.ts +0 -8
- package/dist/lending/user-data/morpho/userCallBuild.d.ts.map +0 -1
- package/dist/lending/user-data/morpho/userCallParse.d.ts +0 -10
- package/dist/lending/user-data/morpho/userCallParse.d.ts.map +0 -1
- package/dist/lending/user-data/utils/createGeneralUserState.d.ts +0 -45
- package/dist/lending/user-data/utils/createGeneralUserState.d.ts.map +0 -1
- package/dist/lending/user-data/utils/createMultiAccountStyleUserState.d.ts +0 -16
- package/dist/lending/user-data/utils/createMultiAccountStyleUserState.d.ts.map +0 -1
- package/dist/lending/user-data/utils/formatting/generalFormatters.d.ts +0 -55
- package/dist/lending/user-data/utils/formatting/generalFormatters.d.ts.map +0 -1
- package/dist/lending/user-data/utils/formatting/index.d.ts +0 -2
- package/dist/lending/user-data/utils/formatting/index.d.ts.map +0 -1
- package/dist/lending/user-data/utils/index.d.ts +0 -8
- package/dist/lending/user-data/utils/index.d.ts.map +0 -1
- package/dist/lending-pairs/computeLendingPairs.d.ts +0 -52
- package/dist/lending-pairs/computeLendingPairs.d.ts.map +0 -1
- package/dist/lending-pairs/index.d.ts +0 -2
- package/dist/lending-pairs/index.d.ts.map +0 -1
- package/dist/prices/defillama/index.d.ts +0 -3
- package/dist/prices/defillama/index.d.ts.map +0 -1
- package/dist/prices/index.d.ts +0 -4
- package/dist/prices/index.d.ts.map +0 -1
- package/dist/prices/main-prices/addresses/api3.d.ts +0 -6
- package/dist/prices/main-prices/addresses/api3.d.ts.map +0 -1
- package/dist/prices/main-prices/addresses/chainlink.d.ts +0 -734
- package/dist/prices/main-prices/addresses/chainlink.d.ts.map +0 -1
- package/dist/prices/main-prices/fetchOracleData.d.ts +0 -17
- package/dist/prices/main-prices/fetchOracleData.d.ts.map +0 -1
- package/dist/prices/main-prices/index.d.ts +0 -2
- package/dist/prices/main-prices/index.d.ts.map +0 -1
- package/dist/prices/pendle/fetchPendlePrices.d.ts +0 -47
- package/dist/prices/pendle/fetchPendlePrices.d.ts.map +0 -1
- package/dist/prices/pendle/index.d.ts +0 -2
- package/dist/prices/pendle/index.d.ts.map +0 -1
- package/dist/secp256k1-XP7IUONI.js +0 -2208
- package/dist/secp256k1-XP7IUONI.js.map +0 -1
- package/dist/types/apiReturnType.d.ts +0 -72
- package/dist/types/apiReturnType.d.ts.map +0 -1
- package/dist/types/general.d.ts +0 -18
- package/dist/types/general.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -6
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/lender/aave-v2-types.d.ts +0 -80
- package/dist/types/lender/aave-v2-types.d.ts.map +0 -1
- package/dist/types/lender/aave-v3-types.d.ts +0 -158
- package/dist/types/lender/aave-v3-types.d.ts.map +0 -1
- package/dist/types/lender/compound-v3-types.d.ts +0 -32
- package/dist/types/lender/compound-v3-types.d.ts.map +0 -1
- package/dist/types/lender/init-types.d.ts +0 -40
- package/dist/types/lender/init-types.d.ts.map +0 -1
- package/dist/types/lender/morpho-types.d.ts +0 -110
- package/dist/types/lender/morpho-types.d.ts.map +0 -1
- package/dist/types/lenderTypes.d.ts +0 -229
- package/dist/types/lenderTypes.d.ts.map +0 -1
- package/dist/types/misc.d.ts +0 -47
- package/dist/types/misc.d.ts.map +0 -1
- package/dist/types/providers.d.ts +0 -12
- package/dist/types/providers.d.ts.map +0 -1
- package/dist/utils/constants.d.ts +0 -7
- package/dist/utils/constants.d.ts.map +0 -1
- package/dist/utils/index.d.ts +0 -20
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/multicall.d.ts +0 -6
- package/dist/utils/multicall.d.ts.map +0 -1
- package/dist/utils/parsing.d.ts +0 -17
- package/dist/utils/parsing.d.ts.map +0 -1
- package/dist/yields/index.d.ts +0 -21
- package/dist/yields/index.d.ts.map +0 -1
- package/dist/yields/yieldTypes.d.ts +0 -76
- package/dist/yields/yieldTypes.d.ts.map +0 -1
|
@@ -1,253 +0,0 @@
|
|
|
1
|
-
export declare const CometRewardsAbi: readonly [{
|
|
2
|
-
readonly inputs: readonly [{
|
|
3
|
-
readonly internalType: "address";
|
|
4
|
-
readonly name: "governor_";
|
|
5
|
-
readonly type: "address";
|
|
6
|
-
}];
|
|
7
|
-
readonly stateMutability: "nonpayable";
|
|
8
|
-
readonly type: "constructor";
|
|
9
|
-
}, {
|
|
10
|
-
readonly inputs: readonly [{
|
|
11
|
-
readonly internalType: "address";
|
|
12
|
-
readonly name: "";
|
|
13
|
-
readonly type: "address";
|
|
14
|
-
}];
|
|
15
|
-
readonly name: "AlreadyConfigured";
|
|
16
|
-
readonly type: "error";
|
|
17
|
-
}, {
|
|
18
|
-
readonly inputs: readonly [{
|
|
19
|
-
readonly internalType: "uint256";
|
|
20
|
-
readonly name: "";
|
|
21
|
-
readonly type: "uint256";
|
|
22
|
-
}];
|
|
23
|
-
readonly name: "InvalidUInt64";
|
|
24
|
-
readonly type: "error";
|
|
25
|
-
}, {
|
|
26
|
-
readonly inputs: readonly [{
|
|
27
|
-
readonly internalType: "address";
|
|
28
|
-
readonly name: "";
|
|
29
|
-
readonly type: "address";
|
|
30
|
-
}];
|
|
31
|
-
readonly name: "NotPermitted";
|
|
32
|
-
readonly type: "error";
|
|
33
|
-
}, {
|
|
34
|
-
readonly inputs: readonly [{
|
|
35
|
-
readonly internalType: "address";
|
|
36
|
-
readonly name: "";
|
|
37
|
-
readonly type: "address";
|
|
38
|
-
}];
|
|
39
|
-
readonly name: "NotSupported";
|
|
40
|
-
readonly type: "error";
|
|
41
|
-
}, {
|
|
42
|
-
readonly inputs: readonly [{
|
|
43
|
-
readonly internalType: "address";
|
|
44
|
-
readonly name: "";
|
|
45
|
-
readonly type: "address";
|
|
46
|
-
}, {
|
|
47
|
-
readonly internalType: "uint256";
|
|
48
|
-
readonly name: "";
|
|
49
|
-
readonly type: "uint256";
|
|
50
|
-
}];
|
|
51
|
-
readonly name: "TransferOutFailed";
|
|
52
|
-
readonly type: "error";
|
|
53
|
-
}, {
|
|
54
|
-
readonly anonymous: false;
|
|
55
|
-
readonly inputs: readonly [{
|
|
56
|
-
readonly indexed: true;
|
|
57
|
-
readonly internalType: "address";
|
|
58
|
-
readonly name: "oldGovernor";
|
|
59
|
-
readonly type: "address";
|
|
60
|
-
}, {
|
|
61
|
-
readonly indexed: true;
|
|
62
|
-
readonly internalType: "address";
|
|
63
|
-
readonly name: "newGovernor";
|
|
64
|
-
readonly type: "address";
|
|
65
|
-
}];
|
|
66
|
-
readonly name: "GovernorTransferred";
|
|
67
|
-
readonly type: "event";
|
|
68
|
-
}, {
|
|
69
|
-
readonly anonymous: false;
|
|
70
|
-
readonly inputs: readonly [{
|
|
71
|
-
readonly indexed: true;
|
|
72
|
-
readonly internalType: "address";
|
|
73
|
-
readonly name: "src";
|
|
74
|
-
readonly type: "address";
|
|
75
|
-
}, {
|
|
76
|
-
readonly indexed: true;
|
|
77
|
-
readonly internalType: "address";
|
|
78
|
-
readonly name: "recipient";
|
|
79
|
-
readonly type: "address";
|
|
80
|
-
}, {
|
|
81
|
-
readonly indexed: true;
|
|
82
|
-
readonly internalType: "address";
|
|
83
|
-
readonly name: "token";
|
|
84
|
-
readonly type: "address";
|
|
85
|
-
}, {
|
|
86
|
-
readonly indexed: false;
|
|
87
|
-
readonly internalType: "uint256";
|
|
88
|
-
readonly name: "amount";
|
|
89
|
-
readonly type: "uint256";
|
|
90
|
-
}];
|
|
91
|
-
readonly name: "RewardClaimed";
|
|
92
|
-
readonly type: "event";
|
|
93
|
-
}, {
|
|
94
|
-
readonly inputs: readonly [{
|
|
95
|
-
readonly internalType: "address";
|
|
96
|
-
readonly name: "comet";
|
|
97
|
-
readonly type: "address";
|
|
98
|
-
}, {
|
|
99
|
-
readonly internalType: "address";
|
|
100
|
-
readonly name: "src";
|
|
101
|
-
readonly type: "address";
|
|
102
|
-
}, {
|
|
103
|
-
readonly internalType: "bool";
|
|
104
|
-
readonly name: "shouldAccrue";
|
|
105
|
-
readonly type: "bool";
|
|
106
|
-
}];
|
|
107
|
-
readonly name: "claim";
|
|
108
|
-
readonly outputs: readonly [];
|
|
109
|
-
readonly stateMutability: "nonpayable";
|
|
110
|
-
readonly type: "function";
|
|
111
|
-
}, {
|
|
112
|
-
readonly inputs: readonly [{
|
|
113
|
-
readonly internalType: "address";
|
|
114
|
-
readonly name: "comet";
|
|
115
|
-
readonly type: "address";
|
|
116
|
-
}, {
|
|
117
|
-
readonly internalType: "address";
|
|
118
|
-
readonly name: "src";
|
|
119
|
-
readonly type: "address";
|
|
120
|
-
}, {
|
|
121
|
-
readonly internalType: "address";
|
|
122
|
-
readonly name: "to";
|
|
123
|
-
readonly type: "address";
|
|
124
|
-
}, {
|
|
125
|
-
readonly internalType: "bool";
|
|
126
|
-
readonly name: "shouldAccrue";
|
|
127
|
-
readonly type: "bool";
|
|
128
|
-
}];
|
|
129
|
-
readonly name: "claimTo";
|
|
130
|
-
readonly outputs: readonly [];
|
|
131
|
-
readonly stateMutability: "nonpayable";
|
|
132
|
-
readonly type: "function";
|
|
133
|
-
}, {
|
|
134
|
-
readonly inputs: readonly [{
|
|
135
|
-
readonly internalType: "address";
|
|
136
|
-
readonly name: "comet";
|
|
137
|
-
readonly type: "address";
|
|
138
|
-
}, {
|
|
139
|
-
readonly internalType: "address";
|
|
140
|
-
readonly name: "account";
|
|
141
|
-
readonly type: "address";
|
|
142
|
-
}];
|
|
143
|
-
readonly name: "getRewardOwed";
|
|
144
|
-
readonly outputs: readonly [{
|
|
145
|
-
readonly components: readonly [{
|
|
146
|
-
readonly internalType: "address";
|
|
147
|
-
readonly name: "token";
|
|
148
|
-
readonly type: "address";
|
|
149
|
-
}, {
|
|
150
|
-
readonly internalType: "uint256";
|
|
151
|
-
readonly name: "owed";
|
|
152
|
-
readonly type: "uint256";
|
|
153
|
-
}];
|
|
154
|
-
readonly internalType: "struct CometRewards.RewardOwed";
|
|
155
|
-
readonly name: "";
|
|
156
|
-
readonly type: "tuple";
|
|
157
|
-
}];
|
|
158
|
-
readonly stateMutability: "nonpayable";
|
|
159
|
-
readonly type: "function";
|
|
160
|
-
}, {
|
|
161
|
-
readonly inputs: readonly [];
|
|
162
|
-
readonly name: "governor";
|
|
163
|
-
readonly outputs: readonly [{
|
|
164
|
-
readonly internalType: "address";
|
|
165
|
-
readonly name: "";
|
|
166
|
-
readonly type: "address";
|
|
167
|
-
}];
|
|
168
|
-
readonly stateMutability: "view";
|
|
169
|
-
readonly type: "function";
|
|
170
|
-
}, {
|
|
171
|
-
readonly inputs: readonly [{
|
|
172
|
-
readonly internalType: "address";
|
|
173
|
-
readonly name: "";
|
|
174
|
-
readonly type: "address";
|
|
175
|
-
}];
|
|
176
|
-
readonly name: "rewardConfig";
|
|
177
|
-
readonly outputs: readonly [{
|
|
178
|
-
readonly internalType: "address";
|
|
179
|
-
readonly name: "token";
|
|
180
|
-
readonly type: "address";
|
|
181
|
-
}, {
|
|
182
|
-
readonly internalType: "uint64";
|
|
183
|
-
readonly name: "rescaleFactor";
|
|
184
|
-
readonly type: "uint64";
|
|
185
|
-
}, {
|
|
186
|
-
readonly internalType: "bool";
|
|
187
|
-
readonly name: "shouldUpscale";
|
|
188
|
-
readonly type: "bool";
|
|
189
|
-
}];
|
|
190
|
-
readonly stateMutability: "view";
|
|
191
|
-
readonly type: "function";
|
|
192
|
-
}, {
|
|
193
|
-
readonly inputs: readonly [{
|
|
194
|
-
readonly internalType: "address";
|
|
195
|
-
readonly name: "";
|
|
196
|
-
readonly type: "address";
|
|
197
|
-
}, {
|
|
198
|
-
readonly internalType: "address";
|
|
199
|
-
readonly name: "";
|
|
200
|
-
readonly type: "address";
|
|
201
|
-
}];
|
|
202
|
-
readonly name: "rewardsClaimed";
|
|
203
|
-
readonly outputs: readonly [{
|
|
204
|
-
readonly internalType: "uint256";
|
|
205
|
-
readonly name: "";
|
|
206
|
-
readonly type: "uint256";
|
|
207
|
-
}];
|
|
208
|
-
readonly stateMutability: "view";
|
|
209
|
-
readonly type: "function";
|
|
210
|
-
}, {
|
|
211
|
-
readonly inputs: readonly [{
|
|
212
|
-
readonly internalType: "address";
|
|
213
|
-
readonly name: "comet";
|
|
214
|
-
readonly type: "address";
|
|
215
|
-
}, {
|
|
216
|
-
readonly internalType: "address";
|
|
217
|
-
readonly name: "token";
|
|
218
|
-
readonly type: "address";
|
|
219
|
-
}];
|
|
220
|
-
readonly name: "setRewardConfig";
|
|
221
|
-
readonly outputs: readonly [];
|
|
222
|
-
readonly stateMutability: "nonpayable";
|
|
223
|
-
readonly type: "function";
|
|
224
|
-
}, {
|
|
225
|
-
readonly inputs: readonly [{
|
|
226
|
-
readonly internalType: "address";
|
|
227
|
-
readonly name: "newGovernor";
|
|
228
|
-
readonly type: "address";
|
|
229
|
-
}];
|
|
230
|
-
readonly name: "transferGovernor";
|
|
231
|
-
readonly outputs: readonly [];
|
|
232
|
-
readonly stateMutability: "nonpayable";
|
|
233
|
-
readonly type: "function";
|
|
234
|
-
}, {
|
|
235
|
-
readonly inputs: readonly [{
|
|
236
|
-
readonly internalType: "address";
|
|
237
|
-
readonly name: "token";
|
|
238
|
-
readonly type: "address";
|
|
239
|
-
}, {
|
|
240
|
-
readonly internalType: "address";
|
|
241
|
-
readonly name: "to";
|
|
242
|
-
readonly type: "address";
|
|
243
|
-
}, {
|
|
244
|
-
readonly internalType: "uint256";
|
|
245
|
-
readonly name: "amount";
|
|
246
|
-
readonly type: "uint256";
|
|
247
|
-
}];
|
|
248
|
-
readonly name: "withdrawToken";
|
|
249
|
-
readonly outputs: readonly [];
|
|
250
|
-
readonly stateMutability: "nonpayable";
|
|
251
|
-
readonly type: "function";
|
|
252
|
-
}];
|
|
253
|
-
//# sourceMappingURL=CometRewards.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CometRewards.d.ts","sourceRoot":"","sources":["../../../src/abis/compound-v3/CometRewards.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyUlB,CAAA"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export declare const IrgetterAbi: readonly [{
|
|
2
|
-
readonly inputs: readonly [{
|
|
3
|
-
readonly internalType: "address";
|
|
4
|
-
readonly name: "comet";
|
|
5
|
-
readonly type: "address";
|
|
6
|
-
}];
|
|
7
|
-
readonly name: "getCometInterest";
|
|
8
|
-
readonly outputs: readonly [{
|
|
9
|
-
readonly internalType: "uint256";
|
|
10
|
-
readonly name: "borrowRate";
|
|
11
|
-
readonly type: "uint256";
|
|
12
|
-
}, {
|
|
13
|
-
readonly internalType: "uint256";
|
|
14
|
-
readonly name: "supplyRate";
|
|
15
|
-
readonly type: "uint256";
|
|
16
|
-
}, {
|
|
17
|
-
readonly internalType: "uint256";
|
|
18
|
-
readonly name: "utilization";
|
|
19
|
-
readonly type: "uint256";
|
|
20
|
-
}];
|
|
21
|
-
readonly stateMutability: "view";
|
|
22
|
-
readonly type: "function";
|
|
23
|
-
}];
|
|
24
|
-
//# sourceMappingURL=IrGetter.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IrGetter.d.ts","sourceRoot":"","sources":["../../../src/abis/compound-v3/IrGetter.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;EA8Bd,CAAA"}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
export declare const FlashAbi: readonly [{
|
|
2
|
-
readonly type: "function";
|
|
3
|
-
readonly stateMutability: "view";
|
|
4
|
-
readonly outputs: readonly [{
|
|
5
|
-
readonly type: "uint256";
|
|
6
|
-
readonly name: "";
|
|
7
|
-
readonly internalType: "uint256";
|
|
8
|
-
}];
|
|
9
|
-
readonly name: "getConfiguration";
|
|
10
|
-
readonly inputs: readonly [{
|
|
11
|
-
readonly internalType: "address";
|
|
12
|
-
readonly name: "asset";
|
|
13
|
-
readonly type: "address";
|
|
14
|
-
}];
|
|
15
|
-
}, {
|
|
16
|
-
readonly inputs: readonly [{
|
|
17
|
-
readonly internalType: "address";
|
|
18
|
-
readonly name: "account";
|
|
19
|
-
readonly type: "address";
|
|
20
|
-
}];
|
|
21
|
-
readonly name: "balanceOf";
|
|
22
|
-
readonly outputs: readonly [{
|
|
23
|
-
readonly internalType: "uint256";
|
|
24
|
-
readonly name: "";
|
|
25
|
-
readonly type: "uint256";
|
|
26
|
-
}];
|
|
27
|
-
readonly stateMutability: "view";
|
|
28
|
-
readonly type: "function";
|
|
29
|
-
}, {
|
|
30
|
-
readonly type: "function";
|
|
31
|
-
readonly stateMutability: "view";
|
|
32
|
-
readonly outputs: readonly [{
|
|
33
|
-
readonly type: "uint256";
|
|
34
|
-
readonly name: "";
|
|
35
|
-
readonly internalType: "uint256";
|
|
36
|
-
}];
|
|
37
|
-
readonly name: "FLASHLOAN_PREMIUM_TOTAL";
|
|
38
|
-
readonly inputs: readonly [];
|
|
39
|
-
}, {
|
|
40
|
-
readonly inputs: readonly [{
|
|
41
|
-
readonly internalType: "address";
|
|
42
|
-
readonly name: "addr";
|
|
43
|
-
readonly type: "address";
|
|
44
|
-
}];
|
|
45
|
-
readonly name: "getEthBalance";
|
|
46
|
-
readonly outputs: readonly [{
|
|
47
|
-
readonly internalType: "uint256";
|
|
48
|
-
readonly name: "balance";
|
|
49
|
-
readonly type: "uint256";
|
|
50
|
-
}];
|
|
51
|
-
readonly stateMutability: "view";
|
|
52
|
-
readonly type: "function";
|
|
53
|
-
}];
|
|
54
|
-
//# sourceMappingURL=flashAbi.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"flashAbi.d.ts","sourceRoot":"","sources":["../../../src/abis/flashloan-united/flashAbi.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuEX,CAAA"}
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
export declare const InitLensAbi: readonly [{
|
|
2
|
-
readonly inputs: readonly [{
|
|
3
|
-
readonly internalType: "uint16";
|
|
4
|
-
readonly name: "mode";
|
|
5
|
-
readonly type: "uint16";
|
|
6
|
-
}];
|
|
7
|
-
readonly name: "getMarketData";
|
|
8
|
-
readonly outputs: readonly [{
|
|
9
|
-
readonly components: readonly [{
|
|
10
|
-
readonly internalType: "uint16";
|
|
11
|
-
readonly name: "mode";
|
|
12
|
-
readonly type: "uint16";
|
|
13
|
-
}, {
|
|
14
|
-
readonly internalType: "address";
|
|
15
|
-
readonly name: "pool";
|
|
16
|
-
readonly type: "address";
|
|
17
|
-
}, {
|
|
18
|
-
readonly internalType: "address";
|
|
19
|
-
readonly name: "underlying";
|
|
20
|
-
readonly type: "address";
|
|
21
|
-
}, {
|
|
22
|
-
readonly internalType: "uint256";
|
|
23
|
-
readonly name: "collateralFactor";
|
|
24
|
-
readonly type: "uint256";
|
|
25
|
-
}, {
|
|
26
|
-
readonly internalType: "uint256";
|
|
27
|
-
readonly name: "borrowFactor";
|
|
28
|
-
readonly type: "uint256";
|
|
29
|
-
}, {
|
|
30
|
-
readonly internalType: "uint256";
|
|
31
|
-
readonly name: "maxHealthAfterLiq";
|
|
32
|
-
readonly type: "uint256";
|
|
33
|
-
}, {
|
|
34
|
-
readonly internalType: "uint128";
|
|
35
|
-
readonly name: "supplyCap";
|
|
36
|
-
readonly type: "uint128";
|
|
37
|
-
}, {
|
|
38
|
-
readonly internalType: "uint128";
|
|
39
|
-
readonly name: "borrowCap";
|
|
40
|
-
readonly type: "uint128";
|
|
41
|
-
}, {
|
|
42
|
-
readonly internalType: "bool";
|
|
43
|
-
readonly name: "canMint";
|
|
44
|
-
readonly type: "bool";
|
|
45
|
-
}, {
|
|
46
|
-
readonly internalType: "bool";
|
|
47
|
-
readonly name: "canBurn";
|
|
48
|
-
readonly type: "bool";
|
|
49
|
-
}, {
|
|
50
|
-
readonly internalType: "bool";
|
|
51
|
-
readonly name: "canBorrow";
|
|
52
|
-
readonly type: "bool";
|
|
53
|
-
}, {
|
|
54
|
-
readonly internalType: "bool";
|
|
55
|
-
readonly name: "canRepay";
|
|
56
|
-
readonly type: "bool";
|
|
57
|
-
}, {
|
|
58
|
-
readonly internalType: "bool";
|
|
59
|
-
readonly name: "canFlash";
|
|
60
|
-
readonly type: "bool";
|
|
61
|
-
}, {
|
|
62
|
-
readonly internalType: "uint256";
|
|
63
|
-
readonly name: "totalSupply";
|
|
64
|
-
readonly type: "uint256";
|
|
65
|
-
}, {
|
|
66
|
-
readonly internalType: "uint256";
|
|
67
|
-
readonly name: "totalDebt";
|
|
68
|
-
readonly type: "uint256";
|
|
69
|
-
}, {
|
|
70
|
-
readonly internalType: "uint256";
|
|
71
|
-
readonly name: "supplyRate";
|
|
72
|
-
readonly type: "uint256";
|
|
73
|
-
}, {
|
|
74
|
-
readonly internalType: "uint256";
|
|
75
|
-
readonly name: "borrowRate";
|
|
76
|
-
readonly type: "uint256";
|
|
77
|
-
}];
|
|
78
|
-
readonly internalType: "struct MarketData[]";
|
|
79
|
-
readonly name: "data";
|
|
80
|
-
readonly type: "tuple[]";
|
|
81
|
-
}];
|
|
82
|
-
readonly stateMutability: "view";
|
|
83
|
-
readonly type: "function";
|
|
84
|
-
}, {
|
|
85
|
-
readonly inputs: readonly [{
|
|
86
|
-
readonly internalType: "address";
|
|
87
|
-
readonly name: "viewer";
|
|
88
|
-
readonly type: "address";
|
|
89
|
-
}, {
|
|
90
|
-
readonly internalType: "address";
|
|
91
|
-
readonly name: "operator";
|
|
92
|
-
readonly type: "address";
|
|
93
|
-
}];
|
|
94
|
-
readonly name: "getUserPositionData";
|
|
95
|
-
readonly outputs: readonly [{
|
|
96
|
-
readonly components: readonly [{
|
|
97
|
-
readonly internalType: "uint256";
|
|
98
|
-
readonly name: "posId";
|
|
99
|
-
readonly type: "uint256";
|
|
100
|
-
}, {
|
|
101
|
-
readonly internalType: "address";
|
|
102
|
-
readonly name: "owner";
|
|
103
|
-
readonly type: "address";
|
|
104
|
-
}, {
|
|
105
|
-
readonly internalType: "uint16";
|
|
106
|
-
readonly name: "mode";
|
|
107
|
-
readonly type: "uint16";
|
|
108
|
-
}, {
|
|
109
|
-
readonly internalType: "address";
|
|
110
|
-
readonly name: "approved";
|
|
111
|
-
readonly type: "address";
|
|
112
|
-
}, {
|
|
113
|
-
readonly internalType: "bool";
|
|
114
|
-
readonly name: "isApprovedForAll";
|
|
115
|
-
readonly type: "bool";
|
|
116
|
-
}];
|
|
117
|
-
readonly internalType: "struct PosMeta[]";
|
|
118
|
-
readonly name: "posMeta";
|
|
119
|
-
readonly type: "tuple[]";
|
|
120
|
-
}, {
|
|
121
|
-
readonly components: readonly [{
|
|
122
|
-
readonly internalType: "address";
|
|
123
|
-
readonly name: "underlying";
|
|
124
|
-
readonly type: "address";
|
|
125
|
-
}, {
|
|
126
|
-
readonly internalType: "address";
|
|
127
|
-
readonly name: "pool";
|
|
128
|
-
readonly type: "address";
|
|
129
|
-
}, {
|
|
130
|
-
readonly internalType: "uint256";
|
|
131
|
-
readonly name: "amount";
|
|
132
|
-
readonly type: "uint256";
|
|
133
|
-
}];
|
|
134
|
-
readonly internalType: "struct PosData[][]";
|
|
135
|
-
readonly name: "collaterals";
|
|
136
|
-
readonly type: "tuple[][]";
|
|
137
|
-
}, {
|
|
138
|
-
readonly components: readonly [{
|
|
139
|
-
readonly internalType: "address";
|
|
140
|
-
readonly name: "underlying";
|
|
141
|
-
readonly type: "address";
|
|
142
|
-
}, {
|
|
143
|
-
readonly internalType: "address";
|
|
144
|
-
readonly name: "pool";
|
|
145
|
-
readonly type: "address";
|
|
146
|
-
}, {
|
|
147
|
-
readonly internalType: "uint256";
|
|
148
|
-
readonly name: "amount";
|
|
149
|
-
readonly type: "uint256";
|
|
150
|
-
}];
|
|
151
|
-
readonly internalType: "struct PosData[][]";
|
|
152
|
-
readonly name: "debts";
|
|
153
|
-
readonly type: "tuple[][]";
|
|
154
|
-
}];
|
|
155
|
-
readonly stateMutability: "nonpayable";
|
|
156
|
-
readonly type: "function";
|
|
157
|
-
}];
|
|
158
|
-
//# sourceMappingURL=InitLens.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InitLens.d.ts","sourceRoot":"","sources":["../../../src/abis/init/InitLens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0Md,CAAA"}
|