recon-crypto-mcp 0.1.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 (204) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +153 -0
  3. package/dist/abis/aave-pool.d.ts +174 -0
  4. package/dist/abis/aave-pool.js +101 -0
  5. package/dist/abis/aave-pool.js.map +1 -0
  6. package/dist/abis/aave-ui-pool-data-provider.d.ts +232 -0
  7. package/dist/abis/aave-ui-pool-data-provider.js +107 -0
  8. package/dist/abis/aave-ui-pool-data-provider.js.map +1 -0
  9. package/dist/abis/access-control.d.ts +94 -0
  10. package/dist/abis/access-control.js +51 -0
  11. package/dist/abis/access-control.js.map +1 -0
  12. package/dist/abis/compound-comet.d.ts +120 -0
  13. package/dist/abis/compound-comet.js +84 -0
  14. package/dist/abis/compound-comet.js.map +1 -0
  15. package/dist/abis/eigenlayer-delegation-manager.d.ts +23 -0
  16. package/dist/abis/eigenlayer-delegation-manager.js +18 -0
  17. package/dist/abis/eigenlayer-delegation-manager.js.map +1 -0
  18. package/dist/abis/eigenlayer-strategy-manager.d.ts +53 -0
  19. package/dist/abis/eigenlayer-strategy-manager.js +47 -0
  20. package/dist/abis/eigenlayer-strategy-manager.js.map +1 -0
  21. package/dist/abis/erc20.d.ts +78 -0
  22. package/dist/abis/erc20.js +10 -0
  23. package/dist/abis/erc20.js.map +1 -0
  24. package/dist/abis/lido.d.ts +80 -0
  25. package/dist/abis/lido.js +60 -0
  26. package/dist/abis/lido.js.map +1 -0
  27. package/dist/abis/morpho-blue.d.ts +321 -0
  28. package/dist/abis/morpho-blue.js +193 -0
  29. package/dist/abis/morpho-blue.js.map +1 -0
  30. package/dist/abis/uniswap-pool.d.ts +70 -0
  31. package/dist/abis/uniswap-pool.js +53 -0
  32. package/dist/abis/uniswap-pool.js.map +1 -0
  33. package/dist/abis/uniswap-position-manager.d.ts +71 -0
  34. package/dist/abis/uniswap-position-manager.js +41 -0
  35. package/dist/abis/uniswap-position-manager.js.map +1 -0
  36. package/dist/config/cache.d.ts +12 -0
  37. package/dist/config/cache.js +12 -0
  38. package/dist/config/cache.js.map +1 -0
  39. package/dist/config/chains.d.ts +24 -0
  40. package/dist/config/chains.js +158 -0
  41. package/dist/config/chains.js.map +1 -0
  42. package/dist/config/contracts.d.ts +107 -0
  43. package/dist/config/contracts.js +123 -0
  44. package/dist/config/contracts.js.map +1 -0
  45. package/dist/config/user-config.d.ts +15 -0
  46. package/dist/config/user-config.js +93 -0
  47. package/dist/config/user-config.js.map +1 -0
  48. package/dist/data/apis/etherscan.d.ts +30 -0
  49. package/dist/data/apis/etherscan.js +109 -0
  50. package/dist/data/apis/etherscan.js.map +1 -0
  51. package/dist/data/cache.d.ts +18 -0
  52. package/dist/data/cache.js +47 -0
  53. package/dist/data/cache.js.map +1 -0
  54. package/dist/data/format.d.ts +6 -0
  55. package/dist/data/format.js +44 -0
  56. package/dist/data/format.js.map +1 -0
  57. package/dist/data/prices.d.ts +12 -0
  58. package/dist/data/prices.js +81 -0
  59. package/dist/data/prices.js.map +1 -0
  60. package/dist/data/rpc.d.ts +17 -0
  61. package/dist/data/rpc.js +68 -0
  62. package/dist/data/rpc.js.map +1 -0
  63. package/dist/index.d.ts +2 -0
  64. package/dist/index.js +344 -0
  65. package/dist/index.js.map +1 -0
  66. package/dist/modules/balances/index.d.ts +20 -0
  67. package/dist/modules/balances/index.js +49 -0
  68. package/dist/modules/balances/index.js.map +1 -0
  69. package/dist/modules/balances/schemas.d.ts +32 -0
  70. package/dist/modules/balances/schemas.js +21 -0
  71. package/dist/modules/balances/schemas.js.map +1 -0
  72. package/dist/modules/bitcoin/index.d.ts +26 -0
  73. package/dist/modules/bitcoin/index.js +128 -0
  74. package/dist/modules/bitcoin/index.js.map +1 -0
  75. package/dist/modules/bitcoin/schemas.d.ts +49 -0
  76. package/dist/modules/bitcoin/schemas.js +51 -0
  77. package/dist/modules/bitcoin/schemas.js.map +1 -0
  78. package/dist/modules/bitcoin/send.d.ts +52 -0
  79. package/dist/modules/bitcoin/send.js +158 -0
  80. package/dist/modules/bitcoin/send.js.map +1 -0
  81. package/dist/modules/bitcoin/utxo.d.ts +99 -0
  82. package/dist/modules/bitcoin/utxo.js +116 -0
  83. package/dist/modules/bitcoin/utxo.js.map +1 -0
  84. package/dist/modules/compound/actions.d.ts +8 -0
  85. package/dist/modules/compound/actions.js +154 -0
  86. package/dist/modules/compound/actions.js.map +1 -0
  87. package/dist/modules/compound/index.d.ts +26 -0
  88. package/dist/modules/compound/index.js +141 -0
  89. package/dist/modules/compound/index.js.map +1 -0
  90. package/dist/modules/compound/schemas.d.ts +95 -0
  91. package/dist/modules/compound/schemas.js +37 -0
  92. package/dist/modules/compound/schemas.js.map +1 -0
  93. package/dist/modules/execution/index.d.ts +51 -0
  94. package/dist/modules/execution/index.js +271 -0
  95. package/dist/modules/execution/index.js.map +1 -0
  96. package/dist/modules/execution/schemas.d.ts +183 -0
  97. package/dist/modules/execution/schemas.js +88 -0
  98. package/dist/modules/execution/schemas.js.map +1 -0
  99. package/dist/modules/feedback/index.d.ts +28 -0
  100. package/dist/modules/feedback/index.js +161 -0
  101. package/dist/modules/feedback/index.js.map +1 -0
  102. package/dist/modules/feedback/rate-limit.d.ts +15 -0
  103. package/dist/modules/feedback/rate-limit.js +110 -0
  104. package/dist/modules/feedback/rate-limit.js.map +1 -0
  105. package/dist/modules/feedback/schemas.d.ts +41 -0
  106. package/dist/modules/feedback/schemas.js +40 -0
  107. package/dist/modules/feedback/schemas.js.map +1 -0
  108. package/dist/modules/morpho/actions.d.ts +8 -0
  109. package/dist/modules/morpho/actions.js +265 -0
  110. package/dist/modules/morpho/actions.js.map +1 -0
  111. package/dist/modules/morpho/index.d.ts +26 -0
  112. package/dist/modules/morpho/index.js +94 -0
  113. package/dist/modules/morpho/index.js.map +1 -0
  114. package/dist/modules/morpho/schemas.d.ts +130 -0
  115. package/dist/modules/morpho/schemas.js +34 -0
  116. package/dist/modules/morpho/schemas.js.map +1 -0
  117. package/dist/modules/portfolio/index.d.ts +3 -0
  118. package/dist/modules/portfolio/index.js +197 -0
  119. package/dist/modules/portfolio/index.js.map +1 -0
  120. package/dist/modules/portfolio/schemas.d.ts +20 -0
  121. package/dist/modules/portfolio/schemas.js +15 -0
  122. package/dist/modules/portfolio/schemas.js.map +1 -0
  123. package/dist/modules/positions/aave.d.ts +22 -0
  124. package/dist/modules/positions/aave.js +197 -0
  125. package/dist/modules/positions/aave.js.map +1 -0
  126. package/dist/modules/positions/actions.d.ts +18 -0
  127. package/dist/modules/positions/actions.js +205 -0
  128. package/dist/modules/positions/actions.js.map +1 -0
  129. package/dist/modules/positions/index.d.ts +37 -0
  130. package/dist/modules/positions/index.js +59 -0
  131. package/dist/modules/positions/index.js.map +1 -0
  132. package/dist/modules/positions/schemas.d.ts +55 -0
  133. package/dist/modules/positions/schemas.js +25 -0
  134. package/dist/modules/positions/schemas.js.map +1 -0
  135. package/dist/modules/positions/uniswap.d.ts +4 -0
  136. package/dist/modules/positions/uniswap.js +181 -0
  137. package/dist/modules/positions/uniswap.js.map +1 -0
  138. package/dist/modules/prices/index.d.ts +19 -0
  139. package/dist/modules/prices/index.js +22 -0
  140. package/dist/modules/prices/index.js.map +1 -0
  141. package/dist/modules/security/index.d.ts +26 -0
  142. package/dist/modules/security/index.js +13 -0
  143. package/dist/modules/security/index.js.map +1 -0
  144. package/dist/modules/security/permissions.d.ts +8 -0
  145. package/dist/modules/security/permissions.js +96 -0
  146. package/dist/modules/security/permissions.js.map +1 -0
  147. package/dist/modules/security/risk-score.d.ts +18 -0
  148. package/dist/modules/security/risk-score.js +116 -0
  149. package/dist/modules/security/risk-score.js.map +1 -0
  150. package/dist/modules/security/schemas.d.ts +31 -0
  151. package/dist/modules/security/schemas.js +16 -0
  152. package/dist/modules/security/schemas.js.map +1 -0
  153. package/dist/modules/security/verification.d.ts +4 -0
  154. package/dist/modules/security/verification.js +82 -0
  155. package/dist/modules/security/verification.js.map +1 -0
  156. package/dist/modules/shared/approval.d.ts +71 -0
  157. package/dist/modules/shared/approval.js +130 -0
  158. package/dist/modules/shared/approval.js.map +1 -0
  159. package/dist/modules/staking/actions.d.ts +22 -0
  160. package/dist/modules/staking/actions.js +100 -0
  161. package/dist/modules/staking/actions.js.map +1 -0
  162. package/dist/modules/staking/eigenlayer.d.ts +14 -0
  163. package/dist/modules/staking/eigenlayer.js +105 -0
  164. package/dist/modules/staking/eigenlayer.js.map +1 -0
  165. package/dist/modules/staking/index.d.ts +24 -0
  166. package/dist/modules/staking/index.js +59 -0
  167. package/dist/modules/staking/index.js.map +1 -0
  168. package/dist/modules/staking/lido.d.ts +14 -0
  169. package/dist/modules/staking/lido.js +113 -0
  170. package/dist/modules/staking/lido.js.map +1 -0
  171. package/dist/modules/staking/schemas.d.ts +34 -0
  172. package/dist/modules/staking/schemas.js +20 -0
  173. package/dist/modules/staking/schemas.js.map +1 -0
  174. package/dist/modules/swap/index.d.ts +47 -0
  175. package/dist/modules/swap/index.js +376 -0
  176. package/dist/modules/swap/index.js.map +1 -0
  177. package/dist/modules/swap/lifi.d.ts +17 -0
  178. package/dist/modules/swap/lifi.js +44 -0
  179. package/dist/modules/swap/lifi.js.map +1 -0
  180. package/dist/modules/swap/oneinch.d.ts +26 -0
  181. package/dist/modules/swap/oneinch.js +33 -0
  182. package/dist/modules/swap/oneinch.js.map +1 -0
  183. package/dist/modules/swap/schemas.d.ts +65 -0
  184. package/dist/modules/swap/schemas.js +46 -0
  185. package/dist/modules/swap/schemas.js.map +1 -0
  186. package/dist/setup.d.ts +2 -0
  187. package/dist/setup.js +257 -0
  188. package/dist/setup.js.map +1 -0
  189. package/dist/signing/pre-sign-check.d.ts +8 -0
  190. package/dist/signing/pre-sign-check.js +231 -0
  191. package/dist/signing/pre-sign-check.js.map +1 -0
  192. package/dist/signing/session.d.ts +28 -0
  193. package/dist/signing/session.js +26 -0
  194. package/dist/signing/session.js.map +1 -0
  195. package/dist/signing/tx-store.d.ts +29 -0
  196. package/dist/signing/tx-store.js +85 -0
  197. package/dist/signing/tx-store.js.map +1 -0
  198. package/dist/signing/walletconnect.d.ts +33 -0
  199. package/dist/signing/walletconnect.js +226 -0
  200. package/dist/signing/walletconnect.js.map +1 -0
  201. package/dist/types/index.d.ts +222 -0
  202. package/dist/types/index.js +18 -0
  203. package/dist/types/index.js.map +1 -0
  204. package/package.json +134 -0
@@ -0,0 +1,232 @@
1
+ export declare const aaveUiPoolDataProviderAbi: readonly [{
2
+ readonly type: "function";
3
+ readonly name: "getUserReservesData";
4
+ readonly stateMutability: "view";
5
+ readonly inputs: readonly [{
6
+ readonly name: "provider";
7
+ readonly type: "address";
8
+ }, {
9
+ readonly name: "user";
10
+ readonly type: "address";
11
+ }];
12
+ readonly outputs: readonly [{
13
+ readonly name: "userReserves";
14
+ readonly type: "tuple[]";
15
+ readonly components: readonly [{
16
+ readonly name: "underlyingAsset";
17
+ readonly type: "address";
18
+ }, {
19
+ readonly name: "scaledATokenBalance";
20
+ readonly type: "uint256";
21
+ }, {
22
+ readonly name: "usageAsCollateralEnabledOnUser";
23
+ readonly type: "bool";
24
+ }, {
25
+ readonly name: "scaledVariableDebt";
26
+ readonly type: "uint256";
27
+ }, {
28
+ readonly name: "principalStableDebt";
29
+ readonly type: "uint256";
30
+ }, {
31
+ readonly name: "stableBorrowRate";
32
+ readonly type: "uint256";
33
+ }, {
34
+ readonly name: "stableBorrowLastUpdateTimestamp";
35
+ readonly type: "uint40";
36
+ }];
37
+ }, {
38
+ readonly name: "userEmodeCategoryId";
39
+ readonly type: "uint8";
40
+ }];
41
+ }, {
42
+ readonly type: "function";
43
+ readonly name: "getReservesData";
44
+ readonly stateMutability: "view";
45
+ readonly inputs: readonly [{
46
+ readonly name: "provider";
47
+ readonly type: "address";
48
+ }];
49
+ readonly outputs: readonly [{
50
+ readonly name: "reserves";
51
+ readonly type: "tuple[]";
52
+ readonly components: readonly [{
53
+ readonly name: "underlyingAsset";
54
+ readonly type: "address";
55
+ }, {
56
+ readonly name: "name";
57
+ readonly type: "string";
58
+ }, {
59
+ readonly name: "symbol";
60
+ readonly type: "string";
61
+ }, {
62
+ readonly name: "decimals";
63
+ readonly type: "uint256";
64
+ }, {
65
+ readonly name: "baseLTVasCollateral";
66
+ readonly type: "uint256";
67
+ }, {
68
+ readonly name: "reserveLiquidationThreshold";
69
+ readonly type: "uint256";
70
+ }, {
71
+ readonly name: "reserveLiquidationBonus";
72
+ readonly type: "uint256";
73
+ }, {
74
+ readonly name: "reserveFactor";
75
+ readonly type: "uint256";
76
+ }, {
77
+ readonly name: "usageAsCollateralEnabled";
78
+ readonly type: "bool";
79
+ }, {
80
+ readonly name: "borrowingEnabled";
81
+ readonly type: "bool";
82
+ }, {
83
+ readonly name: "stableBorrowRateEnabled";
84
+ readonly type: "bool";
85
+ }, {
86
+ readonly name: "isActive";
87
+ readonly type: "bool";
88
+ }, {
89
+ readonly name: "isFrozen";
90
+ readonly type: "bool";
91
+ }, {
92
+ readonly name: "liquidityIndex";
93
+ readonly type: "uint128";
94
+ }, {
95
+ readonly name: "variableBorrowIndex";
96
+ readonly type: "uint128";
97
+ }, {
98
+ readonly name: "liquidityRate";
99
+ readonly type: "uint128";
100
+ }, {
101
+ readonly name: "variableBorrowRate";
102
+ readonly type: "uint128";
103
+ }, {
104
+ readonly name: "stableBorrowRate";
105
+ readonly type: "uint128";
106
+ }, {
107
+ readonly name: "lastUpdateTimestamp";
108
+ readonly type: "uint40";
109
+ }, {
110
+ readonly name: "aTokenAddress";
111
+ readonly type: "address";
112
+ }, {
113
+ readonly name: "stableDebtTokenAddress";
114
+ readonly type: "address";
115
+ }, {
116
+ readonly name: "variableDebtTokenAddress";
117
+ readonly type: "address";
118
+ }, {
119
+ readonly name: "interestRateStrategyAddress";
120
+ readonly type: "address";
121
+ }, {
122
+ readonly name: "availableLiquidity";
123
+ readonly type: "uint256";
124
+ }, {
125
+ readonly name: "totalPrincipalStableDebt";
126
+ readonly type: "uint256";
127
+ }, {
128
+ readonly name: "averageStableRate";
129
+ readonly type: "uint256";
130
+ }, {
131
+ readonly name: "stableDebtLastUpdateTimestamp";
132
+ readonly type: "uint256";
133
+ }, {
134
+ readonly name: "totalScaledVariableDebt";
135
+ readonly type: "uint256";
136
+ }, {
137
+ readonly name: "priceInMarketReferenceCurrency";
138
+ readonly type: "uint256";
139
+ }, {
140
+ readonly name: "priceOracle";
141
+ readonly type: "address";
142
+ }, {
143
+ readonly name: "variableRateSlope1";
144
+ readonly type: "uint256";
145
+ }, {
146
+ readonly name: "variableRateSlope2";
147
+ readonly type: "uint256";
148
+ }, {
149
+ readonly name: "stableRateSlope1";
150
+ readonly type: "uint256";
151
+ }, {
152
+ readonly name: "stableRateSlope2";
153
+ readonly type: "uint256";
154
+ }, {
155
+ readonly name: "baseStableBorrowRate";
156
+ readonly type: "uint256";
157
+ }, {
158
+ readonly name: "baseVariableBorrowRate";
159
+ readonly type: "uint256";
160
+ }, {
161
+ readonly name: "optimalUsageRatio";
162
+ readonly type: "uint256";
163
+ }, {
164
+ readonly name: "isPaused";
165
+ readonly type: "bool";
166
+ }, {
167
+ readonly name: "isSiloedBorrowing";
168
+ readonly type: "bool";
169
+ }, {
170
+ readonly name: "accruedToTreasury";
171
+ readonly type: "uint128";
172
+ }, {
173
+ readonly name: "unbacked";
174
+ readonly type: "uint128";
175
+ }, {
176
+ readonly name: "isolationModeTotalDebt";
177
+ readonly type: "uint128";
178
+ }, {
179
+ readonly name: "flashLoanEnabled";
180
+ readonly type: "bool";
181
+ }, {
182
+ readonly name: "debtCeiling";
183
+ readonly type: "uint256";
184
+ }, {
185
+ readonly name: "debtCeilingDecimals";
186
+ readonly type: "uint256";
187
+ }, {
188
+ readonly name: "eModeCategoryId";
189
+ readonly type: "uint8";
190
+ }, {
191
+ readonly name: "borrowCap";
192
+ readonly type: "uint256";
193
+ }, {
194
+ readonly name: "supplyCap";
195
+ readonly type: "uint256";
196
+ }, {
197
+ readonly name: "eModeLtv";
198
+ readonly type: "uint16";
199
+ }, {
200
+ readonly name: "eModeLiquidationThreshold";
201
+ readonly type: "uint16";
202
+ }, {
203
+ readonly name: "eModeLiquidationBonus";
204
+ readonly type: "uint16";
205
+ }, {
206
+ readonly name: "eModePriceSource";
207
+ readonly type: "address";
208
+ }, {
209
+ readonly name: "eModeLabel";
210
+ readonly type: "string";
211
+ }, {
212
+ readonly name: "borrowableInIsolation";
213
+ readonly type: "bool";
214
+ }];
215
+ }, {
216
+ readonly name: "baseCurrencyInfo";
217
+ readonly type: "tuple";
218
+ readonly components: readonly [{
219
+ readonly name: "marketReferenceCurrencyUnit";
220
+ readonly type: "uint256";
221
+ }, {
222
+ readonly name: "marketReferenceCurrencyPriceInUsd";
223
+ readonly type: "int256";
224
+ }, {
225
+ readonly name: "networkBaseTokenPriceInUsd";
226
+ readonly type: "int256";
227
+ }, {
228
+ readonly name: "networkBaseTokenPriceDecimals";
229
+ readonly type: "uint8";
230
+ }];
231
+ }];
232
+ }];
@@ -0,0 +1,107 @@
1
+ // Aave V3 UiPoolDataProviderV3 — returns all user positions in one call.
2
+ export const aaveUiPoolDataProviderAbi = [
3
+ {
4
+ type: "function",
5
+ name: "getUserReservesData",
6
+ stateMutability: "view",
7
+ inputs: [
8
+ { name: "provider", type: "address" },
9
+ { name: "user", type: "address" },
10
+ ],
11
+ outputs: [
12
+ {
13
+ name: "userReserves",
14
+ type: "tuple[]",
15
+ components: [
16
+ { name: "underlyingAsset", type: "address" },
17
+ { name: "scaledATokenBalance", type: "uint256" },
18
+ { name: "usageAsCollateralEnabledOnUser", type: "bool" },
19
+ { name: "scaledVariableDebt", type: "uint256" },
20
+ { name: "principalStableDebt", type: "uint256" },
21
+ { name: "stableBorrowRate", type: "uint256" },
22
+ { name: "stableBorrowLastUpdateTimestamp", type: "uint40" },
23
+ ],
24
+ },
25
+ { name: "userEmodeCategoryId", type: "uint8" },
26
+ ],
27
+ },
28
+ {
29
+ type: "function",
30
+ name: "getReservesData",
31
+ stateMutability: "view",
32
+ inputs: [{ name: "provider", type: "address" }],
33
+ outputs: [
34
+ {
35
+ name: "reserves",
36
+ type: "tuple[]",
37
+ components: [
38
+ { name: "underlyingAsset", type: "address" },
39
+ { name: "name", type: "string" },
40
+ { name: "symbol", type: "string" },
41
+ { name: "decimals", type: "uint256" },
42
+ { name: "baseLTVasCollateral", type: "uint256" },
43
+ { name: "reserveLiquidationThreshold", type: "uint256" },
44
+ { name: "reserveLiquidationBonus", type: "uint256" },
45
+ { name: "reserveFactor", type: "uint256" },
46
+ { name: "usageAsCollateralEnabled", type: "bool" },
47
+ { name: "borrowingEnabled", type: "bool" },
48
+ { name: "stableBorrowRateEnabled", type: "bool" },
49
+ { name: "isActive", type: "bool" },
50
+ { name: "isFrozen", type: "bool" },
51
+ { name: "liquidityIndex", type: "uint128" },
52
+ { name: "variableBorrowIndex", type: "uint128" },
53
+ { name: "liquidityRate", type: "uint128" },
54
+ { name: "variableBorrowRate", type: "uint128" },
55
+ { name: "stableBorrowRate", type: "uint128" },
56
+ { name: "lastUpdateTimestamp", type: "uint40" },
57
+ { name: "aTokenAddress", type: "address" },
58
+ { name: "stableDebtTokenAddress", type: "address" },
59
+ { name: "variableDebtTokenAddress", type: "address" },
60
+ { name: "interestRateStrategyAddress", type: "address" },
61
+ { name: "availableLiquidity", type: "uint256" },
62
+ { name: "totalPrincipalStableDebt", type: "uint256" },
63
+ { name: "averageStableRate", type: "uint256" },
64
+ { name: "stableDebtLastUpdateTimestamp", type: "uint256" },
65
+ { name: "totalScaledVariableDebt", type: "uint256" },
66
+ { name: "priceInMarketReferenceCurrency", type: "uint256" },
67
+ { name: "priceOracle", type: "address" },
68
+ { name: "variableRateSlope1", type: "uint256" },
69
+ { name: "variableRateSlope2", type: "uint256" },
70
+ { name: "stableRateSlope1", type: "uint256" },
71
+ { name: "stableRateSlope2", type: "uint256" },
72
+ { name: "baseStableBorrowRate", type: "uint256" },
73
+ { name: "baseVariableBorrowRate", type: "uint256" },
74
+ { name: "optimalUsageRatio", type: "uint256" },
75
+ { name: "isPaused", type: "bool" },
76
+ { name: "isSiloedBorrowing", type: "bool" },
77
+ { name: "accruedToTreasury", type: "uint128" },
78
+ { name: "unbacked", type: "uint128" },
79
+ { name: "isolationModeTotalDebt", type: "uint128" },
80
+ { name: "flashLoanEnabled", type: "bool" },
81
+ { name: "debtCeiling", type: "uint256" },
82
+ { name: "debtCeilingDecimals", type: "uint256" },
83
+ { name: "eModeCategoryId", type: "uint8" },
84
+ { name: "borrowCap", type: "uint256" },
85
+ { name: "supplyCap", type: "uint256" },
86
+ { name: "eModeLtv", type: "uint16" },
87
+ { name: "eModeLiquidationThreshold", type: "uint16" },
88
+ { name: "eModeLiquidationBonus", type: "uint16" },
89
+ { name: "eModePriceSource", type: "address" },
90
+ { name: "eModeLabel", type: "string" },
91
+ { name: "borrowableInIsolation", type: "bool" },
92
+ ],
93
+ },
94
+ {
95
+ name: "baseCurrencyInfo",
96
+ type: "tuple",
97
+ components: [
98
+ { name: "marketReferenceCurrencyUnit", type: "uint256" },
99
+ { name: "marketReferenceCurrencyPriceInUsd", type: "int256" },
100
+ { name: "networkBaseTokenPriceInUsd", type: "int256" },
101
+ { name: "networkBaseTokenPriceDecimals", type: "uint8" },
102
+ ],
103
+ },
104
+ ],
105
+ },
106
+ ];
107
+ //# sourceMappingURL=aave-ui-pool-data-provider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aave-ui-pool-data-provider.js","sourceRoot":"","sources":["../../src/abis/aave-ui-pool-data-provider.ts"],"names":[],"mappings":"AAAA,yEAAyE;AACzE,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,qBAAqB;QAC3B,eAAe,EAAE,MAAM;QACvB,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE;YACrC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE;SAClC;QACD,OAAO,EAAE;YACP;gBACE,IA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AAI,EAAE,SAAS,EAAE;oBAChD,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAE,OAAO,EAAE;oBAC1C,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE;oBACtC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE;oBACtC,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACpC,EAAE,IAAI,EAAE,2BAA2B,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACrD,EAAE,IAAI,EAAE,uBAAuB,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACjD,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE,SAAS,EAAE;oBAC7C,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACtC,EAAE,IAAI,EAAE,uBAAuB,EAAE,IAAI,EAAE,MAAM,EAAE;iBAChD;aACF;YACD;gBACE,IAAI,EAAE,kBAAkB;gBACxB,IAAI,EAAE,OAAO;gBACb,UAAU,EAAE;oBACV,EAAE,IAAI,EAAE,6BAA6B,EAAE,IAAI,EAAE,SAAS,EAAE;oBACxD,EAAE,IAAI,EAAE,mCAAmC,EAAE,IAAI,EAAE,QAAQ,EAAE;oBAC7D,EAAE,IAAI,EAAE,4BAA4B,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACtD,EAAE,IAAI,EAAE,+BAA+B,EAAE,IAAI,EAAE,OAAO,EAAE;iBACzD;aACF;SACF;KACF;CACO,CAAC"}
@@ -0,0 +1,94 @@
1
+ export declare const ownableAbi: readonly [{
2
+ readonly type: "function";
3
+ readonly name: "owner";
4
+ readonly stateMutability: "view";
5
+ readonly inputs: readonly [];
6
+ readonly outputs: readonly [{
7
+ readonly type: "address";
8
+ }];
9
+ }];
10
+ export declare const accessControlAbi: readonly [{
11
+ readonly type: "function";
12
+ readonly name: "hasRole";
13
+ readonly stateMutability: "view";
14
+ readonly inputs: readonly [{
15
+ readonly name: "role";
16
+ readonly type: "bytes32";
17
+ }, {
18
+ readonly name: "account";
19
+ readonly type: "address";
20
+ }];
21
+ readonly outputs: readonly [{
22
+ readonly type: "bool";
23
+ }];
24
+ }, {
25
+ readonly type: "function";
26
+ readonly name: "getRoleAdmin";
27
+ readonly stateMutability: "view";
28
+ readonly inputs: readonly [{
29
+ readonly name: "role";
30
+ readonly type: "bytes32";
31
+ }];
32
+ readonly outputs: readonly [{
33
+ readonly type: "bytes32";
34
+ }];
35
+ }, {
36
+ readonly type: "function";
37
+ readonly name: "getRoleMember";
38
+ readonly stateMutability: "view";
39
+ readonly inputs: readonly [{
40
+ readonly name: "role";
41
+ readonly type: "bytes32";
42
+ }, {
43
+ readonly name: "index";
44
+ readonly type: "uint256";
45
+ }];
46
+ readonly outputs: readonly [{
47
+ readonly type: "address";
48
+ }];
49
+ }, {
50
+ readonly type: "function";
51
+ readonly name: "getRoleMemberCount";
52
+ readonly stateMutability: "view";
53
+ readonly inputs: readonly [{
54
+ readonly name: "role";
55
+ readonly type: "bytes32";
56
+ }];
57
+ readonly outputs: readonly [{
58
+ readonly type: "uint256";
59
+ }];
60
+ }];
61
+ export declare const gnosisSafeAbi: readonly [{
62
+ readonly type: "function";
63
+ readonly name: "getThreshold";
64
+ readonly stateMutability: "view";
65
+ readonly inputs: readonly [];
66
+ readonly outputs: readonly [{
67
+ readonly type: "uint256";
68
+ }];
69
+ }, {
70
+ readonly type: "function";
71
+ readonly name: "getOwners";
72
+ readonly stateMutability: "view";
73
+ readonly inputs: readonly [];
74
+ readonly outputs: readonly [{
75
+ readonly type: "address[]";
76
+ }];
77
+ }];
78
+ export declare const timelockAbi: readonly [{
79
+ readonly type: "function";
80
+ readonly name: "getMinDelay";
81
+ readonly stateMutability: "view";
82
+ readonly inputs: readonly [];
83
+ readonly outputs: readonly [{
84
+ readonly type: "uint256";
85
+ }];
86
+ }, {
87
+ readonly type: "function";
88
+ readonly name: "delay";
89
+ readonly stateMutability: "view";
90
+ readonly inputs: readonly [];
91
+ readonly outputs: readonly [{
92
+ readonly type: "uint256";
93
+ }];
94
+ }];
@@ -0,0 +1,51 @@
1
+ // Common access-control patterns used by security checks.
2
+ export const ownableAbi = [
3
+ { type: "function", name: "owner", stateMutability: "view", inputs: [], outputs: [{ type: "address" }] },
4
+ ];
5
+ export const accessControlAbi = [
6
+ {
7
+ type: "function",
8
+ name: "hasRole",
9
+ stateMutability: "view",
10
+ inputs: [
11
+ { name: "role", type: "bytes32" },
12
+ { name: "account", type: "address" },
13
+ ],
14
+ outputs: [{ type: "bool" }],
15
+ },
16
+ {
17
+ type: "function",
18
+ name: "getRoleAdmin",
19
+ stateMutability: "view",
20
+ inputs: [{ name: "role", type: "bytes32" }],
21
+ outputs: [{ type: "bytes32" }],
22
+ },
23
+ {
24
+ type: "function",
25
+ name: "getRoleMember",
26
+ stateMutability: "view",
27
+ inputs: [
28
+ { name: "role", type: "bytes32" },
29
+ { name: "index", type: "uint256" },
30
+ ],
31
+ outputs: [{ type: "address" }],
32
+ },
33
+ {
34
+ type: "function",
35
+ name: "getRoleMemberCount",
36
+ stateMutability: "view",
37
+ inputs: [{ name: "role", type: "bytes32" }],
38
+ outputs: [{ type: "uint256" }],
39
+ },
40
+ ];
41
+ // Gnosis Safe signature — presence of getThreshold() is a strong hint the address is a Safe.
42
+ export const gnosisSafeAbi = [
43
+ { type: "function", name: "getThreshold", stateMutability: "view", inputs: [], outputs: [{ type: "uint256" }] },
44
+ { type: "function", name: "getOwners", stateMutability: "view", inputs: [], outputs: [{ type: "address[]" }] },
45
+ ];
46
+ // OZ TimelockController — presence of getMinDelay()/delay() is a strong hint the address is a timelock.
47
+ export const timelockAbi = [
48
+ { type: "function", name: "getMinDelay", stateMutability: "view", inputs: [], outputs: [{ type: "uint256" }] },
49
+ { type: "function", name: "delay", stateMutability: "view", inputs: [], outputs: [{ type: "uint256" }] },
50
+ ];
51
+ //# sourceMappingURL=access-control.js.map
@@ -0,0 +1 @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AM,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;QAC3C,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;KAC/B;CACO,CAAC;AAEX,6FAA6F;AAC7F,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAE;IAC/G,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC,EAAE;CACtG,CAAC;AAEX,wGAAwG;AACxG,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAE;IAC9G,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAE;CAChG,CAAC"}
@@ -0,0 +1,120 @@
1
+ /** Minimal Compound V3 (Comet) ABI — enough for position reads + supply/withdraw. */
2
+ export declare const cometAbi: readonly [{
3
+ readonly type: "function";
4
+ readonly name: "baseToken";
5
+ readonly stateMutability: "view";
6
+ readonly inputs: readonly [];
7
+ readonly outputs: readonly [{
8
+ readonly name: "";
9
+ readonly type: "address";
10
+ }];
11
+ }, {
12
+ readonly type: "function";
13
+ readonly name: "balanceOf";
14
+ readonly stateMutability: "view";
15
+ readonly inputs: readonly [{
16
+ readonly name: "account";
17
+ readonly type: "address";
18
+ }];
19
+ readonly outputs: readonly [{
20
+ readonly name: "";
21
+ readonly type: "uint256";
22
+ }];
23
+ }, {
24
+ readonly type: "function";
25
+ readonly name: "borrowBalanceOf";
26
+ readonly stateMutability: "view";
27
+ readonly inputs: readonly [{
28
+ readonly name: "account";
29
+ readonly type: "address";
30
+ }];
31
+ readonly outputs: readonly [{
32
+ readonly name: "";
33
+ readonly type: "uint256";
34
+ }];
35
+ }, {
36
+ readonly type: "function";
37
+ readonly name: "collateralBalanceOf";
38
+ readonly stateMutability: "view";
39
+ readonly inputs: readonly [{
40
+ readonly name: "account";
41
+ readonly type: "address";
42
+ }, {
43
+ readonly name: "asset";
44
+ readonly type: "address";
45
+ }];
46
+ readonly outputs: readonly [{
47
+ readonly name: "";
48
+ readonly type: "uint128";
49
+ }];
50
+ }, {
51
+ readonly type: "function";
52
+ readonly name: "numAssets";
53
+ readonly stateMutability: "view";
54
+ readonly inputs: readonly [];
55
+ readonly outputs: readonly [{
56
+ readonly name: "";
57
+ readonly type: "uint8";
58
+ }];
59
+ }, {
60
+ readonly type: "function";
61
+ readonly name: "getAssetInfo";
62
+ readonly stateMutability: "view";
63
+ readonly inputs: readonly [{
64
+ readonly name: "i";
65
+ readonly type: "uint8";
66
+ }];
67
+ readonly outputs: readonly [{
68
+ readonly name: "";
69
+ readonly type: "tuple";
70
+ readonly components: readonly [{
71
+ readonly name: "offset";
72
+ readonly type: "uint8";
73
+ }, {
74
+ readonly name: "asset";
75
+ readonly type: "address";
76
+ }, {
77
+ readonly name: "priceFeed";
78
+ readonly type: "address";
79
+ }, {
80
+ readonly name: "scale";
81
+ readonly type: "uint64";
82
+ }, {
83
+ readonly name: "borrowCollateralFactor";
84
+ readonly type: "uint64";
85
+ }, {
86
+ readonly name: "liquidateCollateralFactor";
87
+ readonly type: "uint64";
88
+ }, {
89
+ readonly name: "liquidationFactor";
90
+ readonly type: "uint64";
91
+ }, {
92
+ readonly name: "supplyCap";
93
+ readonly type: "uint128";
94
+ }];
95
+ }];
96
+ }, {
97
+ readonly type: "function";
98
+ readonly name: "supply";
99
+ readonly stateMutability: "nonpayable";
100
+ readonly inputs: readonly [{
101
+ readonly name: "asset";
102
+ readonly type: "address";
103
+ }, {
104
+ readonly name: "amount";
105
+ readonly type: "uint256";
106
+ }];
107
+ readonly outputs: readonly [];
108
+ }, {
109
+ readonly type: "function";
110
+ readonly name: "withdraw";
111
+ readonly stateMutability: "nonpayable";
112
+ readonly inputs: readonly [{
113
+ readonly name: "asset";
114
+ readonly type: "address";
115
+ }, {
116
+ readonly name: "amount";
117
+ readonly type: "uint256";
118
+ }];
119
+ readonly outputs: readonly [];
120
+ }];