@1delta/margin-fetcher 0.0.1 → 0.0.3
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/abis/aave-v3/YLDR.d.ts +36 -0
- package/dist/abis/aave-v3/YLDR.d.ts.map +1 -0
- package/dist/abis/aave-v3/YLDR.js +46 -0
- package/dist/assets/index.d.ts.map +1 -1
- package/dist/assets/index.js +1 -1
- package/dist/lending/aave-v3-type/types.d.ts +7 -0
- package/dist/lending/aave-v3-type/types.d.ts.map +1 -1
- package/dist/lending/aave-v3-type/types.js +8 -0
- package/dist/lending/addresses/compoundV3.d.ts.map +1 -1
- package/dist/lending/addresses/compoundV3.js +1 -1
- package/dist/lending/compound-v3/publicCallParse.js +1 -1
- package/dist/lending/init/publicCallParse.js +1 -1
- package/dist/lending/user-data/aave-v2-type/userCallParse.js +3 -2
- package/dist/lending/user-data/aave-v3-type/userCallBuild.d.ts.map +1 -1
- package/dist/lending/user-data/aave-v3-type/userCallBuild.js +11 -8
- package/dist/lending/user-data/aave-v3-type/userCallParse.js +4 -3
- 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/aave-v3-type/userCallParseYldr.js +75 -0
- package/dist/lending/user-data/abis.d.ts +667 -0
- package/dist/lending/user-data/abis.d.ts.map +1 -1
- package/dist/lending/user-data/abis.js +7 -1
- package/dist/lending/user-data/compound-v3/addresses.d.ts.map +1 -1
- package/dist/lending/user-data/compound-v3/addresses.js +1 -1
- package/dist/lending/user-data/compound-v3/userCallParse.d.ts.map +1 -1
- package/dist/lending/user-data/compound-v3/userCallParse.js +7 -5
- package/dist/lending/user-data/fetchUserData.d.ts.map +1 -1
- package/dist/lending/user-data/fetchUserData.js +5 -3
- package/dist/lending/user-data/init/userCallParse.d.ts.map +1 -1
- package/dist/lending/user-data/init/userCallParse.js +3 -2
- package/dist/lending/user-data/types.d.ts +10 -12
- package/dist/lending/user-data/types.d.ts.map +1 -1
- package/dist/lending/user-data/utils/createMultiAccountStyleUserState.js +1 -1
- package/dist/prices/main-prices/addresses/aaveOracles.d.ts +6 -7
- package/dist/prices/main-prices/addresses/aaveOracles.d.ts.map +1 -1
- package/dist/prices/main-prices/addresses/aaveOracles.js +6 -7
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -0
- package/dist/utils/parsing.d.ts.map +1 -1
- package/dist/utils/parsing.js +1 -1
- package/package.json +5 -2
- package/src/abis/aave-v3/YLDR.ts +46 -0
- package/src/assets/index.ts +1 -1
- package/src/lending/aave-v3-type/types.ts +8 -0
- package/src/lending/addresses/compoundV3.ts +1 -1
- package/src/lending/compound-v3/publicCallParse.ts +1 -1
- package/src/lending/init/publicCallParse.ts +1 -1
- package/src/lending/user-data/aave-v2-type/userCallParse.ts +9 -7
- package/src/lending/user-data/aave-v3-type/userCallBuild.ts +13 -8
- package/src/lending/user-data/aave-v3-type/userCallParse.ts +5 -3
- package/src/lending/user-data/aave-v3-type/userCallParseYldr.ts +116 -0
- package/src/lending/user-data/abis.ts +33 -28
- package/src/lending/user-data/compound-v3/addresses.ts +1 -1
- package/src/lending/user-data/compound-v3/userCallParse.ts +7 -5
- package/src/lending/user-data/fetchUserData.ts +4 -2
- package/src/lending/user-data/init/userCallParse.ts +11 -11
- package/src/lending/user-data/types.ts +11 -13
- package/src/lending/user-data/utils/createMultiAccountStyleUserState.ts +1 -1
- package/src/prices/main-prices/addresses/aaveOracles.ts +6 -7
- package/src/utils/index.ts +5 -3
- package/src/utils/parsing.ts +1 -1
- package/test/lenderData.test.ts +1 -1
- package/test/userdata.test.ts +40 -1
|
@@ -5069,6 +5069,673 @@ export declare const getAbi: (lender: Lender) => readonly [{
|
|
|
5069
5069
|
readonly internalType: "uint256";
|
|
5070
5070
|
}];
|
|
5071
5071
|
readonly stateMutability: "nonpayable";
|
|
5072
|
+
})[] | ({
|
|
5073
|
+
readonly anonymous: false;
|
|
5074
|
+
readonly inputs: readonly [{
|
|
5075
|
+
readonly indexed: true;
|
|
5076
|
+
readonly internalType: "address";
|
|
5077
|
+
readonly name: "owner";
|
|
5078
|
+
readonly type: "address";
|
|
5079
|
+
}, {
|
|
5080
|
+
readonly indexed: true;
|
|
5081
|
+
readonly internalType: "address";
|
|
5082
|
+
readonly name: "spender";
|
|
5083
|
+
readonly type: "address";
|
|
5084
|
+
}, {
|
|
5085
|
+
readonly indexed: false;
|
|
5086
|
+
readonly internalType: "uint256";
|
|
5087
|
+
readonly name: "value";
|
|
5088
|
+
readonly type: "uint256";
|
|
5089
|
+
}];
|
|
5090
|
+
readonly name: "Approval";
|
|
5091
|
+
readonly type: "event";
|
|
5092
|
+
} | {
|
|
5093
|
+
readonly anonymous: false;
|
|
5094
|
+
readonly inputs: readonly [{
|
|
5095
|
+
readonly indexed: true;
|
|
5096
|
+
readonly internalType: "address";
|
|
5097
|
+
readonly name: "fromUser";
|
|
5098
|
+
readonly type: "address";
|
|
5099
|
+
}, {
|
|
5100
|
+
readonly indexed: true;
|
|
5101
|
+
readonly internalType: "address";
|
|
5102
|
+
readonly name: "toUser";
|
|
5103
|
+
readonly type: "address";
|
|
5104
|
+
}, {
|
|
5105
|
+
readonly indexed: true;
|
|
5106
|
+
readonly internalType: "address";
|
|
5107
|
+
readonly name: "asset";
|
|
5108
|
+
readonly type: "address";
|
|
5109
|
+
}, {
|
|
5110
|
+
readonly indexed: false;
|
|
5111
|
+
readonly internalType: "uint256";
|
|
5112
|
+
readonly name: "amount";
|
|
5113
|
+
readonly type: "uint256";
|
|
5114
|
+
}];
|
|
5115
|
+
readonly name: "BorrowAllowanceDelegated";
|
|
5116
|
+
readonly type: "event";
|
|
5117
|
+
} | {
|
|
5118
|
+
readonly anonymous: false;
|
|
5119
|
+
readonly inputs: readonly [{
|
|
5120
|
+
readonly indexed: true;
|
|
5121
|
+
readonly internalType: "address";
|
|
5122
|
+
readonly name: "from";
|
|
5123
|
+
readonly type: "address";
|
|
5124
|
+
}, {
|
|
5125
|
+
readonly indexed: true;
|
|
5126
|
+
readonly internalType: "address";
|
|
5127
|
+
readonly name: "target";
|
|
5128
|
+
readonly type: "address";
|
|
5129
|
+
}, {
|
|
5130
|
+
readonly indexed: false;
|
|
5131
|
+
readonly internalType: "uint256";
|
|
5132
|
+
readonly name: "value";
|
|
5133
|
+
readonly type: "uint256";
|
|
5134
|
+
}, {
|
|
5135
|
+
readonly indexed: false;
|
|
5136
|
+
readonly internalType: "uint256";
|
|
5137
|
+
readonly name: "balanceIncrease";
|
|
5138
|
+
readonly type: "uint256";
|
|
5139
|
+
}, {
|
|
5140
|
+
readonly indexed: false;
|
|
5141
|
+
readonly internalType: "uint256";
|
|
5142
|
+
readonly name: "index";
|
|
5143
|
+
readonly type: "uint256";
|
|
5144
|
+
}];
|
|
5145
|
+
readonly name: "Burn";
|
|
5146
|
+
readonly type: "event";
|
|
5147
|
+
} | {
|
|
5148
|
+
readonly anonymous: false;
|
|
5149
|
+
readonly inputs: readonly [{
|
|
5150
|
+
readonly indexed: true;
|
|
5151
|
+
readonly internalType: "address";
|
|
5152
|
+
readonly name: "underlyingAsset";
|
|
5153
|
+
readonly type: "address";
|
|
5154
|
+
}, {
|
|
5155
|
+
readonly indexed: true;
|
|
5156
|
+
readonly internalType: "address";
|
|
5157
|
+
readonly name: "pool";
|
|
5158
|
+
readonly type: "address";
|
|
5159
|
+
}, {
|
|
5160
|
+
readonly indexed: false;
|
|
5161
|
+
readonly internalType: "address";
|
|
5162
|
+
readonly name: "incentivesController";
|
|
5163
|
+
readonly type: "address";
|
|
5164
|
+
}, {
|
|
5165
|
+
readonly indexed: false;
|
|
5166
|
+
readonly internalType: "uint8";
|
|
5167
|
+
readonly name: "debtTokenDecimals";
|
|
5168
|
+
readonly type: "uint8";
|
|
5169
|
+
}, {
|
|
5170
|
+
readonly indexed: false;
|
|
5171
|
+
readonly internalType: "string";
|
|
5172
|
+
readonly name: "debtTokenName";
|
|
5173
|
+
readonly type: "string";
|
|
5174
|
+
}, {
|
|
5175
|
+
readonly indexed: false;
|
|
5176
|
+
readonly internalType: "string";
|
|
5177
|
+
readonly name: "debtTokenSymbol";
|
|
5178
|
+
readonly type: "string";
|
|
5179
|
+
}, {
|
|
5180
|
+
readonly indexed: false;
|
|
5181
|
+
readonly internalType: "bytes";
|
|
5182
|
+
readonly name: "params";
|
|
5183
|
+
readonly type: "bytes";
|
|
5184
|
+
}];
|
|
5185
|
+
readonly name: "Initialized";
|
|
5186
|
+
readonly type: "event";
|
|
5187
|
+
} | {
|
|
5188
|
+
readonly anonymous: false;
|
|
5189
|
+
readonly inputs: readonly [{
|
|
5190
|
+
readonly indexed: true;
|
|
5191
|
+
readonly internalType: "address";
|
|
5192
|
+
readonly name: "caller";
|
|
5193
|
+
readonly type: "address";
|
|
5194
|
+
}, {
|
|
5195
|
+
readonly indexed: true;
|
|
5196
|
+
readonly internalType: "address";
|
|
5197
|
+
readonly name: "onBehalfOf";
|
|
5198
|
+
readonly type: "address";
|
|
5199
|
+
}, {
|
|
5200
|
+
readonly indexed: false;
|
|
5201
|
+
readonly internalType: "uint256";
|
|
5202
|
+
readonly name: "value";
|
|
5203
|
+
readonly type: "uint256";
|
|
5204
|
+
}, {
|
|
5205
|
+
readonly indexed: false;
|
|
5206
|
+
readonly internalType: "uint256";
|
|
5207
|
+
readonly name: "balanceIncrease";
|
|
5208
|
+
readonly type: "uint256";
|
|
5209
|
+
}, {
|
|
5210
|
+
readonly indexed: false;
|
|
5211
|
+
readonly internalType: "uint256";
|
|
5212
|
+
readonly name: "index";
|
|
5213
|
+
readonly type: "uint256";
|
|
5214
|
+
}];
|
|
5215
|
+
readonly name: "Mint";
|
|
5216
|
+
readonly type: "event";
|
|
5217
|
+
} | {
|
|
5218
|
+
readonly anonymous: false;
|
|
5219
|
+
readonly inputs: readonly [{
|
|
5220
|
+
readonly indexed: true;
|
|
5221
|
+
readonly internalType: "address";
|
|
5222
|
+
readonly name: "from";
|
|
5223
|
+
readonly type: "address";
|
|
5224
|
+
}, {
|
|
5225
|
+
readonly indexed: true;
|
|
5226
|
+
readonly internalType: "address";
|
|
5227
|
+
readonly name: "to";
|
|
5228
|
+
readonly type: "address";
|
|
5229
|
+
}, {
|
|
5230
|
+
readonly indexed: false;
|
|
5231
|
+
readonly internalType: "uint256";
|
|
5232
|
+
readonly name: "value";
|
|
5233
|
+
readonly type: "uint256";
|
|
5234
|
+
}];
|
|
5235
|
+
readonly name: "Transfer";
|
|
5236
|
+
readonly type: "event";
|
|
5237
|
+
} | {
|
|
5238
|
+
readonly inputs: readonly [];
|
|
5239
|
+
readonly name: "DEBT_TOKEN_REVISION";
|
|
5240
|
+
readonly outputs: readonly [{
|
|
5241
|
+
readonly internalType: "uint256";
|
|
5242
|
+
readonly name: "";
|
|
5243
|
+
readonly type: "uint256";
|
|
5244
|
+
}];
|
|
5245
|
+
readonly stateMutability: "view";
|
|
5246
|
+
readonly type: "function";
|
|
5247
|
+
} | {
|
|
5248
|
+
readonly inputs: readonly [];
|
|
5249
|
+
readonly name: "DELEGATION_WITH_SIG_TYPEHASH";
|
|
5250
|
+
readonly outputs: readonly [{
|
|
5251
|
+
readonly internalType: "bytes32";
|
|
5252
|
+
readonly name: "";
|
|
5253
|
+
readonly type: "bytes32";
|
|
5254
|
+
}];
|
|
5255
|
+
readonly stateMutability: "view";
|
|
5256
|
+
readonly type: "function";
|
|
5257
|
+
} | {
|
|
5258
|
+
readonly inputs: readonly [];
|
|
5259
|
+
readonly name: "DOMAIN_SEPARATOR";
|
|
5260
|
+
readonly outputs: readonly [{
|
|
5261
|
+
readonly internalType: "bytes32";
|
|
5262
|
+
readonly name: "";
|
|
5263
|
+
readonly type: "bytes32";
|
|
5264
|
+
}];
|
|
5265
|
+
readonly stateMutability: "view";
|
|
5266
|
+
readonly type: "function";
|
|
5267
|
+
} | {
|
|
5268
|
+
readonly inputs: readonly [];
|
|
5269
|
+
readonly name: "EIP712_REVISION";
|
|
5270
|
+
readonly outputs: readonly [{
|
|
5271
|
+
readonly internalType: "bytes";
|
|
5272
|
+
readonly name: "";
|
|
5273
|
+
readonly type: "bytes";
|
|
5274
|
+
}];
|
|
5275
|
+
readonly stateMutability: "view";
|
|
5276
|
+
readonly type: "function";
|
|
5277
|
+
} | {
|
|
5278
|
+
readonly inputs: readonly [];
|
|
5279
|
+
readonly name: "POOL";
|
|
5280
|
+
readonly outputs: readonly [{
|
|
5281
|
+
readonly internalType: "contract IPool";
|
|
5282
|
+
readonly name: "";
|
|
5283
|
+
readonly type: "address";
|
|
5284
|
+
}];
|
|
5285
|
+
readonly stateMutability: "view";
|
|
5286
|
+
readonly type: "function";
|
|
5287
|
+
} | {
|
|
5288
|
+
readonly inputs: readonly [];
|
|
5289
|
+
readonly name: "UNDERLYING_ASSET_ADDRESS";
|
|
5290
|
+
readonly outputs: readonly [{
|
|
5291
|
+
readonly internalType: "address";
|
|
5292
|
+
readonly name: "";
|
|
5293
|
+
readonly type: "address";
|
|
5294
|
+
}];
|
|
5295
|
+
readonly stateMutability: "view";
|
|
5296
|
+
readonly type: "function";
|
|
5297
|
+
} | {
|
|
5298
|
+
readonly inputs: readonly [{
|
|
5299
|
+
readonly internalType: "address";
|
|
5300
|
+
readonly name: "";
|
|
5301
|
+
readonly type: "address";
|
|
5302
|
+
}, {
|
|
5303
|
+
readonly internalType: "address";
|
|
5304
|
+
readonly name: "";
|
|
5305
|
+
readonly type: "address";
|
|
5306
|
+
}];
|
|
5307
|
+
readonly name: "allowance";
|
|
5308
|
+
readonly outputs: readonly [{
|
|
5309
|
+
readonly internalType: "uint256";
|
|
5310
|
+
readonly name: "";
|
|
5311
|
+
readonly type: "uint256";
|
|
5312
|
+
}];
|
|
5313
|
+
readonly stateMutability: "view";
|
|
5314
|
+
readonly type: "function";
|
|
5315
|
+
} | {
|
|
5316
|
+
readonly inputs: readonly [{
|
|
5317
|
+
readonly internalType: "address";
|
|
5318
|
+
readonly name: "";
|
|
5319
|
+
readonly type: "address";
|
|
5320
|
+
}, {
|
|
5321
|
+
readonly internalType: "uint256";
|
|
5322
|
+
readonly name: "";
|
|
5323
|
+
readonly type: "uint256";
|
|
5324
|
+
}];
|
|
5325
|
+
readonly name: "approve";
|
|
5326
|
+
readonly outputs: readonly [{
|
|
5327
|
+
readonly internalType: "bool";
|
|
5328
|
+
readonly name: "";
|
|
5329
|
+
readonly type: "bool";
|
|
5330
|
+
}];
|
|
5331
|
+
readonly stateMutability: "nonpayable";
|
|
5332
|
+
readonly type: "function";
|
|
5333
|
+
} | {
|
|
5334
|
+
readonly inputs: readonly [{
|
|
5335
|
+
readonly internalType: "address";
|
|
5336
|
+
readonly name: "delegatee";
|
|
5337
|
+
readonly type: "address";
|
|
5338
|
+
}, {
|
|
5339
|
+
readonly internalType: "uint256";
|
|
5340
|
+
readonly name: "amount";
|
|
5341
|
+
readonly type: "uint256";
|
|
5342
|
+
}];
|
|
5343
|
+
readonly name: "approveDelegation";
|
|
5344
|
+
readonly outputs: readonly [];
|
|
5345
|
+
readonly stateMutability: "nonpayable";
|
|
5346
|
+
readonly type: "function";
|
|
5347
|
+
} | {
|
|
5348
|
+
readonly inputs: readonly [{
|
|
5349
|
+
readonly internalType: "address";
|
|
5350
|
+
readonly name: "user";
|
|
5351
|
+
readonly type: "address";
|
|
5352
|
+
}];
|
|
5353
|
+
readonly name: "balanceOf";
|
|
5354
|
+
readonly outputs: readonly [{
|
|
5355
|
+
readonly internalType: "uint256";
|
|
5356
|
+
readonly name: "";
|
|
5357
|
+
readonly type: "uint256";
|
|
5358
|
+
}];
|
|
5359
|
+
readonly stateMutability: "view";
|
|
5360
|
+
readonly type: "function";
|
|
5361
|
+
} | {
|
|
5362
|
+
readonly inputs: readonly [{
|
|
5363
|
+
readonly internalType: "address";
|
|
5364
|
+
readonly name: "fromUser";
|
|
5365
|
+
readonly type: "address";
|
|
5366
|
+
}, {
|
|
5367
|
+
readonly internalType: "address";
|
|
5368
|
+
readonly name: "toUser";
|
|
5369
|
+
readonly type: "address";
|
|
5370
|
+
}];
|
|
5371
|
+
readonly name: "borrowAllowance";
|
|
5372
|
+
readonly outputs: readonly [{
|
|
5373
|
+
readonly internalType: "uint256";
|
|
5374
|
+
readonly name: "";
|
|
5375
|
+
readonly type: "uint256";
|
|
5376
|
+
}];
|
|
5377
|
+
readonly stateMutability: "view";
|
|
5378
|
+
readonly type: "function";
|
|
5379
|
+
} | {
|
|
5380
|
+
readonly inputs: readonly [{
|
|
5381
|
+
readonly internalType: "address";
|
|
5382
|
+
readonly name: "from";
|
|
5383
|
+
readonly type: "address";
|
|
5384
|
+
}, {
|
|
5385
|
+
readonly internalType: "uint256";
|
|
5386
|
+
readonly name: "amount";
|
|
5387
|
+
readonly type: "uint256";
|
|
5388
|
+
}, {
|
|
5389
|
+
readonly internalType: "uint256";
|
|
5390
|
+
readonly name: "index";
|
|
5391
|
+
readonly type: "uint256";
|
|
5392
|
+
}];
|
|
5393
|
+
readonly name: "burn";
|
|
5394
|
+
readonly outputs: readonly [{
|
|
5395
|
+
readonly internalType: "uint256";
|
|
5396
|
+
readonly name: "";
|
|
5397
|
+
readonly type: "uint256";
|
|
5398
|
+
}];
|
|
5399
|
+
readonly stateMutability: "nonpayable";
|
|
5400
|
+
readonly type: "function";
|
|
5401
|
+
} | {
|
|
5402
|
+
readonly inputs: readonly [];
|
|
5403
|
+
readonly name: "decimals";
|
|
5404
|
+
readonly outputs: readonly [{
|
|
5405
|
+
readonly internalType: "uint8";
|
|
5406
|
+
readonly name: "";
|
|
5407
|
+
readonly type: "uint8";
|
|
5408
|
+
}];
|
|
5409
|
+
readonly stateMutability: "view";
|
|
5410
|
+
readonly type: "function";
|
|
5411
|
+
} | {
|
|
5412
|
+
readonly inputs: readonly [{
|
|
5413
|
+
readonly internalType: "address";
|
|
5414
|
+
readonly name: "";
|
|
5415
|
+
readonly type: "address";
|
|
5416
|
+
}, {
|
|
5417
|
+
readonly internalType: "uint256";
|
|
5418
|
+
readonly name: "";
|
|
5419
|
+
readonly type: "uint256";
|
|
5420
|
+
}];
|
|
5421
|
+
readonly name: "decreaseAllowance";
|
|
5422
|
+
readonly outputs: readonly [{
|
|
5423
|
+
readonly internalType: "bool";
|
|
5424
|
+
readonly name: "";
|
|
5425
|
+
readonly type: "bool";
|
|
5426
|
+
}];
|
|
5427
|
+
readonly stateMutability: "nonpayable";
|
|
5428
|
+
readonly type: "function";
|
|
5429
|
+
} | {
|
|
5430
|
+
readonly inputs: readonly [{
|
|
5431
|
+
readonly internalType: "address";
|
|
5432
|
+
readonly name: "delegator";
|
|
5433
|
+
readonly type: "address";
|
|
5434
|
+
}, {
|
|
5435
|
+
readonly internalType: "address";
|
|
5436
|
+
readonly name: "delegatee";
|
|
5437
|
+
readonly type: "address";
|
|
5438
|
+
}, {
|
|
5439
|
+
readonly internalType: "uint256";
|
|
5440
|
+
readonly name: "value";
|
|
5441
|
+
readonly type: "uint256";
|
|
5442
|
+
}, {
|
|
5443
|
+
readonly internalType: "uint256";
|
|
5444
|
+
readonly name: "deadline";
|
|
5445
|
+
readonly type: "uint256";
|
|
5446
|
+
}, {
|
|
5447
|
+
readonly internalType: "uint8";
|
|
5448
|
+
readonly name: "v";
|
|
5449
|
+
readonly type: "uint8";
|
|
5450
|
+
}, {
|
|
5451
|
+
readonly internalType: "bytes32";
|
|
5452
|
+
readonly name: "r";
|
|
5453
|
+
readonly type: "bytes32";
|
|
5454
|
+
}, {
|
|
5455
|
+
readonly internalType: "bytes32";
|
|
5456
|
+
readonly name: "s";
|
|
5457
|
+
readonly type: "bytes32";
|
|
5458
|
+
}];
|
|
5459
|
+
readonly name: "delegationWithSig";
|
|
5460
|
+
readonly outputs: readonly [];
|
|
5461
|
+
readonly stateMutability: "nonpayable";
|
|
5462
|
+
readonly type: "function";
|
|
5463
|
+
} | {
|
|
5464
|
+
readonly inputs: readonly [];
|
|
5465
|
+
readonly name: "getIncentivesController";
|
|
5466
|
+
readonly outputs: readonly [{
|
|
5467
|
+
readonly internalType: "contract IAaveIncentivesController";
|
|
5468
|
+
readonly name: "";
|
|
5469
|
+
readonly type: "address";
|
|
5470
|
+
}];
|
|
5471
|
+
readonly stateMutability: "view";
|
|
5472
|
+
readonly type: "function";
|
|
5473
|
+
} | {
|
|
5474
|
+
readonly inputs: readonly [{
|
|
5475
|
+
readonly internalType: "address";
|
|
5476
|
+
readonly name: "user";
|
|
5477
|
+
readonly type: "address";
|
|
5478
|
+
}];
|
|
5479
|
+
readonly name: "getPreviousIndex";
|
|
5480
|
+
readonly outputs: readonly [{
|
|
5481
|
+
readonly internalType: "uint256";
|
|
5482
|
+
readonly name: "";
|
|
5483
|
+
readonly type: "uint256";
|
|
5484
|
+
}];
|
|
5485
|
+
readonly stateMutability: "view";
|
|
5486
|
+
readonly type: "function";
|
|
5487
|
+
} | {
|
|
5488
|
+
readonly inputs: readonly [{
|
|
5489
|
+
readonly internalType: "address";
|
|
5490
|
+
readonly name: "user";
|
|
5491
|
+
readonly type: "address";
|
|
5492
|
+
}];
|
|
5493
|
+
readonly name: "getScaledUserBalanceAndSupply";
|
|
5494
|
+
readonly outputs: readonly [{
|
|
5495
|
+
readonly internalType: "uint256";
|
|
5496
|
+
readonly name: "";
|
|
5497
|
+
readonly type: "uint256";
|
|
5498
|
+
}, {
|
|
5499
|
+
readonly internalType: "uint256";
|
|
5500
|
+
readonly name: "";
|
|
5501
|
+
readonly type: "uint256";
|
|
5502
|
+
}];
|
|
5503
|
+
readonly stateMutability: "view";
|
|
5504
|
+
readonly type: "function";
|
|
5505
|
+
} | {
|
|
5506
|
+
readonly inputs: readonly [{
|
|
5507
|
+
readonly internalType: "address";
|
|
5508
|
+
readonly name: "";
|
|
5509
|
+
readonly type: "address";
|
|
5510
|
+
}, {
|
|
5511
|
+
readonly internalType: "uint256";
|
|
5512
|
+
readonly name: "";
|
|
5513
|
+
readonly type: "uint256";
|
|
5514
|
+
}];
|
|
5515
|
+
readonly name: "increaseAllowance";
|
|
5516
|
+
readonly outputs: readonly [{
|
|
5517
|
+
readonly internalType: "bool";
|
|
5518
|
+
readonly name: "";
|
|
5519
|
+
readonly type: "bool";
|
|
5520
|
+
}];
|
|
5521
|
+
readonly stateMutability: "nonpayable";
|
|
5522
|
+
readonly type: "function";
|
|
5523
|
+
} | {
|
|
5524
|
+
readonly inputs: readonly [{
|
|
5525
|
+
readonly internalType: "contract IPool";
|
|
5526
|
+
readonly name: "initializingPool";
|
|
5527
|
+
readonly type: "address";
|
|
5528
|
+
}, {
|
|
5529
|
+
readonly internalType: "address";
|
|
5530
|
+
readonly name: "underlyingAsset";
|
|
5531
|
+
readonly type: "address";
|
|
5532
|
+
}, {
|
|
5533
|
+
readonly internalType: "contract IAaveIncentivesController";
|
|
5534
|
+
readonly name: "incentivesController";
|
|
5535
|
+
readonly type: "address";
|
|
5536
|
+
}, {
|
|
5537
|
+
readonly internalType: "uint8";
|
|
5538
|
+
readonly name: "debtTokenDecimals";
|
|
5539
|
+
readonly type: "uint8";
|
|
5540
|
+
}, {
|
|
5541
|
+
readonly internalType: "string";
|
|
5542
|
+
readonly name: "debtTokenName";
|
|
5543
|
+
readonly type: "string";
|
|
5544
|
+
}, {
|
|
5545
|
+
readonly internalType: "string";
|
|
5546
|
+
readonly name: "debtTokenSymbol";
|
|
5547
|
+
readonly type: "string";
|
|
5548
|
+
}, {
|
|
5549
|
+
readonly internalType: "bytes";
|
|
5550
|
+
readonly name: "params";
|
|
5551
|
+
readonly type: "bytes";
|
|
5552
|
+
}];
|
|
5553
|
+
readonly name: "initialize";
|
|
5554
|
+
readonly outputs: readonly [];
|
|
5555
|
+
readonly stateMutability: "nonpayable";
|
|
5556
|
+
readonly type: "function";
|
|
5557
|
+
} | {
|
|
5558
|
+
readonly inputs: readonly [{
|
|
5559
|
+
readonly internalType: "address";
|
|
5560
|
+
readonly name: "user";
|
|
5561
|
+
readonly type: "address";
|
|
5562
|
+
}, {
|
|
5563
|
+
readonly internalType: "address";
|
|
5564
|
+
readonly name: "onBehalfOf";
|
|
5565
|
+
readonly type: "address";
|
|
5566
|
+
}, {
|
|
5567
|
+
readonly internalType: "uint256";
|
|
5568
|
+
readonly name: "amount";
|
|
5569
|
+
readonly type: "uint256";
|
|
5570
|
+
}, {
|
|
5571
|
+
readonly internalType: "uint256";
|
|
5572
|
+
readonly name: "index";
|
|
5573
|
+
readonly type: "uint256";
|
|
5574
|
+
}];
|
|
5575
|
+
readonly name: "mint";
|
|
5576
|
+
readonly outputs: readonly [{
|
|
5577
|
+
readonly internalType: "bool";
|
|
5578
|
+
readonly name: "";
|
|
5579
|
+
readonly type: "bool";
|
|
5580
|
+
}, {
|
|
5581
|
+
readonly internalType: "uint256";
|
|
5582
|
+
readonly name: "";
|
|
5583
|
+
readonly type: "uint256";
|
|
5584
|
+
}];
|
|
5585
|
+
readonly stateMutability: "nonpayable";
|
|
5586
|
+
readonly type: "function";
|
|
5587
|
+
} | {
|
|
5588
|
+
readonly inputs: readonly [];
|
|
5589
|
+
readonly name: "name";
|
|
5590
|
+
readonly outputs: readonly [{
|
|
5591
|
+
readonly internalType: "string";
|
|
5592
|
+
readonly name: "";
|
|
5593
|
+
readonly type: "string";
|
|
5594
|
+
}];
|
|
5595
|
+
readonly stateMutability: "view";
|
|
5596
|
+
readonly type: "function";
|
|
5597
|
+
} | {
|
|
5598
|
+
readonly inputs: readonly [{
|
|
5599
|
+
readonly internalType: "address";
|
|
5600
|
+
readonly name: "owner";
|
|
5601
|
+
readonly type: "address";
|
|
5602
|
+
}];
|
|
5603
|
+
readonly name: "nonces";
|
|
5604
|
+
readonly outputs: readonly [{
|
|
5605
|
+
readonly internalType: "uint256";
|
|
5606
|
+
readonly name: "";
|
|
5607
|
+
readonly type: "uint256";
|
|
5608
|
+
}];
|
|
5609
|
+
readonly stateMutability: "view";
|
|
5610
|
+
readonly type: "function";
|
|
5611
|
+
} | {
|
|
5612
|
+
readonly inputs: readonly [{
|
|
5613
|
+
readonly internalType: "address";
|
|
5614
|
+
readonly name: "user";
|
|
5615
|
+
readonly type: "address";
|
|
5616
|
+
}];
|
|
5617
|
+
readonly name: "scaledBalanceOf";
|
|
5618
|
+
readonly outputs: readonly [{
|
|
5619
|
+
readonly internalType: "uint256";
|
|
5620
|
+
readonly name: "";
|
|
5621
|
+
readonly type: "uint256";
|
|
5622
|
+
}];
|
|
5623
|
+
readonly stateMutability: "view";
|
|
5624
|
+
readonly type: "function";
|
|
5625
|
+
} | {
|
|
5626
|
+
readonly inputs: readonly [];
|
|
5627
|
+
readonly name: "scaledTotalSupply";
|
|
5628
|
+
readonly outputs: readonly [{
|
|
5629
|
+
readonly internalType: "uint256";
|
|
5630
|
+
readonly name: "";
|
|
5631
|
+
readonly type: "uint256";
|
|
5632
|
+
}];
|
|
5633
|
+
readonly stateMutability: "view";
|
|
5634
|
+
readonly type: "function";
|
|
5635
|
+
} | {
|
|
5636
|
+
readonly inputs: readonly [{
|
|
5637
|
+
readonly internalType: "contract IAaveIncentivesController";
|
|
5638
|
+
readonly name: "controller";
|
|
5639
|
+
readonly type: "address";
|
|
5640
|
+
}];
|
|
5641
|
+
readonly name: "setIncentivesController";
|
|
5642
|
+
readonly outputs: readonly [];
|
|
5643
|
+
readonly stateMutability: "nonpayable";
|
|
5644
|
+
readonly type: "function";
|
|
5645
|
+
} | {
|
|
5646
|
+
readonly inputs: readonly [];
|
|
5647
|
+
readonly name: "symbol";
|
|
5648
|
+
readonly outputs: readonly [{
|
|
5649
|
+
readonly internalType: "string";
|
|
5650
|
+
readonly name: "";
|
|
5651
|
+
readonly type: "string";
|
|
5652
|
+
}];
|
|
5653
|
+
readonly stateMutability: "view";
|
|
5654
|
+
readonly type: "function";
|
|
5655
|
+
} | {
|
|
5656
|
+
readonly inputs: readonly [];
|
|
5657
|
+
readonly name: "totalSupply";
|
|
5658
|
+
readonly outputs: readonly [{
|
|
5659
|
+
readonly internalType: "uint256";
|
|
5660
|
+
readonly name: "";
|
|
5661
|
+
readonly type: "uint256";
|
|
5662
|
+
}];
|
|
5663
|
+
readonly stateMutability: "view";
|
|
5664
|
+
readonly type: "function";
|
|
5665
|
+
} | {
|
|
5666
|
+
readonly inputs: readonly [{
|
|
5667
|
+
readonly internalType: "address";
|
|
5668
|
+
readonly name: "";
|
|
5669
|
+
readonly type: "address";
|
|
5670
|
+
}, {
|
|
5671
|
+
readonly internalType: "uint256";
|
|
5672
|
+
readonly name: "";
|
|
5673
|
+
readonly type: "uint256";
|
|
5674
|
+
}];
|
|
5675
|
+
readonly name: "transfer";
|
|
5676
|
+
readonly outputs: readonly [{
|
|
5677
|
+
readonly internalType: "bool";
|
|
5678
|
+
readonly name: "";
|
|
5679
|
+
readonly type: "bool";
|
|
5680
|
+
}];
|
|
5681
|
+
readonly stateMutability: "nonpayable";
|
|
5682
|
+
readonly type: "function";
|
|
5683
|
+
} | {
|
|
5684
|
+
readonly inputs: readonly [{
|
|
5685
|
+
readonly internalType: "address";
|
|
5686
|
+
readonly name: "";
|
|
5687
|
+
readonly type: "address";
|
|
5688
|
+
}, {
|
|
5689
|
+
readonly internalType: "address";
|
|
5690
|
+
readonly name: "";
|
|
5691
|
+
readonly type: "address";
|
|
5692
|
+
}, {
|
|
5693
|
+
readonly internalType: "uint256";
|
|
5694
|
+
readonly name: "";
|
|
5695
|
+
readonly type: "uint256";
|
|
5696
|
+
}];
|
|
5697
|
+
readonly name: "transferFrom";
|
|
5698
|
+
readonly outputs: readonly [{
|
|
5699
|
+
readonly internalType: "bool";
|
|
5700
|
+
readonly name: "";
|
|
5701
|
+
readonly type: "bool";
|
|
5702
|
+
}];
|
|
5703
|
+
readonly stateMutability: "nonpayable";
|
|
5704
|
+
readonly type: "function";
|
|
5705
|
+
} | {
|
|
5706
|
+
readonly inputs: readonly [{
|
|
5707
|
+
readonly internalType: "address";
|
|
5708
|
+
readonly name: "asset";
|
|
5709
|
+
readonly type: "address";
|
|
5710
|
+
}, {
|
|
5711
|
+
readonly internalType: "address";
|
|
5712
|
+
readonly name: "user";
|
|
5713
|
+
readonly type: "address";
|
|
5714
|
+
}];
|
|
5715
|
+
readonly name: "getUserReserveData";
|
|
5716
|
+
readonly outputs: readonly [{
|
|
5717
|
+
readonly internalType: "uint256";
|
|
5718
|
+
readonly name: "currentYTokenBalance";
|
|
5719
|
+
readonly type: "uint256";
|
|
5720
|
+
}, {
|
|
5721
|
+
readonly internalType: "uint256";
|
|
5722
|
+
readonly name: "currentVariableDebt";
|
|
5723
|
+
readonly type: "uint256";
|
|
5724
|
+
}, {
|
|
5725
|
+
readonly internalType: "uint256";
|
|
5726
|
+
readonly name: "scaledVariableDebt";
|
|
5727
|
+
readonly type: "uint256";
|
|
5728
|
+
}, {
|
|
5729
|
+
readonly internalType: "uint256";
|
|
5730
|
+
readonly name: "liquidityRate";
|
|
5731
|
+
readonly type: "uint256";
|
|
5732
|
+
}, {
|
|
5733
|
+
readonly internalType: "bool";
|
|
5734
|
+
readonly name: "usageAsCollateralEnabled";
|
|
5735
|
+
readonly type: "bool";
|
|
5736
|
+
}];
|
|
5737
|
+
readonly stateMutability: "view";
|
|
5738
|
+
readonly type: "function";
|
|
5072
5739
|
})[] | ({
|
|
5073
5740
|
readonly inputs: readonly [];
|
|
5074
5741
|
readonly name: "BRIDGE_PROTOCOL_FEE";
|