@defisaver/positions-sdk 2.1.146 → 2.1.147
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/cjs/config/contracts.d.ts +2371 -631
- package/cjs/config/contracts.js +16 -5
- package/cjs/contracts.d.ts +106385 -88267
- package/cjs/liquityV2/index.js +9 -4
- package/esm/config/contracts.d.ts +2371 -631
- package/esm/config/contracts.js +16 -5
- package/esm/contracts.d.ts +106385 -88267
- package/esm/liquityV2/index.js +9 -4
- package/package.json +1 -1
- package/src/config/contracts.ts +16 -5
- package/src/liquityV2/index.ts +9 -4
|
@@ -65795,6 +65795,16 @@ export declare const Pot: {
|
|
|
65795
65795
|
};
|
|
65796
65796
|
export declare const SparkView: {
|
|
65797
65797
|
readonly abi: readonly [{
|
|
65798
|
+
readonly inputs: readonly [];
|
|
65799
|
+
readonly name: "LTV_ZERO_OFFSET";
|
|
65800
|
+
readonly outputs: readonly [{
|
|
65801
|
+
readonly internalType: "uint256";
|
|
65802
|
+
readonly name: "";
|
|
65803
|
+
readonly type: "uint256";
|
|
65804
|
+
}];
|
|
65805
|
+
readonly stateMutability: "view";
|
|
65806
|
+
readonly type: "function";
|
|
65807
|
+
}, {
|
|
65798
65808
|
readonly inputs: readonly [];
|
|
65799
65809
|
readonly name: "SPARK_REFERRAL_CODE";
|
|
65800
65810
|
readonly outputs: readonly [{
|
|
@@ -65804,6 +65814,41 @@ export declare const SparkView: {
|
|
|
65804
65814
|
}];
|
|
65805
65815
|
readonly stateMutability: "view";
|
|
65806
65816
|
readonly type: "function";
|
|
65817
|
+
}, {
|
|
65818
|
+
readonly inputs: readonly [{
|
|
65819
|
+
readonly internalType: "address";
|
|
65820
|
+
readonly name: "_market";
|
|
65821
|
+
readonly type: "address";
|
|
65822
|
+
}];
|
|
65823
|
+
readonly name: "getAllEmodes";
|
|
65824
|
+
readonly outputs: readonly [{
|
|
65825
|
+
readonly components: readonly [{
|
|
65826
|
+
readonly internalType: "uint16";
|
|
65827
|
+
readonly name: "ltv";
|
|
65828
|
+
readonly type: "uint16";
|
|
65829
|
+
}, {
|
|
65830
|
+
readonly internalType: "uint16";
|
|
65831
|
+
readonly name: "liquidationThreshold";
|
|
65832
|
+
readonly type: "uint16";
|
|
65833
|
+
}, {
|
|
65834
|
+
readonly internalType: "uint16";
|
|
65835
|
+
readonly name: "liquidationBonus";
|
|
65836
|
+
readonly type: "uint16";
|
|
65837
|
+
}, {
|
|
65838
|
+
readonly internalType: "address";
|
|
65839
|
+
readonly name: "priceSource";
|
|
65840
|
+
readonly type: "address";
|
|
65841
|
+
}, {
|
|
65842
|
+
readonly internalType: "string";
|
|
65843
|
+
readonly name: "label";
|
|
65844
|
+
readonly type: "string";
|
|
65845
|
+
}];
|
|
65846
|
+
readonly internalType: "struct SparkDataTypes.EModeCategory[]";
|
|
65847
|
+
readonly name: "emodesData";
|
|
65848
|
+
readonly type: "tuple[]";
|
|
65849
|
+
}];
|
|
65850
|
+
readonly stateMutability: "view";
|
|
65851
|
+
readonly type: "function";
|
|
65807
65852
|
}, {
|
|
65808
65853
|
readonly inputs: readonly [{
|
|
65809
65854
|
readonly internalType: "address";
|
|
@@ -65894,7 +65939,7 @@ export declare const SparkView: {
|
|
|
65894
65939
|
readonly name: "emodeCategory";
|
|
65895
65940
|
readonly type: "uint256";
|
|
65896
65941
|
}, {
|
|
65897
|
-
readonly internalType: "contract
|
|
65942
|
+
readonly internalType: "contract ISparkPool";
|
|
65898
65943
|
readonly name: "lendingPool";
|
|
65899
65944
|
readonly type: "address";
|
|
65900
65945
|
}];
|
|
@@ -65906,6 +65951,167 @@ export declare const SparkView: {
|
|
|
65906
65951
|
}];
|
|
65907
65952
|
readonly stateMutability: "view";
|
|
65908
65953
|
readonly type: "function";
|
|
65954
|
+
}, {
|
|
65955
|
+
readonly inputs: readonly [{
|
|
65956
|
+
readonly internalType: "address";
|
|
65957
|
+
readonly name: "_asset";
|
|
65958
|
+
readonly type: "address";
|
|
65959
|
+
}, {
|
|
65960
|
+
readonly internalType: "address";
|
|
65961
|
+
readonly name: "_eoa";
|
|
65962
|
+
readonly type: "address";
|
|
65963
|
+
}, {
|
|
65964
|
+
readonly internalType: "address";
|
|
65965
|
+
readonly name: "_proxy";
|
|
65966
|
+
readonly type: "address";
|
|
65967
|
+
}, {
|
|
65968
|
+
readonly internalType: "address";
|
|
65969
|
+
readonly name: "_market";
|
|
65970
|
+
readonly type: "address";
|
|
65971
|
+
}];
|
|
65972
|
+
readonly name: "getEOAApprovalsAndBalances";
|
|
65973
|
+
readonly outputs: readonly [{
|
|
65974
|
+
readonly components: readonly [{
|
|
65975
|
+
readonly internalType: "address";
|
|
65976
|
+
readonly name: "asset";
|
|
65977
|
+
readonly type: "address";
|
|
65978
|
+
}, {
|
|
65979
|
+
readonly internalType: "address";
|
|
65980
|
+
readonly name: "spToken";
|
|
65981
|
+
readonly type: "address";
|
|
65982
|
+
}, {
|
|
65983
|
+
readonly internalType: "address";
|
|
65984
|
+
readonly name: "variableDebtToken";
|
|
65985
|
+
readonly type: "address";
|
|
65986
|
+
}, {
|
|
65987
|
+
readonly internalType: "uint256";
|
|
65988
|
+
readonly name: "assetApproval";
|
|
65989
|
+
readonly type: "uint256";
|
|
65990
|
+
}, {
|
|
65991
|
+
readonly internalType: "uint256";
|
|
65992
|
+
readonly name: "spTokenApproval";
|
|
65993
|
+
readonly type: "uint256";
|
|
65994
|
+
}, {
|
|
65995
|
+
readonly internalType: "uint256";
|
|
65996
|
+
readonly name: "variableDebtDelegation";
|
|
65997
|
+
readonly type: "uint256";
|
|
65998
|
+
}, {
|
|
65999
|
+
readonly internalType: "uint256";
|
|
66000
|
+
readonly name: "borrowedVariableAmount";
|
|
66001
|
+
readonly type: "uint256";
|
|
66002
|
+
}, {
|
|
66003
|
+
readonly internalType: "uint256";
|
|
66004
|
+
readonly name: "eoaBalance";
|
|
66005
|
+
readonly type: "uint256";
|
|
66006
|
+
}, {
|
|
66007
|
+
readonly internalType: "uint256";
|
|
66008
|
+
readonly name: "spTokenBalance";
|
|
66009
|
+
readonly type: "uint256";
|
|
66010
|
+
}];
|
|
66011
|
+
readonly internalType: "struct SparkView.EOAApprovalData";
|
|
66012
|
+
readonly name: "approvalData";
|
|
66013
|
+
readonly type: "tuple";
|
|
66014
|
+
}];
|
|
66015
|
+
readonly stateMutability: "view";
|
|
66016
|
+
readonly type: "function";
|
|
66017
|
+
}, {
|
|
66018
|
+
readonly inputs: readonly [{
|
|
66019
|
+
readonly internalType: "address";
|
|
66020
|
+
readonly name: "_eoa";
|
|
66021
|
+
readonly type: "address";
|
|
66022
|
+
}, {
|
|
66023
|
+
readonly internalType: "address";
|
|
66024
|
+
readonly name: "_proxy";
|
|
66025
|
+
readonly type: "address";
|
|
66026
|
+
}, {
|
|
66027
|
+
readonly internalType: "address";
|
|
66028
|
+
readonly name: "_market";
|
|
66029
|
+
readonly type: "address";
|
|
66030
|
+
}];
|
|
66031
|
+
readonly name: "getEOAApprovalsAndBalancesForAllTokens";
|
|
66032
|
+
readonly outputs: readonly [{
|
|
66033
|
+
readonly components: readonly [{
|
|
66034
|
+
readonly internalType: "address";
|
|
66035
|
+
readonly name: "asset";
|
|
66036
|
+
readonly type: "address";
|
|
66037
|
+
}, {
|
|
66038
|
+
readonly internalType: "address";
|
|
66039
|
+
readonly name: "spToken";
|
|
66040
|
+
readonly type: "address";
|
|
66041
|
+
}, {
|
|
66042
|
+
readonly internalType: "address";
|
|
66043
|
+
readonly name: "variableDebtToken";
|
|
66044
|
+
readonly type: "address";
|
|
66045
|
+
}, {
|
|
66046
|
+
readonly internalType: "uint256";
|
|
66047
|
+
readonly name: "assetApproval";
|
|
66048
|
+
readonly type: "uint256";
|
|
66049
|
+
}, {
|
|
66050
|
+
readonly internalType: "uint256";
|
|
66051
|
+
readonly name: "spTokenApproval";
|
|
66052
|
+
readonly type: "uint256";
|
|
66053
|
+
}, {
|
|
66054
|
+
readonly internalType: "uint256";
|
|
66055
|
+
readonly name: "variableDebtDelegation";
|
|
66056
|
+
readonly type: "uint256";
|
|
66057
|
+
}, {
|
|
66058
|
+
readonly internalType: "uint256";
|
|
66059
|
+
readonly name: "borrowedVariableAmount";
|
|
66060
|
+
readonly type: "uint256";
|
|
66061
|
+
}, {
|
|
66062
|
+
readonly internalType: "uint256";
|
|
66063
|
+
readonly name: "eoaBalance";
|
|
66064
|
+
readonly type: "uint256";
|
|
66065
|
+
}, {
|
|
66066
|
+
readonly internalType: "uint256";
|
|
66067
|
+
readonly name: "spTokenBalance";
|
|
66068
|
+
readonly type: "uint256";
|
|
66069
|
+
}];
|
|
66070
|
+
readonly internalType: "struct SparkView.EOAApprovalData[]";
|
|
66071
|
+
readonly name: "approvalData";
|
|
66072
|
+
readonly type: "tuple[]";
|
|
66073
|
+
}];
|
|
66074
|
+
readonly stateMutability: "view";
|
|
66075
|
+
readonly type: "function";
|
|
66076
|
+
}, {
|
|
66077
|
+
readonly inputs: readonly [{
|
|
66078
|
+
readonly internalType: "contract ISparkPool";
|
|
66079
|
+
readonly name: "_lendingPool";
|
|
66080
|
+
readonly type: "address";
|
|
66081
|
+
}, {
|
|
66082
|
+
readonly internalType: "uint8";
|
|
66083
|
+
readonly name: "_id";
|
|
66084
|
+
readonly type: "uint8";
|
|
66085
|
+
}];
|
|
66086
|
+
readonly name: "getEmodeData";
|
|
66087
|
+
readonly outputs: readonly [{
|
|
66088
|
+
readonly components: readonly [{
|
|
66089
|
+
readonly internalType: "uint16";
|
|
66090
|
+
readonly name: "ltv";
|
|
66091
|
+
readonly type: "uint16";
|
|
66092
|
+
}, {
|
|
66093
|
+
readonly internalType: "uint16";
|
|
66094
|
+
readonly name: "liquidationThreshold";
|
|
66095
|
+
readonly type: "uint16";
|
|
66096
|
+
}, {
|
|
66097
|
+
readonly internalType: "uint16";
|
|
66098
|
+
readonly name: "liquidationBonus";
|
|
66099
|
+
readonly type: "uint16";
|
|
66100
|
+
}, {
|
|
66101
|
+
readonly internalType: "address";
|
|
66102
|
+
readonly name: "priceSource";
|
|
66103
|
+
readonly type: "address";
|
|
66104
|
+
}, {
|
|
66105
|
+
readonly internalType: "string";
|
|
66106
|
+
readonly name: "label";
|
|
66107
|
+
readonly type: "string";
|
|
66108
|
+
}];
|
|
66109
|
+
readonly internalType: "struct SparkDataTypes.EModeCategory";
|
|
66110
|
+
readonly name: "emodeData";
|
|
66111
|
+
readonly type: "tuple";
|
|
66112
|
+
}];
|
|
66113
|
+
readonly stateMutability: "view";
|
|
66114
|
+
readonly type: "function";
|
|
65909
66115
|
}, {
|
|
65910
66116
|
readonly inputs: readonly [{
|
|
65911
66117
|
readonly internalType: "address";
|
|
@@ -66236,7 +66442,7 @@ export declare const SparkView: {
|
|
|
66236
66442
|
readonly name: "data";
|
|
66237
66443
|
readonly type: "uint256";
|
|
66238
66444
|
}];
|
|
66239
|
-
readonly internalType: "struct
|
|
66445
|
+
readonly internalType: "struct SparkDataTypes.ReserveConfigurationMap";
|
|
66240
66446
|
readonly name: "self";
|
|
66241
66447
|
readonly type: "tuple";
|
|
66242
66448
|
}];
|
|
@@ -66320,6 +66526,24 @@ export declare const SparkView: {
|
|
|
66320
66526
|
}];
|
|
66321
66527
|
readonly stateMutability: "view";
|
|
66322
66528
|
readonly type: "function";
|
|
66529
|
+
}, {
|
|
66530
|
+
readonly inputs: readonly [{
|
|
66531
|
+
readonly internalType: "address";
|
|
66532
|
+
readonly name: "_market";
|
|
66533
|
+
readonly type: "address";
|
|
66534
|
+
}, {
|
|
66535
|
+
readonly internalType: "address";
|
|
66536
|
+
readonly name: "_user";
|
|
66537
|
+
readonly type: "address";
|
|
66538
|
+
}];
|
|
66539
|
+
readonly name: "getSafetyRatioWithLtvZeroFallback";
|
|
66540
|
+
readonly outputs: readonly [{
|
|
66541
|
+
readonly internalType: "uint256";
|
|
66542
|
+
readonly name: "";
|
|
66543
|
+
readonly type: "uint256";
|
|
66544
|
+
}];
|
|
66545
|
+
readonly stateMutability: "view";
|
|
66546
|
+
readonly type: "function";
|
|
66323
66547
|
}, {
|
|
66324
66548
|
readonly inputs: readonly [{
|
|
66325
66549
|
readonly internalType: "address";
|
|
@@ -66560,10 +66784,10 @@ export declare const SparkView: {
|
|
|
66560
66784
|
}];
|
|
66561
66785
|
readonly networks: {
|
|
66562
66786
|
readonly "1": {
|
|
66563
|
-
readonly address: "
|
|
66564
|
-
readonly createdBlock:
|
|
66787
|
+
readonly address: "0x834e866B3A33a4b186e80FB8aD36d27961C0024E";
|
|
66788
|
+
readonly createdBlock: 25826572;
|
|
66565
66789
|
readonly oldVersions: {
|
|
66566
|
-
readonly "
|
|
66790
|
+
readonly "20368470": {
|
|
66567
66791
|
readonly abi: readonly [{
|
|
66568
66792
|
readonly inputs: readonly [];
|
|
66569
66793
|
readonly name: "SPARK_REFERRAL_CODE";
|
|
@@ -66592,6 +66816,10 @@ export declare const SparkView: {
|
|
|
66592
66816
|
readonly internalType: "uint256";
|
|
66593
66817
|
readonly name: "liquidityTaken";
|
|
66594
66818
|
readonly type: "uint256";
|
|
66819
|
+
}, {
|
|
66820
|
+
readonly internalType: "bool";
|
|
66821
|
+
readonly name: "isDebtAsset";
|
|
66822
|
+
readonly type: "bool";
|
|
66595
66823
|
}];
|
|
66596
66824
|
readonly internalType: "struct SparkView.LiquidityChangeParams[]";
|
|
66597
66825
|
readonly name: "_reserveParams";
|
|
@@ -67324,9 +67552,9 @@ export declare const SparkView: {
|
|
|
67324
67552
|
readonly stateMutability: "view";
|
|
67325
67553
|
readonly type: "function";
|
|
67326
67554
|
}];
|
|
67327
|
-
readonly address: "
|
|
67555
|
+
readonly address: "0x080f99a5E039e863EC61bbEBBc48a409E75C58F5";
|
|
67328
67556
|
};
|
|
67329
|
-
readonly "
|
|
67557
|
+
readonly "20218396": {
|
|
67330
67558
|
readonly abi: readonly [{
|
|
67331
67559
|
readonly inputs: readonly [];
|
|
67332
67560
|
readonly name: "SPARK_REFERRAL_CODE";
|
|
@@ -67337,47 +67565,71 @@ export declare const SparkView: {
|
|
|
67337
67565
|
}];
|
|
67338
67566
|
readonly stateMutability: "view";
|
|
67339
67567
|
readonly type: "function";
|
|
67340
|
-
}, {
|
|
67341
|
-
readonly inputs: readonly [];
|
|
67342
|
-
readonly name: "STABLE_ID";
|
|
67343
|
-
readonly outputs: readonly [{
|
|
67344
|
-
readonly internalType: "uint256";
|
|
67345
|
-
readonly name: "";
|
|
67346
|
-
readonly type: "uint256";
|
|
67347
|
-
}];
|
|
67348
|
-
readonly stateMutability: "view";
|
|
67349
|
-
readonly type: "function";
|
|
67350
|
-
}, {
|
|
67351
|
-
readonly inputs: readonly [];
|
|
67352
|
-
readonly name: "VARIABLE_ID";
|
|
67353
|
-
readonly outputs: readonly [{
|
|
67354
|
-
readonly internalType: "uint256";
|
|
67355
|
-
readonly name: "";
|
|
67356
|
-
readonly type: "uint256";
|
|
67357
|
-
}];
|
|
67358
|
-
readonly stateMutability: "view";
|
|
67359
|
-
readonly type: "function";
|
|
67360
67568
|
}, {
|
|
67361
67569
|
readonly inputs: readonly [{
|
|
67362
67570
|
readonly internalType: "address";
|
|
67363
67571
|
readonly name: "_market";
|
|
67364
67572
|
readonly type: "address";
|
|
67365
67573
|
}, {
|
|
67366
|
-
readonly
|
|
67367
|
-
|
|
67368
|
-
|
|
67369
|
-
|
|
67370
|
-
|
|
67371
|
-
|
|
67372
|
-
|
|
67373
|
-
|
|
67374
|
-
|
|
67375
|
-
|
|
67376
|
-
|
|
67377
|
-
|
|
67378
|
-
|
|
67379
|
-
|
|
67380
|
-
readonly
|
|
67574
|
+
readonly components: readonly [{
|
|
67575
|
+
readonly internalType: "address";
|
|
67576
|
+
readonly name: "reserveAddress";
|
|
67577
|
+
readonly type: "address";
|
|
67578
|
+
}, {
|
|
67579
|
+
readonly internalType: "uint256";
|
|
67580
|
+
readonly name: "liquidityAdded";
|
|
67581
|
+
readonly type: "uint256";
|
|
67582
|
+
}, {
|
|
67583
|
+
readonly internalType: "uint256";
|
|
67584
|
+
readonly name: "liquidityTaken";
|
|
67585
|
+
readonly type: "uint256";
|
|
67586
|
+
}];
|
|
67587
|
+
readonly internalType: "struct SparkView.LiquidityChangeParams[]";
|
|
67588
|
+
readonly name: "_reserveParams";
|
|
67589
|
+
readonly type: "tuple[]";
|
|
67590
|
+
}];
|
|
67591
|
+
readonly name: "getApyAfterValuesEstimation";
|
|
67592
|
+
readonly outputs: readonly [{
|
|
67593
|
+
readonly components: readonly [{
|
|
67594
|
+
readonly internalType: "address";
|
|
67595
|
+
readonly name: "reserveAddress";
|
|
67596
|
+
readonly type: "address";
|
|
67597
|
+
}, {
|
|
67598
|
+
readonly internalType: "uint256";
|
|
67599
|
+
readonly name: "supplyRate";
|
|
67600
|
+
readonly type: "uint256";
|
|
67601
|
+
}, {
|
|
67602
|
+
readonly internalType: "uint256";
|
|
67603
|
+
readonly name: "variableBorrowRate";
|
|
67604
|
+
readonly type: "uint256";
|
|
67605
|
+
}];
|
|
67606
|
+
readonly internalType: "struct SparkView.EstimatedRates[]";
|
|
67607
|
+
readonly name: "";
|
|
67608
|
+
readonly type: "tuple[]";
|
|
67609
|
+
}];
|
|
67610
|
+
readonly stateMutability: "view";
|
|
67611
|
+
readonly type: "function";
|
|
67612
|
+
}, {
|
|
67613
|
+
readonly inputs: readonly [{
|
|
67614
|
+
readonly internalType: "address";
|
|
67615
|
+
readonly name: "_market";
|
|
67616
|
+
readonly type: "address";
|
|
67617
|
+
}, {
|
|
67618
|
+
readonly internalType: "address";
|
|
67619
|
+
readonly name: "_tokenAddr";
|
|
67620
|
+
readonly type: "address";
|
|
67621
|
+
}];
|
|
67622
|
+
readonly name: "getAssetPrice";
|
|
67623
|
+
readonly outputs: readonly [{
|
|
67624
|
+
readonly internalType: "uint256";
|
|
67625
|
+
readonly name: "price";
|
|
67626
|
+
readonly type: "uint256";
|
|
67627
|
+
}];
|
|
67628
|
+
readonly stateMutability: "view";
|
|
67629
|
+
readonly type: "function";
|
|
67630
|
+
}, {
|
|
67631
|
+
readonly inputs: readonly [{
|
|
67632
|
+
readonly internalType: "address";
|
|
67381
67633
|
readonly name: "_market";
|
|
67382
67634
|
readonly type: "address";
|
|
67383
67635
|
}, {
|
|
@@ -67612,6 +67864,10 @@ export declare const SparkView: {
|
|
|
67612
67864
|
readonly internalType: "address[]";
|
|
67613
67865
|
readonly name: "collAddr";
|
|
67614
67866
|
readonly type: "address[]";
|
|
67867
|
+
}, {
|
|
67868
|
+
readonly internalType: "bool[]";
|
|
67869
|
+
readonly name: "enabledAsColl";
|
|
67870
|
+
readonly type: "bool[]";
|
|
67615
67871
|
}, {
|
|
67616
67872
|
readonly internalType: "address[]";
|
|
67617
67873
|
readonly name: "borrowAddr";
|
|
@@ -67683,6 +67939,10 @@ export declare const SparkView: {
|
|
|
67683
67939
|
readonly internalType: "address[]";
|
|
67684
67940
|
readonly name: "collAddr";
|
|
67685
67941
|
readonly type: "address[]";
|
|
67942
|
+
}, {
|
|
67943
|
+
readonly internalType: "bool[]";
|
|
67944
|
+
readonly name: "enabledAsColl";
|
|
67945
|
+
readonly type: "bool[]";
|
|
67686
67946
|
}, {
|
|
67687
67947
|
readonly internalType: "address[]";
|
|
67688
67948
|
readonly name: "borrowAddr";
|
|
@@ -68055,439 +68315,806 @@ export declare const SparkView: {
|
|
|
68055
68315
|
readonly stateMutability: "view";
|
|
68056
68316
|
readonly type: "function";
|
|
68057
68317
|
}];
|
|
68058
|
-
readonly address: "
|
|
68318
|
+
readonly address: "0xD3780b6A694C3573C669A10bc10f61e3401412B8";
|
|
68059
68319
|
};
|
|
68060
|
-
readonly "
|
|
68320
|
+
readonly "17870357": {
|
|
68061
68321
|
readonly abi: readonly [{
|
|
68322
|
+
readonly inputs: readonly [];
|
|
68323
|
+
readonly name: "SPARK_REFERRAL_CODE";
|
|
68324
|
+
readonly outputs: readonly [{
|
|
68325
|
+
readonly internalType: "uint16";
|
|
68326
|
+
readonly name: "";
|
|
68327
|
+
readonly type: "uint16";
|
|
68328
|
+
}];
|
|
68329
|
+
readonly stateMutability: "view";
|
|
68330
|
+
readonly type: "function";
|
|
68331
|
+
}, {
|
|
68332
|
+
readonly inputs: readonly [];
|
|
68333
|
+
readonly name: "STABLE_ID";
|
|
68334
|
+
readonly outputs: readonly [{
|
|
68335
|
+
readonly internalType: "uint256";
|
|
68336
|
+
readonly name: "";
|
|
68337
|
+
readonly type: "uint256";
|
|
68338
|
+
}];
|
|
68339
|
+
readonly stateMutability: "view";
|
|
68340
|
+
readonly type: "function";
|
|
68341
|
+
}, {
|
|
68342
|
+
readonly inputs: readonly [];
|
|
68343
|
+
readonly name: "VARIABLE_ID";
|
|
68344
|
+
readonly outputs: readonly [{
|
|
68345
|
+
readonly internalType: "uint256";
|
|
68346
|
+
readonly name: "";
|
|
68347
|
+
readonly type: "uint256";
|
|
68348
|
+
}];
|
|
68349
|
+
readonly stateMutability: "view";
|
|
68350
|
+
readonly type: "function";
|
|
68351
|
+
}, {
|
|
68062
68352
|
readonly inputs: readonly [{
|
|
68063
68353
|
readonly internalType: "address";
|
|
68064
68354
|
readonly name: "_market";
|
|
68065
68355
|
readonly type: "address";
|
|
68066
68356
|
}, {
|
|
68067
68357
|
readonly internalType: "address";
|
|
68068
|
-
readonly name: "
|
|
68358
|
+
readonly name: "_tokenAddr";
|
|
68359
|
+
readonly type: "address";
|
|
68360
|
+
}];
|
|
68361
|
+
readonly name: "getAssetPrice";
|
|
68362
|
+
readonly outputs: readonly [{
|
|
68363
|
+
readonly internalType: "uint256";
|
|
68364
|
+
readonly name: "price";
|
|
68365
|
+
readonly type: "uint256";
|
|
68366
|
+
}];
|
|
68367
|
+
readonly stateMutability: "view";
|
|
68368
|
+
readonly type: "function";
|
|
68369
|
+
}, {
|
|
68370
|
+
readonly inputs: readonly [{
|
|
68371
|
+
readonly internalType: "address";
|
|
68372
|
+
readonly name: "_market";
|
|
68069
68373
|
readonly type: "address";
|
|
68070
68374
|
}, {
|
|
68071
68375
|
readonly internalType: "address[]";
|
|
68072
68376
|
readonly name: "_tokens";
|
|
68073
68377
|
readonly type: "address[]";
|
|
68074
68378
|
}];
|
|
68075
|
-
readonly name: "
|
|
68379
|
+
readonly name: "getCollFactors";
|
|
68380
|
+
readonly outputs: readonly [{
|
|
68381
|
+
readonly internalType: "uint256[]";
|
|
68382
|
+
readonly name: "collFactors";
|
|
68383
|
+
readonly type: "uint256[]";
|
|
68384
|
+
}];
|
|
68385
|
+
readonly stateMutability: "view";
|
|
68386
|
+
readonly type: "function";
|
|
68387
|
+
}, {
|
|
68388
|
+
readonly inputs: readonly [{
|
|
68389
|
+
readonly internalType: "uint256";
|
|
68390
|
+
readonly name: "emodeCategory";
|
|
68391
|
+
readonly type: "uint256";
|
|
68392
|
+
}, {
|
|
68393
|
+
readonly internalType: "contract IPoolV3";
|
|
68394
|
+
readonly name: "lendingPool";
|
|
68395
|
+
readonly type: "address";
|
|
68396
|
+
}];
|
|
68397
|
+
readonly name: "getEModeCollateralFactor";
|
|
68398
|
+
readonly outputs: readonly [{
|
|
68399
|
+
readonly internalType: "uint16";
|
|
68400
|
+
readonly name: "";
|
|
68401
|
+
readonly type: "uint16";
|
|
68402
|
+
}];
|
|
68403
|
+
readonly stateMutability: "view";
|
|
68404
|
+
readonly type: "function";
|
|
68405
|
+
}, {
|
|
68406
|
+
readonly inputs: readonly [{
|
|
68407
|
+
readonly internalType: "address";
|
|
68408
|
+
readonly name: "_market";
|
|
68409
|
+
readonly type: "address";
|
|
68410
|
+
}, {
|
|
68411
|
+
readonly internalType: "address[]";
|
|
68412
|
+
readonly name: "_tokenAddresses";
|
|
68413
|
+
readonly type: "address[]";
|
|
68414
|
+
}];
|
|
68415
|
+
readonly name: "getFullTokensInfo";
|
|
68076
68416
|
readonly outputs: readonly [{
|
|
68077
68417
|
readonly components: readonly [{
|
|
68078
68418
|
readonly internalType: "address";
|
|
68079
|
-
readonly name: "
|
|
68419
|
+
readonly name: "aTokenAddress";
|
|
68420
|
+
readonly type: "address";
|
|
68421
|
+
}, {
|
|
68422
|
+
readonly internalType: "address";
|
|
68423
|
+
readonly name: "underlyingTokenAddress";
|
|
68080
68424
|
readonly type: "address";
|
|
68425
|
+
}, {
|
|
68426
|
+
readonly internalType: "uint16";
|
|
68427
|
+
readonly name: "assetId";
|
|
68428
|
+
readonly type: "uint16";
|
|
68081
68429
|
}, {
|
|
68082
68430
|
readonly internalType: "uint256";
|
|
68083
|
-
readonly name: "
|
|
68431
|
+
readonly name: "supplyRate";
|
|
68084
68432
|
readonly type: "uint256";
|
|
68085
68433
|
}, {
|
|
68086
68434
|
readonly internalType: "uint256";
|
|
68087
|
-
readonly name: "
|
|
68435
|
+
readonly name: "borrowRateVariable";
|
|
68088
68436
|
readonly type: "uint256";
|
|
68089
68437
|
}, {
|
|
68090
68438
|
readonly internalType: "uint256";
|
|
68091
|
-
readonly name: "
|
|
68439
|
+
readonly name: "borrowRateStable";
|
|
68092
68440
|
readonly type: "uint256";
|
|
68093
68441
|
}, {
|
|
68094
68442
|
readonly internalType: "uint256";
|
|
68095
|
-
readonly name: "
|
|
68443
|
+
readonly name: "totalSupply";
|
|
68444
|
+
readonly type: "uint256";
|
|
68445
|
+
}, {
|
|
68446
|
+
readonly internalType: "uint256";
|
|
68447
|
+
readonly name: "availableLiquidity";
|
|
68448
|
+
readonly type: "uint256";
|
|
68449
|
+
}, {
|
|
68450
|
+
readonly internalType: "uint256";
|
|
68451
|
+
readonly name: "totalBorrow";
|
|
68452
|
+
readonly type: "uint256";
|
|
68453
|
+
}, {
|
|
68454
|
+
readonly internalType: "uint256";
|
|
68455
|
+
readonly name: "totalBorrowVar";
|
|
68456
|
+
readonly type: "uint256";
|
|
68457
|
+
}, {
|
|
68458
|
+
readonly internalType: "uint256";
|
|
68459
|
+
readonly name: "totalBorrowStab";
|
|
68460
|
+
readonly type: "uint256";
|
|
68461
|
+
}, {
|
|
68462
|
+
readonly internalType: "uint256";
|
|
68463
|
+
readonly name: "collateralFactor";
|
|
68464
|
+
readonly type: "uint256";
|
|
68465
|
+
}, {
|
|
68466
|
+
readonly internalType: "uint256";
|
|
68467
|
+
readonly name: "liquidationRatio";
|
|
68468
|
+
readonly type: "uint256";
|
|
68469
|
+
}, {
|
|
68470
|
+
readonly internalType: "uint256";
|
|
68471
|
+
readonly name: "price";
|
|
68472
|
+
readonly type: "uint256";
|
|
68473
|
+
}, {
|
|
68474
|
+
readonly internalType: "uint256";
|
|
68475
|
+
readonly name: "supplyCap";
|
|
68476
|
+
readonly type: "uint256";
|
|
68477
|
+
}, {
|
|
68478
|
+
readonly internalType: "uint256";
|
|
68479
|
+
readonly name: "borrowCap";
|
|
68480
|
+
readonly type: "uint256";
|
|
68481
|
+
}, {
|
|
68482
|
+
readonly internalType: "uint256";
|
|
68483
|
+
readonly name: "emodeCategory";
|
|
68484
|
+
readonly type: "uint256";
|
|
68485
|
+
}, {
|
|
68486
|
+
readonly internalType: "uint256";
|
|
68487
|
+
readonly name: "debtCeilingForIsolationMode";
|
|
68488
|
+
readonly type: "uint256";
|
|
68489
|
+
}, {
|
|
68490
|
+
readonly internalType: "uint256";
|
|
68491
|
+
readonly name: "isolationModeTotalDebt";
|
|
68096
68492
|
readonly type: "uint256";
|
|
68097
68493
|
}, {
|
|
68098
68494
|
readonly internalType: "bool";
|
|
68099
|
-
readonly name: "
|
|
68495
|
+
readonly name: "usageAsCollateralEnabled";
|
|
68100
68496
|
readonly type: "bool";
|
|
68101
|
-
}
|
|
68102
|
-
|
|
68103
|
-
|
|
68104
|
-
|
|
68105
|
-
|
|
68106
|
-
|
|
68107
|
-
|
|
68108
|
-
|
|
68109
|
-
|
|
68110
|
-
|
|
68111
|
-
|
|
68112
|
-
|
|
68113
|
-
|
|
68114
|
-
|
|
68115
|
-
|
|
68116
|
-
|
|
68117
|
-
|
|
68118
|
-
|
|
68119
|
-
|
|
68120
|
-
|
|
68121
|
-
|
|
68122
|
-
|
|
68123
|
-
|
|
68124
|
-
|
|
68125
|
-
|
|
68126
|
-
|
|
68127
|
-
|
|
68128
|
-
|
|
68129
|
-
|
|
68130
|
-
|
|
68131
|
-
|
|
68132
|
-
|
|
68133
|
-
|
|
68134
|
-
|
|
68135
|
-
|
|
68136
|
-
|
|
68137
|
-
|
|
68138
|
-
|
|
68139
|
-
|
|
68140
|
-
|
|
68141
|
-
|
|
68142
|
-
|
|
68143
|
-
|
|
68144
|
-
|
|
68145
|
-
|
|
68146
|
-
|
|
68147
|
-
|
|
68148
|
-
|
|
68149
|
-
|
|
68150
|
-
|
|
68151
|
-
|
|
68152
|
-
|
|
68153
|
-
|
|
68154
|
-
|
|
68155
|
-
|
|
68156
|
-
|
|
68157
|
-
|
|
68497
|
+
}, {
|
|
68498
|
+
readonly internalType: "bool";
|
|
68499
|
+
readonly name: "borrowingEnabled";
|
|
68500
|
+
readonly type: "bool";
|
|
68501
|
+
}, {
|
|
68502
|
+
readonly internalType: "bool";
|
|
68503
|
+
readonly name: "stableBorrowRateEnabled";
|
|
68504
|
+
readonly type: "bool";
|
|
68505
|
+
}, {
|
|
68506
|
+
readonly internalType: "bool";
|
|
68507
|
+
readonly name: "isolationModeBorrowingEnabled";
|
|
68508
|
+
readonly type: "bool";
|
|
68509
|
+
}, {
|
|
68510
|
+
readonly internalType: "bool";
|
|
68511
|
+
readonly name: "isSiloedForBorrowing";
|
|
68512
|
+
readonly type: "bool";
|
|
68513
|
+
}, {
|
|
68514
|
+
readonly internalType: "uint256";
|
|
68515
|
+
readonly name: "eModeCollateralFactor";
|
|
68516
|
+
readonly type: "uint256";
|
|
68517
|
+
}, {
|
|
68518
|
+
readonly internalType: "bool";
|
|
68519
|
+
readonly name: "isFlashLoanEnabled";
|
|
68520
|
+
readonly type: "bool";
|
|
68521
|
+
}, {
|
|
68522
|
+
readonly internalType: "uint16";
|
|
68523
|
+
readonly name: "ltv";
|
|
68524
|
+
readonly type: "uint16";
|
|
68525
|
+
}, {
|
|
68526
|
+
readonly internalType: "uint16";
|
|
68527
|
+
readonly name: "liquidationThreshold";
|
|
68528
|
+
readonly type: "uint16";
|
|
68529
|
+
}, {
|
|
68530
|
+
readonly internalType: "uint16";
|
|
68531
|
+
readonly name: "liquidationBonus";
|
|
68532
|
+
readonly type: "uint16";
|
|
68533
|
+
}, {
|
|
68534
|
+
readonly internalType: "address";
|
|
68535
|
+
readonly name: "priceSource";
|
|
68536
|
+
readonly type: "address";
|
|
68537
|
+
}, {
|
|
68538
|
+
readonly internalType: "string";
|
|
68539
|
+
readonly name: "label";
|
|
68540
|
+
readonly type: "string";
|
|
68541
|
+
}, {
|
|
68542
|
+
readonly internalType: "bool";
|
|
68543
|
+
readonly name: "isActive";
|
|
68544
|
+
readonly type: "bool";
|
|
68545
|
+
}, {
|
|
68546
|
+
readonly internalType: "bool";
|
|
68547
|
+
readonly name: "isPaused";
|
|
68548
|
+
readonly type: "bool";
|
|
68549
|
+
}, {
|
|
68550
|
+
readonly internalType: "bool";
|
|
68551
|
+
readonly name: "isFrozen";
|
|
68552
|
+
readonly type: "bool";
|
|
68553
|
+
}];
|
|
68554
|
+
readonly internalType: "struct SparkView.TokenInfoFull[]";
|
|
68555
|
+
readonly name: "tokens";
|
|
68556
|
+
readonly type: "tuple[]";
|
|
68557
|
+
}];
|
|
68558
|
+
readonly stateMutability: "view";
|
|
68559
|
+
readonly type: "function";
|
|
68158
68560
|
}, {
|
|
68159
|
-
readonly
|
|
68160
|
-
|
|
68161
|
-
|
|
68561
|
+
readonly inputs: readonly [{
|
|
68562
|
+
readonly internalType: "address";
|
|
68563
|
+
readonly name: "_market";
|
|
68564
|
+
readonly type: "address";
|
|
68565
|
+
}, {
|
|
68566
|
+
readonly internalType: "address";
|
|
68567
|
+
readonly name: "_user";
|
|
68568
|
+
readonly type: "address";
|
|
68569
|
+
}];
|
|
68570
|
+
readonly name: "getHealthFactor";
|
|
68571
|
+
readonly outputs: readonly [{
|
|
68572
|
+
readonly internalType: "uint256";
|
|
68573
|
+
readonly name: "healthFactor";
|
|
68574
|
+
readonly type: "uint256";
|
|
68575
|
+
}];
|
|
68576
|
+
readonly stateMutability: "view";
|
|
68577
|
+
readonly type: "function";
|
|
68162
68578
|
}, {
|
|
68163
|
-
readonly
|
|
68164
|
-
|
|
68165
|
-
|
|
68579
|
+
readonly inputs: readonly [{
|
|
68580
|
+
readonly internalType: "address";
|
|
68581
|
+
readonly name: "_market";
|
|
68582
|
+
readonly type: "address";
|
|
68583
|
+
}, {
|
|
68584
|
+
readonly internalType: "address";
|
|
68585
|
+
readonly name: "_user";
|
|
68586
|
+
readonly type: "address";
|
|
68587
|
+
}];
|
|
68588
|
+
readonly name: "getLoanData";
|
|
68589
|
+
readonly outputs: readonly [{
|
|
68590
|
+
readonly components: readonly [{
|
|
68591
|
+
readonly internalType: "address";
|
|
68592
|
+
readonly name: "user";
|
|
68593
|
+
readonly type: "address";
|
|
68594
|
+
}, {
|
|
68595
|
+
readonly internalType: "uint128";
|
|
68596
|
+
readonly name: "ratio";
|
|
68597
|
+
readonly type: "uint128";
|
|
68598
|
+
}, {
|
|
68599
|
+
readonly internalType: "uint256";
|
|
68600
|
+
readonly name: "eMode";
|
|
68601
|
+
readonly type: "uint256";
|
|
68602
|
+
}, {
|
|
68603
|
+
readonly internalType: "address[]";
|
|
68604
|
+
readonly name: "collAddr";
|
|
68605
|
+
readonly type: "address[]";
|
|
68606
|
+
}, {
|
|
68607
|
+
readonly internalType: "address[]";
|
|
68608
|
+
readonly name: "borrowAddr";
|
|
68609
|
+
readonly type: "address[]";
|
|
68610
|
+
}, {
|
|
68611
|
+
readonly internalType: "uint256[]";
|
|
68612
|
+
readonly name: "collAmounts";
|
|
68613
|
+
readonly type: "uint256[]";
|
|
68614
|
+
}, {
|
|
68615
|
+
readonly internalType: "uint256[]";
|
|
68616
|
+
readonly name: "borrowStableAmounts";
|
|
68617
|
+
readonly type: "uint256[]";
|
|
68618
|
+
}, {
|
|
68619
|
+
readonly internalType: "uint256[]";
|
|
68620
|
+
readonly name: "borrowVariableAmounts";
|
|
68621
|
+
readonly type: "uint256[]";
|
|
68622
|
+
}, {
|
|
68623
|
+
readonly internalType: "uint16";
|
|
68624
|
+
readonly name: "ltv";
|
|
68625
|
+
readonly type: "uint16";
|
|
68626
|
+
}, {
|
|
68627
|
+
readonly internalType: "uint16";
|
|
68628
|
+
readonly name: "liquidationThreshold";
|
|
68629
|
+
readonly type: "uint16";
|
|
68630
|
+
}, {
|
|
68631
|
+
readonly internalType: "uint16";
|
|
68632
|
+
readonly name: "liquidationBonus";
|
|
68633
|
+
readonly type: "uint16";
|
|
68634
|
+
}, {
|
|
68635
|
+
readonly internalType: "address";
|
|
68636
|
+
readonly name: "priceSource";
|
|
68637
|
+
readonly type: "address";
|
|
68638
|
+
}, {
|
|
68639
|
+
readonly internalType: "string";
|
|
68640
|
+
readonly name: "label";
|
|
68641
|
+
readonly type: "string";
|
|
68642
|
+
}];
|
|
68643
|
+
readonly internalType: "struct SparkView.LoanData";
|
|
68644
|
+
readonly name: "data";
|
|
68645
|
+
readonly type: "tuple";
|
|
68646
|
+
}];
|
|
68647
|
+
readonly stateMutability: "view";
|
|
68648
|
+
readonly type: "function";
|
|
68166
68649
|
}, {
|
|
68167
|
-
readonly
|
|
68168
|
-
|
|
68169
|
-
|
|
68650
|
+
readonly inputs: readonly [{
|
|
68651
|
+
readonly internalType: "address";
|
|
68652
|
+
readonly name: "_market";
|
|
68653
|
+
readonly type: "address";
|
|
68654
|
+
}, {
|
|
68655
|
+
readonly internalType: "address[]";
|
|
68656
|
+
readonly name: "_users";
|
|
68657
|
+
readonly type: "address[]";
|
|
68658
|
+
}];
|
|
68659
|
+
readonly name: "getLoanDataArr";
|
|
68660
|
+
readonly outputs: readonly [{
|
|
68661
|
+
readonly components: readonly [{
|
|
68662
|
+
readonly internalType: "address";
|
|
68663
|
+
readonly name: "user";
|
|
68664
|
+
readonly type: "address";
|
|
68665
|
+
}, {
|
|
68666
|
+
readonly internalType: "uint128";
|
|
68667
|
+
readonly name: "ratio";
|
|
68668
|
+
readonly type: "uint128";
|
|
68669
|
+
}, {
|
|
68670
|
+
readonly internalType: "uint256";
|
|
68671
|
+
readonly name: "eMode";
|
|
68672
|
+
readonly type: "uint256";
|
|
68673
|
+
}, {
|
|
68674
|
+
readonly internalType: "address[]";
|
|
68675
|
+
readonly name: "collAddr";
|
|
68676
|
+
readonly type: "address[]";
|
|
68677
|
+
}, {
|
|
68678
|
+
readonly internalType: "address[]";
|
|
68679
|
+
readonly name: "borrowAddr";
|
|
68680
|
+
readonly type: "address[]";
|
|
68681
|
+
}, {
|
|
68682
|
+
readonly internalType: "uint256[]";
|
|
68683
|
+
readonly name: "collAmounts";
|
|
68684
|
+
readonly type: "uint256[]";
|
|
68685
|
+
}, {
|
|
68686
|
+
readonly internalType: "uint256[]";
|
|
68687
|
+
readonly name: "borrowStableAmounts";
|
|
68688
|
+
readonly type: "uint256[]";
|
|
68689
|
+
}, {
|
|
68690
|
+
readonly internalType: "uint256[]";
|
|
68691
|
+
readonly name: "borrowVariableAmounts";
|
|
68692
|
+
readonly type: "uint256[]";
|
|
68693
|
+
}, {
|
|
68694
|
+
readonly internalType: "uint16";
|
|
68695
|
+
readonly name: "ltv";
|
|
68696
|
+
readonly type: "uint16";
|
|
68697
|
+
}, {
|
|
68698
|
+
readonly internalType: "uint16";
|
|
68699
|
+
readonly name: "liquidationThreshold";
|
|
68700
|
+
readonly type: "uint16";
|
|
68701
|
+
}, {
|
|
68702
|
+
readonly internalType: "uint16";
|
|
68703
|
+
readonly name: "liquidationBonus";
|
|
68704
|
+
readonly type: "uint16";
|
|
68705
|
+
}, {
|
|
68706
|
+
readonly internalType: "address";
|
|
68707
|
+
readonly name: "priceSource";
|
|
68708
|
+
readonly type: "address";
|
|
68709
|
+
}, {
|
|
68710
|
+
readonly internalType: "string";
|
|
68711
|
+
readonly name: "label";
|
|
68712
|
+
readonly type: "string";
|
|
68713
|
+
}];
|
|
68714
|
+
readonly internalType: "struct SparkView.LoanData[]";
|
|
68715
|
+
readonly name: "loans";
|
|
68716
|
+
readonly type: "tuple[]";
|
|
68717
|
+
}];
|
|
68718
|
+
readonly stateMutability: "view";
|
|
68719
|
+
readonly type: "function";
|
|
68170
68720
|
}, {
|
|
68171
|
-
readonly
|
|
68172
|
-
|
|
68173
|
-
|
|
68174
|
-
|
|
68175
|
-
|
|
68176
|
-
|
|
68177
|
-
|
|
68178
|
-
|
|
68179
|
-
|
|
68180
|
-
|
|
68181
|
-
readonly
|
|
68182
|
-
|
|
68183
|
-
|
|
68184
|
-
|
|
68185
|
-
|
|
68186
|
-
|
|
68187
|
-
|
|
68188
|
-
|
|
68189
|
-
readonly type: "tuple[]";
|
|
68190
|
-
}];
|
|
68191
|
-
readonly internalType: "struct IUiIncentiveDataProviderV3.IncentiveData";
|
|
68192
|
-
readonly name: "aIncentiveData";
|
|
68193
|
-
readonly type: "tuple";
|
|
68194
|
-
}, {
|
|
68195
|
-
readonly components: readonly [{
|
|
68196
|
-
readonly internalType: "address";
|
|
68197
|
-
readonly name: "tokenAddress";
|
|
68198
|
-
readonly type: "address";
|
|
68199
|
-
}, {
|
|
68200
|
-
readonly internalType: "address";
|
|
68201
|
-
readonly name: "incentiveControllerAddress";
|
|
68202
|
-
readonly type: "address";
|
|
68203
|
-
}, {
|
|
68204
|
-
readonly components: readonly [{
|
|
68205
|
-
readonly internalType: "string";
|
|
68206
|
-
readonly name: "rewardTokenSymbol";
|
|
68207
|
-
readonly type: "string";
|
|
68208
|
-
}, {
|
|
68209
|
-
readonly internalType: "address";
|
|
68210
|
-
readonly name: "rewardTokenAddress";
|
|
68211
|
-
readonly type: "address";
|
|
68212
|
-
}, {
|
|
68213
|
-
readonly internalType: "address";
|
|
68214
|
-
readonly name: "rewardOracleAddress";
|
|
68215
|
-
readonly type: "address";
|
|
68216
|
-
}, {
|
|
68217
|
-
readonly internalType: "uint256";
|
|
68218
|
-
readonly name: "emissionPerSecond";
|
|
68219
|
-
readonly type: "uint256";
|
|
68220
|
-
}, {
|
|
68221
|
-
readonly internalType: "uint256";
|
|
68222
|
-
readonly name: "incentivesLastUpdateTimestamp";
|
|
68223
|
-
readonly type: "uint256";
|
|
68224
|
-
}, {
|
|
68225
|
-
readonly internalType: "uint256";
|
|
68226
|
-
readonly name: "tokenIncentivesIndex";
|
|
68227
|
-
readonly type: "uint256";
|
|
68228
|
-
}, {
|
|
68229
|
-
readonly internalType: "uint256";
|
|
68230
|
-
readonly name: "emissionEndTimestamp";
|
|
68231
|
-
readonly type: "uint256";
|
|
68232
|
-
}, {
|
|
68233
|
-
readonly internalType: "int256";
|
|
68234
|
-
readonly name: "rewardPriceFeed";
|
|
68235
|
-
readonly type: "int256";
|
|
68236
|
-
}, {
|
|
68237
|
-
readonly internalType: "uint8";
|
|
68238
|
-
readonly name: "rewardTokenDecimals";
|
|
68239
|
-
readonly type: "uint8";
|
|
68240
|
-
}, {
|
|
68241
|
-
readonly internalType: "uint8";
|
|
68242
|
-
readonly name: "precision";
|
|
68243
|
-
readonly type: "uint8";
|
|
68244
|
-
}, {
|
|
68245
|
-
readonly internalType: "uint8";
|
|
68246
|
-
readonly name: "priceFeedDecimals";
|
|
68247
|
-
readonly type: "uint8";
|
|
68248
|
-
}];
|
|
68249
|
-
readonly internalType: "struct IUiIncentiveDataProviderV3.RewardInfo[]";
|
|
68250
|
-
readonly name: "rewardsTokenInformation";
|
|
68251
|
-
readonly type: "tuple[]";
|
|
68252
|
-
}];
|
|
68253
|
-
readonly internalType: "struct IUiIncentiveDataProviderV3.IncentiveData";
|
|
68254
|
-
readonly name: "vIncentiveData";
|
|
68255
|
-
readonly type: "tuple";
|
|
68256
|
-
}, {
|
|
68257
|
-
readonly components: readonly [{
|
|
68258
|
-
readonly internalType: "address";
|
|
68259
|
-
readonly name: "tokenAddress";
|
|
68260
|
-
readonly type: "address";
|
|
68261
|
-
}, {
|
|
68262
|
-
readonly internalType: "address";
|
|
68263
|
-
readonly name: "incentiveControllerAddress";
|
|
68264
|
-
readonly type: "address";
|
|
68265
|
-
}, {
|
|
68266
|
-
readonly components: readonly [{
|
|
68267
|
-
readonly internalType: "string";
|
|
68268
|
-
readonly name: "rewardTokenSymbol";
|
|
68269
|
-
readonly type: "string";
|
|
68270
|
-
}, {
|
|
68271
|
-
readonly internalType: "address";
|
|
68272
|
-
readonly name: "rewardTokenAddress";
|
|
68273
|
-
readonly type: "address";
|
|
68274
|
-
}, {
|
|
68275
|
-
readonly internalType: "address";
|
|
68276
|
-
readonly name: "rewardOracleAddress";
|
|
68277
|
-
readonly type: "address";
|
|
68278
|
-
}, {
|
|
68279
|
-
readonly internalType: "uint256";
|
|
68280
|
-
readonly name: "emissionPerSecond";
|
|
68281
|
-
readonly type: "uint256";
|
|
68721
|
+
readonly inputs: readonly [{
|
|
68722
|
+
readonly components: readonly [{
|
|
68723
|
+
readonly internalType: "uint256";
|
|
68724
|
+
readonly name: "data";
|
|
68725
|
+
readonly type: "uint256";
|
|
68726
|
+
}];
|
|
68727
|
+
readonly internalType: "struct DataTypes.ReserveConfigurationMap";
|
|
68728
|
+
readonly name: "self";
|
|
68729
|
+
readonly type: "tuple";
|
|
68730
|
+
}];
|
|
68731
|
+
readonly name: "getLtv";
|
|
68732
|
+
readonly outputs: readonly [{
|
|
68733
|
+
readonly internalType: "uint256";
|
|
68734
|
+
readonly name: "";
|
|
68735
|
+
readonly type: "uint256";
|
|
68736
|
+
}];
|
|
68737
|
+
readonly stateMutability: "pure";
|
|
68738
|
+
readonly type: "function";
|
|
68282
68739
|
}, {
|
|
68283
|
-
readonly
|
|
68284
|
-
|
|
68285
|
-
|
|
68740
|
+
readonly inputs: readonly [{
|
|
68741
|
+
readonly internalType: "address";
|
|
68742
|
+
readonly name: "_market";
|
|
68743
|
+
readonly type: "address";
|
|
68744
|
+
}, {
|
|
68745
|
+
readonly internalType: "address[]";
|
|
68746
|
+
readonly name: "_tokens";
|
|
68747
|
+
readonly type: "address[]";
|
|
68748
|
+
}];
|
|
68749
|
+
readonly name: "getPrices";
|
|
68750
|
+
readonly outputs: readonly [{
|
|
68751
|
+
readonly internalType: "uint256[]";
|
|
68752
|
+
readonly name: "prices";
|
|
68753
|
+
readonly type: "uint256[]";
|
|
68754
|
+
}];
|
|
68755
|
+
readonly stateMutability: "view";
|
|
68756
|
+
readonly type: "function";
|
|
68286
68757
|
}, {
|
|
68287
|
-
readonly
|
|
68288
|
-
|
|
68289
|
-
|
|
68758
|
+
readonly inputs: readonly [{
|
|
68759
|
+
readonly internalType: "address";
|
|
68760
|
+
readonly name: "_market";
|
|
68761
|
+
readonly type: "address";
|
|
68762
|
+
}, {
|
|
68763
|
+
readonly internalType: "address";
|
|
68764
|
+
readonly name: "_user";
|
|
68765
|
+
readonly type: "address";
|
|
68766
|
+
}];
|
|
68767
|
+
readonly name: "getRatio";
|
|
68768
|
+
readonly outputs: readonly [{
|
|
68769
|
+
readonly internalType: "uint256";
|
|
68770
|
+
readonly name: "";
|
|
68771
|
+
readonly type: "uint256";
|
|
68772
|
+
}];
|
|
68773
|
+
readonly stateMutability: "view";
|
|
68774
|
+
readonly type: "function";
|
|
68290
68775
|
}, {
|
|
68291
|
-
readonly
|
|
68292
|
-
|
|
68293
|
-
|
|
68776
|
+
readonly inputs: readonly [{
|
|
68777
|
+
readonly internalType: "address";
|
|
68778
|
+
readonly name: "_market";
|
|
68779
|
+
readonly type: "address";
|
|
68780
|
+
}, {
|
|
68781
|
+
readonly internalType: "address[]";
|
|
68782
|
+
readonly name: "_users";
|
|
68783
|
+
readonly type: "address[]";
|
|
68784
|
+
}];
|
|
68785
|
+
readonly name: "getRatios";
|
|
68786
|
+
readonly outputs: readonly [{
|
|
68787
|
+
readonly internalType: "uint256[]";
|
|
68788
|
+
readonly name: "ratios";
|
|
68789
|
+
readonly type: "uint256[]";
|
|
68790
|
+
}];
|
|
68791
|
+
readonly stateMutability: "view";
|
|
68792
|
+
readonly type: "function";
|
|
68294
68793
|
}, {
|
|
68295
|
-
readonly
|
|
68296
|
-
|
|
68297
|
-
|
|
68794
|
+
readonly inputs: readonly [{
|
|
68795
|
+
readonly internalType: "address";
|
|
68796
|
+
readonly name: "_market";
|
|
68797
|
+
readonly type: "address";
|
|
68798
|
+
}, {
|
|
68799
|
+
readonly internalType: "address";
|
|
68800
|
+
readonly name: "_user";
|
|
68801
|
+
readonly type: "address";
|
|
68802
|
+
}];
|
|
68803
|
+
readonly name: "getSafetyRatio";
|
|
68804
|
+
readonly outputs: readonly [{
|
|
68805
|
+
readonly internalType: "uint256";
|
|
68806
|
+
readonly name: "";
|
|
68807
|
+
readonly type: "uint256";
|
|
68808
|
+
}];
|
|
68809
|
+
readonly stateMutability: "view";
|
|
68810
|
+
readonly type: "function";
|
|
68298
68811
|
}, {
|
|
68299
|
-
readonly
|
|
68300
|
-
|
|
68301
|
-
|
|
68812
|
+
readonly inputs: readonly [{
|
|
68813
|
+
readonly internalType: "address";
|
|
68814
|
+
readonly name: "_market";
|
|
68815
|
+
readonly type: "address";
|
|
68816
|
+
}, {
|
|
68817
|
+
readonly internalType: "address";
|
|
68818
|
+
readonly name: "_user";
|
|
68819
|
+
readonly type: "address";
|
|
68820
|
+
}, {
|
|
68821
|
+
readonly internalType: "address[]";
|
|
68822
|
+
readonly name: "_tokens";
|
|
68823
|
+
readonly type: "address[]";
|
|
68824
|
+
}];
|
|
68825
|
+
readonly name: "getTokenBalances";
|
|
68826
|
+
readonly outputs: readonly [{
|
|
68827
|
+
readonly components: readonly [{
|
|
68828
|
+
readonly internalType: "address";
|
|
68829
|
+
readonly name: "token";
|
|
68830
|
+
readonly type: "address";
|
|
68831
|
+
}, {
|
|
68832
|
+
readonly internalType: "uint256";
|
|
68833
|
+
readonly name: "balance";
|
|
68834
|
+
readonly type: "uint256";
|
|
68835
|
+
}, {
|
|
68836
|
+
readonly internalType: "uint256";
|
|
68837
|
+
readonly name: "borrowsStable";
|
|
68838
|
+
readonly type: "uint256";
|
|
68839
|
+
}, {
|
|
68840
|
+
readonly internalType: "uint256";
|
|
68841
|
+
readonly name: "borrowsVariable";
|
|
68842
|
+
readonly type: "uint256";
|
|
68843
|
+
}, {
|
|
68844
|
+
readonly internalType: "uint256";
|
|
68845
|
+
readonly name: "stableBorrowRate";
|
|
68846
|
+
readonly type: "uint256";
|
|
68847
|
+
}, {
|
|
68848
|
+
readonly internalType: "bool";
|
|
68849
|
+
readonly name: "enabledAsCollateral";
|
|
68850
|
+
readonly type: "bool";
|
|
68851
|
+
}];
|
|
68852
|
+
readonly internalType: "struct SparkView.UserToken[]";
|
|
68853
|
+
readonly name: "userTokens";
|
|
68854
|
+
readonly type: "tuple[]";
|
|
68855
|
+
}];
|
|
68856
|
+
readonly stateMutability: "view";
|
|
68857
|
+
readonly type: "function";
|
|
68302
68858
|
}, {
|
|
68303
|
-
readonly
|
|
68304
|
-
|
|
68305
|
-
|
|
68306
|
-
|
|
68307
|
-
|
|
68308
|
-
|
|
68309
|
-
|
|
68310
|
-
|
|
68311
|
-
|
|
68312
|
-
|
|
68313
|
-
|
|
68314
|
-
|
|
68315
|
-
|
|
68316
|
-
|
|
68317
|
-
|
|
68318
|
-
|
|
68319
|
-
|
|
68320
|
-
|
|
68321
|
-
|
|
68322
|
-
|
|
68323
|
-
|
|
68324
|
-
|
|
68325
|
-
|
|
68326
|
-
|
|
68327
|
-
|
|
68328
|
-
|
|
68329
|
-
|
|
68330
|
-
|
|
68331
|
-
|
|
68332
|
-
|
|
68333
|
-
|
|
68334
|
-
|
|
68335
|
-
|
|
68336
|
-
|
|
68337
|
-
|
|
68338
|
-
|
|
68339
|
-
|
|
68340
|
-
|
|
68341
|
-
|
|
68342
|
-
|
|
68343
|
-
|
|
68344
|
-
|
|
68345
|
-
|
|
68346
|
-
|
|
68347
|
-
|
|
68348
|
-
|
|
68349
|
-
|
|
68350
|
-
|
|
68351
|
-
|
|
68352
|
-
|
|
68353
|
-
|
|
68354
|
-
|
|
68355
|
-
|
|
68356
|
-
|
|
68357
|
-
|
|
68358
|
-
|
|
68359
|
-
|
|
68360
|
-
|
|
68361
|
-
|
|
68362
|
-
|
|
68363
|
-
|
|
68364
|
-
|
|
68859
|
+
readonly inputs: readonly [{
|
|
68860
|
+
readonly internalType: "address";
|
|
68861
|
+
readonly name: "_market";
|
|
68862
|
+
readonly type: "address";
|
|
68863
|
+
}, {
|
|
68864
|
+
readonly internalType: "address";
|
|
68865
|
+
readonly name: "_tokenAddr";
|
|
68866
|
+
readonly type: "address";
|
|
68867
|
+
}];
|
|
68868
|
+
readonly name: "getTokenInfoFull";
|
|
68869
|
+
readonly outputs: readonly [{
|
|
68870
|
+
readonly components: readonly [{
|
|
68871
|
+
readonly internalType: "address";
|
|
68872
|
+
readonly name: "aTokenAddress";
|
|
68873
|
+
readonly type: "address";
|
|
68874
|
+
}, {
|
|
68875
|
+
readonly internalType: "address";
|
|
68876
|
+
readonly name: "underlyingTokenAddress";
|
|
68877
|
+
readonly type: "address";
|
|
68878
|
+
}, {
|
|
68879
|
+
readonly internalType: "uint16";
|
|
68880
|
+
readonly name: "assetId";
|
|
68881
|
+
readonly type: "uint16";
|
|
68882
|
+
}, {
|
|
68883
|
+
readonly internalType: "uint256";
|
|
68884
|
+
readonly name: "supplyRate";
|
|
68885
|
+
readonly type: "uint256";
|
|
68886
|
+
}, {
|
|
68887
|
+
readonly internalType: "uint256";
|
|
68888
|
+
readonly name: "borrowRateVariable";
|
|
68889
|
+
readonly type: "uint256";
|
|
68890
|
+
}, {
|
|
68891
|
+
readonly internalType: "uint256";
|
|
68892
|
+
readonly name: "borrowRateStable";
|
|
68893
|
+
readonly type: "uint256";
|
|
68894
|
+
}, {
|
|
68895
|
+
readonly internalType: "uint256";
|
|
68896
|
+
readonly name: "totalSupply";
|
|
68897
|
+
readonly type: "uint256";
|
|
68898
|
+
}, {
|
|
68899
|
+
readonly internalType: "uint256";
|
|
68900
|
+
readonly name: "availableLiquidity";
|
|
68901
|
+
readonly type: "uint256";
|
|
68902
|
+
}, {
|
|
68903
|
+
readonly internalType: "uint256";
|
|
68904
|
+
readonly name: "totalBorrow";
|
|
68905
|
+
readonly type: "uint256";
|
|
68906
|
+
}, {
|
|
68907
|
+
readonly internalType: "uint256";
|
|
68908
|
+
readonly name: "totalBorrowVar";
|
|
68909
|
+
readonly type: "uint256";
|
|
68910
|
+
}, {
|
|
68911
|
+
readonly internalType: "uint256";
|
|
68912
|
+
readonly name: "totalBorrowStab";
|
|
68913
|
+
readonly type: "uint256";
|
|
68914
|
+
}, {
|
|
68915
|
+
readonly internalType: "uint256";
|
|
68916
|
+
readonly name: "collateralFactor";
|
|
68917
|
+
readonly type: "uint256";
|
|
68918
|
+
}, {
|
|
68919
|
+
readonly internalType: "uint256";
|
|
68920
|
+
readonly name: "liquidationRatio";
|
|
68921
|
+
readonly type: "uint256";
|
|
68922
|
+
}, {
|
|
68923
|
+
readonly internalType: "uint256";
|
|
68924
|
+
readonly name: "price";
|
|
68925
|
+
readonly type: "uint256";
|
|
68926
|
+
}, {
|
|
68927
|
+
readonly internalType: "uint256";
|
|
68928
|
+
readonly name: "supplyCap";
|
|
68929
|
+
readonly type: "uint256";
|
|
68930
|
+
}, {
|
|
68931
|
+
readonly internalType: "uint256";
|
|
68932
|
+
readonly name: "borrowCap";
|
|
68933
|
+
readonly type: "uint256";
|
|
68934
|
+
}, {
|
|
68935
|
+
readonly internalType: "uint256";
|
|
68936
|
+
readonly name: "emodeCategory";
|
|
68937
|
+
readonly type: "uint256";
|
|
68938
|
+
}, {
|
|
68939
|
+
readonly internalType: "uint256";
|
|
68940
|
+
readonly name: "debtCeilingForIsolationMode";
|
|
68941
|
+
readonly type: "uint256";
|
|
68942
|
+
}, {
|
|
68943
|
+
readonly internalType: "uint256";
|
|
68944
|
+
readonly name: "isolationModeTotalDebt";
|
|
68945
|
+
readonly type: "uint256";
|
|
68946
|
+
}, {
|
|
68947
|
+
readonly internalType: "bool";
|
|
68948
|
+
readonly name: "usageAsCollateralEnabled";
|
|
68949
|
+
readonly type: "bool";
|
|
68950
|
+
}, {
|
|
68951
|
+
readonly internalType: "bool";
|
|
68952
|
+
readonly name: "borrowingEnabled";
|
|
68953
|
+
readonly type: "bool";
|
|
68954
|
+
}, {
|
|
68955
|
+
readonly internalType: "bool";
|
|
68956
|
+
readonly name: "stableBorrowRateEnabled";
|
|
68957
|
+
readonly type: "bool";
|
|
68958
|
+
}, {
|
|
68959
|
+
readonly internalType: "bool";
|
|
68960
|
+
readonly name: "isolationModeBorrowingEnabled";
|
|
68961
|
+
readonly type: "bool";
|
|
68962
|
+
}, {
|
|
68963
|
+
readonly internalType: "bool";
|
|
68964
|
+
readonly name: "isSiloedForBorrowing";
|
|
68965
|
+
readonly type: "bool";
|
|
68966
|
+
}, {
|
|
68967
|
+
readonly internalType: "uint256";
|
|
68968
|
+
readonly name: "eModeCollateralFactor";
|
|
68969
|
+
readonly type: "uint256";
|
|
68970
|
+
}, {
|
|
68971
|
+
readonly internalType: "bool";
|
|
68972
|
+
readonly name: "isFlashLoanEnabled";
|
|
68973
|
+
readonly type: "bool";
|
|
68974
|
+
}, {
|
|
68975
|
+
readonly internalType: "uint16";
|
|
68976
|
+
readonly name: "ltv";
|
|
68977
|
+
readonly type: "uint16";
|
|
68978
|
+
}, {
|
|
68979
|
+
readonly internalType: "uint16";
|
|
68980
|
+
readonly name: "liquidationThreshold";
|
|
68981
|
+
readonly type: "uint16";
|
|
68982
|
+
}, {
|
|
68983
|
+
readonly internalType: "uint16";
|
|
68984
|
+
readonly name: "liquidationBonus";
|
|
68985
|
+
readonly type: "uint16";
|
|
68986
|
+
}, {
|
|
68987
|
+
readonly internalType: "address";
|
|
68988
|
+
readonly name: "priceSource";
|
|
68989
|
+
readonly type: "address";
|
|
68990
|
+
}, {
|
|
68991
|
+
readonly internalType: "string";
|
|
68992
|
+
readonly name: "label";
|
|
68993
|
+
readonly type: "string";
|
|
68994
|
+
}, {
|
|
68995
|
+
readonly internalType: "bool";
|
|
68996
|
+
readonly name: "isActive";
|
|
68997
|
+
readonly type: "bool";
|
|
68998
|
+
}, {
|
|
68999
|
+
readonly internalType: "bool";
|
|
69000
|
+
readonly name: "isPaused";
|
|
69001
|
+
readonly type: "bool";
|
|
69002
|
+
}, {
|
|
69003
|
+
readonly internalType: "bool";
|
|
69004
|
+
readonly name: "isFrozen";
|
|
69005
|
+
readonly type: "bool";
|
|
69006
|
+
}];
|
|
69007
|
+
readonly internalType: "struct SparkView.TokenInfoFull";
|
|
69008
|
+
readonly name: "_tokenInfo";
|
|
69009
|
+
readonly type: "tuple";
|
|
69010
|
+
}];
|
|
69011
|
+
readonly stateMutability: "view";
|
|
69012
|
+
readonly type: "function";
|
|
68365
69013
|
}, {
|
|
68366
|
-
readonly
|
|
68367
|
-
|
|
68368
|
-
|
|
69014
|
+
readonly inputs: readonly [{
|
|
69015
|
+
readonly internalType: "address";
|
|
69016
|
+
readonly name: "_market";
|
|
69017
|
+
readonly type: "address";
|
|
69018
|
+
}, {
|
|
69019
|
+
readonly internalType: "address[]";
|
|
69020
|
+
readonly name: "_tokenAddresses";
|
|
69021
|
+
readonly type: "address[]";
|
|
69022
|
+
}];
|
|
69023
|
+
readonly name: "getTokensInfo";
|
|
69024
|
+
readonly outputs: readonly [{
|
|
69025
|
+
readonly components: readonly [{
|
|
69026
|
+
readonly internalType: "address";
|
|
69027
|
+
readonly name: "aTokenAddress";
|
|
69028
|
+
readonly type: "address";
|
|
69029
|
+
}, {
|
|
69030
|
+
readonly internalType: "address";
|
|
69031
|
+
readonly name: "underlyingTokenAddress";
|
|
69032
|
+
readonly type: "address";
|
|
69033
|
+
}, {
|
|
69034
|
+
readonly internalType: "uint256";
|
|
69035
|
+
readonly name: "collateralFactor";
|
|
69036
|
+
readonly type: "uint256";
|
|
69037
|
+
}, {
|
|
69038
|
+
readonly internalType: "uint256";
|
|
69039
|
+
readonly name: "price";
|
|
69040
|
+
readonly type: "uint256";
|
|
69041
|
+
}];
|
|
69042
|
+
readonly internalType: "struct SparkView.TokenInfo[]";
|
|
69043
|
+
readonly name: "tokens";
|
|
69044
|
+
readonly type: "tuple[]";
|
|
69045
|
+
}];
|
|
69046
|
+
readonly stateMutability: "view";
|
|
69047
|
+
readonly type: "function";
|
|
68369
69048
|
}];
|
|
68370
|
-
readonly
|
|
68371
|
-
|
|
68372
|
-
|
|
68373
|
-
|
|
68374
|
-
|
|
68375
|
-
|
|
68376
|
-
|
|
68377
|
-
|
|
68378
|
-
|
|
68379
|
-
|
|
68380
|
-
|
|
68381
|
-
|
|
68382
|
-
|
|
68383
|
-
|
|
68384
|
-
|
|
68385
|
-
|
|
68386
|
-
|
|
68387
|
-
|
|
68388
|
-
readonly
|
|
68389
|
-
|
|
68390
|
-
|
|
68391
|
-
|
|
68392
|
-
|
|
68393
|
-
|
|
68394
|
-
|
|
68395
|
-
|
|
68396
|
-
|
|
68397
|
-
|
|
68398
|
-
|
|
68399
|
-
|
|
68400
|
-
|
|
68401
|
-
|
|
68402
|
-
|
|
68403
|
-
|
|
68404
|
-
|
|
68405
|
-
|
|
68406
|
-
|
|
68407
|
-
|
|
68408
|
-
|
|
68409
|
-
|
|
68410
|
-
|
|
68411
|
-
|
|
68412
|
-
|
|
68413
|
-
|
|
68414
|
-
|
|
68415
|
-
|
|
68416
|
-
|
|
68417
|
-
|
|
68418
|
-
readonly
|
|
68419
|
-
|
|
68420
|
-
readonly internalType: "struct IUiIncentiveDataProviderV3.UserRewardInfo[]";
|
|
68421
|
-
readonly name: "userRewardsInformation";
|
|
68422
|
-
readonly type: "tuple[]";
|
|
68423
|
-
}];
|
|
68424
|
-
readonly internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData";
|
|
68425
|
-
readonly name: "vTokenIncentivesUserData";
|
|
68426
|
-
readonly type: "tuple";
|
|
68427
|
-
}, {
|
|
68428
|
-
readonly components: readonly [{
|
|
68429
|
-
readonly internalType: "address";
|
|
68430
|
-
readonly name: "tokenAddress";
|
|
68431
|
-
readonly type: "address";
|
|
68432
|
-
}, {
|
|
68433
|
-
readonly internalType: "address";
|
|
68434
|
-
readonly name: "incentiveControllerAddress";
|
|
68435
|
-
readonly type: "address";
|
|
68436
|
-
}, {
|
|
68437
|
-
readonly components: readonly [{
|
|
68438
|
-
readonly internalType: "string";
|
|
68439
|
-
readonly name: "rewardTokenSymbol";
|
|
68440
|
-
readonly type: "string";
|
|
68441
|
-
}, {
|
|
68442
|
-
readonly internalType: "address";
|
|
68443
|
-
readonly name: "rewardOracleAddress";
|
|
68444
|
-
readonly type: "address";
|
|
68445
|
-
}, {
|
|
68446
|
-
readonly internalType: "address";
|
|
68447
|
-
readonly name: "rewardTokenAddress";
|
|
68448
|
-
readonly type: "address";
|
|
68449
|
-
}, {
|
|
68450
|
-
readonly internalType: "uint256";
|
|
68451
|
-
readonly name: "userUnclaimedRewards";
|
|
68452
|
-
readonly type: "uint256";
|
|
68453
|
-
}, {
|
|
68454
|
-
readonly internalType: "uint256";
|
|
68455
|
-
readonly name: "tokenIncentivesUserIndex";
|
|
68456
|
-
readonly type: "uint256";
|
|
68457
|
-
}, {
|
|
68458
|
-
readonly internalType: "int256";
|
|
68459
|
-
readonly name: "rewardPriceFeed";
|
|
68460
|
-
readonly type: "int256";
|
|
68461
|
-
}, {
|
|
68462
|
-
readonly internalType: "uint8";
|
|
68463
|
-
readonly name: "priceFeedDecimals";
|
|
68464
|
-
readonly type: "uint8";
|
|
68465
|
-
}, {
|
|
68466
|
-
readonly internalType: "uint8";
|
|
68467
|
-
readonly name: "rewardTokenDecimals";
|
|
68468
|
-
readonly type: "uint8";
|
|
69049
|
+
readonly address: "0xB3B13838F6F57CE76b94f0744Ab0B045B780836e";
|
|
69050
|
+
};
|
|
69051
|
+
readonly "17734126": {
|
|
69052
|
+
readonly abi: readonly [{
|
|
69053
|
+
readonly inputs: readonly [{
|
|
69054
|
+
readonly internalType: "address";
|
|
69055
|
+
readonly name: "_market";
|
|
69056
|
+
readonly type: "address";
|
|
69057
|
+
}, {
|
|
69058
|
+
readonly internalType: "address";
|
|
69059
|
+
readonly name: "_user";
|
|
69060
|
+
readonly type: "address";
|
|
69061
|
+
}, {
|
|
69062
|
+
readonly internalType: "address[]";
|
|
69063
|
+
readonly name: "_tokens";
|
|
69064
|
+
readonly type: "address[]";
|
|
69065
|
+
}];
|
|
69066
|
+
readonly name: "getTokenBalances";
|
|
69067
|
+
readonly outputs: readonly [{
|
|
69068
|
+
readonly components: readonly [{
|
|
69069
|
+
readonly internalType: "address";
|
|
69070
|
+
readonly name: "token";
|
|
69071
|
+
readonly type: "address";
|
|
69072
|
+
}, {
|
|
69073
|
+
readonly internalType: "uint256";
|
|
69074
|
+
readonly name: "balance";
|
|
69075
|
+
readonly type: "uint256";
|
|
69076
|
+
}, {
|
|
69077
|
+
readonly internalType: "uint256";
|
|
69078
|
+
readonly name: "borrowsStable";
|
|
69079
|
+
readonly type: "uint256";
|
|
69080
|
+
}, {
|
|
69081
|
+
readonly internalType: "uint256";
|
|
69082
|
+
readonly name: "borrowsVariable";
|
|
69083
|
+
readonly type: "uint256";
|
|
69084
|
+
}, {
|
|
69085
|
+
readonly internalType: "uint256";
|
|
69086
|
+
readonly name: "stableBorrowRate";
|
|
69087
|
+
readonly type: "uint256";
|
|
69088
|
+
}, {
|
|
69089
|
+
readonly internalType: "bool";
|
|
69090
|
+
readonly name: "enabledAsCollateral";
|
|
69091
|
+
readonly type: "bool";
|
|
69092
|
+
}];
|
|
69093
|
+
readonly internalType: "struct SparkView.UserToken[]";
|
|
69094
|
+
readonly name: "userTokens";
|
|
69095
|
+
readonly type: "tuple[]";
|
|
69096
|
+
}];
|
|
69097
|
+
readonly stateMutability: "view";
|
|
69098
|
+
readonly type: "function";
|
|
68469
69099
|
}];
|
|
68470
|
-
readonly
|
|
68471
|
-
|
|
68472
|
-
|
|
68473
|
-
|
|
68474
|
-
|
|
68475
|
-
|
|
68476
|
-
|
|
68477
|
-
|
|
68478
|
-
readonly internalType: "struct IUiIncentiveDataProviderV3.UserReserveIncentiveData[]";
|
|
68479
|
-
readonly name: "";
|
|
68480
|
-
readonly type: "tuple[]";
|
|
68481
|
-
}];
|
|
68482
|
-
readonly stateMutability: "view";
|
|
68483
|
-
readonly type: "function";
|
|
68484
|
-
}, {
|
|
69100
|
+
readonly address: "0x29d01EF37514912ab874D51fEc76c8f5d4d6712e";
|
|
69101
|
+
};
|
|
69102
|
+
};
|
|
69103
|
+
};
|
|
69104
|
+
};
|
|
69105
|
+
};
|
|
69106
|
+
export declare const SparkIncentiveDataProvider: {
|
|
69107
|
+
readonly abi: readonly [{
|
|
68485
69108
|
readonly inputs: readonly [{
|
|
68486
69109
|
readonly internalType: "contract IPoolAddressesProvider";
|
|
68487
69110
|
readonly name: "provider";
|
|
68488
69111
|
readonly type: "address";
|
|
69112
|
+
}, {
|
|
69113
|
+
readonly internalType: "address";
|
|
69114
|
+
readonly name: "user";
|
|
69115
|
+
readonly type: "address";
|
|
68489
69116
|
}];
|
|
68490
|
-
readonly name: "
|
|
69117
|
+
readonly name: "getFullReservesIncentiveData";
|
|
68491
69118
|
readonly outputs: readonly [{
|
|
68492
69119
|
readonly components: readonly [{
|
|
68493
69120
|
readonly internalType: "address";
|
|
@@ -68683,21 +69310,7 @@ export declare const SparkIncentiveDataProvider: {
|
|
|
68683
69310
|
readonly internalType: "struct IUiIncentiveDataProviderV3.AggregatedReserveIncentiveData[]";
|
|
68684
69311
|
readonly name: "";
|
|
68685
69312
|
readonly type: "tuple[]";
|
|
68686
|
-
}];
|
|
68687
|
-
readonly stateMutability: "view";
|
|
68688
|
-
readonly type: "function";
|
|
68689
|
-
}, {
|
|
68690
|
-
readonly inputs: readonly [{
|
|
68691
|
-
readonly internalType: "contract IPoolAddressesProvider";
|
|
68692
|
-
readonly name: "provider";
|
|
68693
|
-
readonly type: "address";
|
|
68694
69313
|
}, {
|
|
68695
|
-
readonly internalType: "address";
|
|
68696
|
-
readonly name: "user";
|
|
68697
|
-
readonly type: "address";
|
|
68698
|
-
}];
|
|
68699
|
-
readonly name: "getUserReservesIncentivesData";
|
|
68700
|
-
readonly outputs: readonly [{
|
|
68701
69314
|
readonly components: readonly [{
|
|
68702
69315
|
readonly internalType: "address";
|
|
68703
69316
|
readonly name: "underlyingAsset";
|
|
@@ -68859,181 +69472,424 @@ export declare const SparkIncentiveDataProvider: {
|
|
|
68859
69472
|
}];
|
|
68860
69473
|
readonly stateMutability: "view";
|
|
68861
69474
|
readonly type: "function";
|
|
68862
|
-
}
|
|
68863
|
-
readonly networks: {
|
|
68864
|
-
readonly "1": {
|
|
68865
|
-
readonly address: "0xA7F8A757C4f7696c015B595F51B2901AC0121B18";
|
|
68866
|
-
};
|
|
68867
|
-
};
|
|
68868
|
-
};
|
|
68869
|
-
export declare const SparkLendingPool: {
|
|
68870
|
-
readonly abi: readonly [{
|
|
69475
|
+
}, {
|
|
68871
69476
|
readonly inputs: readonly [{
|
|
68872
69477
|
readonly internalType: "contract IPoolAddressesProvider";
|
|
68873
69478
|
readonly name: "provider";
|
|
68874
69479
|
readonly type: "address";
|
|
68875
69480
|
}];
|
|
68876
|
-
readonly
|
|
68877
|
-
readonly
|
|
68878
|
-
|
|
68879
|
-
|
|
68880
|
-
|
|
68881
|
-
|
|
68882
|
-
|
|
68883
|
-
|
|
68884
|
-
|
|
68885
|
-
|
|
68886
|
-
|
|
68887
|
-
|
|
68888
|
-
|
|
68889
|
-
|
|
68890
|
-
|
|
68891
|
-
|
|
68892
|
-
|
|
68893
|
-
|
|
68894
|
-
|
|
68895
|
-
|
|
68896
|
-
|
|
68897
|
-
|
|
68898
|
-
|
|
68899
|
-
|
|
68900
|
-
|
|
68901
|
-
|
|
68902
|
-
|
|
68903
|
-
|
|
68904
|
-
|
|
68905
|
-
|
|
68906
|
-
|
|
68907
|
-
|
|
68908
|
-
|
|
68909
|
-
|
|
68910
|
-
|
|
68911
|
-
|
|
68912
|
-
|
|
68913
|
-
|
|
68914
|
-
|
|
68915
|
-
|
|
68916
|
-
|
|
68917
|
-
|
|
68918
|
-
|
|
68919
|
-
|
|
68920
|
-
|
|
68921
|
-
|
|
68922
|
-
|
|
68923
|
-
|
|
68924
|
-
|
|
68925
|
-
|
|
68926
|
-
|
|
68927
|
-
|
|
68928
|
-
|
|
68929
|
-
|
|
68930
|
-
|
|
68931
|
-
|
|
68932
|
-
|
|
68933
|
-
|
|
68934
|
-
|
|
68935
|
-
|
|
68936
|
-
|
|
68937
|
-
|
|
68938
|
-
|
|
68939
|
-
|
|
69481
|
+
readonly name: "getReservesIncentivesData";
|
|
69482
|
+
readonly outputs: readonly [{
|
|
69483
|
+
readonly components: readonly [{
|
|
69484
|
+
readonly internalType: "address";
|
|
69485
|
+
readonly name: "underlyingAsset";
|
|
69486
|
+
readonly type: "address";
|
|
69487
|
+
}, {
|
|
69488
|
+
readonly components: readonly [{
|
|
69489
|
+
readonly internalType: "address";
|
|
69490
|
+
readonly name: "tokenAddress";
|
|
69491
|
+
readonly type: "address";
|
|
69492
|
+
}, {
|
|
69493
|
+
readonly internalType: "address";
|
|
69494
|
+
readonly name: "incentiveControllerAddress";
|
|
69495
|
+
readonly type: "address";
|
|
69496
|
+
}, {
|
|
69497
|
+
readonly components: readonly [{
|
|
69498
|
+
readonly internalType: "string";
|
|
69499
|
+
readonly name: "rewardTokenSymbol";
|
|
69500
|
+
readonly type: "string";
|
|
69501
|
+
}, {
|
|
69502
|
+
readonly internalType: "address";
|
|
69503
|
+
readonly name: "rewardTokenAddress";
|
|
69504
|
+
readonly type: "address";
|
|
69505
|
+
}, {
|
|
69506
|
+
readonly internalType: "address";
|
|
69507
|
+
readonly name: "rewardOracleAddress";
|
|
69508
|
+
readonly type: "address";
|
|
69509
|
+
}, {
|
|
69510
|
+
readonly internalType: "uint256";
|
|
69511
|
+
readonly name: "emissionPerSecond";
|
|
69512
|
+
readonly type: "uint256";
|
|
69513
|
+
}, {
|
|
69514
|
+
readonly internalType: "uint256";
|
|
69515
|
+
readonly name: "incentivesLastUpdateTimestamp";
|
|
69516
|
+
readonly type: "uint256";
|
|
69517
|
+
}, {
|
|
69518
|
+
readonly internalType: "uint256";
|
|
69519
|
+
readonly name: "tokenIncentivesIndex";
|
|
69520
|
+
readonly type: "uint256";
|
|
69521
|
+
}, {
|
|
69522
|
+
readonly internalType: "uint256";
|
|
69523
|
+
readonly name: "emissionEndTimestamp";
|
|
69524
|
+
readonly type: "uint256";
|
|
69525
|
+
}, {
|
|
69526
|
+
readonly internalType: "int256";
|
|
69527
|
+
readonly name: "rewardPriceFeed";
|
|
69528
|
+
readonly type: "int256";
|
|
69529
|
+
}, {
|
|
69530
|
+
readonly internalType: "uint8";
|
|
69531
|
+
readonly name: "rewardTokenDecimals";
|
|
69532
|
+
readonly type: "uint8";
|
|
69533
|
+
}, {
|
|
69534
|
+
readonly internalType: "uint8";
|
|
69535
|
+
readonly name: "precision";
|
|
69536
|
+
readonly type: "uint8";
|
|
69537
|
+
}, {
|
|
69538
|
+
readonly internalType: "uint8";
|
|
69539
|
+
readonly name: "priceFeedDecimals";
|
|
69540
|
+
readonly type: "uint8";
|
|
69541
|
+
}];
|
|
69542
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.RewardInfo[]";
|
|
69543
|
+
readonly name: "rewardsTokenInformation";
|
|
69544
|
+
readonly type: "tuple[]";
|
|
69545
|
+
}];
|
|
69546
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.IncentiveData";
|
|
69547
|
+
readonly name: "aIncentiveData";
|
|
69548
|
+
readonly type: "tuple";
|
|
69549
|
+
}, {
|
|
69550
|
+
readonly components: readonly [{
|
|
69551
|
+
readonly internalType: "address";
|
|
69552
|
+
readonly name: "tokenAddress";
|
|
69553
|
+
readonly type: "address";
|
|
69554
|
+
}, {
|
|
69555
|
+
readonly internalType: "address";
|
|
69556
|
+
readonly name: "incentiveControllerAddress";
|
|
69557
|
+
readonly type: "address";
|
|
69558
|
+
}, {
|
|
69559
|
+
readonly components: readonly [{
|
|
69560
|
+
readonly internalType: "string";
|
|
69561
|
+
readonly name: "rewardTokenSymbol";
|
|
69562
|
+
readonly type: "string";
|
|
69563
|
+
}, {
|
|
69564
|
+
readonly internalType: "address";
|
|
69565
|
+
readonly name: "rewardTokenAddress";
|
|
69566
|
+
readonly type: "address";
|
|
69567
|
+
}, {
|
|
69568
|
+
readonly internalType: "address";
|
|
69569
|
+
readonly name: "rewardOracleAddress";
|
|
69570
|
+
readonly type: "address";
|
|
69571
|
+
}, {
|
|
69572
|
+
readonly internalType: "uint256";
|
|
69573
|
+
readonly name: "emissionPerSecond";
|
|
69574
|
+
readonly type: "uint256";
|
|
69575
|
+
}, {
|
|
69576
|
+
readonly internalType: "uint256";
|
|
69577
|
+
readonly name: "incentivesLastUpdateTimestamp";
|
|
69578
|
+
readonly type: "uint256";
|
|
69579
|
+
}, {
|
|
69580
|
+
readonly internalType: "uint256";
|
|
69581
|
+
readonly name: "tokenIncentivesIndex";
|
|
69582
|
+
readonly type: "uint256";
|
|
69583
|
+
}, {
|
|
69584
|
+
readonly internalType: "uint256";
|
|
69585
|
+
readonly name: "emissionEndTimestamp";
|
|
69586
|
+
readonly type: "uint256";
|
|
69587
|
+
}, {
|
|
69588
|
+
readonly internalType: "int256";
|
|
69589
|
+
readonly name: "rewardPriceFeed";
|
|
69590
|
+
readonly type: "int256";
|
|
69591
|
+
}, {
|
|
69592
|
+
readonly internalType: "uint8";
|
|
69593
|
+
readonly name: "rewardTokenDecimals";
|
|
69594
|
+
readonly type: "uint8";
|
|
69595
|
+
}, {
|
|
69596
|
+
readonly internalType: "uint8";
|
|
69597
|
+
readonly name: "precision";
|
|
69598
|
+
readonly type: "uint8";
|
|
69599
|
+
}, {
|
|
69600
|
+
readonly internalType: "uint8";
|
|
69601
|
+
readonly name: "priceFeedDecimals";
|
|
69602
|
+
readonly type: "uint8";
|
|
69603
|
+
}];
|
|
69604
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.RewardInfo[]";
|
|
69605
|
+
readonly name: "rewardsTokenInformation";
|
|
69606
|
+
readonly type: "tuple[]";
|
|
69607
|
+
}];
|
|
69608
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.IncentiveData";
|
|
69609
|
+
readonly name: "vIncentiveData";
|
|
69610
|
+
readonly type: "tuple";
|
|
69611
|
+
}, {
|
|
69612
|
+
readonly components: readonly [{
|
|
69613
|
+
readonly internalType: "address";
|
|
69614
|
+
readonly name: "tokenAddress";
|
|
69615
|
+
readonly type: "address";
|
|
69616
|
+
}, {
|
|
69617
|
+
readonly internalType: "address";
|
|
69618
|
+
readonly name: "incentiveControllerAddress";
|
|
69619
|
+
readonly type: "address";
|
|
69620
|
+
}, {
|
|
69621
|
+
readonly components: readonly [{
|
|
69622
|
+
readonly internalType: "string";
|
|
69623
|
+
readonly name: "rewardTokenSymbol";
|
|
69624
|
+
readonly type: "string";
|
|
69625
|
+
}, {
|
|
69626
|
+
readonly internalType: "address";
|
|
69627
|
+
readonly name: "rewardTokenAddress";
|
|
69628
|
+
readonly type: "address";
|
|
69629
|
+
}, {
|
|
69630
|
+
readonly internalType: "address";
|
|
69631
|
+
readonly name: "rewardOracleAddress";
|
|
69632
|
+
readonly type: "address";
|
|
69633
|
+
}, {
|
|
69634
|
+
readonly internalType: "uint256";
|
|
69635
|
+
readonly name: "emissionPerSecond";
|
|
69636
|
+
readonly type: "uint256";
|
|
69637
|
+
}, {
|
|
69638
|
+
readonly internalType: "uint256";
|
|
69639
|
+
readonly name: "incentivesLastUpdateTimestamp";
|
|
69640
|
+
readonly type: "uint256";
|
|
69641
|
+
}, {
|
|
69642
|
+
readonly internalType: "uint256";
|
|
69643
|
+
readonly name: "tokenIncentivesIndex";
|
|
69644
|
+
readonly type: "uint256";
|
|
69645
|
+
}, {
|
|
69646
|
+
readonly internalType: "uint256";
|
|
69647
|
+
readonly name: "emissionEndTimestamp";
|
|
69648
|
+
readonly type: "uint256";
|
|
69649
|
+
}, {
|
|
69650
|
+
readonly internalType: "int256";
|
|
69651
|
+
readonly name: "rewardPriceFeed";
|
|
69652
|
+
readonly type: "int256";
|
|
69653
|
+
}, {
|
|
69654
|
+
readonly internalType: "uint8";
|
|
69655
|
+
readonly name: "rewardTokenDecimals";
|
|
69656
|
+
readonly type: "uint8";
|
|
69657
|
+
}, {
|
|
69658
|
+
readonly internalType: "uint8";
|
|
69659
|
+
readonly name: "precision";
|
|
69660
|
+
readonly type: "uint8";
|
|
69661
|
+
}, {
|
|
69662
|
+
readonly internalType: "uint8";
|
|
69663
|
+
readonly name: "priceFeedDecimals";
|
|
69664
|
+
readonly type: "uint8";
|
|
69665
|
+
}];
|
|
69666
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.RewardInfo[]";
|
|
69667
|
+
readonly name: "rewardsTokenInformation";
|
|
69668
|
+
readonly type: "tuple[]";
|
|
69669
|
+
}];
|
|
69670
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.IncentiveData";
|
|
69671
|
+
readonly name: "sIncentiveData";
|
|
69672
|
+
readonly type: "tuple";
|
|
69673
|
+
}];
|
|
69674
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.AggregatedReserveIncentiveData[]";
|
|
69675
|
+
readonly name: "";
|
|
69676
|
+
readonly type: "tuple[]";
|
|
68940
69677
|
}];
|
|
68941
|
-
readonly
|
|
68942
|
-
readonly type: "
|
|
69678
|
+
readonly stateMutability: "view";
|
|
69679
|
+
readonly type: "function";
|
|
68943
69680
|
}, {
|
|
68944
|
-
readonly anonymous: false;
|
|
68945
69681
|
readonly inputs: readonly [{
|
|
68946
|
-
readonly
|
|
68947
|
-
readonly
|
|
68948
|
-
readonly name: "target";
|
|
68949
|
-
readonly type: "address";
|
|
68950
|
-
}, {
|
|
68951
|
-
readonly indexed: false;
|
|
68952
|
-
readonly internalType: "address";
|
|
68953
|
-
readonly name: "initiator";
|
|
68954
|
-
readonly type: "address";
|
|
68955
|
-
}, {
|
|
68956
|
-
readonly indexed: true;
|
|
68957
|
-
readonly internalType: "address";
|
|
68958
|
-
readonly name: "asset";
|
|
69682
|
+
readonly internalType: "contract IPoolAddressesProvider";
|
|
69683
|
+
readonly name: "provider";
|
|
68959
69684
|
readonly type: "address";
|
|
68960
69685
|
}, {
|
|
68961
|
-
readonly indexed: false;
|
|
68962
|
-
readonly internalType: "uint256";
|
|
68963
|
-
readonly name: "amount";
|
|
68964
|
-
readonly type: "uint256";
|
|
68965
|
-
}, {
|
|
68966
|
-
readonly indexed: false;
|
|
68967
|
-
readonly internalType: "enum DataTypes.InterestRateMode";
|
|
68968
|
-
readonly name: "interestRateMode";
|
|
68969
|
-
readonly type: "uint8";
|
|
68970
|
-
}, {
|
|
68971
|
-
readonly indexed: false;
|
|
68972
|
-
readonly internalType: "uint256";
|
|
68973
|
-
readonly name: "premium";
|
|
68974
|
-
readonly type: "uint256";
|
|
68975
|
-
}, {
|
|
68976
|
-
readonly indexed: true;
|
|
68977
|
-
readonly internalType: "uint16";
|
|
68978
|
-
readonly name: "referralCode";
|
|
68979
|
-
readonly type: "uint16";
|
|
68980
|
-
}];
|
|
68981
|
-
readonly name: "FlashLoan";
|
|
68982
|
-
readonly type: "event";
|
|
68983
|
-
}, {
|
|
68984
|
-
readonly anonymous: false;
|
|
68985
|
-
readonly inputs: readonly [{
|
|
68986
|
-
readonly indexed: true;
|
|
68987
69686
|
readonly internalType: "address";
|
|
68988
|
-
readonly name: "
|
|
69687
|
+
readonly name: "user";
|
|
68989
69688
|
readonly type: "address";
|
|
68990
|
-
}, {
|
|
68991
|
-
readonly indexed: false;
|
|
68992
|
-
readonly internalType: "uint256";
|
|
68993
|
-
readonly name: "totalDebt";
|
|
68994
|
-
readonly type: "uint256";
|
|
68995
69689
|
}];
|
|
68996
|
-
readonly name: "
|
|
68997
|
-
readonly
|
|
69690
|
+
readonly name: "getUserReservesIncentivesData";
|
|
69691
|
+
readonly outputs: readonly [{
|
|
69692
|
+
readonly components: readonly [{
|
|
69693
|
+
readonly internalType: "address";
|
|
69694
|
+
readonly name: "underlyingAsset";
|
|
69695
|
+
readonly type: "address";
|
|
69696
|
+
}, {
|
|
69697
|
+
readonly components: readonly [{
|
|
69698
|
+
readonly internalType: "address";
|
|
69699
|
+
readonly name: "tokenAddress";
|
|
69700
|
+
readonly type: "address";
|
|
69701
|
+
}, {
|
|
69702
|
+
readonly internalType: "address";
|
|
69703
|
+
readonly name: "incentiveControllerAddress";
|
|
69704
|
+
readonly type: "address";
|
|
69705
|
+
}, {
|
|
69706
|
+
readonly components: readonly [{
|
|
69707
|
+
readonly internalType: "string";
|
|
69708
|
+
readonly name: "rewardTokenSymbol";
|
|
69709
|
+
readonly type: "string";
|
|
69710
|
+
}, {
|
|
69711
|
+
readonly internalType: "address";
|
|
69712
|
+
readonly name: "rewardOracleAddress";
|
|
69713
|
+
readonly type: "address";
|
|
69714
|
+
}, {
|
|
69715
|
+
readonly internalType: "address";
|
|
69716
|
+
readonly name: "rewardTokenAddress";
|
|
69717
|
+
readonly type: "address";
|
|
69718
|
+
}, {
|
|
69719
|
+
readonly internalType: "uint256";
|
|
69720
|
+
readonly name: "userUnclaimedRewards";
|
|
69721
|
+
readonly type: "uint256";
|
|
69722
|
+
}, {
|
|
69723
|
+
readonly internalType: "uint256";
|
|
69724
|
+
readonly name: "tokenIncentivesUserIndex";
|
|
69725
|
+
readonly type: "uint256";
|
|
69726
|
+
}, {
|
|
69727
|
+
readonly internalType: "int256";
|
|
69728
|
+
readonly name: "rewardPriceFeed";
|
|
69729
|
+
readonly type: "int256";
|
|
69730
|
+
}, {
|
|
69731
|
+
readonly internalType: "uint8";
|
|
69732
|
+
readonly name: "priceFeedDecimals";
|
|
69733
|
+
readonly type: "uint8";
|
|
69734
|
+
}, {
|
|
69735
|
+
readonly internalType: "uint8";
|
|
69736
|
+
readonly name: "rewardTokenDecimals";
|
|
69737
|
+
readonly type: "uint8";
|
|
69738
|
+
}];
|
|
69739
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.UserRewardInfo[]";
|
|
69740
|
+
readonly name: "userRewardsInformation";
|
|
69741
|
+
readonly type: "tuple[]";
|
|
69742
|
+
}];
|
|
69743
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData";
|
|
69744
|
+
readonly name: "aTokenIncentivesUserData";
|
|
69745
|
+
readonly type: "tuple";
|
|
69746
|
+
}, {
|
|
69747
|
+
readonly components: readonly [{
|
|
69748
|
+
readonly internalType: "address";
|
|
69749
|
+
readonly name: "tokenAddress";
|
|
69750
|
+
readonly type: "address";
|
|
69751
|
+
}, {
|
|
69752
|
+
readonly internalType: "address";
|
|
69753
|
+
readonly name: "incentiveControllerAddress";
|
|
69754
|
+
readonly type: "address";
|
|
69755
|
+
}, {
|
|
69756
|
+
readonly components: readonly [{
|
|
69757
|
+
readonly internalType: "string";
|
|
69758
|
+
readonly name: "rewardTokenSymbol";
|
|
69759
|
+
readonly type: "string";
|
|
69760
|
+
}, {
|
|
69761
|
+
readonly internalType: "address";
|
|
69762
|
+
readonly name: "rewardOracleAddress";
|
|
69763
|
+
readonly type: "address";
|
|
69764
|
+
}, {
|
|
69765
|
+
readonly internalType: "address";
|
|
69766
|
+
readonly name: "rewardTokenAddress";
|
|
69767
|
+
readonly type: "address";
|
|
69768
|
+
}, {
|
|
69769
|
+
readonly internalType: "uint256";
|
|
69770
|
+
readonly name: "userUnclaimedRewards";
|
|
69771
|
+
readonly type: "uint256";
|
|
69772
|
+
}, {
|
|
69773
|
+
readonly internalType: "uint256";
|
|
69774
|
+
readonly name: "tokenIncentivesUserIndex";
|
|
69775
|
+
readonly type: "uint256";
|
|
69776
|
+
}, {
|
|
69777
|
+
readonly internalType: "int256";
|
|
69778
|
+
readonly name: "rewardPriceFeed";
|
|
69779
|
+
readonly type: "int256";
|
|
69780
|
+
}, {
|
|
69781
|
+
readonly internalType: "uint8";
|
|
69782
|
+
readonly name: "priceFeedDecimals";
|
|
69783
|
+
readonly type: "uint8";
|
|
69784
|
+
}, {
|
|
69785
|
+
readonly internalType: "uint8";
|
|
69786
|
+
readonly name: "rewardTokenDecimals";
|
|
69787
|
+
readonly type: "uint8";
|
|
69788
|
+
}];
|
|
69789
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.UserRewardInfo[]";
|
|
69790
|
+
readonly name: "userRewardsInformation";
|
|
69791
|
+
readonly type: "tuple[]";
|
|
69792
|
+
}];
|
|
69793
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData";
|
|
69794
|
+
readonly name: "vTokenIncentivesUserData";
|
|
69795
|
+
readonly type: "tuple";
|
|
69796
|
+
}, {
|
|
69797
|
+
readonly components: readonly [{
|
|
69798
|
+
readonly internalType: "address";
|
|
69799
|
+
readonly name: "tokenAddress";
|
|
69800
|
+
readonly type: "address";
|
|
69801
|
+
}, {
|
|
69802
|
+
readonly internalType: "address";
|
|
69803
|
+
readonly name: "incentiveControllerAddress";
|
|
69804
|
+
readonly type: "address";
|
|
69805
|
+
}, {
|
|
69806
|
+
readonly components: readonly [{
|
|
69807
|
+
readonly internalType: "string";
|
|
69808
|
+
readonly name: "rewardTokenSymbol";
|
|
69809
|
+
readonly type: "string";
|
|
69810
|
+
}, {
|
|
69811
|
+
readonly internalType: "address";
|
|
69812
|
+
readonly name: "rewardOracleAddress";
|
|
69813
|
+
readonly type: "address";
|
|
69814
|
+
}, {
|
|
69815
|
+
readonly internalType: "address";
|
|
69816
|
+
readonly name: "rewardTokenAddress";
|
|
69817
|
+
readonly type: "address";
|
|
69818
|
+
}, {
|
|
69819
|
+
readonly internalType: "uint256";
|
|
69820
|
+
readonly name: "userUnclaimedRewards";
|
|
69821
|
+
readonly type: "uint256";
|
|
69822
|
+
}, {
|
|
69823
|
+
readonly internalType: "uint256";
|
|
69824
|
+
readonly name: "tokenIncentivesUserIndex";
|
|
69825
|
+
readonly type: "uint256";
|
|
69826
|
+
}, {
|
|
69827
|
+
readonly internalType: "int256";
|
|
69828
|
+
readonly name: "rewardPriceFeed";
|
|
69829
|
+
readonly type: "int256";
|
|
69830
|
+
}, {
|
|
69831
|
+
readonly internalType: "uint8";
|
|
69832
|
+
readonly name: "priceFeedDecimals";
|
|
69833
|
+
readonly type: "uint8";
|
|
69834
|
+
}, {
|
|
69835
|
+
readonly internalType: "uint8";
|
|
69836
|
+
readonly name: "rewardTokenDecimals";
|
|
69837
|
+
readonly type: "uint8";
|
|
69838
|
+
}];
|
|
69839
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.UserRewardInfo[]";
|
|
69840
|
+
readonly name: "userRewardsInformation";
|
|
69841
|
+
readonly type: "tuple[]";
|
|
69842
|
+
}];
|
|
69843
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData";
|
|
69844
|
+
readonly name: "sTokenIncentivesUserData";
|
|
69845
|
+
readonly type: "tuple";
|
|
69846
|
+
}];
|
|
69847
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.UserReserveIncentiveData[]";
|
|
69848
|
+
readonly name: "";
|
|
69849
|
+
readonly type: "tuple[]";
|
|
69850
|
+
}];
|
|
69851
|
+
readonly stateMutability: "view";
|
|
69852
|
+
readonly type: "function";
|
|
69853
|
+
}];
|
|
69854
|
+
readonly networks: {
|
|
69855
|
+
readonly "1": {
|
|
69856
|
+
readonly address: "0xA7F8A757C4f7696c015B595F51B2901AC0121B18";
|
|
69857
|
+
};
|
|
69858
|
+
};
|
|
69859
|
+
};
|
|
69860
|
+
export declare const SparkLendingPool: {
|
|
69861
|
+
readonly abi: readonly [{
|
|
69862
|
+
readonly inputs: readonly [{
|
|
69863
|
+
readonly internalType: "contract IPoolAddressesProvider";
|
|
69864
|
+
readonly name: "provider";
|
|
69865
|
+
readonly type: "address";
|
|
69866
|
+
}];
|
|
69867
|
+
readonly stateMutability: "nonpayable";
|
|
69868
|
+
readonly type: "constructor";
|
|
68998
69869
|
}, {
|
|
68999
69870
|
readonly anonymous: false;
|
|
69000
69871
|
readonly inputs: readonly [{
|
|
69001
69872
|
readonly indexed: true;
|
|
69002
69873
|
readonly internalType: "address";
|
|
69003
|
-
readonly name: "
|
|
69004
|
-
readonly type: "address";
|
|
69005
|
-
}, {
|
|
69006
|
-
readonly indexed: true;
|
|
69007
|
-
readonly internalType: "address";
|
|
69008
|
-
readonly name: "debtAsset";
|
|
69874
|
+
readonly name: "reserve";
|
|
69009
69875
|
readonly type: "address";
|
|
69010
69876
|
}, {
|
|
69011
69877
|
readonly indexed: true;
|
|
69012
69878
|
readonly internalType: "address";
|
|
69013
|
-
readonly name: "
|
|
69879
|
+
readonly name: "backer";
|
|
69014
69880
|
readonly type: "address";
|
|
69015
69881
|
}, {
|
|
69016
69882
|
readonly indexed: false;
|
|
69017
69883
|
readonly internalType: "uint256";
|
|
69018
|
-
readonly name: "
|
|
69884
|
+
readonly name: "amount";
|
|
69019
69885
|
readonly type: "uint256";
|
|
69020
69886
|
}, {
|
|
69021
69887
|
readonly indexed: false;
|
|
69022
69888
|
readonly internalType: "uint256";
|
|
69023
|
-
readonly name: "
|
|
69889
|
+
readonly name: "fee";
|
|
69024
69890
|
readonly type: "uint256";
|
|
69025
|
-
}, {
|
|
69026
|
-
readonly indexed: false;
|
|
69027
|
-
readonly internalType: "address";
|
|
69028
|
-
readonly name: "liquidator";
|
|
69029
|
-
readonly type: "address";
|
|
69030
|
-
}, {
|
|
69031
|
-
readonly indexed: false;
|
|
69032
|
-
readonly internalType: "bool";
|
|
69033
|
-
readonly name: "receiveAToken";
|
|
69034
|
-
readonly type: "bool";
|
|
69035
69891
|
}];
|
|
69036
|
-
readonly name: "
|
|
69892
|
+
readonly name: "BackUnbacked";
|
|
69037
69893
|
readonly type: "event";
|
|
69038
69894
|
}, {
|
|
69039
69895
|
readonly anonymous: false;
|
|
@@ -69058,59 +69914,39 @@ export declare const SparkLendingPool: {
|
|
|
69058
69914
|
readonly name: "amount";
|
|
69059
69915
|
readonly type: "uint256";
|
|
69060
69916
|
}, {
|
|
69061
|
-
readonly indexed:
|
|
69062
|
-
readonly internalType: "
|
|
69063
|
-
readonly name: "
|
|
69064
|
-
readonly type: "
|
|
69065
|
-
}];
|
|
69066
|
-
readonly name: "MintUnbacked";
|
|
69067
|
-
readonly type: "event";
|
|
69068
|
-
}, {
|
|
69069
|
-
readonly anonymous: false;
|
|
69070
|
-
readonly inputs: readonly [{
|
|
69071
|
-
readonly indexed: true;
|
|
69072
|
-
readonly internalType: "address";
|
|
69073
|
-
readonly name: "reserve";
|
|
69074
|
-
readonly type: "address";
|
|
69917
|
+
readonly indexed: false;
|
|
69918
|
+
readonly internalType: "enum DataTypes.InterestRateMode";
|
|
69919
|
+
readonly name: "interestRateMode";
|
|
69920
|
+
readonly type: "uint8";
|
|
69075
69921
|
}, {
|
|
69076
69922
|
readonly indexed: false;
|
|
69077
69923
|
readonly internalType: "uint256";
|
|
69078
|
-
readonly name: "
|
|
69924
|
+
readonly name: "borrowRate";
|
|
69079
69925
|
readonly type: "uint256";
|
|
69080
|
-
}];
|
|
69081
|
-
readonly name: "MintedToTreasury";
|
|
69082
|
-
readonly type: "event";
|
|
69083
|
-
}, {
|
|
69084
|
-
readonly anonymous: false;
|
|
69085
|
-
readonly inputs: readonly [{
|
|
69086
|
-
readonly indexed: true;
|
|
69087
|
-
readonly internalType: "address";
|
|
69088
|
-
readonly name: "reserve";
|
|
69089
|
-
readonly type: "address";
|
|
69090
69926
|
}, {
|
|
69091
69927
|
readonly indexed: true;
|
|
69092
|
-
readonly internalType: "
|
|
69093
|
-
readonly name: "
|
|
69094
|
-
readonly type: "
|
|
69928
|
+
readonly internalType: "uint16";
|
|
69929
|
+
readonly name: "referralCode";
|
|
69930
|
+
readonly type: "uint16";
|
|
69095
69931
|
}];
|
|
69096
|
-
readonly name: "
|
|
69932
|
+
readonly name: "Borrow";
|
|
69097
69933
|
readonly type: "event";
|
|
69098
69934
|
}, {
|
|
69099
69935
|
readonly anonymous: false;
|
|
69100
69936
|
readonly inputs: readonly [{
|
|
69101
69937
|
readonly indexed: true;
|
|
69102
69938
|
readonly internalType: "address";
|
|
69103
|
-
readonly name: "
|
|
69939
|
+
readonly name: "target";
|
|
69104
69940
|
readonly type: "address";
|
|
69105
69941
|
}, {
|
|
69106
|
-
readonly indexed:
|
|
69942
|
+
readonly indexed: false;
|
|
69107
69943
|
readonly internalType: "address";
|
|
69108
|
-
readonly name: "
|
|
69944
|
+
readonly name: "initiator";
|
|
69109
69945
|
readonly type: "address";
|
|
69110
69946
|
}, {
|
|
69111
69947
|
readonly indexed: true;
|
|
69112
69948
|
readonly internalType: "address";
|
|
69113
|
-
readonly name: "
|
|
69949
|
+
readonly name: "asset";
|
|
69114
69950
|
readonly type: "address";
|
|
69115
69951
|
}, {
|
|
69116
69952
|
readonly indexed: false;
|
|
@@ -69119,11 +69955,166 @@ export declare const SparkLendingPool: {
|
|
|
69119
69955
|
readonly type: "uint256";
|
|
69120
69956
|
}, {
|
|
69121
69957
|
readonly indexed: false;
|
|
69122
|
-
readonly internalType: "
|
|
69123
|
-
readonly name: "
|
|
69124
|
-
readonly type: "
|
|
69125
|
-
}
|
|
69126
|
-
|
|
69958
|
+
readonly internalType: "enum DataTypes.InterestRateMode";
|
|
69959
|
+
readonly name: "interestRateMode";
|
|
69960
|
+
readonly type: "uint8";
|
|
69961
|
+
}, {
|
|
69962
|
+
readonly indexed: false;
|
|
69963
|
+
readonly internalType: "uint256";
|
|
69964
|
+
readonly name: "premium";
|
|
69965
|
+
readonly type: "uint256";
|
|
69966
|
+
}, {
|
|
69967
|
+
readonly indexed: true;
|
|
69968
|
+
readonly internalType: "uint16";
|
|
69969
|
+
readonly name: "referralCode";
|
|
69970
|
+
readonly type: "uint16";
|
|
69971
|
+
}];
|
|
69972
|
+
readonly name: "FlashLoan";
|
|
69973
|
+
readonly type: "event";
|
|
69974
|
+
}, {
|
|
69975
|
+
readonly anonymous: false;
|
|
69976
|
+
readonly inputs: readonly [{
|
|
69977
|
+
readonly indexed: true;
|
|
69978
|
+
readonly internalType: "address";
|
|
69979
|
+
readonly name: "asset";
|
|
69980
|
+
readonly type: "address";
|
|
69981
|
+
}, {
|
|
69982
|
+
readonly indexed: false;
|
|
69983
|
+
readonly internalType: "uint256";
|
|
69984
|
+
readonly name: "totalDebt";
|
|
69985
|
+
readonly type: "uint256";
|
|
69986
|
+
}];
|
|
69987
|
+
readonly name: "IsolationModeTotalDebtUpdated";
|
|
69988
|
+
readonly type: "event";
|
|
69989
|
+
}, {
|
|
69990
|
+
readonly anonymous: false;
|
|
69991
|
+
readonly inputs: readonly [{
|
|
69992
|
+
readonly indexed: true;
|
|
69993
|
+
readonly internalType: "address";
|
|
69994
|
+
readonly name: "collateralAsset";
|
|
69995
|
+
readonly type: "address";
|
|
69996
|
+
}, {
|
|
69997
|
+
readonly indexed: true;
|
|
69998
|
+
readonly internalType: "address";
|
|
69999
|
+
readonly name: "debtAsset";
|
|
70000
|
+
readonly type: "address";
|
|
70001
|
+
}, {
|
|
70002
|
+
readonly indexed: true;
|
|
70003
|
+
readonly internalType: "address";
|
|
70004
|
+
readonly name: "user";
|
|
70005
|
+
readonly type: "address";
|
|
70006
|
+
}, {
|
|
70007
|
+
readonly indexed: false;
|
|
70008
|
+
readonly internalType: "uint256";
|
|
70009
|
+
readonly name: "debtToCover";
|
|
70010
|
+
readonly type: "uint256";
|
|
70011
|
+
}, {
|
|
70012
|
+
readonly indexed: false;
|
|
70013
|
+
readonly internalType: "uint256";
|
|
70014
|
+
readonly name: "liquidatedCollateralAmount";
|
|
70015
|
+
readonly type: "uint256";
|
|
70016
|
+
}, {
|
|
70017
|
+
readonly indexed: false;
|
|
70018
|
+
readonly internalType: "address";
|
|
70019
|
+
readonly name: "liquidator";
|
|
70020
|
+
readonly type: "address";
|
|
70021
|
+
}, {
|
|
70022
|
+
readonly indexed: false;
|
|
70023
|
+
readonly internalType: "bool";
|
|
70024
|
+
readonly name: "receiveAToken";
|
|
70025
|
+
readonly type: "bool";
|
|
70026
|
+
}];
|
|
70027
|
+
readonly name: "LiquidationCall";
|
|
70028
|
+
readonly type: "event";
|
|
70029
|
+
}, {
|
|
70030
|
+
readonly anonymous: false;
|
|
70031
|
+
readonly inputs: readonly [{
|
|
70032
|
+
readonly indexed: true;
|
|
70033
|
+
readonly internalType: "address";
|
|
70034
|
+
readonly name: "reserve";
|
|
70035
|
+
readonly type: "address";
|
|
70036
|
+
}, {
|
|
70037
|
+
readonly indexed: false;
|
|
70038
|
+
readonly internalType: "address";
|
|
70039
|
+
readonly name: "user";
|
|
70040
|
+
readonly type: "address";
|
|
70041
|
+
}, {
|
|
70042
|
+
readonly indexed: true;
|
|
70043
|
+
readonly internalType: "address";
|
|
70044
|
+
readonly name: "onBehalfOf";
|
|
70045
|
+
readonly type: "address";
|
|
70046
|
+
}, {
|
|
70047
|
+
readonly indexed: false;
|
|
70048
|
+
readonly internalType: "uint256";
|
|
70049
|
+
readonly name: "amount";
|
|
70050
|
+
readonly type: "uint256";
|
|
70051
|
+
}, {
|
|
70052
|
+
readonly indexed: true;
|
|
70053
|
+
readonly internalType: "uint16";
|
|
70054
|
+
readonly name: "referralCode";
|
|
70055
|
+
readonly type: "uint16";
|
|
70056
|
+
}];
|
|
70057
|
+
readonly name: "MintUnbacked";
|
|
70058
|
+
readonly type: "event";
|
|
70059
|
+
}, {
|
|
70060
|
+
readonly anonymous: false;
|
|
70061
|
+
readonly inputs: readonly [{
|
|
70062
|
+
readonly indexed: true;
|
|
70063
|
+
readonly internalType: "address";
|
|
70064
|
+
readonly name: "reserve";
|
|
70065
|
+
readonly type: "address";
|
|
70066
|
+
}, {
|
|
70067
|
+
readonly indexed: false;
|
|
70068
|
+
readonly internalType: "uint256";
|
|
70069
|
+
readonly name: "amountMinted";
|
|
70070
|
+
readonly type: "uint256";
|
|
70071
|
+
}];
|
|
70072
|
+
readonly name: "MintedToTreasury";
|
|
70073
|
+
readonly type: "event";
|
|
70074
|
+
}, {
|
|
70075
|
+
readonly anonymous: false;
|
|
70076
|
+
readonly inputs: readonly [{
|
|
70077
|
+
readonly indexed: true;
|
|
70078
|
+
readonly internalType: "address";
|
|
70079
|
+
readonly name: "reserve";
|
|
70080
|
+
readonly type: "address";
|
|
70081
|
+
}, {
|
|
70082
|
+
readonly indexed: true;
|
|
70083
|
+
readonly internalType: "address";
|
|
70084
|
+
readonly name: "user";
|
|
70085
|
+
readonly type: "address";
|
|
70086
|
+
}];
|
|
70087
|
+
readonly name: "RebalanceStableBorrowRate";
|
|
70088
|
+
readonly type: "event";
|
|
70089
|
+
}, {
|
|
70090
|
+
readonly anonymous: false;
|
|
70091
|
+
readonly inputs: readonly [{
|
|
70092
|
+
readonly indexed: true;
|
|
70093
|
+
readonly internalType: "address";
|
|
70094
|
+
readonly name: "reserve";
|
|
70095
|
+
readonly type: "address";
|
|
70096
|
+
}, {
|
|
70097
|
+
readonly indexed: true;
|
|
70098
|
+
readonly internalType: "address";
|
|
70099
|
+
readonly name: "user";
|
|
70100
|
+
readonly type: "address";
|
|
70101
|
+
}, {
|
|
70102
|
+
readonly indexed: true;
|
|
70103
|
+
readonly internalType: "address";
|
|
70104
|
+
readonly name: "repayer";
|
|
70105
|
+
readonly type: "address";
|
|
70106
|
+
}, {
|
|
70107
|
+
readonly indexed: false;
|
|
70108
|
+
readonly internalType: "uint256";
|
|
70109
|
+
readonly name: "amount";
|
|
70110
|
+
readonly type: "uint256";
|
|
70111
|
+
}, {
|
|
70112
|
+
readonly indexed: false;
|
|
70113
|
+
readonly internalType: "bool";
|
|
70114
|
+
readonly name: "useATokens";
|
|
70115
|
+
readonly type: "bool";
|
|
70116
|
+
}];
|
|
70117
|
+
readonly name: "Repay";
|
|
69127
70118
|
readonly type: "event";
|
|
69128
70119
|
}, {
|
|
69129
70120
|
readonly anonymous: false;
|
|
@@ -90721,6 +91712,24 @@ export declare const LiquityV2View: {
|
|
|
90721
91712
|
readonly inputs: readonly [];
|
|
90722
91713
|
readonly name: "InvalidMarketAddress";
|
|
90723
91714
|
readonly type: "error";
|
|
91715
|
+
}, {
|
|
91716
|
+
readonly inputs: readonly [{
|
|
91717
|
+
readonly internalType: "address";
|
|
91718
|
+
readonly name: "_market";
|
|
91719
|
+
readonly type: "address";
|
|
91720
|
+
}, {
|
|
91721
|
+
readonly internalType: "uint256";
|
|
91722
|
+
readonly name: "_troveId";
|
|
91723
|
+
readonly type: "uint256";
|
|
91724
|
+
}];
|
|
91725
|
+
readonly name: "_getTroveDebtInFrontForCurrentBranch";
|
|
91726
|
+
readonly outputs: readonly [{
|
|
91727
|
+
readonly internalType: "uint256";
|
|
91728
|
+
readonly name: "debt";
|
|
91729
|
+
readonly type: "uint256";
|
|
91730
|
+
}];
|
|
91731
|
+
readonly stateMutability: "view";
|
|
91732
|
+
readonly type: "function";
|
|
90724
91733
|
}, {
|
|
90725
91734
|
readonly inputs: readonly [{
|
|
90726
91735
|
readonly internalType: "address";
|
|
@@ -90869,6 +91878,24 @@ export declare const LiquityV2View: {
|
|
|
90869
91878
|
}];
|
|
90870
91879
|
readonly stateMutability: "view";
|
|
90871
91880
|
readonly type: "function";
|
|
91881
|
+
}, {
|
|
91882
|
+
readonly inputs: readonly [{
|
|
91883
|
+
readonly internalType: "address";
|
|
91884
|
+
readonly name: "_market";
|
|
91885
|
+
readonly type: "address";
|
|
91886
|
+
}, {
|
|
91887
|
+
readonly internalType: "uint256";
|
|
91888
|
+
readonly name: "_trove";
|
|
91889
|
+
readonly type: "uint256";
|
|
91890
|
+
}];
|
|
91891
|
+
readonly name: "getDebtInFront";
|
|
91892
|
+
readonly outputs: readonly [{
|
|
91893
|
+
readonly internalType: "uint256";
|
|
91894
|
+
readonly name: "";
|
|
91895
|
+
readonly type: "uint256";
|
|
91896
|
+
}];
|
|
91897
|
+
readonly stateMutability: "view";
|
|
91898
|
+
readonly type: "function";
|
|
90872
91899
|
}, {
|
|
90873
91900
|
readonly inputs: readonly [{
|
|
90874
91901
|
readonly internalType: "address";
|
|
@@ -91112,7 +92139,7 @@ export declare const LiquityV2View: {
|
|
|
91112
92139
|
readonly name: "data";
|
|
91113
92140
|
readonly type: "tuple";
|
|
91114
92141
|
}];
|
|
91115
|
-
readonly stateMutability: "
|
|
92142
|
+
readonly stateMutability: "nonpayable";
|
|
91116
92143
|
readonly type: "function";
|
|
91117
92144
|
}, {
|
|
91118
92145
|
readonly inputs: readonly [{
|
|
@@ -91136,15 +92163,27 @@ export declare const LiquityV2View: {
|
|
|
91136
92163
|
readonly type: "uint256";
|
|
91137
92164
|
}, {
|
|
91138
92165
|
readonly internalType: "uint256";
|
|
91139
|
-
readonly name: "
|
|
92166
|
+
readonly name: "entireDebt";
|
|
91140
92167
|
readonly type: "uint256";
|
|
91141
92168
|
}, {
|
|
91142
92169
|
readonly internalType: "uint256";
|
|
91143
|
-
readonly name: "
|
|
92170
|
+
readonly name: "entireColl";
|
|
91144
92171
|
readonly type: "uint256";
|
|
91145
92172
|
}, {
|
|
91146
92173
|
readonly internalType: "uint256";
|
|
91147
|
-
readonly name: "
|
|
92174
|
+
readonly name: "redistBoldDebtGain";
|
|
92175
|
+
readonly type: "uint256";
|
|
92176
|
+
}, {
|
|
92177
|
+
readonly internalType: "uint256";
|
|
92178
|
+
readonly name: "redistCollGain";
|
|
92179
|
+
readonly type: "uint256";
|
|
92180
|
+
}, {
|
|
92181
|
+
readonly internalType: "uint256";
|
|
92182
|
+
readonly name: "accruedInterest";
|
|
92183
|
+
readonly type: "uint256";
|
|
92184
|
+
}, {
|
|
92185
|
+
readonly internalType: "uint256";
|
|
92186
|
+
readonly name: "recordedDebt";
|
|
91148
92187
|
readonly type: "uint256";
|
|
91149
92188
|
}, {
|
|
91150
92189
|
readonly internalType: "uint256";
|
|
@@ -91152,12 +92191,20 @@ export declare const LiquityV2View: {
|
|
|
91152
92191
|
readonly type: "uint256";
|
|
91153
92192
|
}, {
|
|
91154
92193
|
readonly internalType: "uint256";
|
|
91155
|
-
readonly name: "
|
|
92194
|
+
readonly name: "accruedBatchManagementFee";
|
|
91156
92195
|
readonly type: "uint256";
|
|
91157
92196
|
}, {
|
|
91158
92197
|
readonly internalType: "uint256";
|
|
91159
92198
|
readonly name: "lastInterestRateAdjTime";
|
|
91160
92199
|
readonly type: "uint256";
|
|
92200
|
+
}, {
|
|
92201
|
+
readonly internalType: "uint256";
|
|
92202
|
+
readonly name: "stake";
|
|
92203
|
+
readonly type: "uint256";
|
|
92204
|
+
}, {
|
|
92205
|
+
readonly internalType: "uint256";
|
|
92206
|
+
readonly name: "lastDebtUpdateTime";
|
|
92207
|
+
readonly type: "uint256";
|
|
91161
92208
|
}, {
|
|
91162
92209
|
readonly internalType: "address";
|
|
91163
92210
|
readonly name: "interestBatchManager";
|
|
@@ -91166,10 +92213,6 @@ export declare const LiquityV2View: {
|
|
|
91166
92213
|
readonly internalType: "uint256";
|
|
91167
92214
|
readonly name: "batchDebtShares";
|
|
91168
92215
|
readonly type: "uint256";
|
|
91169
|
-
}, {
|
|
91170
|
-
readonly internalType: "uint256";
|
|
91171
|
-
readonly name: "batchCollShares";
|
|
91172
|
-
readonly type: "uint256";
|
|
91173
92216
|
}, {
|
|
91174
92217
|
readonly internalType: "uint256";
|
|
91175
92218
|
readonly name: "snapshotETH";
|
|
@@ -91180,7 +92223,7 @@ export declare const LiquityV2View: {
|
|
|
91180
92223
|
readonly type: "uint256";
|
|
91181
92224
|
}];
|
|
91182
92225
|
readonly internalType: "struct IMultiTroveGetter.CombinedTroveData[]";
|
|
91183
|
-
readonly name: "";
|
|
92226
|
+
readonly name: "troves";
|
|
91184
92227
|
readonly type: "tuple[]";
|
|
91185
92228
|
}];
|
|
91186
92229
|
readonly stateMutability: "view";
|
|
@@ -91276,7 +92319,7 @@ export declare const LiquityV2View: {
|
|
|
91276
92319
|
readonly name: "trove";
|
|
91277
92320
|
readonly type: "tuple";
|
|
91278
92321
|
}];
|
|
91279
|
-
readonly stateMutability: "
|
|
92322
|
+
readonly stateMutability: "nonpayable";
|
|
91280
92323
|
readonly type: "function";
|
|
91281
92324
|
}, {
|
|
91282
92325
|
readonly inputs: readonly [{
|
|
@@ -91394,7 +92437,704 @@ export declare const LiquityV2View: {
|
|
|
91394
92437
|
}];
|
|
91395
92438
|
readonly networks: {
|
|
91396
92439
|
readonly "1": {
|
|
91397
|
-
readonly address: "
|
|
92440
|
+
readonly address: "0x812985DaF1c471F1bA456e901258d98a9e759461";
|
|
92441
|
+
readonly createdBlock: 25753993;
|
|
92442
|
+
readonly oldVersions: {
|
|
92443
|
+
readonly "22494475": {
|
|
92444
|
+
readonly abi: readonly [{
|
|
92445
|
+
readonly inputs: readonly [];
|
|
92446
|
+
readonly name: "InvalidMarketAddress";
|
|
92447
|
+
readonly type: "error";
|
|
92448
|
+
}, {
|
|
92449
|
+
readonly inputs: readonly [{
|
|
92450
|
+
readonly internalType: "address";
|
|
92451
|
+
readonly name: "_market";
|
|
92452
|
+
readonly type: "address";
|
|
92453
|
+
}, {
|
|
92454
|
+
readonly internalType: "uint256";
|
|
92455
|
+
readonly name: "_interestRate";
|
|
92456
|
+
readonly type: "uint256";
|
|
92457
|
+
}, {
|
|
92458
|
+
readonly internalType: "uint256";
|
|
92459
|
+
readonly name: "_prevId";
|
|
92460
|
+
readonly type: "uint256";
|
|
92461
|
+
}, {
|
|
92462
|
+
readonly internalType: "uint256";
|
|
92463
|
+
readonly name: "_nextId";
|
|
92464
|
+
readonly type: "uint256";
|
|
92465
|
+
}];
|
|
92466
|
+
readonly name: "findInsertPosition";
|
|
92467
|
+
readonly outputs: readonly [{
|
|
92468
|
+
readonly internalType: "uint256";
|
|
92469
|
+
readonly name: "prevId";
|
|
92470
|
+
readonly type: "uint256";
|
|
92471
|
+
}, {
|
|
92472
|
+
readonly internalType: "uint256";
|
|
92473
|
+
readonly name: "nextId";
|
|
92474
|
+
readonly type: "uint256";
|
|
92475
|
+
}];
|
|
92476
|
+
readonly stateMutability: "view";
|
|
92477
|
+
readonly type: "function";
|
|
92478
|
+
}, {
|
|
92479
|
+
readonly inputs: readonly [{
|
|
92480
|
+
readonly internalType: "address";
|
|
92481
|
+
readonly name: "_market";
|
|
92482
|
+
readonly type: "address";
|
|
92483
|
+
}, {
|
|
92484
|
+
readonly internalType: "uint256";
|
|
92485
|
+
readonly name: "_collIndex";
|
|
92486
|
+
readonly type: "uint256";
|
|
92487
|
+
}, {
|
|
92488
|
+
readonly internalType: "uint256";
|
|
92489
|
+
readonly name: "_interestRate";
|
|
92490
|
+
readonly type: "uint256";
|
|
92491
|
+
}, {
|
|
92492
|
+
readonly internalType: "uint256";
|
|
92493
|
+
readonly name: "_numTrials";
|
|
92494
|
+
readonly type: "uint256";
|
|
92495
|
+
}, {
|
|
92496
|
+
readonly internalType: "uint256";
|
|
92497
|
+
readonly name: "_inputRandomSeed";
|
|
92498
|
+
readonly type: "uint256";
|
|
92499
|
+
}];
|
|
92500
|
+
readonly name: "getApproxHint";
|
|
92501
|
+
readonly outputs: readonly [{
|
|
92502
|
+
readonly internalType: "uint256";
|
|
92503
|
+
readonly name: "hintId";
|
|
92504
|
+
readonly type: "uint256";
|
|
92505
|
+
}, {
|
|
92506
|
+
readonly internalType: "uint256";
|
|
92507
|
+
readonly name: "diff";
|
|
92508
|
+
readonly type: "uint256";
|
|
92509
|
+
}, {
|
|
92510
|
+
readonly internalType: "uint256";
|
|
92511
|
+
readonly name: "latestRandomSeed";
|
|
92512
|
+
readonly type: "uint256";
|
|
92513
|
+
}];
|
|
92514
|
+
readonly stateMutability: "view";
|
|
92515
|
+
readonly type: "function";
|
|
92516
|
+
}, {
|
|
92517
|
+
readonly inputs: readonly [{
|
|
92518
|
+
readonly internalType: "address";
|
|
92519
|
+
readonly name: "_market";
|
|
92520
|
+
readonly type: "address";
|
|
92521
|
+
}, {
|
|
92522
|
+
readonly internalType: "address";
|
|
92523
|
+
readonly name: "_manager";
|
|
92524
|
+
readonly type: "address";
|
|
92525
|
+
}];
|
|
92526
|
+
readonly name: "getBatchManagerInfo";
|
|
92527
|
+
readonly outputs: readonly [{
|
|
92528
|
+
readonly components: readonly [{
|
|
92529
|
+
readonly internalType: "uint128";
|
|
92530
|
+
readonly name: "minInterestRate";
|
|
92531
|
+
readonly type: "uint128";
|
|
92532
|
+
}, {
|
|
92533
|
+
readonly internalType: "uint128";
|
|
92534
|
+
readonly name: "maxInterestRate";
|
|
92535
|
+
readonly type: "uint128";
|
|
92536
|
+
}, {
|
|
92537
|
+
readonly internalType: "uint256";
|
|
92538
|
+
readonly name: "minInterestRateChangePeriod";
|
|
92539
|
+
readonly type: "uint256";
|
|
92540
|
+
}];
|
|
92541
|
+
readonly internalType: "struct IBorrowerOperations.InterestBatchManager";
|
|
92542
|
+
readonly name: "managerData";
|
|
92543
|
+
readonly type: "tuple";
|
|
92544
|
+
}, {
|
|
92545
|
+
readonly components: readonly [{
|
|
92546
|
+
readonly internalType: "uint256";
|
|
92547
|
+
readonly name: "entireDebtWithoutRedistribution";
|
|
92548
|
+
readonly type: "uint256";
|
|
92549
|
+
}, {
|
|
92550
|
+
readonly internalType: "uint256";
|
|
92551
|
+
readonly name: "entireCollWithoutRedistribution";
|
|
92552
|
+
readonly type: "uint256";
|
|
92553
|
+
}, {
|
|
92554
|
+
readonly internalType: "uint256";
|
|
92555
|
+
readonly name: "accruedInterest";
|
|
92556
|
+
readonly type: "uint256";
|
|
92557
|
+
}, {
|
|
92558
|
+
readonly internalType: "uint256";
|
|
92559
|
+
readonly name: "recordedDebt";
|
|
92560
|
+
readonly type: "uint256";
|
|
92561
|
+
}, {
|
|
92562
|
+
readonly internalType: "uint256";
|
|
92563
|
+
readonly name: "annualInterestRate";
|
|
92564
|
+
readonly type: "uint256";
|
|
92565
|
+
}, {
|
|
92566
|
+
readonly internalType: "uint256";
|
|
92567
|
+
readonly name: "weightedRecordedDebt";
|
|
92568
|
+
readonly type: "uint256";
|
|
92569
|
+
}, {
|
|
92570
|
+
readonly internalType: "uint256";
|
|
92571
|
+
readonly name: "annualManagementFee";
|
|
92572
|
+
readonly type: "uint256";
|
|
92573
|
+
}, {
|
|
92574
|
+
readonly internalType: "uint256";
|
|
92575
|
+
readonly name: "accruedManagementFee";
|
|
92576
|
+
readonly type: "uint256";
|
|
92577
|
+
}, {
|
|
92578
|
+
readonly internalType: "uint256";
|
|
92579
|
+
readonly name: "weightedRecordedBatchManagementFee";
|
|
92580
|
+
readonly type: "uint256";
|
|
92581
|
+
}, {
|
|
92582
|
+
readonly internalType: "uint256";
|
|
92583
|
+
readonly name: "lastDebtUpdateTime";
|
|
92584
|
+
readonly type: "uint256";
|
|
92585
|
+
}, {
|
|
92586
|
+
readonly internalType: "uint256";
|
|
92587
|
+
readonly name: "lastInterestRateAdjTime";
|
|
92588
|
+
readonly type: "uint256";
|
|
92589
|
+
}];
|
|
92590
|
+
readonly internalType: "struct ITroveManager.LatestBatchData";
|
|
92591
|
+
readonly name: "batchData";
|
|
92592
|
+
readonly type: "tuple";
|
|
92593
|
+
}];
|
|
92594
|
+
readonly stateMutability: "view";
|
|
92595
|
+
readonly type: "function";
|
|
92596
|
+
}, {
|
|
92597
|
+
readonly inputs: readonly [{
|
|
92598
|
+
readonly internalType: "address";
|
|
92599
|
+
readonly name: "_market";
|
|
92600
|
+
readonly type: "address";
|
|
92601
|
+
}, {
|
|
92602
|
+
readonly internalType: "uint256";
|
|
92603
|
+
readonly name: "_troveId";
|
|
92604
|
+
readonly type: "uint256";
|
|
92605
|
+
}, {
|
|
92606
|
+
readonly internalType: "uint256";
|
|
92607
|
+
readonly name: "_acc";
|
|
92608
|
+
readonly type: "uint256";
|
|
92609
|
+
}, {
|
|
92610
|
+
readonly internalType: "uint256";
|
|
92611
|
+
readonly name: "_iterations";
|
|
92612
|
+
readonly type: "uint256";
|
|
92613
|
+
}];
|
|
92614
|
+
readonly name: "getDebtInFront";
|
|
92615
|
+
readonly outputs: readonly [{
|
|
92616
|
+
readonly internalType: "uint256";
|
|
92617
|
+
readonly name: "next";
|
|
92618
|
+
readonly type: "uint256";
|
|
92619
|
+
}, {
|
|
92620
|
+
readonly internalType: "uint256";
|
|
92621
|
+
readonly name: "debt";
|
|
92622
|
+
readonly type: "uint256";
|
|
92623
|
+
}];
|
|
92624
|
+
readonly stateMutability: "view";
|
|
92625
|
+
readonly type: "function";
|
|
92626
|
+
}, {
|
|
92627
|
+
readonly inputs: readonly [{
|
|
92628
|
+
readonly internalType: "address";
|
|
92629
|
+
readonly name: "_market";
|
|
92630
|
+
readonly type: "address";
|
|
92631
|
+
}, {
|
|
92632
|
+
readonly internalType: "uint256";
|
|
92633
|
+
readonly name: "_troveId";
|
|
92634
|
+
readonly type: "uint256";
|
|
92635
|
+
}, {
|
|
92636
|
+
readonly internalType: "uint256";
|
|
92637
|
+
readonly name: "_acc";
|
|
92638
|
+
readonly type: "uint256";
|
|
92639
|
+
}, {
|
|
92640
|
+
readonly internalType: "uint256";
|
|
92641
|
+
readonly name: "_iterations";
|
|
92642
|
+
readonly type: "uint256";
|
|
92643
|
+
}, {
|
|
92644
|
+
readonly internalType: "uint256";
|
|
92645
|
+
readonly name: "_targetIR";
|
|
92646
|
+
readonly type: "uint256";
|
|
92647
|
+
}];
|
|
92648
|
+
readonly name: "getDebtInFrontByInterestRate";
|
|
92649
|
+
readonly outputs: readonly [{
|
|
92650
|
+
readonly internalType: "uint256";
|
|
92651
|
+
readonly name: "next";
|
|
92652
|
+
readonly type: "uint256";
|
|
92653
|
+
}, {
|
|
92654
|
+
readonly internalType: "uint256";
|
|
92655
|
+
readonly name: "debt";
|
|
92656
|
+
readonly type: "uint256";
|
|
92657
|
+
}];
|
|
92658
|
+
readonly stateMutability: "view";
|
|
92659
|
+
readonly type: "function";
|
|
92660
|
+
}, {
|
|
92661
|
+
readonly inputs: readonly [{
|
|
92662
|
+
readonly internalType: "address";
|
|
92663
|
+
readonly name: "_market";
|
|
92664
|
+
readonly type: "address";
|
|
92665
|
+
}, {
|
|
92666
|
+
readonly internalType: "uint256";
|
|
92667
|
+
readonly name: "_numTroves";
|
|
92668
|
+
readonly type: "uint256";
|
|
92669
|
+
}];
|
|
92670
|
+
readonly name: "getDebtInFrontByTroveNum";
|
|
92671
|
+
readonly outputs: readonly [{
|
|
92672
|
+
readonly internalType: "uint256";
|
|
92673
|
+
readonly name: "debt";
|
|
92674
|
+
readonly type: "uint256";
|
|
92675
|
+
}];
|
|
92676
|
+
readonly stateMutability: "view";
|
|
92677
|
+
readonly type: "function";
|
|
92678
|
+
}, {
|
|
92679
|
+
readonly inputs: readonly [{
|
|
92680
|
+
readonly internalType: "address";
|
|
92681
|
+
readonly name: "_market";
|
|
92682
|
+
readonly type: "address";
|
|
92683
|
+
}, {
|
|
92684
|
+
readonly internalType: "address";
|
|
92685
|
+
readonly name: "_depositor";
|
|
92686
|
+
readonly type: "address";
|
|
92687
|
+
}];
|
|
92688
|
+
readonly name: "getDepositorInfo";
|
|
92689
|
+
readonly outputs: readonly [{
|
|
92690
|
+
readonly internalType: "uint256";
|
|
92691
|
+
readonly name: "compoundedBOLD";
|
|
92692
|
+
readonly type: "uint256";
|
|
92693
|
+
}, {
|
|
92694
|
+
readonly internalType: "uint256";
|
|
92695
|
+
readonly name: "collGain";
|
|
92696
|
+
readonly type: "uint256";
|
|
92697
|
+
}, {
|
|
92698
|
+
readonly internalType: "uint256";
|
|
92699
|
+
readonly name: "boldGain";
|
|
92700
|
+
readonly type: "uint256";
|
|
92701
|
+
}];
|
|
92702
|
+
readonly stateMutability: "view";
|
|
92703
|
+
readonly type: "function";
|
|
92704
|
+
}, {
|
|
92705
|
+
readonly inputs: readonly [{
|
|
92706
|
+
readonly internalType: "address";
|
|
92707
|
+
readonly name: "_market";
|
|
92708
|
+
readonly type: "address";
|
|
92709
|
+
}, {
|
|
92710
|
+
readonly internalType: "uint256";
|
|
92711
|
+
readonly name: "_collIndex";
|
|
92712
|
+
readonly type: "uint256";
|
|
92713
|
+
}, {
|
|
92714
|
+
readonly internalType: "uint256";
|
|
92715
|
+
readonly name: "_interestRate";
|
|
92716
|
+
readonly type: "uint256";
|
|
92717
|
+
}, {
|
|
92718
|
+
readonly internalType: "uint256";
|
|
92719
|
+
readonly name: "_numTrials";
|
|
92720
|
+
readonly type: "uint256";
|
|
92721
|
+
}, {
|
|
92722
|
+
readonly internalType: "uint256";
|
|
92723
|
+
readonly name: "_inputRandomSeed";
|
|
92724
|
+
readonly type: "uint256";
|
|
92725
|
+
}];
|
|
92726
|
+
readonly name: "getInsertPosition";
|
|
92727
|
+
readonly outputs: readonly [{
|
|
92728
|
+
readonly internalType: "uint256";
|
|
92729
|
+
readonly name: "prevId";
|
|
92730
|
+
readonly type: "uint256";
|
|
92731
|
+
}, {
|
|
92732
|
+
readonly internalType: "uint256";
|
|
92733
|
+
readonly name: "nextId";
|
|
92734
|
+
readonly type: "uint256";
|
|
92735
|
+
}];
|
|
92736
|
+
readonly stateMutability: "view";
|
|
92737
|
+
readonly type: "function";
|
|
92738
|
+
}, {
|
|
92739
|
+
readonly inputs: readonly [{
|
|
92740
|
+
readonly internalType: "address";
|
|
92741
|
+
readonly name: "_market";
|
|
92742
|
+
readonly type: "address";
|
|
92743
|
+
}];
|
|
92744
|
+
readonly name: "getMarketData";
|
|
92745
|
+
readonly outputs: readonly [{
|
|
92746
|
+
readonly components: readonly [{
|
|
92747
|
+
readonly internalType: "address";
|
|
92748
|
+
readonly name: "market";
|
|
92749
|
+
readonly type: "address";
|
|
92750
|
+
}, {
|
|
92751
|
+
readonly internalType: "uint256";
|
|
92752
|
+
readonly name: "CCR";
|
|
92753
|
+
readonly type: "uint256";
|
|
92754
|
+
}, {
|
|
92755
|
+
readonly internalType: "uint256";
|
|
92756
|
+
readonly name: "MCR";
|
|
92757
|
+
readonly type: "uint256";
|
|
92758
|
+
}, {
|
|
92759
|
+
readonly internalType: "uint256";
|
|
92760
|
+
readonly name: "SCR";
|
|
92761
|
+
readonly type: "uint256";
|
|
92762
|
+
}, {
|
|
92763
|
+
readonly internalType: "uint256";
|
|
92764
|
+
readonly name: "BCR";
|
|
92765
|
+
readonly type: "uint256";
|
|
92766
|
+
}, {
|
|
92767
|
+
readonly internalType: "uint256";
|
|
92768
|
+
readonly name: "LIQUIDATION_PENALTY_SP";
|
|
92769
|
+
readonly type: "uint256";
|
|
92770
|
+
}, {
|
|
92771
|
+
readonly internalType: "uint256";
|
|
92772
|
+
readonly name: "LIQUIDATION_PENALTY_REDISTRIBUTION";
|
|
92773
|
+
readonly type: "uint256";
|
|
92774
|
+
}, {
|
|
92775
|
+
readonly internalType: "uint256";
|
|
92776
|
+
readonly name: "entireSystemColl";
|
|
92777
|
+
readonly type: "uint256";
|
|
92778
|
+
}, {
|
|
92779
|
+
readonly internalType: "uint256";
|
|
92780
|
+
readonly name: "entireSystemDebt";
|
|
92781
|
+
readonly type: "uint256";
|
|
92782
|
+
}, {
|
|
92783
|
+
readonly internalType: "address";
|
|
92784
|
+
readonly name: "collToken";
|
|
92785
|
+
readonly type: "address";
|
|
92786
|
+
}, {
|
|
92787
|
+
readonly internalType: "address";
|
|
92788
|
+
readonly name: "troveNFT";
|
|
92789
|
+
readonly type: "address";
|
|
92790
|
+
}, {
|
|
92791
|
+
readonly internalType: "address";
|
|
92792
|
+
readonly name: "borrowerOperations";
|
|
92793
|
+
readonly type: "address";
|
|
92794
|
+
}, {
|
|
92795
|
+
readonly internalType: "address";
|
|
92796
|
+
readonly name: "troveManager";
|
|
92797
|
+
readonly type: "address";
|
|
92798
|
+
}, {
|
|
92799
|
+
readonly internalType: "address";
|
|
92800
|
+
readonly name: "stabilityPool";
|
|
92801
|
+
readonly type: "address";
|
|
92802
|
+
}, {
|
|
92803
|
+
readonly internalType: "address";
|
|
92804
|
+
readonly name: "sortedTroves";
|
|
92805
|
+
readonly type: "address";
|
|
92806
|
+
}, {
|
|
92807
|
+
readonly internalType: "address";
|
|
92808
|
+
readonly name: "collSurplusPool";
|
|
92809
|
+
readonly type: "address";
|
|
92810
|
+
}, {
|
|
92811
|
+
readonly internalType: "address";
|
|
92812
|
+
readonly name: "activePool";
|
|
92813
|
+
readonly type: "address";
|
|
92814
|
+
}, {
|
|
92815
|
+
readonly internalType: "address";
|
|
92816
|
+
readonly name: "hintHelpers";
|
|
92817
|
+
readonly type: "address";
|
|
92818
|
+
}, {
|
|
92819
|
+
readonly internalType: "address";
|
|
92820
|
+
readonly name: "priceFeed";
|
|
92821
|
+
readonly type: "address";
|
|
92822
|
+
}, {
|
|
92823
|
+
readonly internalType: "uint256";
|
|
92824
|
+
readonly name: "collPrice";
|
|
92825
|
+
readonly type: "uint256";
|
|
92826
|
+
}, {
|
|
92827
|
+
readonly internalType: "bool";
|
|
92828
|
+
readonly name: "isShutDown";
|
|
92829
|
+
readonly type: "bool";
|
|
92830
|
+
}, {
|
|
92831
|
+
readonly internalType: "uint256";
|
|
92832
|
+
readonly name: "boldDepositInSp";
|
|
92833
|
+
readonly type: "uint256";
|
|
92834
|
+
}];
|
|
92835
|
+
readonly internalType: "struct LiquityV2View.MarketData";
|
|
92836
|
+
readonly name: "data";
|
|
92837
|
+
readonly type: "tuple";
|
|
92838
|
+
}];
|
|
92839
|
+
readonly stateMutability: "nonpayable";
|
|
92840
|
+
readonly type: "function";
|
|
92841
|
+
}, {
|
|
92842
|
+
readonly inputs: readonly [{
|
|
92843
|
+
readonly internalType: "address";
|
|
92844
|
+
readonly name: "_market";
|
|
92845
|
+
readonly type: "address";
|
|
92846
|
+
}, {
|
|
92847
|
+
readonly internalType: "int256";
|
|
92848
|
+
readonly name: "_startIdx";
|
|
92849
|
+
readonly type: "int256";
|
|
92850
|
+
}, {
|
|
92851
|
+
readonly internalType: "uint256";
|
|
92852
|
+
readonly name: "_count";
|
|
92853
|
+
readonly type: "uint256";
|
|
92854
|
+
}];
|
|
92855
|
+
readonly name: "getMultipleSortedTroves";
|
|
92856
|
+
readonly outputs: readonly [{
|
|
92857
|
+
readonly components: readonly [{
|
|
92858
|
+
readonly internalType: "uint256";
|
|
92859
|
+
readonly name: "id";
|
|
92860
|
+
readonly type: "uint256";
|
|
92861
|
+
}, {
|
|
92862
|
+
readonly internalType: "uint256";
|
|
92863
|
+
readonly name: "entireDebt";
|
|
92864
|
+
readonly type: "uint256";
|
|
92865
|
+
}, {
|
|
92866
|
+
readonly internalType: "uint256";
|
|
92867
|
+
readonly name: "entireColl";
|
|
92868
|
+
readonly type: "uint256";
|
|
92869
|
+
}, {
|
|
92870
|
+
readonly internalType: "uint256";
|
|
92871
|
+
readonly name: "redistBoldDebtGain";
|
|
92872
|
+
readonly type: "uint256";
|
|
92873
|
+
}, {
|
|
92874
|
+
readonly internalType: "uint256";
|
|
92875
|
+
readonly name: "redistCollGain";
|
|
92876
|
+
readonly type: "uint256";
|
|
92877
|
+
}, {
|
|
92878
|
+
readonly internalType: "uint256";
|
|
92879
|
+
readonly name: "accruedInterest";
|
|
92880
|
+
readonly type: "uint256";
|
|
92881
|
+
}, {
|
|
92882
|
+
readonly internalType: "uint256";
|
|
92883
|
+
readonly name: "recordedDebt";
|
|
92884
|
+
readonly type: "uint256";
|
|
92885
|
+
}, {
|
|
92886
|
+
readonly internalType: "uint256";
|
|
92887
|
+
readonly name: "annualInterestRate";
|
|
92888
|
+
readonly type: "uint256";
|
|
92889
|
+
}, {
|
|
92890
|
+
readonly internalType: "uint256";
|
|
92891
|
+
readonly name: "accruedBatchManagementFee";
|
|
92892
|
+
readonly type: "uint256";
|
|
92893
|
+
}, {
|
|
92894
|
+
readonly internalType: "uint256";
|
|
92895
|
+
readonly name: "lastInterestRateAdjTime";
|
|
92896
|
+
readonly type: "uint256";
|
|
92897
|
+
}, {
|
|
92898
|
+
readonly internalType: "uint256";
|
|
92899
|
+
readonly name: "stake";
|
|
92900
|
+
readonly type: "uint256";
|
|
92901
|
+
}, {
|
|
92902
|
+
readonly internalType: "uint256";
|
|
92903
|
+
readonly name: "lastDebtUpdateTime";
|
|
92904
|
+
readonly type: "uint256";
|
|
92905
|
+
}, {
|
|
92906
|
+
readonly internalType: "address";
|
|
92907
|
+
readonly name: "interestBatchManager";
|
|
92908
|
+
readonly type: "address";
|
|
92909
|
+
}, {
|
|
92910
|
+
readonly internalType: "uint256";
|
|
92911
|
+
readonly name: "batchDebtShares";
|
|
92912
|
+
readonly type: "uint256";
|
|
92913
|
+
}, {
|
|
92914
|
+
readonly internalType: "uint256";
|
|
92915
|
+
readonly name: "snapshotETH";
|
|
92916
|
+
readonly type: "uint256";
|
|
92917
|
+
}, {
|
|
92918
|
+
readonly internalType: "uint256";
|
|
92919
|
+
readonly name: "snapshotBoldDebt";
|
|
92920
|
+
readonly type: "uint256";
|
|
92921
|
+
}];
|
|
92922
|
+
readonly internalType: "struct IMultiTroveGetter.CombinedTroveData[]";
|
|
92923
|
+
readonly name: "troves";
|
|
92924
|
+
readonly type: "tuple[]";
|
|
92925
|
+
}];
|
|
92926
|
+
readonly stateMutability: "view";
|
|
92927
|
+
readonly type: "function";
|
|
92928
|
+
}, {
|
|
92929
|
+
readonly inputs: readonly [{
|
|
92930
|
+
readonly internalType: "address";
|
|
92931
|
+
readonly name: "_market";
|
|
92932
|
+
readonly type: "address";
|
|
92933
|
+
}, {
|
|
92934
|
+
readonly internalType: "uint256";
|
|
92935
|
+
readonly name: "_troveId";
|
|
92936
|
+
readonly type: "uint256";
|
|
92937
|
+
}, {
|
|
92938
|
+
readonly internalType: "uint256";
|
|
92939
|
+
readonly name: "_iterations";
|
|
92940
|
+
readonly type: "uint256";
|
|
92941
|
+
}];
|
|
92942
|
+
readonly name: "getNumOfTrovesInFrontOfTrove";
|
|
92943
|
+
readonly outputs: readonly [{
|
|
92944
|
+
readonly internalType: "uint256";
|
|
92945
|
+
readonly name: "next";
|
|
92946
|
+
readonly type: "uint256";
|
|
92947
|
+
}, {
|
|
92948
|
+
readonly internalType: "uint256";
|
|
92949
|
+
readonly name: "numTroves";
|
|
92950
|
+
readonly type: "uint256";
|
|
92951
|
+
}];
|
|
92952
|
+
readonly stateMutability: "view";
|
|
92953
|
+
readonly type: "function";
|
|
92954
|
+
}, {
|
|
92955
|
+
readonly inputs: readonly [{
|
|
92956
|
+
readonly internalType: "address";
|
|
92957
|
+
readonly name: "_market";
|
|
92958
|
+
readonly type: "address";
|
|
92959
|
+
}, {
|
|
92960
|
+
readonly internalType: "uint256";
|
|
92961
|
+
readonly name: "_troveId";
|
|
92962
|
+
readonly type: "uint256";
|
|
92963
|
+
}];
|
|
92964
|
+
readonly name: "getTroveInfo";
|
|
92965
|
+
readonly outputs: readonly [{
|
|
92966
|
+
readonly components: readonly [{
|
|
92967
|
+
readonly internalType: "uint256";
|
|
92968
|
+
readonly name: "troveId";
|
|
92969
|
+
readonly type: "uint256";
|
|
92970
|
+
}, {
|
|
92971
|
+
readonly internalType: "address";
|
|
92972
|
+
readonly name: "owner";
|
|
92973
|
+
readonly type: "address";
|
|
92974
|
+
}, {
|
|
92975
|
+
readonly internalType: "address";
|
|
92976
|
+
readonly name: "collToken";
|
|
92977
|
+
readonly type: "address";
|
|
92978
|
+
}, {
|
|
92979
|
+
readonly internalType: "enum ITroveManager.Status";
|
|
92980
|
+
readonly name: "status";
|
|
92981
|
+
readonly type: "uint8";
|
|
92982
|
+
}, {
|
|
92983
|
+
readonly internalType: "uint256";
|
|
92984
|
+
readonly name: "collAmount";
|
|
92985
|
+
readonly type: "uint256";
|
|
92986
|
+
}, {
|
|
92987
|
+
readonly internalType: "uint256";
|
|
92988
|
+
readonly name: "debtAmount";
|
|
92989
|
+
readonly type: "uint256";
|
|
92990
|
+
}, {
|
|
92991
|
+
readonly internalType: "uint256";
|
|
92992
|
+
readonly name: "collPrice";
|
|
92993
|
+
readonly type: "uint256";
|
|
92994
|
+
}, {
|
|
92995
|
+
readonly internalType: "uint256";
|
|
92996
|
+
readonly name: "TCRatio";
|
|
92997
|
+
readonly type: "uint256";
|
|
92998
|
+
}, {
|
|
92999
|
+
readonly internalType: "uint256";
|
|
93000
|
+
readonly name: "annualInterestRate";
|
|
93001
|
+
readonly type: "uint256";
|
|
93002
|
+
}, {
|
|
93003
|
+
readonly internalType: "address";
|
|
93004
|
+
readonly name: "interestBatchManager";
|
|
93005
|
+
readonly type: "address";
|
|
93006
|
+
}, {
|
|
93007
|
+
readonly internalType: "uint256";
|
|
93008
|
+
readonly name: "batchDebtShares";
|
|
93009
|
+
readonly type: "uint256";
|
|
93010
|
+
}, {
|
|
93011
|
+
readonly internalType: "uint256";
|
|
93012
|
+
readonly name: "lastInterestRateAdjTime";
|
|
93013
|
+
readonly type: "uint256";
|
|
93014
|
+
}];
|
|
93015
|
+
readonly internalType: "struct LiquityV2View.TroveData";
|
|
93016
|
+
readonly name: "trove";
|
|
93017
|
+
readonly type: "tuple";
|
|
93018
|
+
}];
|
|
93019
|
+
readonly stateMutability: "nonpayable";
|
|
93020
|
+
readonly type: "function";
|
|
93021
|
+
}, {
|
|
93022
|
+
readonly inputs: readonly [{
|
|
93023
|
+
readonly internalType: "address";
|
|
93024
|
+
readonly name: "_market";
|
|
93025
|
+
readonly type: "address";
|
|
93026
|
+
}, {
|
|
93027
|
+
readonly internalType: "uint256";
|
|
93028
|
+
readonly name: "_collIndex";
|
|
93029
|
+
readonly type: "uint256";
|
|
93030
|
+
}, {
|
|
93031
|
+
readonly internalType: "uint256";
|
|
93032
|
+
readonly name: "_troveId";
|
|
93033
|
+
readonly type: "uint256";
|
|
93034
|
+
}, {
|
|
93035
|
+
readonly internalType: "uint256";
|
|
93036
|
+
readonly name: "_numTrials";
|
|
93037
|
+
readonly type: "uint256";
|
|
93038
|
+
}, {
|
|
93039
|
+
readonly internalType: "uint256";
|
|
93040
|
+
readonly name: "_inputRandomSeed";
|
|
93041
|
+
readonly type: "uint256";
|
|
93042
|
+
}];
|
|
93043
|
+
readonly name: "getTrovePosition";
|
|
93044
|
+
readonly outputs: readonly [{
|
|
93045
|
+
readonly internalType: "uint256";
|
|
93046
|
+
readonly name: "prevId";
|
|
93047
|
+
readonly type: "uint256";
|
|
93048
|
+
}, {
|
|
93049
|
+
readonly internalType: "uint256";
|
|
93050
|
+
readonly name: "nextId";
|
|
93051
|
+
readonly type: "uint256";
|
|
93052
|
+
}];
|
|
93053
|
+
readonly stateMutability: "view";
|
|
93054
|
+
readonly type: "function";
|
|
93055
|
+
}, {
|
|
93056
|
+
readonly inputs: readonly [{
|
|
93057
|
+
readonly internalType: "address";
|
|
93058
|
+
readonly name: "_user";
|
|
93059
|
+
readonly type: "address";
|
|
93060
|
+
}, {
|
|
93061
|
+
readonly internalType: "address";
|
|
93062
|
+
readonly name: "_market";
|
|
93063
|
+
readonly type: "address";
|
|
93064
|
+
}, {
|
|
93065
|
+
readonly internalType: "uint256";
|
|
93066
|
+
readonly name: "_startIndex";
|
|
93067
|
+
readonly type: "uint256";
|
|
93068
|
+
}, {
|
|
93069
|
+
readonly internalType: "uint256";
|
|
93070
|
+
readonly name: "_endIndex";
|
|
93071
|
+
readonly type: "uint256";
|
|
93072
|
+
}];
|
|
93073
|
+
readonly name: "getUserTroves";
|
|
93074
|
+
readonly outputs: readonly [{
|
|
93075
|
+
readonly components: readonly [{
|
|
93076
|
+
readonly internalType: "uint256";
|
|
93077
|
+
readonly name: "troveId";
|
|
93078
|
+
readonly type: "uint256";
|
|
93079
|
+
}, {
|
|
93080
|
+
readonly internalType: "bool";
|
|
93081
|
+
readonly name: "ownedByUser";
|
|
93082
|
+
readonly type: "bool";
|
|
93083
|
+
}];
|
|
93084
|
+
readonly internalType: "struct LiquityV2View.ExistingTrove[]";
|
|
93085
|
+
readonly name: "troves";
|
|
93086
|
+
readonly type: "tuple[]";
|
|
93087
|
+
}, {
|
|
93088
|
+
readonly internalType: "int256";
|
|
93089
|
+
readonly name: "nextFreeTroveIndex";
|
|
93090
|
+
readonly type: "int256";
|
|
93091
|
+
}];
|
|
93092
|
+
readonly stateMutability: "view";
|
|
93093
|
+
readonly type: "function";
|
|
93094
|
+
}, {
|
|
93095
|
+
readonly inputs: readonly [{
|
|
93096
|
+
readonly internalType: "address";
|
|
93097
|
+
readonly name: "_market";
|
|
93098
|
+
readonly type: "address";
|
|
93099
|
+
}];
|
|
93100
|
+
readonly name: "isShutDown";
|
|
93101
|
+
readonly outputs: readonly [{
|
|
93102
|
+
readonly internalType: "bool";
|
|
93103
|
+
readonly name: "";
|
|
93104
|
+
readonly type: "bool";
|
|
93105
|
+
}];
|
|
93106
|
+
readonly stateMutability: "view";
|
|
93107
|
+
readonly type: "function";
|
|
93108
|
+
}, {
|
|
93109
|
+
readonly inputs: readonly [{
|
|
93110
|
+
readonly internalType: "address";
|
|
93111
|
+
readonly name: "_market";
|
|
93112
|
+
readonly type: "address";
|
|
93113
|
+
}, {
|
|
93114
|
+
readonly internalType: "uint256";
|
|
93115
|
+
readonly name: "_collIndex";
|
|
93116
|
+
readonly type: "uint256";
|
|
93117
|
+
}, {
|
|
93118
|
+
readonly internalType: "uint256";
|
|
93119
|
+
readonly name: "_troveId";
|
|
93120
|
+
readonly type: "uint256";
|
|
93121
|
+
}, {
|
|
93122
|
+
readonly internalType: "uint256";
|
|
93123
|
+
readonly name: "_debtIncrease";
|
|
93124
|
+
readonly type: "uint256";
|
|
93125
|
+
}];
|
|
93126
|
+
readonly name: "predictAdjustTroveUpfrontFee";
|
|
93127
|
+
readonly outputs: readonly [{
|
|
93128
|
+
readonly internalType: "uint256";
|
|
93129
|
+
readonly name: "";
|
|
93130
|
+
readonly type: "uint256";
|
|
93131
|
+
}];
|
|
93132
|
+
readonly stateMutability: "view";
|
|
93133
|
+
readonly type: "function";
|
|
93134
|
+
}];
|
|
93135
|
+
readonly address: "0xF1f3D940392ddAD78A5e2dE1b595aB529f63c365";
|
|
93136
|
+
};
|
|
93137
|
+
};
|
|
91398
93138
|
};
|
|
91399
93139
|
};
|
|
91400
93140
|
};
|