@galacticcouncil/sdk 7.0.2 → 7.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.
- package/build/index.cjs +2 -2
- package/build/index.mjs +2 -2
- package/build/types/aave/AaveClient.d.ts +75 -0
- package/build/types/aave/AaveUtils.d.ts +10 -0
- package/build/types/{evm/abi/Aave.d.ts → aave/abi/AavePool.d.ts} +35 -1
- package/build/types/aave/abi/AavePoolDataProvider.d.ts +384 -0
- package/build/types/aave/abi/index.d.ts +2 -0
- package/build/types/aave/const.d.ts +6 -0
- package/build/types/aave/index.d.ts +4 -0
- package/build/types/aave/types.d.ts +10 -0
- package/build/types/evm/index.d.ts +0 -2
- package/build/types/index.d.ts +1 -0
- package/build/types/utils/bignumber.d.ts +1 -1
- package/package.json +1 -1
- package/build/types/evm/abi/Erc20.d.ts +0 -150
- package/build/types/evm/abi/index.d.ts +0 -1
- package/build/types/evm/const.d.ts +0 -4
|
@@ -0,0 +1,384 @@
|
|
|
1
|
+
export declare const AAVE_POOL_DATA_PROVIDER_ABI: readonly [{
|
|
2
|
+
readonly inputs: readonly [{
|
|
3
|
+
readonly internalType: "contract IEACAggregatorProxy";
|
|
4
|
+
readonly name: "_networkBaseTokenPriceInUsdProxyAggregator";
|
|
5
|
+
readonly type: "address";
|
|
6
|
+
}, {
|
|
7
|
+
readonly internalType: "contract IEACAggregatorProxy";
|
|
8
|
+
readonly name: "_marketReferenceCurrencyPriceInUsdProxyAggregator";
|
|
9
|
+
readonly type: "address";
|
|
10
|
+
}];
|
|
11
|
+
readonly stateMutability: "nonpayable";
|
|
12
|
+
readonly type: "constructor";
|
|
13
|
+
}, {
|
|
14
|
+
readonly inputs: readonly [];
|
|
15
|
+
readonly name: "ETH_CURRENCY_UNIT";
|
|
16
|
+
readonly outputs: readonly [{
|
|
17
|
+
readonly internalType: "uint256";
|
|
18
|
+
readonly name: "";
|
|
19
|
+
readonly type: "uint256";
|
|
20
|
+
}];
|
|
21
|
+
readonly stateMutability: "view";
|
|
22
|
+
readonly type: "function";
|
|
23
|
+
}, {
|
|
24
|
+
readonly inputs: readonly [];
|
|
25
|
+
readonly name: "MKR_ADDRESS";
|
|
26
|
+
readonly outputs: readonly [{
|
|
27
|
+
readonly internalType: "address";
|
|
28
|
+
readonly name: "";
|
|
29
|
+
readonly type: "address";
|
|
30
|
+
}];
|
|
31
|
+
readonly stateMutability: "view";
|
|
32
|
+
readonly type: "function";
|
|
33
|
+
}, {
|
|
34
|
+
readonly inputs: readonly [{
|
|
35
|
+
readonly internalType: "bytes32";
|
|
36
|
+
readonly name: "_bytes32";
|
|
37
|
+
readonly type: "bytes32";
|
|
38
|
+
}];
|
|
39
|
+
readonly name: "bytes32ToString";
|
|
40
|
+
readonly outputs: readonly [{
|
|
41
|
+
readonly internalType: "string";
|
|
42
|
+
readonly name: "";
|
|
43
|
+
readonly type: "string";
|
|
44
|
+
}];
|
|
45
|
+
readonly stateMutability: "pure";
|
|
46
|
+
readonly type: "function";
|
|
47
|
+
}, {
|
|
48
|
+
readonly inputs: readonly [{
|
|
49
|
+
readonly internalType: "contract IPoolAddressesProvider";
|
|
50
|
+
readonly name: "provider";
|
|
51
|
+
readonly type: "address";
|
|
52
|
+
}];
|
|
53
|
+
readonly name: "getReservesData";
|
|
54
|
+
readonly outputs: readonly [{
|
|
55
|
+
readonly components: readonly [{
|
|
56
|
+
readonly internalType: "address";
|
|
57
|
+
readonly name: "underlyingAsset";
|
|
58
|
+
readonly type: "address";
|
|
59
|
+
}, {
|
|
60
|
+
readonly internalType: "string";
|
|
61
|
+
readonly name: "name";
|
|
62
|
+
readonly type: "string";
|
|
63
|
+
}, {
|
|
64
|
+
readonly internalType: "string";
|
|
65
|
+
readonly name: "symbol";
|
|
66
|
+
readonly type: "string";
|
|
67
|
+
}, {
|
|
68
|
+
readonly internalType: "uint256";
|
|
69
|
+
readonly name: "decimals";
|
|
70
|
+
readonly type: "uint256";
|
|
71
|
+
}, {
|
|
72
|
+
readonly internalType: "uint256";
|
|
73
|
+
readonly name: "baseLTVasCollateral";
|
|
74
|
+
readonly type: "uint256";
|
|
75
|
+
}, {
|
|
76
|
+
readonly internalType: "uint256";
|
|
77
|
+
readonly name: "reserveLiquidationThreshold";
|
|
78
|
+
readonly type: "uint256";
|
|
79
|
+
}, {
|
|
80
|
+
readonly internalType: "uint256";
|
|
81
|
+
readonly name: "reserveLiquidationBonus";
|
|
82
|
+
readonly type: "uint256";
|
|
83
|
+
}, {
|
|
84
|
+
readonly internalType: "uint256";
|
|
85
|
+
readonly name: "reserveFactor";
|
|
86
|
+
readonly type: "uint256";
|
|
87
|
+
}, {
|
|
88
|
+
readonly internalType: "bool";
|
|
89
|
+
readonly name: "usageAsCollateralEnabled";
|
|
90
|
+
readonly type: "bool";
|
|
91
|
+
}, {
|
|
92
|
+
readonly internalType: "bool";
|
|
93
|
+
readonly name: "borrowingEnabled";
|
|
94
|
+
readonly type: "bool";
|
|
95
|
+
}, {
|
|
96
|
+
readonly internalType: "bool";
|
|
97
|
+
readonly name: "stableBorrowRateEnabled";
|
|
98
|
+
readonly type: "bool";
|
|
99
|
+
}, {
|
|
100
|
+
readonly internalType: "bool";
|
|
101
|
+
readonly name: "isActive";
|
|
102
|
+
readonly type: "bool";
|
|
103
|
+
}, {
|
|
104
|
+
readonly internalType: "bool";
|
|
105
|
+
readonly name: "isFrozen";
|
|
106
|
+
readonly type: "bool";
|
|
107
|
+
}, {
|
|
108
|
+
readonly internalType: "uint128";
|
|
109
|
+
readonly name: "liquidityIndex";
|
|
110
|
+
readonly type: "uint128";
|
|
111
|
+
}, {
|
|
112
|
+
readonly internalType: "uint128";
|
|
113
|
+
readonly name: "variableBorrowIndex";
|
|
114
|
+
readonly type: "uint128";
|
|
115
|
+
}, {
|
|
116
|
+
readonly internalType: "uint128";
|
|
117
|
+
readonly name: "liquidityRate";
|
|
118
|
+
readonly type: "uint128";
|
|
119
|
+
}, {
|
|
120
|
+
readonly internalType: "uint128";
|
|
121
|
+
readonly name: "variableBorrowRate";
|
|
122
|
+
readonly type: "uint128";
|
|
123
|
+
}, {
|
|
124
|
+
readonly internalType: "uint128";
|
|
125
|
+
readonly name: "stableBorrowRate";
|
|
126
|
+
readonly type: "uint128";
|
|
127
|
+
}, {
|
|
128
|
+
readonly internalType: "uint40";
|
|
129
|
+
readonly name: "lastUpdateTimestamp";
|
|
130
|
+
readonly type: "uint40";
|
|
131
|
+
}, {
|
|
132
|
+
readonly internalType: "address";
|
|
133
|
+
readonly name: "aTokenAddress";
|
|
134
|
+
readonly type: "address";
|
|
135
|
+
}, {
|
|
136
|
+
readonly internalType: "address";
|
|
137
|
+
readonly name: "stableDebtTokenAddress";
|
|
138
|
+
readonly type: "address";
|
|
139
|
+
}, {
|
|
140
|
+
readonly internalType: "address";
|
|
141
|
+
readonly name: "variableDebtTokenAddress";
|
|
142
|
+
readonly type: "address";
|
|
143
|
+
}, {
|
|
144
|
+
readonly internalType: "address";
|
|
145
|
+
readonly name: "interestRateStrategyAddress";
|
|
146
|
+
readonly type: "address";
|
|
147
|
+
}, {
|
|
148
|
+
readonly internalType: "uint256";
|
|
149
|
+
readonly name: "availableLiquidity";
|
|
150
|
+
readonly type: "uint256";
|
|
151
|
+
}, {
|
|
152
|
+
readonly internalType: "uint256";
|
|
153
|
+
readonly name: "totalPrincipalStableDebt";
|
|
154
|
+
readonly type: "uint256";
|
|
155
|
+
}, {
|
|
156
|
+
readonly internalType: "uint256";
|
|
157
|
+
readonly name: "averageStableRate";
|
|
158
|
+
readonly type: "uint256";
|
|
159
|
+
}, {
|
|
160
|
+
readonly internalType: "uint256";
|
|
161
|
+
readonly name: "stableDebtLastUpdateTimestamp";
|
|
162
|
+
readonly type: "uint256";
|
|
163
|
+
}, {
|
|
164
|
+
readonly internalType: "uint256";
|
|
165
|
+
readonly name: "totalScaledVariableDebt";
|
|
166
|
+
readonly type: "uint256";
|
|
167
|
+
}, {
|
|
168
|
+
readonly internalType: "uint256";
|
|
169
|
+
readonly name: "priceInMarketReferenceCurrency";
|
|
170
|
+
readonly type: "uint256";
|
|
171
|
+
}, {
|
|
172
|
+
readonly internalType: "address";
|
|
173
|
+
readonly name: "priceOracle";
|
|
174
|
+
readonly type: "address";
|
|
175
|
+
}, {
|
|
176
|
+
readonly internalType: "uint256";
|
|
177
|
+
readonly name: "variableRateSlope1";
|
|
178
|
+
readonly type: "uint256";
|
|
179
|
+
}, {
|
|
180
|
+
readonly internalType: "uint256";
|
|
181
|
+
readonly name: "variableRateSlope2";
|
|
182
|
+
readonly type: "uint256";
|
|
183
|
+
}, {
|
|
184
|
+
readonly internalType: "uint256";
|
|
185
|
+
readonly name: "stableRateSlope1";
|
|
186
|
+
readonly type: "uint256";
|
|
187
|
+
}, {
|
|
188
|
+
readonly internalType: "uint256";
|
|
189
|
+
readonly name: "stableRateSlope2";
|
|
190
|
+
readonly type: "uint256";
|
|
191
|
+
}, {
|
|
192
|
+
readonly internalType: "uint256";
|
|
193
|
+
readonly name: "baseStableBorrowRate";
|
|
194
|
+
readonly type: "uint256";
|
|
195
|
+
}, {
|
|
196
|
+
readonly internalType: "uint256";
|
|
197
|
+
readonly name: "baseVariableBorrowRate";
|
|
198
|
+
readonly type: "uint256";
|
|
199
|
+
}, {
|
|
200
|
+
readonly internalType: "uint256";
|
|
201
|
+
readonly name: "optimalUsageRatio";
|
|
202
|
+
readonly type: "uint256";
|
|
203
|
+
}, {
|
|
204
|
+
readonly internalType: "bool";
|
|
205
|
+
readonly name: "isPaused";
|
|
206
|
+
readonly type: "bool";
|
|
207
|
+
}, {
|
|
208
|
+
readonly internalType: "bool";
|
|
209
|
+
readonly name: "isSiloedBorrowing";
|
|
210
|
+
readonly type: "bool";
|
|
211
|
+
}, {
|
|
212
|
+
readonly internalType: "uint128";
|
|
213
|
+
readonly name: "accruedToTreasury";
|
|
214
|
+
readonly type: "uint128";
|
|
215
|
+
}, {
|
|
216
|
+
readonly internalType: "uint128";
|
|
217
|
+
readonly name: "unbacked";
|
|
218
|
+
readonly type: "uint128";
|
|
219
|
+
}, {
|
|
220
|
+
readonly internalType: "uint128";
|
|
221
|
+
readonly name: "isolationModeTotalDebt";
|
|
222
|
+
readonly type: "uint128";
|
|
223
|
+
}, {
|
|
224
|
+
readonly internalType: "bool";
|
|
225
|
+
readonly name: "flashLoanEnabled";
|
|
226
|
+
readonly type: "bool";
|
|
227
|
+
}, {
|
|
228
|
+
readonly internalType: "uint256";
|
|
229
|
+
readonly name: "debtCeiling";
|
|
230
|
+
readonly type: "uint256";
|
|
231
|
+
}, {
|
|
232
|
+
readonly internalType: "uint256";
|
|
233
|
+
readonly name: "debtCeilingDecimals";
|
|
234
|
+
readonly type: "uint256";
|
|
235
|
+
}, {
|
|
236
|
+
readonly internalType: "uint8";
|
|
237
|
+
readonly name: "eModeCategoryId";
|
|
238
|
+
readonly type: "uint8";
|
|
239
|
+
}, {
|
|
240
|
+
readonly internalType: "uint256";
|
|
241
|
+
readonly name: "borrowCap";
|
|
242
|
+
readonly type: "uint256";
|
|
243
|
+
}, {
|
|
244
|
+
readonly internalType: "uint256";
|
|
245
|
+
readonly name: "supplyCap";
|
|
246
|
+
readonly type: "uint256";
|
|
247
|
+
}, {
|
|
248
|
+
readonly internalType: "uint16";
|
|
249
|
+
readonly name: "eModeLtv";
|
|
250
|
+
readonly type: "uint16";
|
|
251
|
+
}, {
|
|
252
|
+
readonly internalType: "uint16";
|
|
253
|
+
readonly name: "eModeLiquidationThreshold";
|
|
254
|
+
readonly type: "uint16";
|
|
255
|
+
}, {
|
|
256
|
+
readonly internalType: "uint16";
|
|
257
|
+
readonly name: "eModeLiquidationBonus";
|
|
258
|
+
readonly type: "uint16";
|
|
259
|
+
}, {
|
|
260
|
+
readonly internalType: "address";
|
|
261
|
+
readonly name: "eModePriceSource";
|
|
262
|
+
readonly type: "address";
|
|
263
|
+
}, {
|
|
264
|
+
readonly internalType: "string";
|
|
265
|
+
readonly name: "eModeLabel";
|
|
266
|
+
readonly type: "string";
|
|
267
|
+
}, {
|
|
268
|
+
readonly internalType: "bool";
|
|
269
|
+
readonly name: "borrowableInIsolation";
|
|
270
|
+
readonly type: "bool";
|
|
271
|
+
}];
|
|
272
|
+
readonly internalType: "struct IUiPoolDataProviderV3.AggregatedReserveData[]";
|
|
273
|
+
readonly name: "";
|
|
274
|
+
readonly type: "tuple[]";
|
|
275
|
+
}, {
|
|
276
|
+
readonly components: readonly [{
|
|
277
|
+
readonly internalType: "uint256";
|
|
278
|
+
readonly name: "marketReferenceCurrencyUnit";
|
|
279
|
+
readonly type: "uint256";
|
|
280
|
+
}, {
|
|
281
|
+
readonly internalType: "int256";
|
|
282
|
+
readonly name: "marketReferenceCurrencyPriceInUsd";
|
|
283
|
+
readonly type: "int256";
|
|
284
|
+
}, {
|
|
285
|
+
readonly internalType: "int256";
|
|
286
|
+
readonly name: "networkBaseTokenPriceInUsd";
|
|
287
|
+
readonly type: "int256";
|
|
288
|
+
}, {
|
|
289
|
+
readonly internalType: "uint8";
|
|
290
|
+
readonly name: "networkBaseTokenPriceDecimals";
|
|
291
|
+
readonly type: "uint8";
|
|
292
|
+
}];
|
|
293
|
+
readonly internalType: "struct IUiPoolDataProviderV3.BaseCurrencyInfo";
|
|
294
|
+
readonly name: "";
|
|
295
|
+
readonly type: "tuple";
|
|
296
|
+
}];
|
|
297
|
+
readonly stateMutability: "view";
|
|
298
|
+
readonly type: "function";
|
|
299
|
+
}, {
|
|
300
|
+
readonly inputs: readonly [{
|
|
301
|
+
readonly internalType: "contract IPoolAddressesProvider";
|
|
302
|
+
readonly name: "provider";
|
|
303
|
+
readonly type: "address";
|
|
304
|
+
}];
|
|
305
|
+
readonly name: "getReservesList";
|
|
306
|
+
readonly outputs: readonly [{
|
|
307
|
+
readonly internalType: "address[]";
|
|
308
|
+
readonly name: "";
|
|
309
|
+
readonly type: "address[]";
|
|
310
|
+
}];
|
|
311
|
+
readonly stateMutability: "view";
|
|
312
|
+
readonly type: "function";
|
|
313
|
+
}, {
|
|
314
|
+
readonly inputs: readonly [{
|
|
315
|
+
readonly internalType: "contract IPoolAddressesProvider";
|
|
316
|
+
readonly name: "provider";
|
|
317
|
+
readonly type: "address";
|
|
318
|
+
}, {
|
|
319
|
+
readonly internalType: "address";
|
|
320
|
+
readonly name: "user";
|
|
321
|
+
readonly type: "address";
|
|
322
|
+
}];
|
|
323
|
+
readonly name: "getUserReservesData";
|
|
324
|
+
readonly outputs: readonly [{
|
|
325
|
+
readonly components: readonly [{
|
|
326
|
+
readonly internalType: "address";
|
|
327
|
+
readonly name: "underlyingAsset";
|
|
328
|
+
readonly type: "address";
|
|
329
|
+
}, {
|
|
330
|
+
readonly internalType: "uint256";
|
|
331
|
+
readonly name: "scaledATokenBalance";
|
|
332
|
+
readonly type: "uint256";
|
|
333
|
+
}, {
|
|
334
|
+
readonly internalType: "bool";
|
|
335
|
+
readonly name: "usageAsCollateralEnabledOnUser";
|
|
336
|
+
readonly type: "bool";
|
|
337
|
+
}, {
|
|
338
|
+
readonly internalType: "uint256";
|
|
339
|
+
readonly name: "stableBorrowRate";
|
|
340
|
+
readonly type: "uint256";
|
|
341
|
+
}, {
|
|
342
|
+
readonly internalType: "uint256";
|
|
343
|
+
readonly name: "scaledVariableDebt";
|
|
344
|
+
readonly type: "uint256";
|
|
345
|
+
}, {
|
|
346
|
+
readonly internalType: "uint256";
|
|
347
|
+
readonly name: "principalStableDebt";
|
|
348
|
+
readonly type: "uint256";
|
|
349
|
+
}, {
|
|
350
|
+
readonly internalType: "uint256";
|
|
351
|
+
readonly name: "stableBorrowLastUpdateTimestamp";
|
|
352
|
+
readonly type: "uint256";
|
|
353
|
+
}];
|
|
354
|
+
readonly internalType: "struct IUiPoolDataProviderV3.UserReserveData[]";
|
|
355
|
+
readonly name: "";
|
|
356
|
+
readonly type: "tuple[]";
|
|
357
|
+
}, {
|
|
358
|
+
readonly internalType: "uint8";
|
|
359
|
+
readonly name: "";
|
|
360
|
+
readonly type: "uint8";
|
|
361
|
+
}];
|
|
362
|
+
readonly stateMutability: "view";
|
|
363
|
+
readonly type: "function";
|
|
364
|
+
}, {
|
|
365
|
+
readonly inputs: readonly [];
|
|
366
|
+
readonly name: "marketReferenceCurrencyPriceInUsdProxyAggregator";
|
|
367
|
+
readonly outputs: readonly [{
|
|
368
|
+
readonly internalType: "contract IEACAggregatorProxy";
|
|
369
|
+
readonly name: "";
|
|
370
|
+
readonly type: "address";
|
|
371
|
+
}];
|
|
372
|
+
readonly stateMutability: "view";
|
|
373
|
+
readonly type: "function";
|
|
374
|
+
}, {
|
|
375
|
+
readonly inputs: readonly [];
|
|
376
|
+
readonly name: "networkBaseTokenPriceInUsdProxyAggregator";
|
|
377
|
+
readonly outputs: readonly [{
|
|
378
|
+
readonly internalType: "contract IEACAggregatorProxy";
|
|
379
|
+
readonly name: "";
|
|
380
|
+
readonly type: "address";
|
|
381
|
+
}];
|
|
382
|
+
readonly stateMutability: "view";
|
|
383
|
+
readonly type: "function";
|
|
384
|
+
}];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const AAVE_POOL_PROXY = "0x1b02E051683b5cfaC5929C25E84adb26ECf87B38";
|
|
2
|
+
export declare const AAVE_POOL_DATA_PROVIDER = "0x112b087b60C1a166130d59266363C45F8aa99db0";
|
|
3
|
+
export declare const AAVE_LENDING_POOL_ADDRESS = "0xf3Ba4D1b50f78301BDD7EAEa9B67822A15FCA691";
|
|
4
|
+
export declare const AAVE_GAS_LIMIT = 1000000n;
|
|
5
|
+
export declare const AAVE_ROUNDING_THRESHOLD = 5;
|
|
6
|
+
export declare const AAVE_UINT_256_MAX: bigint;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import BigNumber from 'bignumber.js';
|
|
2
|
+
export type AaveCtx = {
|
|
3
|
+
decimals: number;
|
|
4
|
+
isCollateralAsset: boolean;
|
|
5
|
+
priceInRef: BigNumber;
|
|
6
|
+
reserveLiquidationThreshold: BigNumber;
|
|
7
|
+
totalCollateralBase: BigNumber;
|
|
8
|
+
totalDebtBase: BigNumber;
|
|
9
|
+
userBalance: BigNumber;
|
|
10
|
+
};
|
package/build/types/index.d.ts
CHANGED
|
@@ -4,5 +4,5 @@ export declare const ZERO: BigNumber;
|
|
|
4
4
|
export declare const ONE: BigNumber;
|
|
5
5
|
export declare const INFINITY: BigNumber;
|
|
6
6
|
export declare function scale(input: BigNumber, decimalPlaces: number): BigNumber;
|
|
7
|
-
export declare function bnum(val: string | number | BigNumber): BigNumber;
|
|
7
|
+
export declare function bnum(val: string | number | bigint | BigNumber): BigNumber;
|
|
8
8
|
export { BigNumber };
|
package/package.json
CHANGED
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
export declare const ERC20_ABI: readonly [{
|
|
2
|
-
readonly anonymous: false;
|
|
3
|
-
readonly inputs: readonly [{
|
|
4
|
-
readonly indexed: true;
|
|
5
|
-
readonly internalType: "address";
|
|
6
|
-
readonly name: "owner";
|
|
7
|
-
readonly type: "address";
|
|
8
|
-
}, {
|
|
9
|
-
readonly indexed: true;
|
|
10
|
-
readonly internalType: "address";
|
|
11
|
-
readonly name: "spender";
|
|
12
|
-
readonly type: "address";
|
|
13
|
-
}, {
|
|
14
|
-
readonly indexed: false;
|
|
15
|
-
readonly internalType: "uint256";
|
|
16
|
-
readonly name: "value";
|
|
17
|
-
readonly type: "uint256";
|
|
18
|
-
}];
|
|
19
|
-
readonly name: "Approval";
|
|
20
|
-
readonly type: "event";
|
|
21
|
-
}, {
|
|
22
|
-
readonly anonymous: false;
|
|
23
|
-
readonly inputs: readonly [{
|
|
24
|
-
readonly indexed: true;
|
|
25
|
-
readonly internalType: "address";
|
|
26
|
-
readonly name: "from";
|
|
27
|
-
readonly type: "address";
|
|
28
|
-
}, {
|
|
29
|
-
readonly indexed: true;
|
|
30
|
-
readonly internalType: "address";
|
|
31
|
-
readonly name: "to";
|
|
32
|
-
readonly type: "address";
|
|
33
|
-
}, {
|
|
34
|
-
readonly indexed: false;
|
|
35
|
-
readonly internalType: "uint256";
|
|
36
|
-
readonly name: "value";
|
|
37
|
-
readonly type: "uint256";
|
|
38
|
-
}];
|
|
39
|
-
readonly name: "Transfer";
|
|
40
|
-
readonly type: "event";
|
|
41
|
-
}, {
|
|
42
|
-
readonly inputs: readonly [{
|
|
43
|
-
readonly internalType: "address";
|
|
44
|
-
readonly name: "owner";
|
|
45
|
-
readonly type: "address";
|
|
46
|
-
}, {
|
|
47
|
-
readonly internalType: "address";
|
|
48
|
-
readonly name: "spender";
|
|
49
|
-
readonly type: "address";
|
|
50
|
-
}];
|
|
51
|
-
readonly name: "allowance";
|
|
52
|
-
readonly outputs: readonly [{
|
|
53
|
-
readonly internalType: "uint256";
|
|
54
|
-
readonly name: "";
|
|
55
|
-
readonly type: "uint256";
|
|
56
|
-
}];
|
|
57
|
-
readonly stateMutability: "view";
|
|
58
|
-
readonly type: "function";
|
|
59
|
-
}, {
|
|
60
|
-
readonly inputs: readonly [{
|
|
61
|
-
readonly internalType: "address";
|
|
62
|
-
readonly name: "spender";
|
|
63
|
-
readonly type: "address";
|
|
64
|
-
}, {
|
|
65
|
-
readonly internalType: "uint256";
|
|
66
|
-
readonly name: "amount";
|
|
67
|
-
readonly type: "uint256";
|
|
68
|
-
}];
|
|
69
|
-
readonly name: "approve";
|
|
70
|
-
readonly outputs: readonly [{
|
|
71
|
-
readonly internalType: "bool";
|
|
72
|
-
readonly name: "";
|
|
73
|
-
readonly type: "bool";
|
|
74
|
-
}];
|
|
75
|
-
readonly stateMutability: "nonpayable";
|
|
76
|
-
readonly type: "function";
|
|
77
|
-
}, {
|
|
78
|
-
readonly inputs: readonly [{
|
|
79
|
-
readonly internalType: "address";
|
|
80
|
-
readonly name: "account";
|
|
81
|
-
readonly type: "address";
|
|
82
|
-
}];
|
|
83
|
-
readonly name: "balanceOf";
|
|
84
|
-
readonly outputs: readonly [{
|
|
85
|
-
readonly internalType: "uint256";
|
|
86
|
-
readonly name: "";
|
|
87
|
-
readonly type: "uint256";
|
|
88
|
-
}];
|
|
89
|
-
readonly stateMutability: "view";
|
|
90
|
-
readonly type: "function";
|
|
91
|
-
}, {
|
|
92
|
-
readonly inputs: readonly [];
|
|
93
|
-
readonly name: "decimals";
|
|
94
|
-
readonly outputs: readonly [{
|
|
95
|
-
readonly name: "";
|
|
96
|
-
readonly type: "uint8";
|
|
97
|
-
}];
|
|
98
|
-
readonly stateMutability: "view";
|
|
99
|
-
readonly type: "function";
|
|
100
|
-
}, {
|
|
101
|
-
readonly inputs: readonly [];
|
|
102
|
-
readonly name: "totalSupply";
|
|
103
|
-
readonly outputs: readonly [{
|
|
104
|
-
readonly internalType: "uint256";
|
|
105
|
-
readonly name: "";
|
|
106
|
-
readonly type: "uint256";
|
|
107
|
-
}];
|
|
108
|
-
readonly stateMutability: "view";
|
|
109
|
-
readonly type: "function";
|
|
110
|
-
}, {
|
|
111
|
-
readonly inputs: readonly [{
|
|
112
|
-
readonly internalType: "address";
|
|
113
|
-
readonly name: "to";
|
|
114
|
-
readonly type: "address";
|
|
115
|
-
}, {
|
|
116
|
-
readonly internalType: "uint256";
|
|
117
|
-
readonly name: "amount";
|
|
118
|
-
readonly type: "uint256";
|
|
119
|
-
}];
|
|
120
|
-
readonly name: "transfer";
|
|
121
|
-
readonly outputs: readonly [{
|
|
122
|
-
readonly internalType: "bool";
|
|
123
|
-
readonly name: "";
|
|
124
|
-
readonly type: "bool";
|
|
125
|
-
}];
|
|
126
|
-
readonly stateMutability: "nonpayable";
|
|
127
|
-
readonly type: "function";
|
|
128
|
-
}, {
|
|
129
|
-
readonly inputs: readonly [{
|
|
130
|
-
readonly internalType: "address";
|
|
131
|
-
readonly name: "from";
|
|
132
|
-
readonly type: "address";
|
|
133
|
-
}, {
|
|
134
|
-
readonly internalType: "address";
|
|
135
|
-
readonly name: "to";
|
|
136
|
-
readonly type: "address";
|
|
137
|
-
}, {
|
|
138
|
-
readonly internalType: "uint256";
|
|
139
|
-
readonly name: "amount";
|
|
140
|
-
readonly type: "uint256";
|
|
141
|
-
}];
|
|
142
|
-
readonly name: "transferFrom";
|
|
143
|
-
readonly outputs: readonly [{
|
|
144
|
-
readonly internalType: "bool";
|
|
145
|
-
readonly name: "";
|
|
146
|
-
readonly type: "bool";
|
|
147
|
-
}];
|
|
148
|
-
readonly stateMutability: "nonpayable";
|
|
149
|
-
readonly type: "function";
|
|
150
|
-
}];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Aave';
|