@defisaver/positions-sdk 2.0.9--dev → 2.0.10-dev-linea-1
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/.mocharc.json +4 -4
- package/.nvmrc +1 -1
- package/README.md +64 -64
- package/cjs/aaveV3/index.js +1 -1
- package/cjs/config/contracts.d.ts +194 -33
- package/cjs/config/contracts.js +18 -1
- package/cjs/contracts.d.ts +1283 -293
- package/cjs/helpers/morphoBlueHelpers/index.js +66 -66
- package/cjs/markets/aave/index.js +1 -1
- package/cjs/markets/aave/marketAssets.d.ts +4 -0
- package/cjs/markets/aave/marketAssets.js +5 -1
- package/cjs/markets/compound/index.js +11 -0
- package/cjs/markets/compound/marketsAssets.d.ts +7 -0
- package/cjs/markets/compound/marketsAssets.js +7 -0
- package/cjs/markets/spark/marketAssets.d.ts +1 -0
- package/cjs/markets/spark/marketAssets.js +1 -0
- package/cjs/portfolio/index.js +2 -2
- package/cjs/services/viem.d.ts +46 -0
- package/cjs/services/viem.js +2 -0
- package/cjs/types/common.d.ts +2 -1
- package/cjs/types/common.js +1 -0
- package/esm/aaveV3/index.js +1 -1
- package/esm/config/contracts.d.ts +194 -33
- package/esm/config/contracts.js +18 -1
- package/esm/contracts.d.ts +1283 -293
- package/esm/helpers/morphoBlueHelpers/index.js +66 -66
- package/esm/markets/aave/index.js +1 -1
- package/esm/markets/aave/marketAssets.d.ts +4 -0
- package/esm/markets/aave/marketAssets.js +4 -0
- package/esm/markets/compound/index.js +11 -0
- package/esm/markets/compound/marketsAssets.d.ts +7 -0
- package/esm/markets/compound/marketsAssets.js +7 -0
- package/esm/markets/spark/marketAssets.d.ts +1 -0
- package/esm/markets/spark/marketAssets.js +1 -0
- package/esm/portfolio/index.js +2 -2
- package/esm/services/viem.d.ts +46 -0
- package/esm/services/viem.js +3 -1
- package/esm/types/common.d.ts +2 -1
- package/esm/types/common.js +1 -0
- package/package.json +47 -47
- package/src/aaveV2/index.ts +236 -236
- package/src/aaveV3/index.ts +489 -489
- package/src/compoundV2/index.ts +240 -240
- package/src/compoundV3/index.ts +270 -270
- package/src/config/contracts.ts +1107 -1090
- package/src/constants/index.ts +6 -6
- package/src/contracts.ts +107 -107
- package/src/curveUsd/index.ts +250 -250
- package/src/eulerV2/index.ts +314 -314
- package/src/exchange/index.ts +25 -25
- package/src/fluid/index.ts +1568 -1568
- package/src/helpers/aaveHelpers/index.ts +170 -170
- package/src/helpers/compoundHelpers/index.ts +261 -261
- package/src/helpers/curveUsdHelpers/index.ts +40 -40
- package/src/helpers/eulerHelpers/index.ts +259 -259
- package/src/helpers/fluidHelpers/index.ts +324 -324
- package/src/helpers/index.ts +10 -10
- package/src/helpers/liquityV2Helpers/index.ts +80 -80
- package/src/helpers/llamaLendHelpers/index.ts +53 -53
- package/src/helpers/makerHelpers/index.ts +52 -52
- package/src/helpers/morphoBlueHelpers/index.ts +390 -390
- package/src/helpers/sparkHelpers/index.ts +155 -155
- package/src/index.ts +45 -45
- package/src/liquity/index.ts +104 -104
- package/src/liquityV2/index.ts +408 -408
- package/src/llamaLend/index.ts +296 -296
- package/src/maker/index.ts +223 -223
- package/src/markets/aave/index.ts +116 -116
- package/src/markets/aave/marketAssets.ts +49 -44
- package/src/markets/compound/index.ts +227 -216
- package/src/markets/compound/marketsAssets.ts +90 -83
- package/src/markets/curveUsd/index.ts +69 -69
- package/src/markets/euler/index.ts +26 -26
- package/src/markets/fluid/index.ts +2456 -2456
- package/src/markets/index.ts +25 -25
- package/src/markets/liquityV2/index.ts +102 -102
- package/src/markets/llamaLend/contractAddresses.ts +141 -141
- package/src/markets/llamaLend/index.ts +235 -235
- package/src/markets/morphoBlue/index.ts +895 -895
- package/src/markets/spark/index.ts +29 -29
- package/src/markets/spark/marketAssets.ts +11 -10
- package/src/moneymarket/moneymarketCommonService.ts +80 -80
- package/src/morphoBlue/index.ts +222 -222
- package/src/portfolio/index.ts +285 -285
- package/src/services/priceService.ts +159 -159
- package/src/services/utils.ts +63 -63
- package/src/services/viem.ts +32 -30
- package/src/setup.ts +8 -8
- package/src/spark/index.ts +456 -456
- package/src/staking/staking.ts +192 -192
- package/src/types/aave.ts +194 -194
- package/src/types/common.ts +88 -87
- package/src/types/compound.ts +136 -136
- package/src/types/curveUsd.ts +121 -121
- package/src/types/euler.ts +174 -174
- package/src/types/fluid.ts +450 -450
- package/src/types/index.ts +11 -11
- package/src/types/liquity.ts +30 -30
- package/src/types/liquityV2.ts +126 -126
- package/src/types/llamaLend.ts +157 -157
- package/src/types/maker.ts +63 -63
- package/src/types/morphoBlue.ts +194 -194
- package/src/types/portfolio.ts +60 -60
- package/src/types/spark.ts +137 -137
package/cjs/contracts.d.ts
CHANGED
|
@@ -58806,13 +58806,17 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
58806
58806
|
};
|
|
58807
58807
|
export declare const AaveIncentiveDataProviderV3ContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => {
|
|
58808
58808
|
read: {
|
|
58809
|
-
|
|
58809
|
+
getFullReservesIncentiveData: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
58810
58810
|
readonly inputs: readonly [{
|
|
58811
58811
|
readonly internalType: "contract IPoolAddressesProvider";
|
|
58812
58812
|
readonly name: "provider";
|
|
58813
58813
|
readonly type: "address";
|
|
58814
|
+
}, {
|
|
58815
|
+
readonly internalType: "address";
|
|
58816
|
+
readonly name: "user";
|
|
58817
|
+
readonly type: "address";
|
|
58814
58818
|
}];
|
|
58815
|
-
readonly name: "
|
|
58819
|
+
readonly name: "getFullReservesIncentiveData";
|
|
58816
58820
|
readonly outputs: readonly [{
|
|
58817
58821
|
readonly components: readonly [{
|
|
58818
58822
|
readonly internalType: "address";
|
|
@@ -58942,6 +58946,15 @@ export declare const AaveIncentiveDataProviderV3ContractViem: (client: Client, n
|
|
|
58942
58946
|
readonly internalType: "struct IUiIncentiveDataProviderV3.IncentiveData";
|
|
58943
58947
|
readonly name: "vIncentiveData";
|
|
58944
58948
|
readonly type: "tuple";
|
|
58949
|
+
}];
|
|
58950
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.AggregatedReserveIncentiveData[]";
|
|
58951
|
+
readonly name: "";
|
|
58952
|
+
readonly type: "tuple[]";
|
|
58953
|
+
}, {
|
|
58954
|
+
readonly components: readonly [{
|
|
58955
|
+
readonly internalType: "address";
|
|
58956
|
+
readonly name: "underlyingAsset";
|
|
58957
|
+
readonly type: "address";
|
|
58945
58958
|
}, {
|
|
58946
58959
|
readonly components: readonly [{
|
|
58947
58960
|
readonly internalType: "address";
|
|
@@ -58958,27 +58971,69 @@ export declare const AaveIncentiveDataProviderV3ContractViem: (client: Client, n
|
|
|
58958
58971
|
readonly type: "string";
|
|
58959
58972
|
}, {
|
|
58960
58973
|
readonly internalType: "address";
|
|
58961
|
-
readonly name: "
|
|
58974
|
+
readonly name: "rewardOracleAddress";
|
|
58962
58975
|
readonly type: "address";
|
|
58963
58976
|
}, {
|
|
58964
58977
|
readonly internalType: "address";
|
|
58965
|
-
readonly name: "
|
|
58978
|
+
readonly name: "rewardTokenAddress";
|
|
58966
58979
|
readonly type: "address";
|
|
58967
58980
|
}, {
|
|
58968
58981
|
readonly internalType: "uint256";
|
|
58969
|
-
readonly name: "
|
|
58982
|
+
readonly name: "userUnclaimedRewards";
|
|
58970
58983
|
readonly type: "uint256";
|
|
58971
58984
|
}, {
|
|
58972
58985
|
readonly internalType: "uint256";
|
|
58973
|
-
readonly name: "
|
|
58986
|
+
readonly name: "tokenIncentivesUserIndex";
|
|
58974
58987
|
readonly type: "uint256";
|
|
58988
|
+
}, {
|
|
58989
|
+
readonly internalType: "int256";
|
|
58990
|
+
readonly name: "rewardPriceFeed";
|
|
58991
|
+
readonly type: "int256";
|
|
58992
|
+
}, {
|
|
58993
|
+
readonly internalType: "uint8";
|
|
58994
|
+
readonly name: "priceFeedDecimals";
|
|
58995
|
+
readonly type: "uint8";
|
|
58996
|
+
}, {
|
|
58997
|
+
readonly internalType: "uint8";
|
|
58998
|
+
readonly name: "rewardTokenDecimals";
|
|
58999
|
+
readonly type: "uint8";
|
|
59000
|
+
}];
|
|
59001
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.UserRewardInfo[]";
|
|
59002
|
+
readonly name: "userRewardsInformation";
|
|
59003
|
+
readonly type: "tuple[]";
|
|
59004
|
+
}];
|
|
59005
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData";
|
|
59006
|
+
readonly name: "aTokenIncentivesUserData";
|
|
59007
|
+
readonly type: "tuple";
|
|
59008
|
+
}, {
|
|
59009
|
+
readonly components: readonly [{
|
|
59010
|
+
readonly internalType: "address";
|
|
59011
|
+
readonly name: "tokenAddress";
|
|
59012
|
+
readonly type: "address";
|
|
59013
|
+
}, {
|
|
59014
|
+
readonly internalType: "address";
|
|
59015
|
+
readonly name: "incentiveControllerAddress";
|
|
59016
|
+
readonly type: "address";
|
|
59017
|
+
}, {
|
|
59018
|
+
readonly components: readonly [{
|
|
59019
|
+
readonly internalType: "string";
|
|
59020
|
+
readonly name: "rewardTokenSymbol";
|
|
59021
|
+
readonly type: "string";
|
|
59022
|
+
}, {
|
|
59023
|
+
readonly internalType: "address";
|
|
59024
|
+
readonly name: "rewardOracleAddress";
|
|
59025
|
+
readonly type: "address";
|
|
59026
|
+
}, {
|
|
59027
|
+
readonly internalType: "address";
|
|
59028
|
+
readonly name: "rewardTokenAddress";
|
|
59029
|
+
readonly type: "address";
|
|
58975
59030
|
}, {
|
|
58976
59031
|
readonly internalType: "uint256";
|
|
58977
|
-
readonly name: "
|
|
59032
|
+
readonly name: "userUnclaimedRewards";
|
|
58978
59033
|
readonly type: "uint256";
|
|
58979
59034
|
}, {
|
|
58980
59035
|
readonly internalType: "uint256";
|
|
58981
|
-
readonly name: "
|
|
59036
|
+
readonly name: "tokenIncentivesUserIndex";
|
|
58982
59037
|
readonly type: "uint256";
|
|
58983
59038
|
}, {
|
|
58984
59039
|
readonly internalType: "int256";
|
|
@@ -58986,26 +59041,22 @@ export declare const AaveIncentiveDataProviderV3ContractViem: (client: Client, n
|
|
|
58986
59041
|
readonly type: "int256";
|
|
58987
59042
|
}, {
|
|
58988
59043
|
readonly internalType: "uint8";
|
|
58989
|
-
readonly name: "
|
|
58990
|
-
readonly type: "uint8";
|
|
58991
|
-
}, {
|
|
58992
|
-
readonly internalType: "uint8";
|
|
58993
|
-
readonly name: "precision";
|
|
59044
|
+
readonly name: "priceFeedDecimals";
|
|
58994
59045
|
readonly type: "uint8";
|
|
58995
59046
|
}, {
|
|
58996
59047
|
readonly internalType: "uint8";
|
|
58997
|
-
readonly name: "
|
|
59048
|
+
readonly name: "rewardTokenDecimals";
|
|
58998
59049
|
readonly type: "uint8";
|
|
58999
59050
|
}];
|
|
59000
|
-
readonly internalType: "struct IUiIncentiveDataProviderV3.
|
|
59001
|
-
readonly name: "
|
|
59051
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.UserRewardInfo[]";
|
|
59052
|
+
readonly name: "userRewardsInformation";
|
|
59002
59053
|
readonly type: "tuple[]";
|
|
59003
59054
|
}];
|
|
59004
|
-
readonly internalType: "struct IUiIncentiveDataProviderV3.
|
|
59005
|
-
readonly name: "
|
|
59055
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData";
|
|
59056
|
+
readonly name: "vTokenIncentivesUserData";
|
|
59006
59057
|
readonly type: "tuple";
|
|
59007
59058
|
}];
|
|
59008
|
-
readonly internalType: "struct IUiIncentiveDataProviderV3.
|
|
59059
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.UserReserveIncentiveData[]";
|
|
59009
59060
|
readonly name: "";
|
|
59010
59061
|
readonly type: "tuple[]";
|
|
59011
59062
|
}];
|
|
@@ -59016,12 +59067,8 @@ export declare const AaveIncentiveDataProviderV3ContractViem: (client: Client, n
|
|
|
59016
59067
|
readonly internalType: "contract IPoolAddressesProvider";
|
|
59017
59068
|
readonly name: "provider";
|
|
59018
59069
|
readonly type: "address";
|
|
59019
|
-
}, {
|
|
59020
|
-
readonly internalType: "address";
|
|
59021
|
-
readonly name: "user";
|
|
59022
|
-
readonly type: "address";
|
|
59023
59070
|
}];
|
|
59024
|
-
readonly name: "
|
|
59071
|
+
readonly name: "getReservesIncentivesData";
|
|
59025
59072
|
readonly outputs: readonly [{
|
|
59026
59073
|
readonly components: readonly [{
|
|
59027
59074
|
readonly internalType: "address";
|
|
@@ -59043,40 +59090,137 @@ export declare const AaveIncentiveDataProviderV3ContractViem: (client: Client, n
|
|
|
59043
59090
|
readonly type: "string";
|
|
59044
59091
|
}, {
|
|
59045
59092
|
readonly internalType: "address";
|
|
59046
|
-
readonly name: "
|
|
59093
|
+
readonly name: "rewardTokenAddress";
|
|
59047
59094
|
readonly type: "address";
|
|
59048
59095
|
}, {
|
|
59049
59096
|
readonly internalType: "address";
|
|
59050
|
-
readonly name: "
|
|
59097
|
+
readonly name: "rewardOracleAddress";
|
|
59051
59098
|
readonly type: "address";
|
|
59052
59099
|
}, {
|
|
59053
59100
|
readonly internalType: "uint256";
|
|
59054
|
-
readonly name: "
|
|
59101
|
+
readonly name: "emissionPerSecond";
|
|
59055
59102
|
readonly type: "uint256";
|
|
59056
59103
|
}, {
|
|
59057
59104
|
readonly internalType: "uint256";
|
|
59058
|
-
readonly name: "
|
|
59105
|
+
readonly name: "incentivesLastUpdateTimestamp";
|
|
59106
|
+
readonly type: "uint256";
|
|
59107
|
+
}, {
|
|
59108
|
+
readonly internalType: "uint256";
|
|
59109
|
+
readonly name: "tokenIncentivesIndex";
|
|
59110
|
+
readonly type: "uint256";
|
|
59111
|
+
}, {
|
|
59112
|
+
readonly internalType: "uint256";
|
|
59113
|
+
readonly name: "emissionEndTimestamp";
|
|
59059
59114
|
readonly type: "uint256";
|
|
59060
59115
|
}, {
|
|
59061
59116
|
readonly internalType: "int256";
|
|
59062
59117
|
readonly name: "rewardPriceFeed";
|
|
59063
59118
|
readonly type: "int256";
|
|
59119
|
+
}, {
|
|
59120
|
+
readonly internalType: "uint8";
|
|
59121
|
+
readonly name: "rewardTokenDecimals";
|
|
59122
|
+
readonly type: "uint8";
|
|
59123
|
+
}, {
|
|
59124
|
+
readonly internalType: "uint8";
|
|
59125
|
+
readonly name: "precision";
|
|
59126
|
+
readonly type: "uint8";
|
|
59064
59127
|
}, {
|
|
59065
59128
|
readonly internalType: "uint8";
|
|
59066
59129
|
readonly name: "priceFeedDecimals";
|
|
59067
59130
|
readonly type: "uint8";
|
|
59131
|
+
}];
|
|
59132
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.RewardInfo[]";
|
|
59133
|
+
readonly name: "rewardsTokenInformation";
|
|
59134
|
+
readonly type: "tuple[]";
|
|
59135
|
+
}];
|
|
59136
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.IncentiveData";
|
|
59137
|
+
readonly name: "aIncentiveData";
|
|
59138
|
+
readonly type: "tuple";
|
|
59139
|
+
}, {
|
|
59140
|
+
readonly components: readonly [{
|
|
59141
|
+
readonly internalType: "address";
|
|
59142
|
+
readonly name: "tokenAddress";
|
|
59143
|
+
readonly type: "address";
|
|
59144
|
+
}, {
|
|
59145
|
+
readonly internalType: "address";
|
|
59146
|
+
readonly name: "incentiveControllerAddress";
|
|
59147
|
+
readonly type: "address";
|
|
59148
|
+
}, {
|
|
59149
|
+
readonly components: readonly [{
|
|
59150
|
+
readonly internalType: "string";
|
|
59151
|
+
readonly name: "rewardTokenSymbol";
|
|
59152
|
+
readonly type: "string";
|
|
59153
|
+
}, {
|
|
59154
|
+
readonly internalType: "address";
|
|
59155
|
+
readonly name: "rewardTokenAddress";
|
|
59156
|
+
readonly type: "address";
|
|
59157
|
+
}, {
|
|
59158
|
+
readonly internalType: "address";
|
|
59159
|
+
readonly name: "rewardOracleAddress";
|
|
59160
|
+
readonly type: "address";
|
|
59161
|
+
}, {
|
|
59162
|
+
readonly internalType: "uint256";
|
|
59163
|
+
readonly name: "emissionPerSecond";
|
|
59164
|
+
readonly type: "uint256";
|
|
59165
|
+
}, {
|
|
59166
|
+
readonly internalType: "uint256";
|
|
59167
|
+
readonly name: "incentivesLastUpdateTimestamp";
|
|
59168
|
+
readonly type: "uint256";
|
|
59169
|
+
}, {
|
|
59170
|
+
readonly internalType: "uint256";
|
|
59171
|
+
readonly name: "tokenIncentivesIndex";
|
|
59172
|
+
readonly type: "uint256";
|
|
59173
|
+
}, {
|
|
59174
|
+
readonly internalType: "uint256";
|
|
59175
|
+
readonly name: "emissionEndTimestamp";
|
|
59176
|
+
readonly type: "uint256";
|
|
59177
|
+
}, {
|
|
59178
|
+
readonly internalType: "int256";
|
|
59179
|
+
readonly name: "rewardPriceFeed";
|
|
59180
|
+
readonly type: "int256";
|
|
59068
59181
|
}, {
|
|
59069
59182
|
readonly internalType: "uint8";
|
|
59070
59183
|
readonly name: "rewardTokenDecimals";
|
|
59071
59184
|
readonly type: "uint8";
|
|
59185
|
+
}, {
|
|
59186
|
+
readonly internalType: "uint8";
|
|
59187
|
+
readonly name: "precision";
|
|
59188
|
+
readonly type: "uint8";
|
|
59189
|
+
}, {
|
|
59190
|
+
readonly internalType: "uint8";
|
|
59191
|
+
readonly name: "priceFeedDecimals";
|
|
59192
|
+
readonly type: "uint8";
|
|
59072
59193
|
}];
|
|
59073
|
-
readonly internalType: "struct IUiIncentiveDataProviderV3.
|
|
59074
|
-
readonly name: "
|
|
59194
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.RewardInfo[]";
|
|
59195
|
+
readonly name: "rewardsTokenInformation";
|
|
59075
59196
|
readonly type: "tuple[]";
|
|
59076
59197
|
}];
|
|
59077
|
-
readonly internalType: "struct IUiIncentiveDataProviderV3.
|
|
59078
|
-
readonly name: "
|
|
59198
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.IncentiveData";
|
|
59199
|
+
readonly name: "vIncentiveData";
|
|
59079
59200
|
readonly type: "tuple";
|
|
59201
|
+
}];
|
|
59202
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.AggregatedReserveIncentiveData[]";
|
|
59203
|
+
readonly name: "";
|
|
59204
|
+
readonly type: "tuple[]";
|
|
59205
|
+
}];
|
|
59206
|
+
readonly stateMutability: "view";
|
|
59207
|
+
readonly type: "function";
|
|
59208
|
+
}, {
|
|
59209
|
+
readonly inputs: readonly [{
|
|
59210
|
+
readonly internalType: "contract IPoolAddressesProvider";
|
|
59211
|
+
readonly name: "provider";
|
|
59212
|
+
readonly type: "address";
|
|
59213
|
+
}, {
|
|
59214
|
+
readonly internalType: "address";
|
|
59215
|
+
readonly name: "user";
|
|
59216
|
+
readonly type: "address";
|
|
59217
|
+
}];
|
|
59218
|
+
readonly name: "getUserReservesIncentivesData";
|
|
59219
|
+
readonly outputs: readonly [{
|
|
59220
|
+
readonly components: readonly [{
|
|
59221
|
+
readonly internalType: "address";
|
|
59222
|
+
readonly name: "underlyingAsset";
|
|
59223
|
+
readonly type: "address";
|
|
59080
59224
|
}, {
|
|
59081
59225
|
readonly components: readonly [{
|
|
59082
59226
|
readonly internalType: "address";
|
|
@@ -59125,7 +59269,7 @@ export declare const AaveIncentiveDataProviderV3ContractViem: (client: Client, n
|
|
|
59125
59269
|
readonly type: "tuple[]";
|
|
59126
59270
|
}];
|
|
59127
59271
|
readonly internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData";
|
|
59128
|
-
readonly name: "
|
|
59272
|
+
readonly name: "aTokenIncentivesUserData";
|
|
59129
59273
|
readonly type: "tuple";
|
|
59130
59274
|
}, {
|
|
59131
59275
|
readonly components: readonly [{
|
|
@@ -59175,7 +59319,7 @@ export declare const AaveIncentiveDataProviderV3ContractViem: (client: Client, n
|
|
|
59175
59319
|
readonly type: "tuple[]";
|
|
59176
59320
|
}];
|
|
59177
59321
|
readonly internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData";
|
|
59178
|
-
readonly name: "
|
|
59322
|
+
readonly name: "vTokenIncentivesUserData";
|
|
59179
59323
|
readonly type: "tuple";
|
|
59180
59324
|
}];
|
|
59181
59325
|
readonly internalType: "struct IUiIncentiveDataProviderV3.UserReserveIncentiveData[]";
|
|
@@ -59184,7 +59328,7 @@ export declare const AaveIncentiveDataProviderV3ContractViem: (client: Client, n
|
|
|
59184
59328
|
}];
|
|
59185
59329
|
readonly stateMutability: "view";
|
|
59186
59330
|
readonly type: "function";
|
|
59187
|
-
}], "
|
|
59331
|
+
}], "getFullReservesIncentiveData", readonly [`0x${string}`, `0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<readonly [readonly {
|
|
59188
59332
|
underlyingAsset: `0x${string}`;
|
|
59189
59333
|
aIncentiveData: {
|
|
59190
59334
|
tokenAddress: `0x${string}`;
|
|
@@ -59220,31 +59364,48 @@ export declare const AaveIncentiveDataProviderV3ContractViem: (client: Client, n
|
|
|
59220
59364
|
priceFeedDecimals: number;
|
|
59221
59365
|
}[];
|
|
59222
59366
|
};
|
|
59223
|
-
|
|
59367
|
+
}[], readonly {
|
|
59368
|
+
underlyingAsset: `0x${string}`;
|
|
59369
|
+
aTokenIncentivesUserData: {
|
|
59224
59370
|
tokenAddress: `0x${string}`;
|
|
59225
59371
|
incentiveControllerAddress: `0x${string}`;
|
|
59226
|
-
|
|
59372
|
+
userRewardsInformation: readonly {
|
|
59227
59373
|
rewardTokenSymbol: string;
|
|
59228
|
-
rewardTokenAddress: `0x${string}`;
|
|
59229
59374
|
rewardOracleAddress: `0x${string}`;
|
|
59230
|
-
|
|
59231
|
-
|
|
59232
|
-
|
|
59233
|
-
emissionEndTimestamp: bigint;
|
|
59375
|
+
rewardTokenAddress: `0x${string}`;
|
|
59376
|
+
userUnclaimedRewards: bigint;
|
|
59377
|
+
tokenIncentivesUserIndex: bigint;
|
|
59234
59378
|
rewardPriceFeed: bigint;
|
|
59379
|
+
priceFeedDecimals: number;
|
|
59235
59380
|
rewardTokenDecimals: number;
|
|
59236
|
-
|
|
59381
|
+
}[];
|
|
59382
|
+
};
|
|
59383
|
+
vTokenIncentivesUserData: {
|
|
59384
|
+
tokenAddress: `0x${string}`;
|
|
59385
|
+
incentiveControllerAddress: `0x${string}`;
|
|
59386
|
+
userRewardsInformation: readonly {
|
|
59387
|
+
rewardTokenSymbol: string;
|
|
59388
|
+
rewardOracleAddress: `0x${string}`;
|
|
59389
|
+
rewardTokenAddress: `0x${string}`;
|
|
59390
|
+
userUnclaimedRewards: bigint;
|
|
59391
|
+
tokenIncentivesUserIndex: bigint;
|
|
59392
|
+
rewardPriceFeed: bigint;
|
|
59237
59393
|
priceFeedDecimals: number;
|
|
59394
|
+
rewardTokenDecimals: number;
|
|
59238
59395
|
}[];
|
|
59239
59396
|
};
|
|
59240
|
-
}[]>;
|
|
59241
|
-
|
|
59397
|
+
}[]]>;
|
|
59398
|
+
getReservesIncentivesData: (args: readonly [`0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
59242
59399
|
readonly inputs: readonly [{
|
|
59243
59400
|
readonly internalType: "contract IPoolAddressesProvider";
|
|
59244
59401
|
readonly name: "provider";
|
|
59245
59402
|
readonly type: "address";
|
|
59403
|
+
}, {
|
|
59404
|
+
readonly internalType: "address";
|
|
59405
|
+
readonly name: "user";
|
|
59406
|
+
readonly type: "address";
|
|
59246
59407
|
}];
|
|
59247
|
-
readonly name: "
|
|
59408
|
+
readonly name: "getFullReservesIncentiveData";
|
|
59248
59409
|
readonly outputs: readonly [{
|
|
59249
59410
|
readonly components: readonly [{
|
|
59250
59411
|
readonly internalType: "address";
|
|
@@ -59374,6 +59535,15 @@ export declare const AaveIncentiveDataProviderV3ContractViem: (client: Client, n
|
|
|
59374
59535
|
readonly internalType: "struct IUiIncentiveDataProviderV3.IncentiveData";
|
|
59375
59536
|
readonly name: "vIncentiveData";
|
|
59376
59537
|
readonly type: "tuple";
|
|
59538
|
+
}];
|
|
59539
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.AggregatedReserveIncentiveData[]";
|
|
59540
|
+
readonly name: "";
|
|
59541
|
+
readonly type: "tuple[]";
|
|
59542
|
+
}, {
|
|
59543
|
+
readonly components: readonly [{
|
|
59544
|
+
readonly internalType: "address";
|
|
59545
|
+
readonly name: "underlyingAsset";
|
|
59546
|
+
readonly type: "address";
|
|
59377
59547
|
}, {
|
|
59378
59548
|
readonly components: readonly [{
|
|
59379
59549
|
readonly internalType: "address";
|
|
@@ -59390,27 +59560,19 @@ export declare const AaveIncentiveDataProviderV3ContractViem: (client: Client, n
|
|
|
59390
59560
|
readonly type: "string";
|
|
59391
59561
|
}, {
|
|
59392
59562
|
readonly internalType: "address";
|
|
59393
|
-
readonly name: "
|
|
59563
|
+
readonly name: "rewardOracleAddress";
|
|
59394
59564
|
readonly type: "address";
|
|
59395
59565
|
}, {
|
|
59396
59566
|
readonly internalType: "address";
|
|
59397
|
-
readonly name: "
|
|
59567
|
+
readonly name: "rewardTokenAddress";
|
|
59398
59568
|
readonly type: "address";
|
|
59399
59569
|
}, {
|
|
59400
59570
|
readonly internalType: "uint256";
|
|
59401
|
-
readonly name: "
|
|
59402
|
-
readonly type: "uint256";
|
|
59403
|
-
}, {
|
|
59404
|
-
readonly internalType: "uint256";
|
|
59405
|
-
readonly name: "incentivesLastUpdateTimestamp";
|
|
59406
|
-
readonly type: "uint256";
|
|
59407
|
-
}, {
|
|
59408
|
-
readonly internalType: "uint256";
|
|
59409
|
-
readonly name: "tokenIncentivesIndex";
|
|
59571
|
+
readonly name: "userUnclaimedRewards";
|
|
59410
59572
|
readonly type: "uint256";
|
|
59411
59573
|
}, {
|
|
59412
59574
|
readonly internalType: "uint256";
|
|
59413
|
-
readonly name: "
|
|
59575
|
+
readonly name: "tokenIncentivesUserIndex";
|
|
59414
59576
|
readonly type: "uint256";
|
|
59415
59577
|
}, {
|
|
59416
59578
|
readonly internalType: "int256";
|
|
@@ -59418,47 +59580,20 @@ export declare const AaveIncentiveDataProviderV3ContractViem: (client: Client, n
|
|
|
59418
59580
|
readonly type: "int256";
|
|
59419
59581
|
}, {
|
|
59420
59582
|
readonly internalType: "uint8";
|
|
59421
|
-
readonly name: "
|
|
59422
|
-
readonly type: "uint8";
|
|
59423
|
-
}, {
|
|
59424
|
-
readonly internalType: "uint8";
|
|
59425
|
-
readonly name: "precision";
|
|
59583
|
+
readonly name: "priceFeedDecimals";
|
|
59426
59584
|
readonly type: "uint8";
|
|
59427
59585
|
}, {
|
|
59428
59586
|
readonly internalType: "uint8";
|
|
59429
|
-
readonly name: "
|
|
59587
|
+
readonly name: "rewardTokenDecimals";
|
|
59430
59588
|
readonly type: "uint8";
|
|
59431
59589
|
}];
|
|
59432
|
-
readonly internalType: "struct IUiIncentiveDataProviderV3.
|
|
59433
|
-
readonly name: "
|
|
59590
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.UserRewardInfo[]";
|
|
59591
|
+
readonly name: "userRewardsInformation";
|
|
59434
59592
|
readonly type: "tuple[]";
|
|
59435
59593
|
}];
|
|
59436
|
-
readonly internalType: "struct IUiIncentiveDataProviderV3.
|
|
59437
|
-
readonly name: "
|
|
59594
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData";
|
|
59595
|
+
readonly name: "aTokenIncentivesUserData";
|
|
59438
59596
|
readonly type: "tuple";
|
|
59439
|
-
}];
|
|
59440
|
-
readonly internalType: "struct IUiIncentiveDataProviderV3.AggregatedReserveIncentiveData[]";
|
|
59441
|
-
readonly name: "";
|
|
59442
|
-
readonly type: "tuple[]";
|
|
59443
|
-
}];
|
|
59444
|
-
readonly stateMutability: "view";
|
|
59445
|
-
readonly type: "function";
|
|
59446
|
-
}, {
|
|
59447
|
-
readonly inputs: readonly [{
|
|
59448
|
-
readonly internalType: "contract IPoolAddressesProvider";
|
|
59449
|
-
readonly name: "provider";
|
|
59450
|
-
readonly type: "address";
|
|
59451
|
-
}, {
|
|
59452
|
-
readonly internalType: "address";
|
|
59453
|
-
readonly name: "user";
|
|
59454
|
-
readonly type: "address";
|
|
59455
|
-
}];
|
|
59456
|
-
readonly name: "getUserReservesIncentivesData";
|
|
59457
|
-
readonly outputs: readonly [{
|
|
59458
|
-
readonly components: readonly [{
|
|
59459
|
-
readonly internalType: "address";
|
|
59460
|
-
readonly name: "underlyingAsset";
|
|
59461
|
-
readonly type: "address";
|
|
59462
59597
|
}, {
|
|
59463
59598
|
readonly components: readonly [{
|
|
59464
59599
|
readonly internalType: "address";
|
|
@@ -59507,8 +59642,174 @@ export declare const AaveIncentiveDataProviderV3ContractViem: (client: Client, n
|
|
|
59507
59642
|
readonly type: "tuple[]";
|
|
59508
59643
|
}];
|
|
59509
59644
|
readonly internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData";
|
|
59510
|
-
readonly name: "
|
|
59645
|
+
readonly name: "vTokenIncentivesUserData";
|
|
59646
|
+
readonly type: "tuple";
|
|
59647
|
+
}];
|
|
59648
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.UserReserveIncentiveData[]";
|
|
59649
|
+
readonly name: "";
|
|
59650
|
+
readonly type: "tuple[]";
|
|
59651
|
+
}];
|
|
59652
|
+
readonly stateMutability: "view";
|
|
59653
|
+
readonly type: "function";
|
|
59654
|
+
}, {
|
|
59655
|
+
readonly inputs: readonly [{
|
|
59656
|
+
readonly internalType: "contract IPoolAddressesProvider";
|
|
59657
|
+
readonly name: "provider";
|
|
59658
|
+
readonly type: "address";
|
|
59659
|
+
}];
|
|
59660
|
+
readonly name: "getReservesIncentivesData";
|
|
59661
|
+
readonly outputs: readonly [{
|
|
59662
|
+
readonly components: readonly [{
|
|
59663
|
+
readonly internalType: "address";
|
|
59664
|
+
readonly name: "underlyingAsset";
|
|
59665
|
+
readonly type: "address";
|
|
59666
|
+
}, {
|
|
59667
|
+
readonly components: readonly [{
|
|
59668
|
+
readonly internalType: "address";
|
|
59669
|
+
readonly name: "tokenAddress";
|
|
59670
|
+
readonly type: "address";
|
|
59671
|
+
}, {
|
|
59672
|
+
readonly internalType: "address";
|
|
59673
|
+
readonly name: "incentiveControllerAddress";
|
|
59674
|
+
readonly type: "address";
|
|
59675
|
+
}, {
|
|
59676
|
+
readonly components: readonly [{
|
|
59677
|
+
readonly internalType: "string";
|
|
59678
|
+
readonly name: "rewardTokenSymbol";
|
|
59679
|
+
readonly type: "string";
|
|
59680
|
+
}, {
|
|
59681
|
+
readonly internalType: "address";
|
|
59682
|
+
readonly name: "rewardTokenAddress";
|
|
59683
|
+
readonly type: "address";
|
|
59684
|
+
}, {
|
|
59685
|
+
readonly internalType: "address";
|
|
59686
|
+
readonly name: "rewardOracleAddress";
|
|
59687
|
+
readonly type: "address";
|
|
59688
|
+
}, {
|
|
59689
|
+
readonly internalType: "uint256";
|
|
59690
|
+
readonly name: "emissionPerSecond";
|
|
59691
|
+
readonly type: "uint256";
|
|
59692
|
+
}, {
|
|
59693
|
+
readonly internalType: "uint256";
|
|
59694
|
+
readonly name: "incentivesLastUpdateTimestamp";
|
|
59695
|
+
readonly type: "uint256";
|
|
59696
|
+
}, {
|
|
59697
|
+
readonly internalType: "uint256";
|
|
59698
|
+
readonly name: "tokenIncentivesIndex";
|
|
59699
|
+
readonly type: "uint256";
|
|
59700
|
+
}, {
|
|
59701
|
+
readonly internalType: "uint256";
|
|
59702
|
+
readonly name: "emissionEndTimestamp";
|
|
59703
|
+
readonly type: "uint256";
|
|
59704
|
+
}, {
|
|
59705
|
+
readonly internalType: "int256";
|
|
59706
|
+
readonly name: "rewardPriceFeed";
|
|
59707
|
+
readonly type: "int256";
|
|
59708
|
+
}, {
|
|
59709
|
+
readonly internalType: "uint8";
|
|
59710
|
+
readonly name: "rewardTokenDecimals";
|
|
59711
|
+
readonly type: "uint8";
|
|
59712
|
+
}, {
|
|
59713
|
+
readonly internalType: "uint8";
|
|
59714
|
+
readonly name: "precision";
|
|
59715
|
+
readonly type: "uint8";
|
|
59716
|
+
}, {
|
|
59717
|
+
readonly internalType: "uint8";
|
|
59718
|
+
readonly name: "priceFeedDecimals";
|
|
59719
|
+
readonly type: "uint8";
|
|
59720
|
+
}];
|
|
59721
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.RewardInfo[]";
|
|
59722
|
+
readonly name: "rewardsTokenInformation";
|
|
59723
|
+
readonly type: "tuple[]";
|
|
59724
|
+
}];
|
|
59725
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.IncentiveData";
|
|
59726
|
+
readonly name: "aIncentiveData";
|
|
59727
|
+
readonly type: "tuple";
|
|
59728
|
+
}, {
|
|
59729
|
+
readonly components: readonly [{
|
|
59730
|
+
readonly internalType: "address";
|
|
59731
|
+
readonly name: "tokenAddress";
|
|
59732
|
+
readonly type: "address";
|
|
59733
|
+
}, {
|
|
59734
|
+
readonly internalType: "address";
|
|
59735
|
+
readonly name: "incentiveControllerAddress";
|
|
59736
|
+
readonly type: "address";
|
|
59737
|
+
}, {
|
|
59738
|
+
readonly components: readonly [{
|
|
59739
|
+
readonly internalType: "string";
|
|
59740
|
+
readonly name: "rewardTokenSymbol";
|
|
59741
|
+
readonly type: "string";
|
|
59742
|
+
}, {
|
|
59743
|
+
readonly internalType: "address";
|
|
59744
|
+
readonly name: "rewardTokenAddress";
|
|
59745
|
+
readonly type: "address";
|
|
59746
|
+
}, {
|
|
59747
|
+
readonly internalType: "address";
|
|
59748
|
+
readonly name: "rewardOracleAddress";
|
|
59749
|
+
readonly type: "address";
|
|
59750
|
+
}, {
|
|
59751
|
+
readonly internalType: "uint256";
|
|
59752
|
+
readonly name: "emissionPerSecond";
|
|
59753
|
+
readonly type: "uint256";
|
|
59754
|
+
}, {
|
|
59755
|
+
readonly internalType: "uint256";
|
|
59756
|
+
readonly name: "incentivesLastUpdateTimestamp";
|
|
59757
|
+
readonly type: "uint256";
|
|
59758
|
+
}, {
|
|
59759
|
+
readonly internalType: "uint256";
|
|
59760
|
+
readonly name: "tokenIncentivesIndex";
|
|
59761
|
+
readonly type: "uint256";
|
|
59762
|
+
}, {
|
|
59763
|
+
readonly internalType: "uint256";
|
|
59764
|
+
readonly name: "emissionEndTimestamp";
|
|
59765
|
+
readonly type: "uint256";
|
|
59766
|
+
}, {
|
|
59767
|
+
readonly internalType: "int256";
|
|
59768
|
+
readonly name: "rewardPriceFeed";
|
|
59769
|
+
readonly type: "int256";
|
|
59770
|
+
}, {
|
|
59771
|
+
readonly internalType: "uint8";
|
|
59772
|
+
readonly name: "rewardTokenDecimals";
|
|
59773
|
+
readonly type: "uint8";
|
|
59774
|
+
}, {
|
|
59775
|
+
readonly internalType: "uint8";
|
|
59776
|
+
readonly name: "precision";
|
|
59777
|
+
readonly type: "uint8";
|
|
59778
|
+
}, {
|
|
59779
|
+
readonly internalType: "uint8";
|
|
59780
|
+
readonly name: "priceFeedDecimals";
|
|
59781
|
+
readonly type: "uint8";
|
|
59782
|
+
}];
|
|
59783
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.RewardInfo[]";
|
|
59784
|
+
readonly name: "rewardsTokenInformation";
|
|
59785
|
+
readonly type: "tuple[]";
|
|
59786
|
+
}];
|
|
59787
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.IncentiveData";
|
|
59788
|
+
readonly name: "vIncentiveData";
|
|
59511
59789
|
readonly type: "tuple";
|
|
59790
|
+
}];
|
|
59791
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.AggregatedReserveIncentiveData[]";
|
|
59792
|
+
readonly name: "";
|
|
59793
|
+
readonly type: "tuple[]";
|
|
59794
|
+
}];
|
|
59795
|
+
readonly stateMutability: "view";
|
|
59796
|
+
readonly type: "function";
|
|
59797
|
+
}, {
|
|
59798
|
+
readonly inputs: readonly [{
|
|
59799
|
+
readonly internalType: "contract IPoolAddressesProvider";
|
|
59800
|
+
readonly name: "provider";
|
|
59801
|
+
readonly type: "address";
|
|
59802
|
+
}, {
|
|
59803
|
+
readonly internalType: "address";
|
|
59804
|
+
readonly name: "user";
|
|
59805
|
+
readonly type: "address";
|
|
59806
|
+
}];
|
|
59807
|
+
readonly name: "getUserReservesIncentivesData";
|
|
59808
|
+
readonly outputs: readonly [{
|
|
59809
|
+
readonly components: readonly [{
|
|
59810
|
+
readonly internalType: "address";
|
|
59811
|
+
readonly name: "underlyingAsset";
|
|
59812
|
+
readonly type: "address";
|
|
59512
59813
|
}, {
|
|
59513
59814
|
readonly components: readonly [{
|
|
59514
59815
|
readonly internalType: "address";
|
|
@@ -59557,7 +59858,7 @@ export declare const AaveIncentiveDataProviderV3ContractViem: (client: Client, n
|
|
|
59557
59858
|
readonly type: "tuple[]";
|
|
59558
59859
|
}];
|
|
59559
59860
|
readonly internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData";
|
|
59560
|
-
readonly name: "
|
|
59861
|
+
readonly name: "aTokenIncentivesUserData";
|
|
59561
59862
|
readonly type: "tuple";
|
|
59562
59863
|
}, {
|
|
59563
59864
|
readonly components: readonly [{
|
|
@@ -59607,7 +59908,7 @@ export declare const AaveIncentiveDataProviderV3ContractViem: (client: Client, n
|
|
|
59607
59908
|
readonly type: "tuple[]";
|
|
59608
59909
|
}];
|
|
59609
59910
|
readonly internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData";
|
|
59610
|
-
readonly name: "
|
|
59911
|
+
readonly name: "vTokenIncentivesUserData";
|
|
59611
59912
|
readonly type: "tuple";
|
|
59612
59913
|
}];
|
|
59613
59914
|
readonly internalType: "struct IUiIncentiveDataProviderV3.UserReserveIncentiveData[]";
|
|
@@ -59616,23 +59917,568 @@ export declare const AaveIncentiveDataProviderV3ContractViem: (client: Client, n
|
|
|
59616
59917
|
}];
|
|
59617
59918
|
readonly stateMutability: "view";
|
|
59618
59919
|
readonly type: "function";
|
|
59619
|
-
}], "
|
|
59920
|
+
}], "getReservesIncentivesData", readonly [`0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<readonly {
|
|
59620
59921
|
underlyingAsset: `0x${string}`;
|
|
59621
|
-
|
|
59922
|
+
aIncentiveData: {
|
|
59622
59923
|
tokenAddress: `0x${string}`;
|
|
59623
59924
|
incentiveControllerAddress: `0x${string}`;
|
|
59624
|
-
|
|
59925
|
+
rewardsTokenInformation: readonly {
|
|
59625
59926
|
rewardTokenSymbol: string;
|
|
59626
|
-
rewardOracleAddress: `0x${string}`;
|
|
59627
59927
|
rewardTokenAddress: `0x${string}`;
|
|
59628
|
-
|
|
59629
|
-
|
|
59928
|
+
rewardOracleAddress: `0x${string}`;
|
|
59929
|
+
emissionPerSecond: bigint;
|
|
59930
|
+
incentivesLastUpdateTimestamp: bigint;
|
|
59931
|
+
tokenIncentivesIndex: bigint;
|
|
59932
|
+
emissionEndTimestamp: bigint;
|
|
59630
59933
|
rewardPriceFeed: bigint;
|
|
59934
|
+
rewardTokenDecimals: number;
|
|
59935
|
+
precision: number;
|
|
59631
59936
|
priceFeedDecimals: number;
|
|
59937
|
+
}[];
|
|
59938
|
+
};
|
|
59939
|
+
vIncentiveData: {
|
|
59940
|
+
tokenAddress: `0x${string}`;
|
|
59941
|
+
incentiveControllerAddress: `0x${string}`;
|
|
59942
|
+
rewardsTokenInformation: readonly {
|
|
59943
|
+
rewardTokenSymbol: string;
|
|
59944
|
+
rewardTokenAddress: `0x${string}`;
|
|
59945
|
+
rewardOracleAddress: `0x${string}`;
|
|
59946
|
+
emissionPerSecond: bigint;
|
|
59947
|
+
incentivesLastUpdateTimestamp: bigint;
|
|
59948
|
+
tokenIncentivesIndex: bigint;
|
|
59949
|
+
emissionEndTimestamp: bigint;
|
|
59950
|
+
rewardPriceFeed: bigint;
|
|
59632
59951
|
rewardTokenDecimals: number;
|
|
59952
|
+
precision: number;
|
|
59953
|
+
priceFeedDecimals: number;
|
|
59633
59954
|
}[];
|
|
59634
59955
|
};
|
|
59635
|
-
|
|
59956
|
+
}[]>;
|
|
59957
|
+
getUserReservesIncentivesData: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
59958
|
+
readonly inputs: readonly [{
|
|
59959
|
+
readonly internalType: "contract IPoolAddressesProvider";
|
|
59960
|
+
readonly name: "provider";
|
|
59961
|
+
readonly type: "address";
|
|
59962
|
+
}, {
|
|
59963
|
+
readonly internalType: "address";
|
|
59964
|
+
readonly name: "user";
|
|
59965
|
+
readonly type: "address";
|
|
59966
|
+
}];
|
|
59967
|
+
readonly name: "getFullReservesIncentiveData";
|
|
59968
|
+
readonly outputs: readonly [{
|
|
59969
|
+
readonly components: readonly [{
|
|
59970
|
+
readonly internalType: "address";
|
|
59971
|
+
readonly name: "underlyingAsset";
|
|
59972
|
+
readonly type: "address";
|
|
59973
|
+
}, {
|
|
59974
|
+
readonly components: readonly [{
|
|
59975
|
+
readonly internalType: "address";
|
|
59976
|
+
readonly name: "tokenAddress";
|
|
59977
|
+
readonly type: "address";
|
|
59978
|
+
}, {
|
|
59979
|
+
readonly internalType: "address";
|
|
59980
|
+
readonly name: "incentiveControllerAddress";
|
|
59981
|
+
readonly type: "address";
|
|
59982
|
+
}, {
|
|
59983
|
+
readonly components: readonly [{
|
|
59984
|
+
readonly internalType: "string";
|
|
59985
|
+
readonly name: "rewardTokenSymbol";
|
|
59986
|
+
readonly type: "string";
|
|
59987
|
+
}, {
|
|
59988
|
+
readonly internalType: "address";
|
|
59989
|
+
readonly name: "rewardTokenAddress";
|
|
59990
|
+
readonly type: "address";
|
|
59991
|
+
}, {
|
|
59992
|
+
readonly internalType: "address";
|
|
59993
|
+
readonly name: "rewardOracleAddress";
|
|
59994
|
+
readonly type: "address";
|
|
59995
|
+
}, {
|
|
59996
|
+
readonly internalType: "uint256";
|
|
59997
|
+
readonly name: "emissionPerSecond";
|
|
59998
|
+
readonly type: "uint256";
|
|
59999
|
+
}, {
|
|
60000
|
+
readonly internalType: "uint256";
|
|
60001
|
+
readonly name: "incentivesLastUpdateTimestamp";
|
|
60002
|
+
readonly type: "uint256";
|
|
60003
|
+
}, {
|
|
60004
|
+
readonly internalType: "uint256";
|
|
60005
|
+
readonly name: "tokenIncentivesIndex";
|
|
60006
|
+
readonly type: "uint256";
|
|
60007
|
+
}, {
|
|
60008
|
+
readonly internalType: "uint256";
|
|
60009
|
+
readonly name: "emissionEndTimestamp";
|
|
60010
|
+
readonly type: "uint256";
|
|
60011
|
+
}, {
|
|
60012
|
+
readonly internalType: "int256";
|
|
60013
|
+
readonly name: "rewardPriceFeed";
|
|
60014
|
+
readonly type: "int256";
|
|
60015
|
+
}, {
|
|
60016
|
+
readonly internalType: "uint8";
|
|
60017
|
+
readonly name: "rewardTokenDecimals";
|
|
60018
|
+
readonly type: "uint8";
|
|
60019
|
+
}, {
|
|
60020
|
+
readonly internalType: "uint8";
|
|
60021
|
+
readonly name: "precision";
|
|
60022
|
+
readonly type: "uint8";
|
|
60023
|
+
}, {
|
|
60024
|
+
readonly internalType: "uint8";
|
|
60025
|
+
readonly name: "priceFeedDecimals";
|
|
60026
|
+
readonly type: "uint8";
|
|
60027
|
+
}];
|
|
60028
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.RewardInfo[]";
|
|
60029
|
+
readonly name: "rewardsTokenInformation";
|
|
60030
|
+
readonly type: "tuple[]";
|
|
60031
|
+
}];
|
|
60032
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.IncentiveData";
|
|
60033
|
+
readonly name: "aIncentiveData";
|
|
60034
|
+
readonly type: "tuple";
|
|
60035
|
+
}, {
|
|
60036
|
+
readonly components: readonly [{
|
|
60037
|
+
readonly internalType: "address";
|
|
60038
|
+
readonly name: "tokenAddress";
|
|
60039
|
+
readonly type: "address";
|
|
60040
|
+
}, {
|
|
60041
|
+
readonly internalType: "address";
|
|
60042
|
+
readonly name: "incentiveControllerAddress";
|
|
60043
|
+
readonly type: "address";
|
|
60044
|
+
}, {
|
|
60045
|
+
readonly components: readonly [{
|
|
60046
|
+
readonly internalType: "string";
|
|
60047
|
+
readonly name: "rewardTokenSymbol";
|
|
60048
|
+
readonly type: "string";
|
|
60049
|
+
}, {
|
|
60050
|
+
readonly internalType: "address";
|
|
60051
|
+
readonly name: "rewardTokenAddress";
|
|
60052
|
+
readonly type: "address";
|
|
60053
|
+
}, {
|
|
60054
|
+
readonly internalType: "address";
|
|
60055
|
+
readonly name: "rewardOracleAddress";
|
|
60056
|
+
readonly type: "address";
|
|
60057
|
+
}, {
|
|
60058
|
+
readonly internalType: "uint256";
|
|
60059
|
+
readonly name: "emissionPerSecond";
|
|
60060
|
+
readonly type: "uint256";
|
|
60061
|
+
}, {
|
|
60062
|
+
readonly internalType: "uint256";
|
|
60063
|
+
readonly name: "incentivesLastUpdateTimestamp";
|
|
60064
|
+
readonly type: "uint256";
|
|
60065
|
+
}, {
|
|
60066
|
+
readonly internalType: "uint256";
|
|
60067
|
+
readonly name: "tokenIncentivesIndex";
|
|
60068
|
+
readonly type: "uint256";
|
|
60069
|
+
}, {
|
|
60070
|
+
readonly internalType: "uint256";
|
|
60071
|
+
readonly name: "emissionEndTimestamp";
|
|
60072
|
+
readonly type: "uint256";
|
|
60073
|
+
}, {
|
|
60074
|
+
readonly internalType: "int256";
|
|
60075
|
+
readonly name: "rewardPriceFeed";
|
|
60076
|
+
readonly type: "int256";
|
|
60077
|
+
}, {
|
|
60078
|
+
readonly internalType: "uint8";
|
|
60079
|
+
readonly name: "rewardTokenDecimals";
|
|
60080
|
+
readonly type: "uint8";
|
|
60081
|
+
}, {
|
|
60082
|
+
readonly internalType: "uint8";
|
|
60083
|
+
readonly name: "precision";
|
|
60084
|
+
readonly type: "uint8";
|
|
60085
|
+
}, {
|
|
60086
|
+
readonly internalType: "uint8";
|
|
60087
|
+
readonly name: "priceFeedDecimals";
|
|
60088
|
+
readonly type: "uint8";
|
|
60089
|
+
}];
|
|
60090
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.RewardInfo[]";
|
|
60091
|
+
readonly name: "rewardsTokenInformation";
|
|
60092
|
+
readonly type: "tuple[]";
|
|
60093
|
+
}];
|
|
60094
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.IncentiveData";
|
|
60095
|
+
readonly name: "vIncentiveData";
|
|
60096
|
+
readonly type: "tuple";
|
|
60097
|
+
}];
|
|
60098
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.AggregatedReserveIncentiveData[]";
|
|
60099
|
+
readonly name: "";
|
|
60100
|
+
readonly type: "tuple[]";
|
|
60101
|
+
}, {
|
|
60102
|
+
readonly components: readonly [{
|
|
60103
|
+
readonly internalType: "address";
|
|
60104
|
+
readonly name: "underlyingAsset";
|
|
60105
|
+
readonly type: "address";
|
|
60106
|
+
}, {
|
|
60107
|
+
readonly components: readonly [{
|
|
60108
|
+
readonly internalType: "address";
|
|
60109
|
+
readonly name: "tokenAddress";
|
|
60110
|
+
readonly type: "address";
|
|
60111
|
+
}, {
|
|
60112
|
+
readonly internalType: "address";
|
|
60113
|
+
readonly name: "incentiveControllerAddress";
|
|
60114
|
+
readonly type: "address";
|
|
60115
|
+
}, {
|
|
60116
|
+
readonly components: readonly [{
|
|
60117
|
+
readonly internalType: "string";
|
|
60118
|
+
readonly name: "rewardTokenSymbol";
|
|
60119
|
+
readonly type: "string";
|
|
60120
|
+
}, {
|
|
60121
|
+
readonly internalType: "address";
|
|
60122
|
+
readonly name: "rewardOracleAddress";
|
|
60123
|
+
readonly type: "address";
|
|
60124
|
+
}, {
|
|
60125
|
+
readonly internalType: "address";
|
|
60126
|
+
readonly name: "rewardTokenAddress";
|
|
60127
|
+
readonly type: "address";
|
|
60128
|
+
}, {
|
|
60129
|
+
readonly internalType: "uint256";
|
|
60130
|
+
readonly name: "userUnclaimedRewards";
|
|
60131
|
+
readonly type: "uint256";
|
|
60132
|
+
}, {
|
|
60133
|
+
readonly internalType: "uint256";
|
|
60134
|
+
readonly name: "tokenIncentivesUserIndex";
|
|
60135
|
+
readonly type: "uint256";
|
|
60136
|
+
}, {
|
|
60137
|
+
readonly internalType: "int256";
|
|
60138
|
+
readonly name: "rewardPriceFeed";
|
|
60139
|
+
readonly type: "int256";
|
|
60140
|
+
}, {
|
|
60141
|
+
readonly internalType: "uint8";
|
|
60142
|
+
readonly name: "priceFeedDecimals";
|
|
60143
|
+
readonly type: "uint8";
|
|
60144
|
+
}, {
|
|
60145
|
+
readonly internalType: "uint8";
|
|
60146
|
+
readonly name: "rewardTokenDecimals";
|
|
60147
|
+
readonly type: "uint8";
|
|
60148
|
+
}];
|
|
60149
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.UserRewardInfo[]";
|
|
60150
|
+
readonly name: "userRewardsInformation";
|
|
60151
|
+
readonly type: "tuple[]";
|
|
60152
|
+
}];
|
|
60153
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData";
|
|
60154
|
+
readonly name: "aTokenIncentivesUserData";
|
|
60155
|
+
readonly type: "tuple";
|
|
60156
|
+
}, {
|
|
60157
|
+
readonly components: readonly [{
|
|
60158
|
+
readonly internalType: "address";
|
|
60159
|
+
readonly name: "tokenAddress";
|
|
60160
|
+
readonly type: "address";
|
|
60161
|
+
}, {
|
|
60162
|
+
readonly internalType: "address";
|
|
60163
|
+
readonly name: "incentiveControllerAddress";
|
|
60164
|
+
readonly type: "address";
|
|
60165
|
+
}, {
|
|
60166
|
+
readonly components: readonly [{
|
|
60167
|
+
readonly internalType: "string";
|
|
60168
|
+
readonly name: "rewardTokenSymbol";
|
|
60169
|
+
readonly type: "string";
|
|
60170
|
+
}, {
|
|
60171
|
+
readonly internalType: "address";
|
|
60172
|
+
readonly name: "rewardOracleAddress";
|
|
60173
|
+
readonly type: "address";
|
|
60174
|
+
}, {
|
|
60175
|
+
readonly internalType: "address";
|
|
60176
|
+
readonly name: "rewardTokenAddress";
|
|
60177
|
+
readonly type: "address";
|
|
60178
|
+
}, {
|
|
60179
|
+
readonly internalType: "uint256";
|
|
60180
|
+
readonly name: "userUnclaimedRewards";
|
|
60181
|
+
readonly type: "uint256";
|
|
60182
|
+
}, {
|
|
60183
|
+
readonly internalType: "uint256";
|
|
60184
|
+
readonly name: "tokenIncentivesUserIndex";
|
|
60185
|
+
readonly type: "uint256";
|
|
60186
|
+
}, {
|
|
60187
|
+
readonly internalType: "int256";
|
|
60188
|
+
readonly name: "rewardPriceFeed";
|
|
60189
|
+
readonly type: "int256";
|
|
60190
|
+
}, {
|
|
60191
|
+
readonly internalType: "uint8";
|
|
60192
|
+
readonly name: "priceFeedDecimals";
|
|
60193
|
+
readonly type: "uint8";
|
|
60194
|
+
}, {
|
|
60195
|
+
readonly internalType: "uint8";
|
|
60196
|
+
readonly name: "rewardTokenDecimals";
|
|
60197
|
+
readonly type: "uint8";
|
|
60198
|
+
}];
|
|
60199
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.UserRewardInfo[]";
|
|
60200
|
+
readonly name: "userRewardsInformation";
|
|
60201
|
+
readonly type: "tuple[]";
|
|
60202
|
+
}];
|
|
60203
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData";
|
|
60204
|
+
readonly name: "vTokenIncentivesUserData";
|
|
60205
|
+
readonly type: "tuple";
|
|
60206
|
+
}];
|
|
60207
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.UserReserveIncentiveData[]";
|
|
60208
|
+
readonly name: "";
|
|
60209
|
+
readonly type: "tuple[]";
|
|
60210
|
+
}];
|
|
60211
|
+
readonly stateMutability: "view";
|
|
60212
|
+
readonly type: "function";
|
|
60213
|
+
}, {
|
|
60214
|
+
readonly inputs: readonly [{
|
|
60215
|
+
readonly internalType: "contract IPoolAddressesProvider";
|
|
60216
|
+
readonly name: "provider";
|
|
60217
|
+
readonly type: "address";
|
|
60218
|
+
}];
|
|
60219
|
+
readonly name: "getReservesIncentivesData";
|
|
60220
|
+
readonly outputs: readonly [{
|
|
60221
|
+
readonly components: readonly [{
|
|
60222
|
+
readonly internalType: "address";
|
|
60223
|
+
readonly name: "underlyingAsset";
|
|
60224
|
+
readonly type: "address";
|
|
60225
|
+
}, {
|
|
60226
|
+
readonly components: readonly [{
|
|
60227
|
+
readonly internalType: "address";
|
|
60228
|
+
readonly name: "tokenAddress";
|
|
60229
|
+
readonly type: "address";
|
|
60230
|
+
}, {
|
|
60231
|
+
readonly internalType: "address";
|
|
60232
|
+
readonly name: "incentiveControllerAddress";
|
|
60233
|
+
readonly type: "address";
|
|
60234
|
+
}, {
|
|
60235
|
+
readonly components: readonly [{
|
|
60236
|
+
readonly internalType: "string";
|
|
60237
|
+
readonly name: "rewardTokenSymbol";
|
|
60238
|
+
readonly type: "string";
|
|
60239
|
+
}, {
|
|
60240
|
+
readonly internalType: "address";
|
|
60241
|
+
readonly name: "rewardTokenAddress";
|
|
60242
|
+
readonly type: "address";
|
|
60243
|
+
}, {
|
|
60244
|
+
readonly internalType: "address";
|
|
60245
|
+
readonly name: "rewardOracleAddress";
|
|
60246
|
+
readonly type: "address";
|
|
60247
|
+
}, {
|
|
60248
|
+
readonly internalType: "uint256";
|
|
60249
|
+
readonly name: "emissionPerSecond";
|
|
60250
|
+
readonly type: "uint256";
|
|
60251
|
+
}, {
|
|
60252
|
+
readonly internalType: "uint256";
|
|
60253
|
+
readonly name: "incentivesLastUpdateTimestamp";
|
|
60254
|
+
readonly type: "uint256";
|
|
60255
|
+
}, {
|
|
60256
|
+
readonly internalType: "uint256";
|
|
60257
|
+
readonly name: "tokenIncentivesIndex";
|
|
60258
|
+
readonly type: "uint256";
|
|
60259
|
+
}, {
|
|
60260
|
+
readonly internalType: "uint256";
|
|
60261
|
+
readonly name: "emissionEndTimestamp";
|
|
60262
|
+
readonly type: "uint256";
|
|
60263
|
+
}, {
|
|
60264
|
+
readonly internalType: "int256";
|
|
60265
|
+
readonly name: "rewardPriceFeed";
|
|
60266
|
+
readonly type: "int256";
|
|
60267
|
+
}, {
|
|
60268
|
+
readonly internalType: "uint8";
|
|
60269
|
+
readonly name: "rewardTokenDecimals";
|
|
60270
|
+
readonly type: "uint8";
|
|
60271
|
+
}, {
|
|
60272
|
+
readonly internalType: "uint8";
|
|
60273
|
+
readonly name: "precision";
|
|
60274
|
+
readonly type: "uint8";
|
|
60275
|
+
}, {
|
|
60276
|
+
readonly internalType: "uint8";
|
|
60277
|
+
readonly name: "priceFeedDecimals";
|
|
60278
|
+
readonly type: "uint8";
|
|
60279
|
+
}];
|
|
60280
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.RewardInfo[]";
|
|
60281
|
+
readonly name: "rewardsTokenInformation";
|
|
60282
|
+
readonly type: "tuple[]";
|
|
60283
|
+
}];
|
|
60284
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.IncentiveData";
|
|
60285
|
+
readonly name: "aIncentiveData";
|
|
60286
|
+
readonly type: "tuple";
|
|
60287
|
+
}, {
|
|
60288
|
+
readonly components: readonly [{
|
|
60289
|
+
readonly internalType: "address";
|
|
60290
|
+
readonly name: "tokenAddress";
|
|
60291
|
+
readonly type: "address";
|
|
60292
|
+
}, {
|
|
60293
|
+
readonly internalType: "address";
|
|
60294
|
+
readonly name: "incentiveControllerAddress";
|
|
60295
|
+
readonly type: "address";
|
|
60296
|
+
}, {
|
|
60297
|
+
readonly components: readonly [{
|
|
60298
|
+
readonly internalType: "string";
|
|
60299
|
+
readonly name: "rewardTokenSymbol";
|
|
60300
|
+
readonly type: "string";
|
|
60301
|
+
}, {
|
|
60302
|
+
readonly internalType: "address";
|
|
60303
|
+
readonly name: "rewardTokenAddress";
|
|
60304
|
+
readonly type: "address";
|
|
60305
|
+
}, {
|
|
60306
|
+
readonly internalType: "address";
|
|
60307
|
+
readonly name: "rewardOracleAddress";
|
|
60308
|
+
readonly type: "address";
|
|
60309
|
+
}, {
|
|
60310
|
+
readonly internalType: "uint256";
|
|
60311
|
+
readonly name: "emissionPerSecond";
|
|
60312
|
+
readonly type: "uint256";
|
|
60313
|
+
}, {
|
|
60314
|
+
readonly internalType: "uint256";
|
|
60315
|
+
readonly name: "incentivesLastUpdateTimestamp";
|
|
60316
|
+
readonly type: "uint256";
|
|
60317
|
+
}, {
|
|
60318
|
+
readonly internalType: "uint256";
|
|
60319
|
+
readonly name: "tokenIncentivesIndex";
|
|
60320
|
+
readonly type: "uint256";
|
|
60321
|
+
}, {
|
|
60322
|
+
readonly internalType: "uint256";
|
|
60323
|
+
readonly name: "emissionEndTimestamp";
|
|
60324
|
+
readonly type: "uint256";
|
|
60325
|
+
}, {
|
|
60326
|
+
readonly internalType: "int256";
|
|
60327
|
+
readonly name: "rewardPriceFeed";
|
|
60328
|
+
readonly type: "int256";
|
|
60329
|
+
}, {
|
|
60330
|
+
readonly internalType: "uint8";
|
|
60331
|
+
readonly name: "rewardTokenDecimals";
|
|
60332
|
+
readonly type: "uint8";
|
|
60333
|
+
}, {
|
|
60334
|
+
readonly internalType: "uint8";
|
|
60335
|
+
readonly name: "precision";
|
|
60336
|
+
readonly type: "uint8";
|
|
60337
|
+
}, {
|
|
60338
|
+
readonly internalType: "uint8";
|
|
60339
|
+
readonly name: "priceFeedDecimals";
|
|
60340
|
+
readonly type: "uint8";
|
|
60341
|
+
}];
|
|
60342
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.RewardInfo[]";
|
|
60343
|
+
readonly name: "rewardsTokenInformation";
|
|
60344
|
+
readonly type: "tuple[]";
|
|
60345
|
+
}];
|
|
60346
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.IncentiveData";
|
|
60347
|
+
readonly name: "vIncentiveData";
|
|
60348
|
+
readonly type: "tuple";
|
|
60349
|
+
}];
|
|
60350
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.AggregatedReserveIncentiveData[]";
|
|
60351
|
+
readonly name: "";
|
|
60352
|
+
readonly type: "tuple[]";
|
|
60353
|
+
}];
|
|
60354
|
+
readonly stateMutability: "view";
|
|
60355
|
+
readonly type: "function";
|
|
60356
|
+
}, {
|
|
60357
|
+
readonly inputs: readonly [{
|
|
60358
|
+
readonly internalType: "contract IPoolAddressesProvider";
|
|
60359
|
+
readonly name: "provider";
|
|
60360
|
+
readonly type: "address";
|
|
60361
|
+
}, {
|
|
60362
|
+
readonly internalType: "address";
|
|
60363
|
+
readonly name: "user";
|
|
60364
|
+
readonly type: "address";
|
|
60365
|
+
}];
|
|
60366
|
+
readonly name: "getUserReservesIncentivesData";
|
|
60367
|
+
readonly outputs: readonly [{
|
|
60368
|
+
readonly components: readonly [{
|
|
60369
|
+
readonly internalType: "address";
|
|
60370
|
+
readonly name: "underlyingAsset";
|
|
60371
|
+
readonly type: "address";
|
|
60372
|
+
}, {
|
|
60373
|
+
readonly components: readonly [{
|
|
60374
|
+
readonly internalType: "address";
|
|
60375
|
+
readonly name: "tokenAddress";
|
|
60376
|
+
readonly type: "address";
|
|
60377
|
+
}, {
|
|
60378
|
+
readonly internalType: "address";
|
|
60379
|
+
readonly name: "incentiveControllerAddress";
|
|
60380
|
+
readonly type: "address";
|
|
60381
|
+
}, {
|
|
60382
|
+
readonly components: readonly [{
|
|
60383
|
+
readonly internalType: "string";
|
|
60384
|
+
readonly name: "rewardTokenSymbol";
|
|
60385
|
+
readonly type: "string";
|
|
60386
|
+
}, {
|
|
60387
|
+
readonly internalType: "address";
|
|
60388
|
+
readonly name: "rewardOracleAddress";
|
|
60389
|
+
readonly type: "address";
|
|
60390
|
+
}, {
|
|
60391
|
+
readonly internalType: "address";
|
|
60392
|
+
readonly name: "rewardTokenAddress";
|
|
60393
|
+
readonly type: "address";
|
|
60394
|
+
}, {
|
|
60395
|
+
readonly internalType: "uint256";
|
|
60396
|
+
readonly name: "userUnclaimedRewards";
|
|
60397
|
+
readonly type: "uint256";
|
|
60398
|
+
}, {
|
|
60399
|
+
readonly internalType: "uint256";
|
|
60400
|
+
readonly name: "tokenIncentivesUserIndex";
|
|
60401
|
+
readonly type: "uint256";
|
|
60402
|
+
}, {
|
|
60403
|
+
readonly internalType: "int256";
|
|
60404
|
+
readonly name: "rewardPriceFeed";
|
|
60405
|
+
readonly type: "int256";
|
|
60406
|
+
}, {
|
|
60407
|
+
readonly internalType: "uint8";
|
|
60408
|
+
readonly name: "priceFeedDecimals";
|
|
60409
|
+
readonly type: "uint8";
|
|
60410
|
+
}, {
|
|
60411
|
+
readonly internalType: "uint8";
|
|
60412
|
+
readonly name: "rewardTokenDecimals";
|
|
60413
|
+
readonly type: "uint8";
|
|
60414
|
+
}];
|
|
60415
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.UserRewardInfo[]";
|
|
60416
|
+
readonly name: "userRewardsInformation";
|
|
60417
|
+
readonly type: "tuple[]";
|
|
60418
|
+
}];
|
|
60419
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData";
|
|
60420
|
+
readonly name: "aTokenIncentivesUserData";
|
|
60421
|
+
readonly type: "tuple";
|
|
60422
|
+
}, {
|
|
60423
|
+
readonly components: readonly [{
|
|
60424
|
+
readonly internalType: "address";
|
|
60425
|
+
readonly name: "tokenAddress";
|
|
60426
|
+
readonly type: "address";
|
|
60427
|
+
}, {
|
|
60428
|
+
readonly internalType: "address";
|
|
60429
|
+
readonly name: "incentiveControllerAddress";
|
|
60430
|
+
readonly type: "address";
|
|
60431
|
+
}, {
|
|
60432
|
+
readonly components: readonly [{
|
|
60433
|
+
readonly internalType: "string";
|
|
60434
|
+
readonly name: "rewardTokenSymbol";
|
|
60435
|
+
readonly type: "string";
|
|
60436
|
+
}, {
|
|
60437
|
+
readonly internalType: "address";
|
|
60438
|
+
readonly name: "rewardOracleAddress";
|
|
60439
|
+
readonly type: "address";
|
|
60440
|
+
}, {
|
|
60441
|
+
readonly internalType: "address";
|
|
60442
|
+
readonly name: "rewardTokenAddress";
|
|
60443
|
+
readonly type: "address";
|
|
60444
|
+
}, {
|
|
60445
|
+
readonly internalType: "uint256";
|
|
60446
|
+
readonly name: "userUnclaimedRewards";
|
|
60447
|
+
readonly type: "uint256";
|
|
60448
|
+
}, {
|
|
60449
|
+
readonly internalType: "uint256";
|
|
60450
|
+
readonly name: "tokenIncentivesUserIndex";
|
|
60451
|
+
readonly type: "uint256";
|
|
60452
|
+
}, {
|
|
60453
|
+
readonly internalType: "int256";
|
|
60454
|
+
readonly name: "rewardPriceFeed";
|
|
60455
|
+
readonly type: "int256";
|
|
60456
|
+
}, {
|
|
60457
|
+
readonly internalType: "uint8";
|
|
60458
|
+
readonly name: "priceFeedDecimals";
|
|
60459
|
+
readonly type: "uint8";
|
|
60460
|
+
}, {
|
|
60461
|
+
readonly internalType: "uint8";
|
|
60462
|
+
readonly name: "rewardTokenDecimals";
|
|
60463
|
+
readonly type: "uint8";
|
|
60464
|
+
}];
|
|
60465
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.UserRewardInfo[]";
|
|
60466
|
+
readonly name: "userRewardsInformation";
|
|
60467
|
+
readonly type: "tuple[]";
|
|
60468
|
+
}];
|
|
60469
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData";
|
|
60470
|
+
readonly name: "vTokenIncentivesUserData";
|
|
60471
|
+
readonly type: "tuple";
|
|
60472
|
+
}];
|
|
60473
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.UserReserveIncentiveData[]";
|
|
60474
|
+
readonly name: "";
|
|
60475
|
+
readonly type: "tuple[]";
|
|
60476
|
+
}];
|
|
60477
|
+
readonly stateMutability: "view";
|
|
60478
|
+
readonly type: "function";
|
|
60479
|
+
}], "getUserReservesIncentivesData", readonly [`0x${string}`, `0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<readonly {
|
|
60480
|
+
underlyingAsset: `0x${string}`;
|
|
60481
|
+
aTokenIncentivesUserData: {
|
|
59636
60482
|
tokenAddress: `0x${string}`;
|
|
59637
60483
|
incentiveControllerAddress: `0x${string}`;
|
|
59638
60484
|
userRewardsInformation: readonly {
|
|
@@ -59646,7 +60492,7 @@ export declare const AaveIncentiveDataProviderV3ContractViem: (client: Client, n
|
|
|
59646
60492
|
rewardTokenDecimals: number;
|
|
59647
60493
|
}[];
|
|
59648
60494
|
};
|
|
59649
|
-
|
|
60495
|
+
vTokenIncentivesUserData: {
|
|
59650
60496
|
tokenAddress: `0x${string}`;
|
|
59651
60497
|
incentiveControllerAddress: `0x${string}`;
|
|
59652
60498
|
userRewardsInformation: readonly {
|
|
@@ -59664,6 +60510,262 @@ export declare const AaveIncentiveDataProviderV3ContractViem: (client: Client, n
|
|
|
59664
60510
|
};
|
|
59665
60511
|
address: `0x${string}`;
|
|
59666
60512
|
abi: readonly [{
|
|
60513
|
+
readonly inputs: readonly [{
|
|
60514
|
+
readonly internalType: "contract IPoolAddressesProvider";
|
|
60515
|
+
readonly name: "provider";
|
|
60516
|
+
readonly type: "address";
|
|
60517
|
+
}, {
|
|
60518
|
+
readonly internalType: "address";
|
|
60519
|
+
readonly name: "user";
|
|
60520
|
+
readonly type: "address";
|
|
60521
|
+
}];
|
|
60522
|
+
readonly name: "getFullReservesIncentiveData";
|
|
60523
|
+
readonly outputs: readonly [{
|
|
60524
|
+
readonly components: readonly [{
|
|
60525
|
+
readonly internalType: "address";
|
|
60526
|
+
readonly name: "underlyingAsset";
|
|
60527
|
+
readonly type: "address";
|
|
60528
|
+
}, {
|
|
60529
|
+
readonly components: readonly [{
|
|
60530
|
+
readonly internalType: "address";
|
|
60531
|
+
readonly name: "tokenAddress";
|
|
60532
|
+
readonly type: "address";
|
|
60533
|
+
}, {
|
|
60534
|
+
readonly internalType: "address";
|
|
60535
|
+
readonly name: "incentiveControllerAddress";
|
|
60536
|
+
readonly type: "address";
|
|
60537
|
+
}, {
|
|
60538
|
+
readonly components: readonly [{
|
|
60539
|
+
readonly internalType: "string";
|
|
60540
|
+
readonly name: "rewardTokenSymbol";
|
|
60541
|
+
readonly type: "string";
|
|
60542
|
+
}, {
|
|
60543
|
+
readonly internalType: "address";
|
|
60544
|
+
readonly name: "rewardTokenAddress";
|
|
60545
|
+
readonly type: "address";
|
|
60546
|
+
}, {
|
|
60547
|
+
readonly internalType: "address";
|
|
60548
|
+
readonly name: "rewardOracleAddress";
|
|
60549
|
+
readonly type: "address";
|
|
60550
|
+
}, {
|
|
60551
|
+
readonly internalType: "uint256";
|
|
60552
|
+
readonly name: "emissionPerSecond";
|
|
60553
|
+
readonly type: "uint256";
|
|
60554
|
+
}, {
|
|
60555
|
+
readonly internalType: "uint256";
|
|
60556
|
+
readonly name: "incentivesLastUpdateTimestamp";
|
|
60557
|
+
readonly type: "uint256";
|
|
60558
|
+
}, {
|
|
60559
|
+
readonly internalType: "uint256";
|
|
60560
|
+
readonly name: "tokenIncentivesIndex";
|
|
60561
|
+
readonly type: "uint256";
|
|
60562
|
+
}, {
|
|
60563
|
+
readonly internalType: "uint256";
|
|
60564
|
+
readonly name: "emissionEndTimestamp";
|
|
60565
|
+
readonly type: "uint256";
|
|
60566
|
+
}, {
|
|
60567
|
+
readonly internalType: "int256";
|
|
60568
|
+
readonly name: "rewardPriceFeed";
|
|
60569
|
+
readonly type: "int256";
|
|
60570
|
+
}, {
|
|
60571
|
+
readonly internalType: "uint8";
|
|
60572
|
+
readonly name: "rewardTokenDecimals";
|
|
60573
|
+
readonly type: "uint8";
|
|
60574
|
+
}, {
|
|
60575
|
+
readonly internalType: "uint8";
|
|
60576
|
+
readonly name: "precision";
|
|
60577
|
+
readonly type: "uint8";
|
|
60578
|
+
}, {
|
|
60579
|
+
readonly internalType: "uint8";
|
|
60580
|
+
readonly name: "priceFeedDecimals";
|
|
60581
|
+
readonly type: "uint8";
|
|
60582
|
+
}];
|
|
60583
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.RewardInfo[]";
|
|
60584
|
+
readonly name: "rewardsTokenInformation";
|
|
60585
|
+
readonly type: "tuple[]";
|
|
60586
|
+
}];
|
|
60587
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.IncentiveData";
|
|
60588
|
+
readonly name: "aIncentiveData";
|
|
60589
|
+
readonly type: "tuple";
|
|
60590
|
+
}, {
|
|
60591
|
+
readonly components: readonly [{
|
|
60592
|
+
readonly internalType: "address";
|
|
60593
|
+
readonly name: "tokenAddress";
|
|
60594
|
+
readonly type: "address";
|
|
60595
|
+
}, {
|
|
60596
|
+
readonly internalType: "address";
|
|
60597
|
+
readonly name: "incentiveControllerAddress";
|
|
60598
|
+
readonly type: "address";
|
|
60599
|
+
}, {
|
|
60600
|
+
readonly components: readonly [{
|
|
60601
|
+
readonly internalType: "string";
|
|
60602
|
+
readonly name: "rewardTokenSymbol";
|
|
60603
|
+
readonly type: "string";
|
|
60604
|
+
}, {
|
|
60605
|
+
readonly internalType: "address";
|
|
60606
|
+
readonly name: "rewardTokenAddress";
|
|
60607
|
+
readonly type: "address";
|
|
60608
|
+
}, {
|
|
60609
|
+
readonly internalType: "address";
|
|
60610
|
+
readonly name: "rewardOracleAddress";
|
|
60611
|
+
readonly type: "address";
|
|
60612
|
+
}, {
|
|
60613
|
+
readonly internalType: "uint256";
|
|
60614
|
+
readonly name: "emissionPerSecond";
|
|
60615
|
+
readonly type: "uint256";
|
|
60616
|
+
}, {
|
|
60617
|
+
readonly internalType: "uint256";
|
|
60618
|
+
readonly name: "incentivesLastUpdateTimestamp";
|
|
60619
|
+
readonly type: "uint256";
|
|
60620
|
+
}, {
|
|
60621
|
+
readonly internalType: "uint256";
|
|
60622
|
+
readonly name: "tokenIncentivesIndex";
|
|
60623
|
+
readonly type: "uint256";
|
|
60624
|
+
}, {
|
|
60625
|
+
readonly internalType: "uint256";
|
|
60626
|
+
readonly name: "emissionEndTimestamp";
|
|
60627
|
+
readonly type: "uint256";
|
|
60628
|
+
}, {
|
|
60629
|
+
readonly internalType: "int256";
|
|
60630
|
+
readonly name: "rewardPriceFeed";
|
|
60631
|
+
readonly type: "int256";
|
|
60632
|
+
}, {
|
|
60633
|
+
readonly internalType: "uint8";
|
|
60634
|
+
readonly name: "rewardTokenDecimals";
|
|
60635
|
+
readonly type: "uint8";
|
|
60636
|
+
}, {
|
|
60637
|
+
readonly internalType: "uint8";
|
|
60638
|
+
readonly name: "precision";
|
|
60639
|
+
readonly type: "uint8";
|
|
60640
|
+
}, {
|
|
60641
|
+
readonly internalType: "uint8";
|
|
60642
|
+
readonly name: "priceFeedDecimals";
|
|
60643
|
+
readonly type: "uint8";
|
|
60644
|
+
}];
|
|
60645
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.RewardInfo[]";
|
|
60646
|
+
readonly name: "rewardsTokenInformation";
|
|
60647
|
+
readonly type: "tuple[]";
|
|
60648
|
+
}];
|
|
60649
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.IncentiveData";
|
|
60650
|
+
readonly name: "vIncentiveData";
|
|
60651
|
+
readonly type: "tuple";
|
|
60652
|
+
}];
|
|
60653
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.AggregatedReserveIncentiveData[]";
|
|
60654
|
+
readonly name: "";
|
|
60655
|
+
readonly type: "tuple[]";
|
|
60656
|
+
}, {
|
|
60657
|
+
readonly components: readonly [{
|
|
60658
|
+
readonly internalType: "address";
|
|
60659
|
+
readonly name: "underlyingAsset";
|
|
60660
|
+
readonly type: "address";
|
|
60661
|
+
}, {
|
|
60662
|
+
readonly components: readonly [{
|
|
60663
|
+
readonly internalType: "address";
|
|
60664
|
+
readonly name: "tokenAddress";
|
|
60665
|
+
readonly type: "address";
|
|
60666
|
+
}, {
|
|
60667
|
+
readonly internalType: "address";
|
|
60668
|
+
readonly name: "incentiveControllerAddress";
|
|
60669
|
+
readonly type: "address";
|
|
60670
|
+
}, {
|
|
60671
|
+
readonly components: readonly [{
|
|
60672
|
+
readonly internalType: "string";
|
|
60673
|
+
readonly name: "rewardTokenSymbol";
|
|
60674
|
+
readonly type: "string";
|
|
60675
|
+
}, {
|
|
60676
|
+
readonly internalType: "address";
|
|
60677
|
+
readonly name: "rewardOracleAddress";
|
|
60678
|
+
readonly type: "address";
|
|
60679
|
+
}, {
|
|
60680
|
+
readonly internalType: "address";
|
|
60681
|
+
readonly name: "rewardTokenAddress";
|
|
60682
|
+
readonly type: "address";
|
|
60683
|
+
}, {
|
|
60684
|
+
readonly internalType: "uint256";
|
|
60685
|
+
readonly name: "userUnclaimedRewards";
|
|
60686
|
+
readonly type: "uint256";
|
|
60687
|
+
}, {
|
|
60688
|
+
readonly internalType: "uint256";
|
|
60689
|
+
readonly name: "tokenIncentivesUserIndex";
|
|
60690
|
+
readonly type: "uint256";
|
|
60691
|
+
}, {
|
|
60692
|
+
readonly internalType: "int256";
|
|
60693
|
+
readonly name: "rewardPriceFeed";
|
|
60694
|
+
readonly type: "int256";
|
|
60695
|
+
}, {
|
|
60696
|
+
readonly internalType: "uint8";
|
|
60697
|
+
readonly name: "priceFeedDecimals";
|
|
60698
|
+
readonly type: "uint8";
|
|
60699
|
+
}, {
|
|
60700
|
+
readonly internalType: "uint8";
|
|
60701
|
+
readonly name: "rewardTokenDecimals";
|
|
60702
|
+
readonly type: "uint8";
|
|
60703
|
+
}];
|
|
60704
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.UserRewardInfo[]";
|
|
60705
|
+
readonly name: "userRewardsInformation";
|
|
60706
|
+
readonly type: "tuple[]";
|
|
60707
|
+
}];
|
|
60708
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData";
|
|
60709
|
+
readonly name: "aTokenIncentivesUserData";
|
|
60710
|
+
readonly type: "tuple";
|
|
60711
|
+
}, {
|
|
60712
|
+
readonly components: readonly [{
|
|
60713
|
+
readonly internalType: "address";
|
|
60714
|
+
readonly name: "tokenAddress";
|
|
60715
|
+
readonly type: "address";
|
|
60716
|
+
}, {
|
|
60717
|
+
readonly internalType: "address";
|
|
60718
|
+
readonly name: "incentiveControllerAddress";
|
|
60719
|
+
readonly type: "address";
|
|
60720
|
+
}, {
|
|
60721
|
+
readonly components: readonly [{
|
|
60722
|
+
readonly internalType: "string";
|
|
60723
|
+
readonly name: "rewardTokenSymbol";
|
|
60724
|
+
readonly type: "string";
|
|
60725
|
+
}, {
|
|
60726
|
+
readonly internalType: "address";
|
|
60727
|
+
readonly name: "rewardOracleAddress";
|
|
60728
|
+
readonly type: "address";
|
|
60729
|
+
}, {
|
|
60730
|
+
readonly internalType: "address";
|
|
60731
|
+
readonly name: "rewardTokenAddress";
|
|
60732
|
+
readonly type: "address";
|
|
60733
|
+
}, {
|
|
60734
|
+
readonly internalType: "uint256";
|
|
60735
|
+
readonly name: "userUnclaimedRewards";
|
|
60736
|
+
readonly type: "uint256";
|
|
60737
|
+
}, {
|
|
60738
|
+
readonly internalType: "uint256";
|
|
60739
|
+
readonly name: "tokenIncentivesUserIndex";
|
|
60740
|
+
readonly type: "uint256";
|
|
60741
|
+
}, {
|
|
60742
|
+
readonly internalType: "int256";
|
|
60743
|
+
readonly name: "rewardPriceFeed";
|
|
60744
|
+
readonly type: "int256";
|
|
60745
|
+
}, {
|
|
60746
|
+
readonly internalType: "uint8";
|
|
60747
|
+
readonly name: "priceFeedDecimals";
|
|
60748
|
+
readonly type: "uint8";
|
|
60749
|
+
}, {
|
|
60750
|
+
readonly internalType: "uint8";
|
|
60751
|
+
readonly name: "rewardTokenDecimals";
|
|
60752
|
+
readonly type: "uint8";
|
|
60753
|
+
}];
|
|
60754
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.UserRewardInfo[]";
|
|
60755
|
+
readonly name: "userRewardsInformation";
|
|
60756
|
+
readonly type: "tuple[]";
|
|
60757
|
+
}];
|
|
60758
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData";
|
|
60759
|
+
readonly name: "vTokenIncentivesUserData";
|
|
60760
|
+
readonly type: "tuple";
|
|
60761
|
+
}];
|
|
60762
|
+
readonly internalType: "struct IUiIncentiveDataProviderV3.UserReserveIncentiveData[]";
|
|
60763
|
+
readonly name: "";
|
|
60764
|
+
readonly type: "tuple[]";
|
|
60765
|
+
}];
|
|
60766
|
+
readonly stateMutability: "view";
|
|
60767
|
+
readonly type: "function";
|
|
60768
|
+
}, {
|
|
59667
60769
|
readonly inputs: readonly [{
|
|
59668
60770
|
readonly internalType: "contract IPoolAddressesProvider";
|
|
59669
60771
|
readonly name: "provider";
|
|
@@ -59799,68 +60901,6 @@ export declare const AaveIncentiveDataProviderV3ContractViem: (client: Client, n
|
|
|
59799
60901
|
readonly internalType: "struct IUiIncentiveDataProviderV3.IncentiveData";
|
|
59800
60902
|
readonly name: "vIncentiveData";
|
|
59801
60903
|
readonly type: "tuple";
|
|
59802
|
-
}, {
|
|
59803
|
-
readonly components: readonly [{
|
|
59804
|
-
readonly internalType: "address";
|
|
59805
|
-
readonly name: "tokenAddress";
|
|
59806
|
-
readonly type: "address";
|
|
59807
|
-
}, {
|
|
59808
|
-
readonly internalType: "address";
|
|
59809
|
-
readonly name: "incentiveControllerAddress";
|
|
59810
|
-
readonly type: "address";
|
|
59811
|
-
}, {
|
|
59812
|
-
readonly components: readonly [{
|
|
59813
|
-
readonly internalType: "string";
|
|
59814
|
-
readonly name: "rewardTokenSymbol";
|
|
59815
|
-
readonly type: "string";
|
|
59816
|
-
}, {
|
|
59817
|
-
readonly internalType: "address";
|
|
59818
|
-
readonly name: "rewardTokenAddress";
|
|
59819
|
-
readonly type: "address";
|
|
59820
|
-
}, {
|
|
59821
|
-
readonly internalType: "address";
|
|
59822
|
-
readonly name: "rewardOracleAddress";
|
|
59823
|
-
readonly type: "address";
|
|
59824
|
-
}, {
|
|
59825
|
-
readonly internalType: "uint256";
|
|
59826
|
-
readonly name: "emissionPerSecond";
|
|
59827
|
-
readonly type: "uint256";
|
|
59828
|
-
}, {
|
|
59829
|
-
readonly internalType: "uint256";
|
|
59830
|
-
readonly name: "incentivesLastUpdateTimestamp";
|
|
59831
|
-
readonly type: "uint256";
|
|
59832
|
-
}, {
|
|
59833
|
-
readonly internalType: "uint256";
|
|
59834
|
-
readonly name: "tokenIncentivesIndex";
|
|
59835
|
-
readonly type: "uint256";
|
|
59836
|
-
}, {
|
|
59837
|
-
readonly internalType: "uint256";
|
|
59838
|
-
readonly name: "emissionEndTimestamp";
|
|
59839
|
-
readonly type: "uint256";
|
|
59840
|
-
}, {
|
|
59841
|
-
readonly internalType: "int256";
|
|
59842
|
-
readonly name: "rewardPriceFeed";
|
|
59843
|
-
readonly type: "int256";
|
|
59844
|
-
}, {
|
|
59845
|
-
readonly internalType: "uint8";
|
|
59846
|
-
readonly name: "rewardTokenDecimals";
|
|
59847
|
-
readonly type: "uint8";
|
|
59848
|
-
}, {
|
|
59849
|
-
readonly internalType: "uint8";
|
|
59850
|
-
readonly name: "precision";
|
|
59851
|
-
readonly type: "uint8";
|
|
59852
|
-
}, {
|
|
59853
|
-
readonly internalType: "uint8";
|
|
59854
|
-
readonly name: "priceFeedDecimals";
|
|
59855
|
-
readonly type: "uint8";
|
|
59856
|
-
}];
|
|
59857
|
-
readonly internalType: "struct IUiIncentiveDataProviderV3.RewardInfo[]";
|
|
59858
|
-
readonly name: "rewardsTokenInformation";
|
|
59859
|
-
readonly type: "tuple[]";
|
|
59860
|
-
}];
|
|
59861
|
-
readonly internalType: "struct IUiIncentiveDataProviderV3.IncentiveData";
|
|
59862
|
-
readonly name: "sIncentiveData";
|
|
59863
|
-
readonly type: "tuple";
|
|
59864
60904
|
}];
|
|
59865
60905
|
readonly internalType: "struct IUiIncentiveDataProviderV3.AggregatedReserveIncentiveData[]";
|
|
59866
60906
|
readonly name: "";
|
|
@@ -59984,56 +61024,6 @@ export declare const AaveIncentiveDataProviderV3ContractViem: (client: Client, n
|
|
|
59984
61024
|
readonly internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData";
|
|
59985
61025
|
readonly name: "vTokenIncentivesUserData";
|
|
59986
61026
|
readonly type: "tuple";
|
|
59987
|
-
}, {
|
|
59988
|
-
readonly components: readonly [{
|
|
59989
|
-
readonly internalType: "address";
|
|
59990
|
-
readonly name: "tokenAddress";
|
|
59991
|
-
readonly type: "address";
|
|
59992
|
-
}, {
|
|
59993
|
-
readonly internalType: "address";
|
|
59994
|
-
readonly name: "incentiveControllerAddress";
|
|
59995
|
-
readonly type: "address";
|
|
59996
|
-
}, {
|
|
59997
|
-
readonly components: readonly [{
|
|
59998
|
-
readonly internalType: "string";
|
|
59999
|
-
readonly name: "rewardTokenSymbol";
|
|
60000
|
-
readonly type: "string";
|
|
60001
|
-
}, {
|
|
60002
|
-
readonly internalType: "address";
|
|
60003
|
-
readonly name: "rewardOracleAddress";
|
|
60004
|
-
readonly type: "address";
|
|
60005
|
-
}, {
|
|
60006
|
-
readonly internalType: "address";
|
|
60007
|
-
readonly name: "rewardTokenAddress";
|
|
60008
|
-
readonly type: "address";
|
|
60009
|
-
}, {
|
|
60010
|
-
readonly internalType: "uint256";
|
|
60011
|
-
readonly name: "userUnclaimedRewards";
|
|
60012
|
-
readonly type: "uint256";
|
|
60013
|
-
}, {
|
|
60014
|
-
readonly internalType: "uint256";
|
|
60015
|
-
readonly name: "tokenIncentivesUserIndex";
|
|
60016
|
-
readonly type: "uint256";
|
|
60017
|
-
}, {
|
|
60018
|
-
readonly internalType: "int256";
|
|
60019
|
-
readonly name: "rewardPriceFeed";
|
|
60020
|
-
readonly type: "int256";
|
|
60021
|
-
}, {
|
|
60022
|
-
readonly internalType: "uint8";
|
|
60023
|
-
readonly name: "priceFeedDecimals";
|
|
60024
|
-
readonly type: "uint8";
|
|
60025
|
-
}, {
|
|
60026
|
-
readonly internalType: "uint8";
|
|
60027
|
-
readonly name: "rewardTokenDecimals";
|
|
60028
|
-
readonly type: "uint8";
|
|
60029
|
-
}];
|
|
60030
|
-
readonly internalType: "struct IUiIncentiveDataProviderV3.UserRewardInfo[]";
|
|
60031
|
-
readonly name: "userRewardsInformation";
|
|
60032
|
-
readonly type: "tuple[]";
|
|
60033
|
-
}];
|
|
60034
|
-
readonly internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData";
|
|
60035
|
-
readonly name: "sTokenIncentivesUserData";
|
|
60036
|
-
readonly type: "tuple";
|
|
60037
61027
|
}];
|
|
60038
61028
|
readonly internalType: "struct IUiIncentiveDataProviderV3.UserReserveIncentiveData[]";
|
|
60039
61029
|
readonly name: "";
|
|
@@ -202894,7 +203884,7 @@ export declare const SparkViewContractViem: (client: Client, network: NetworkNum
|
|
|
202894
203884
|
};
|
|
202895
203885
|
export declare const SparkIncentiveDataProviderContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => {
|
|
202896
203886
|
read: {
|
|
202897
|
-
|
|
203887
|
+
getFullReservesIncentiveData: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
202898
203888
|
readonly inputs: readonly [{
|
|
202899
203889
|
readonly internalType: "contract IPoolAddressesProvider";
|
|
202900
203890
|
readonly name: "provider";
|
|
@@ -203640,7 +204630,7 @@ export declare const SparkIncentiveDataProviderContractViem: (client: Client, ne
|
|
|
203640
204630
|
}];
|
|
203641
204631
|
readonly stateMutability: "view";
|
|
203642
204632
|
readonly type: "function";
|
|
203643
|
-
}], "
|
|
204633
|
+
}], "getFullReservesIncentiveData", readonly [`0x${string}`, `0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<readonly [readonly {
|
|
203644
204634
|
underlyingAsset: `0x${string}`;
|
|
203645
204635
|
aIncentiveData: {
|
|
203646
204636
|
tokenAddress: `0x${string}`;
|
|
@@ -203693,8 +204683,52 @@ export declare const SparkIncentiveDataProviderContractViem: (client: Client, ne
|
|
|
203693
204683
|
priceFeedDecimals: number;
|
|
203694
204684
|
}[];
|
|
203695
204685
|
};
|
|
203696
|
-
}[]
|
|
203697
|
-
|
|
204686
|
+
}[], readonly {
|
|
204687
|
+
underlyingAsset: `0x${string}`;
|
|
204688
|
+
aTokenIncentivesUserData: {
|
|
204689
|
+
tokenAddress: `0x${string}`;
|
|
204690
|
+
incentiveControllerAddress: `0x${string}`;
|
|
204691
|
+
userRewardsInformation: readonly {
|
|
204692
|
+
rewardTokenSymbol: string;
|
|
204693
|
+
rewardOracleAddress: `0x${string}`;
|
|
204694
|
+
rewardTokenAddress: `0x${string}`;
|
|
204695
|
+
userUnclaimedRewards: bigint;
|
|
204696
|
+
tokenIncentivesUserIndex: bigint;
|
|
204697
|
+
rewardPriceFeed: bigint;
|
|
204698
|
+
priceFeedDecimals: number;
|
|
204699
|
+
rewardTokenDecimals: number;
|
|
204700
|
+
}[];
|
|
204701
|
+
};
|
|
204702
|
+
vTokenIncentivesUserData: {
|
|
204703
|
+
tokenAddress: `0x${string}`;
|
|
204704
|
+
incentiveControllerAddress: `0x${string}`;
|
|
204705
|
+
userRewardsInformation: readonly {
|
|
204706
|
+
rewardTokenSymbol: string;
|
|
204707
|
+
rewardOracleAddress: `0x${string}`;
|
|
204708
|
+
rewardTokenAddress: `0x${string}`;
|
|
204709
|
+
userUnclaimedRewards: bigint;
|
|
204710
|
+
tokenIncentivesUserIndex: bigint;
|
|
204711
|
+
rewardPriceFeed: bigint;
|
|
204712
|
+
priceFeedDecimals: number;
|
|
204713
|
+
rewardTokenDecimals: number;
|
|
204714
|
+
}[];
|
|
204715
|
+
};
|
|
204716
|
+
sTokenIncentivesUserData: {
|
|
204717
|
+
tokenAddress: `0x${string}`;
|
|
204718
|
+
incentiveControllerAddress: `0x${string}`;
|
|
204719
|
+
userRewardsInformation: readonly {
|
|
204720
|
+
rewardTokenSymbol: string;
|
|
204721
|
+
rewardOracleAddress: `0x${string}`;
|
|
204722
|
+
rewardTokenAddress: `0x${string}`;
|
|
204723
|
+
userUnclaimedRewards: bigint;
|
|
204724
|
+
tokenIncentivesUserIndex: bigint;
|
|
204725
|
+
rewardPriceFeed: bigint;
|
|
204726
|
+
priceFeedDecimals: number;
|
|
204727
|
+
rewardTokenDecimals: number;
|
|
204728
|
+
}[];
|
|
204729
|
+
};
|
|
204730
|
+
}[]]>;
|
|
204731
|
+
getReservesIncentivesData: (args: readonly [`0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
203698
204732
|
readonly inputs: readonly [{
|
|
203699
204733
|
readonly internalType: "contract IPoolAddressesProvider";
|
|
203700
204734
|
readonly name: "provider";
|
|
@@ -204440,52 +205474,61 @@ export declare const SparkIncentiveDataProviderContractViem: (client: Client, ne
|
|
|
204440
205474
|
}];
|
|
204441
205475
|
readonly stateMutability: "view";
|
|
204442
205476
|
readonly type: "function";
|
|
204443
|
-
}], "
|
|
205477
|
+
}], "getReservesIncentivesData", readonly [`0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<readonly {
|
|
204444
205478
|
underlyingAsset: `0x${string}`;
|
|
204445
|
-
|
|
205479
|
+
aIncentiveData: {
|
|
204446
205480
|
tokenAddress: `0x${string}`;
|
|
204447
205481
|
incentiveControllerAddress: `0x${string}`;
|
|
204448
|
-
|
|
205482
|
+
rewardsTokenInformation: readonly {
|
|
204449
205483
|
rewardTokenSymbol: string;
|
|
204450
|
-
rewardOracleAddress: `0x${string}`;
|
|
204451
205484
|
rewardTokenAddress: `0x${string}`;
|
|
204452
|
-
|
|
204453
|
-
|
|
205485
|
+
rewardOracleAddress: `0x${string}`;
|
|
205486
|
+
emissionPerSecond: bigint;
|
|
205487
|
+
incentivesLastUpdateTimestamp: bigint;
|
|
205488
|
+
tokenIncentivesIndex: bigint;
|
|
205489
|
+
emissionEndTimestamp: bigint;
|
|
204454
205490
|
rewardPriceFeed: bigint;
|
|
204455
|
-
priceFeedDecimals: number;
|
|
204456
205491
|
rewardTokenDecimals: number;
|
|
205492
|
+
precision: number;
|
|
205493
|
+
priceFeedDecimals: number;
|
|
204457
205494
|
}[];
|
|
204458
205495
|
};
|
|
204459
|
-
|
|
205496
|
+
vIncentiveData: {
|
|
204460
205497
|
tokenAddress: `0x${string}`;
|
|
204461
205498
|
incentiveControllerAddress: `0x${string}`;
|
|
204462
|
-
|
|
205499
|
+
rewardsTokenInformation: readonly {
|
|
204463
205500
|
rewardTokenSymbol: string;
|
|
204464
|
-
rewardOracleAddress: `0x${string}`;
|
|
204465
205501
|
rewardTokenAddress: `0x${string}`;
|
|
204466
|
-
|
|
204467
|
-
|
|
205502
|
+
rewardOracleAddress: `0x${string}`;
|
|
205503
|
+
emissionPerSecond: bigint;
|
|
205504
|
+
incentivesLastUpdateTimestamp: bigint;
|
|
205505
|
+
tokenIncentivesIndex: bigint;
|
|
205506
|
+
emissionEndTimestamp: bigint;
|
|
204468
205507
|
rewardPriceFeed: bigint;
|
|
204469
|
-
priceFeedDecimals: number;
|
|
204470
205508
|
rewardTokenDecimals: number;
|
|
205509
|
+
precision: number;
|
|
205510
|
+
priceFeedDecimals: number;
|
|
204471
205511
|
}[];
|
|
204472
205512
|
};
|
|
204473
|
-
|
|
205513
|
+
sIncentiveData: {
|
|
204474
205514
|
tokenAddress: `0x${string}`;
|
|
204475
205515
|
incentiveControllerAddress: `0x${string}`;
|
|
204476
|
-
|
|
205516
|
+
rewardsTokenInformation: readonly {
|
|
204477
205517
|
rewardTokenSymbol: string;
|
|
204478
|
-
rewardOracleAddress: `0x${string}`;
|
|
204479
205518
|
rewardTokenAddress: `0x${string}`;
|
|
204480
|
-
|
|
204481
|
-
|
|
205519
|
+
rewardOracleAddress: `0x${string}`;
|
|
205520
|
+
emissionPerSecond: bigint;
|
|
205521
|
+
incentivesLastUpdateTimestamp: bigint;
|
|
205522
|
+
tokenIncentivesIndex: bigint;
|
|
205523
|
+
emissionEndTimestamp: bigint;
|
|
204482
205524
|
rewardPriceFeed: bigint;
|
|
204483
|
-
priceFeedDecimals: number;
|
|
204484
205525
|
rewardTokenDecimals: number;
|
|
205526
|
+
precision: number;
|
|
205527
|
+
priceFeedDecimals: number;
|
|
204485
205528
|
}[];
|
|
204486
205529
|
};
|
|
204487
205530
|
}[]>;
|
|
204488
|
-
|
|
205531
|
+
getUserReservesIncentivesData: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
204489
205532
|
readonly inputs: readonly [{
|
|
204490
205533
|
readonly internalType: "contract IPoolAddressesProvider";
|
|
204491
205534
|
readonly name: "provider";
|
|
@@ -205231,60 +206274,7 @@ export declare const SparkIncentiveDataProviderContractViem: (client: Client, ne
|
|
|
205231
206274
|
}];
|
|
205232
206275
|
readonly stateMutability: "view";
|
|
205233
206276
|
readonly type: "function";
|
|
205234
|
-
}], "
|
|
205235
|
-
underlyingAsset: `0x${string}`;
|
|
205236
|
-
aIncentiveData: {
|
|
205237
|
-
tokenAddress: `0x${string}`;
|
|
205238
|
-
incentiveControllerAddress: `0x${string}`;
|
|
205239
|
-
rewardsTokenInformation: readonly {
|
|
205240
|
-
rewardTokenSymbol: string;
|
|
205241
|
-
rewardTokenAddress: `0x${string}`;
|
|
205242
|
-
rewardOracleAddress: `0x${string}`;
|
|
205243
|
-
emissionPerSecond: bigint;
|
|
205244
|
-
incentivesLastUpdateTimestamp: bigint;
|
|
205245
|
-
tokenIncentivesIndex: bigint;
|
|
205246
|
-
emissionEndTimestamp: bigint;
|
|
205247
|
-
rewardPriceFeed: bigint;
|
|
205248
|
-
rewardTokenDecimals: number;
|
|
205249
|
-
precision: number;
|
|
205250
|
-
priceFeedDecimals: number;
|
|
205251
|
-
}[];
|
|
205252
|
-
};
|
|
205253
|
-
vIncentiveData: {
|
|
205254
|
-
tokenAddress: `0x${string}`;
|
|
205255
|
-
incentiveControllerAddress: `0x${string}`;
|
|
205256
|
-
rewardsTokenInformation: readonly {
|
|
205257
|
-
rewardTokenSymbol: string;
|
|
205258
|
-
rewardTokenAddress: `0x${string}`;
|
|
205259
|
-
rewardOracleAddress: `0x${string}`;
|
|
205260
|
-
emissionPerSecond: bigint;
|
|
205261
|
-
incentivesLastUpdateTimestamp: bigint;
|
|
205262
|
-
tokenIncentivesIndex: bigint;
|
|
205263
|
-
emissionEndTimestamp: bigint;
|
|
205264
|
-
rewardPriceFeed: bigint;
|
|
205265
|
-
rewardTokenDecimals: number;
|
|
205266
|
-
precision: number;
|
|
205267
|
-
priceFeedDecimals: number;
|
|
205268
|
-
}[];
|
|
205269
|
-
};
|
|
205270
|
-
sIncentiveData: {
|
|
205271
|
-
tokenAddress: `0x${string}`;
|
|
205272
|
-
incentiveControllerAddress: `0x${string}`;
|
|
205273
|
-
rewardsTokenInformation: readonly {
|
|
205274
|
-
rewardTokenSymbol: string;
|
|
205275
|
-
rewardTokenAddress: `0x${string}`;
|
|
205276
|
-
rewardOracleAddress: `0x${string}`;
|
|
205277
|
-
emissionPerSecond: bigint;
|
|
205278
|
-
incentivesLastUpdateTimestamp: bigint;
|
|
205279
|
-
tokenIncentivesIndex: bigint;
|
|
205280
|
-
emissionEndTimestamp: bigint;
|
|
205281
|
-
rewardPriceFeed: bigint;
|
|
205282
|
-
rewardTokenDecimals: number;
|
|
205283
|
-
precision: number;
|
|
205284
|
-
priceFeedDecimals: number;
|
|
205285
|
-
}[];
|
|
205286
|
-
};
|
|
205287
|
-
}[], readonly {
|
|
206277
|
+
}], "getUserReservesIncentivesData", readonly [`0x${string}`, `0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<readonly {
|
|
205288
206278
|
underlyingAsset: `0x${string}`;
|
|
205289
206279
|
aTokenIncentivesUserData: {
|
|
205290
206280
|
tokenAddress: `0x${string}`;
|
|
@@ -205328,7 +206318,7 @@ export declare const SparkIncentiveDataProviderContractViem: (client: Client, ne
|
|
|
205328
206318
|
rewardTokenDecimals: number;
|
|
205329
206319
|
}[];
|
|
205330
206320
|
};
|
|
205331
|
-
}[]
|
|
206321
|
+
}[]>;
|
|
205332
206322
|
};
|
|
205333
206323
|
address: `0x${string}`;
|
|
205334
206324
|
abi: readonly [{
|