@aave/graphql 3.1.0 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +85 -51
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +231 -7
- package/dist/index.d.ts +231 -7
- package/dist/index.js +85 -51
- package/dist/index.js.map +1 -1
- package/dist/schema.cjs +1 -1
- package/dist/schema.cjs.map +1 -1
- package/dist/schema.js +1 -1
- package/dist/schema.js.map +1 -1
- package/dist/testing.d.ts +37 -5
- package/dist/testing.js +2 -2
- package/dist/testing.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -411,6 +411,7 @@ type introspection_types = {
|
|
|
411
411
|
'Mutation': { kind: 'OBJECT'; name: 'Mutation'; fields: { 'cancelSwap': { name: 'cancelSwap'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'CancelSwapExecutionPlan'; ofType: null; }; } }; 'forkTopUp': { name: 'forkTopUp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ForkTopUpResponse'; ofType: null; }; } }; 'stableVaultWithdrawRedeem': { name: 'stableVaultWithdrawRedeem'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'StableVaultWithdrawRedeemExecutionPlan'; ofType: null; }; } }; 'swap': { name: 'swap'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'SwapExecutionPlan'; ofType: null; }; } }; }; };
|
|
412
412
|
'NativeAmount': { kind: 'OBJECT'; name: 'NativeAmount'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DecimalNumber'; ofType: null; }; } }; 'exchange': { name: 'exchange'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'exchangeRate': { name: 'exchangeRate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DecimalNumber'; ofType: null; }; } }; 'token': { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'NativeToken'; ofType: null; }; } }; }; };
|
|
413
413
|
'NativeToken': { kind: 'OBJECT'; name: 'NativeToken'; fields: { 'chain': { name: 'chain'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Chain'; ofType: null; }; } }; 'info': { name: 'info'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenInfo'; ofType: null; }; } }; }; };
|
|
414
|
+
'NetApyBreakdown': { kind: 'OBJECT'; name: 'NetApyBreakdown'; fields: { 'base': { name: 'base'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'rewards': { name: 'rewards'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'total': { name: 'total'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'underlying': { name: 'underlying'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; }; };
|
|
414
415
|
'OnChainHubAssetId': unknown;
|
|
415
416
|
'OnChainReserveId': unknown;
|
|
416
417
|
'OperationType': { name: 'OperationType'; enumValues: 'SPOKE_BORROW' | 'SPOKE_REPAY' | 'SPOKE_SUPPLY' | 'SPOKE_WITHDRAW' | 'SPOKE_UPDATE_USER_RISK_PREMIUM' | 'SPOKE_UPDATE_USER_DYNAMIC_CONFIG' | 'SPOKE_SET_USER_USING_AS_COLLATERAL' | 'SPOKE_SET_USER_POSITION_MANAGER' | 'RENOUNCE_SPOKE_USER_POSITION_MANAGER' | 'LIQUIDATION'; };
|
|
@@ -488,7 +489,7 @@ type introspection_types = {
|
|
|
488
489
|
'ReserveReward': { kind: 'OBJECT'; name: 'ReserveReward'; fields: { 'reserve': { name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ReserveInfo'; ofType: null; }; } }; 'reward': { name: 'reward'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'Reward'; ofType: null; }; } }; }; };
|
|
489
490
|
'ReserveSettings': { kind: 'OBJECT'; name: 'ReserveSettings'; fields: { 'borrowCap': { name: 'borrowCap'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'borrowable': { name: 'borrowable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'collateral': { name: 'collateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'collateralFactor': { name: 'collateralFactor'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'collateralRisk': { name: 'collateralRisk'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'latestDynamicConfigKey': { name: 'latestDynamicConfigKey'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DynamicConfigKey'; ofType: null; }; } }; 'liquidationFee': { name: 'liquidationFee'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'maxLiquidationBonus': { name: 'maxLiquidationBonus'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'receiveSharesEnabled': { name: 'receiveSharesEnabled'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'suppliable': { name: 'suppliable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'supplyCap': { name: 'supplyCap'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; }; };
|
|
490
491
|
'ReserveStatus': { kind: 'OBJECT'; name: 'ReserveStatus'; fields: { 'active': { name: 'active'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'frozen': { name: 'frozen'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'paused': { name: 'paused'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; }; };
|
|
491
|
-
'ReserveSummary': { kind: 'OBJECT'; name: 'ReserveSummary'; fields: { 'borrowApy': { name: 'borrowApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'borrowable': { name: 'borrowable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'borrowed': { name: 'borrowed'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'rewards': { name: 'rewards'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'Reward'; ofType: null; }; }; }; } }; 'suppliable': { name: 'suppliable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'supplied': { name: 'supplied'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'supplyApy': { name: 'supplyApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; }; };
|
|
492
|
+
'ReserveSummary': { kind: 'OBJECT'; name: 'ReserveSummary'; fields: { 'borrowApy': { name: 'borrowApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'borrowable': { name: 'borrowable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'borrowed': { name: 'borrowed'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'rewards': { name: 'rewards'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'Reward'; ofType: null; }; }; }; } }; 'suppliable': { name: 'suppliable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'supplied': { name: 'supplied'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'supplyApy': { name: 'supplyApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'underlyingApy': { name: 'underlyingApy'; type: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; } }; }; };
|
|
492
493
|
'ReserveUserState': { kind: 'OBJECT'; name: 'ReserveUserState'; fields: { 'balance': { name: 'balance'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'borrowApy': { name: 'borrowApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'borrowable': { name: 'borrowable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'collateralFactor': { name: 'collateralFactor'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'dynamicConfigKey': { name: 'dynamicConfigKey'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DynamicConfigKey'; ofType: null; }; } }; 'liquidationFee': { name: 'liquidationFee'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'maxLiquidationBonus': { name: 'maxLiquidationBonus'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'suppliable': { name: 'suppliable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; }; };
|
|
493
494
|
'ReservesRequest': { kind: 'INPUT_OBJECT'; name: 'ReservesRequest'; isOneOf: false; inputFields: [{ name: 'query'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'ReservesRequestQuery'; ofType: null; }; }; defaultValue: null }, { name: 'user'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'filter'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ReservesRequestFilter'; ofType: null; }; }; defaultValue: "ALL" }, { name: 'orderBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'ReservesRequestOrderBy'; ofType: null; }; }; defaultValue: "{assetName: ASC}" }]; };
|
|
494
495
|
'ReservesRequestFilter': { name: 'ReservesRequestFilter'; enumValues: 'SUPPLY' | 'BORROW' | 'COLLATERAL' | 'ALL'; };
|
|
@@ -636,11 +637,11 @@ type introspection_types = {
|
|
|
636
637
|
'UserBorrowsRequestQuery': { kind: 'INPUT_OBJECT'; name: 'UserBorrowsRequestQuery'; isOneOf: true; inputFields: [{ name: 'userSpoke'; type: { kind: 'INPUT_OBJECT'; name: 'UserSpokeInput'; ofType: null; }; defaultValue: null }, { name: 'userToken'; type: { kind: 'INPUT_OBJECT'; name: 'UserToken'; ofType: null; }; defaultValue: null }, { name: 'userTokenInfo'; type: { kind: 'INPUT_OBJECT'; name: 'UserTokenInfo'; ofType: null; }; defaultValue: null }, { name: 'userSymbol'; type: { kind: 'INPUT_OBJECT'; name: 'UserSymbol'; ofType: null; }; defaultValue: null }, { name: 'userPositionId'; type: { kind: 'SCALAR'; name: 'UserPositionId'; ofType: null; }; defaultValue: null }, { name: 'userChains'; type: { kind: 'INPUT_OBJECT'; name: 'UserChains'; ofType: null; }; defaultValue: null }, { name: 'userHub'; type: { kind: 'INPUT_OBJECT'; name: 'UserHub'; ofType: null; }; defaultValue: null }]; };
|
|
637
638
|
'UserChains': { kind: 'INPUT_OBJECT'; name: 'UserChains'; isOneOf: false; inputFields: [{ name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'chainIds'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; }; }; defaultValue: null }]; };
|
|
638
639
|
'UserClaimableReward': { kind: 'UNION'; name: 'UserClaimableReward'; fields: {}; possibleTypes: 'UserMerklClaimableReward'; };
|
|
639
|
-
'UserClaimableRewardsRequest': { kind: 'INPUT_OBJECT'; name: 'UserClaimableRewardsRequest'; isOneOf: false; inputFields: [{ name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }]; };
|
|
640
|
+
'UserClaimableRewardsRequest': { kind: 'INPUT_OBJECT'; name: 'UserClaimableRewardsRequest'; isOneOf: false; inputFields: [{ name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; defaultValue: null }, { name: 'chainIds'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; }; defaultValue: null }]; };
|
|
640
641
|
'UserHub': { kind: 'INPUT_OBJECT'; name: 'UserHub'; isOneOf: false; inputFields: [{ name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'hub'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'UserHubInput'; ofType: null; }; }; defaultValue: null }]; };
|
|
641
642
|
'UserHubInput': { kind: 'INPUT_OBJECT'; name: 'UserHubInput'; isOneOf: true; inputFields: [{ name: 'input'; type: { kind: 'INPUT_OBJECT'; name: 'HubInput'; ofType: null; }; defaultValue: null }, { name: 'id'; type: { kind: 'SCALAR'; name: 'HubId'; ofType: null; }; defaultValue: null }]; };
|
|
642
|
-
'UserMerklClaimableReward': { kind: 'OBJECT'; name: 'UserMerklClaimableReward'; fields: { 'claimUntil': { name: 'claimUntil'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'claimable': { name: 'claimable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'endDate': { name: 'endDate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'RewardId'; ofType: null; }; } }; 'startDate': { name: 'startDate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; };
|
|
643
|
-
'UserPosition': { kind: 'OBJECT'; name: 'UserPosition'; fields: { 'averageCollateralFactor': { name: 'averageCollateralFactor'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'canUpdateDynamicConfig': { name: 'canUpdateDynamicConfig'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'createdAt': { name: 'createdAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'healthFactor': { name: 'healthFactor'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'HealthFactorWithChange'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UserPositionId'; ofType: null; }; } }; 'liquidationPrice': { name: 'liquidationPrice'; type: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; } }; 'maxBorrowingPower': { name: 'maxBorrowingPower'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'netAccruedInterest': { name: 'netAccruedInterest'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'netApy': { name: 'netApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'netBalance': { name: 'netBalance'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountWithChange'; ofType: null; }; } }; 'netBalancePercentChange': { name: 'netBalancePercentChange'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'netBorrowApy': { name: 'netBorrowApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumberWithChange'; ofType: null; }; } }; 'netCollateral': { name: 'netCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountWithChange'; ofType: null; }; } }; 'netSupplyApy': { name: 'netSupplyApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumberWithChange'; ofType: null; }; } }; 'remainingBorrowingPower': { name: 'remainingBorrowingPower'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'riskPremium': { name: 'riskPremium'; type: { kind: 'OBJECT'; name: 'UserPositionRiskPremium'; ofType: null; } }; 'spoke': { name: 'spoke'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Spoke'; ofType: null; }; } }; 'totalCollateral': { name: 'totalCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountWithChange'; ofType: null; }; } }; 'totalDebt': { name: 'totalDebt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountWithChange'; ofType: null; }; } }; 'totalSupplied': { name: 'totalSupplied'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountWithChange'; ofType: null; }; } }; 'user': { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; };
|
|
643
|
+
'UserMerklClaimableReward': { kind: 'OBJECT'; name: 'UserMerklClaimableReward'; fields: { 'claimChainId': { name: 'claimChainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; } }; 'claimUntil': { name: 'claimUntil'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'claimable': { name: 'claimable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'endDate': { name: 'endDate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'RewardId'; ofType: null; }; } }; 'startDate': { name: 'startDate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; };
|
|
644
|
+
'UserPosition': { kind: 'OBJECT'; name: 'UserPosition'; fields: { 'averageCollateralFactor': { name: 'averageCollateralFactor'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'canUpdateDynamicConfig': { name: 'canUpdateDynamicConfig'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'createdAt': { name: 'createdAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'healthFactor': { name: 'healthFactor'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'HealthFactorWithChange'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UserPositionId'; ofType: null; }; } }; 'liquidationPrice': { name: 'liquidationPrice'; type: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; } }; 'maxBorrowingPower': { name: 'maxBorrowingPower'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'netAccruedInterest': { name: 'netAccruedInterest'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'netApy': { name: 'netApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'netApyBreakdown': { name: 'netApyBreakdown'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'NetApyBreakdown'; ofType: null; }; } }; 'netBalance': { name: 'netBalance'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountWithChange'; ofType: null; }; } }; 'netBalancePercentChange': { name: 'netBalancePercentChange'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'netBorrowApy': { name: 'netBorrowApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumberWithChange'; ofType: null; }; } }; 'netCollateral': { name: 'netCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountWithChange'; ofType: null; }; } }; 'netSupplyApy': { name: 'netSupplyApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumberWithChange'; ofType: null; }; } }; 'remainingBorrowingPower': { name: 'remainingBorrowingPower'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'riskPremium': { name: 'riskPremium'; type: { kind: 'OBJECT'; name: 'UserPositionRiskPremium'; ofType: null; } }; 'spoke': { name: 'spoke'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Spoke'; ofType: null; }; } }; 'totalCollateral': { name: 'totalCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountWithChange'; ofType: null; }; } }; 'totalDebt': { name: 'totalDebt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountWithChange'; ofType: null; }; } }; 'totalSupplied': { name: 'totalSupplied'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountWithChange'; ofType: null; }; } }; 'user': { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; };
|
|
644
645
|
'UserPositionConditionVariation': { kind: 'UNION'; name: 'UserPositionConditionVariation'; fields: {}; possibleTypes: 'CollateralFactorVariation' | 'LiquidationFeeVariation' | 'MaxLiquidationBonusVariation'; };
|
|
645
646
|
'UserPositionConditionsUpdate': { name: 'UserPositionConditionsUpdate'; enumValues: 'ALL_DYNAMIC_CONFIG' | 'JUST_RISK_PREMIUM'; };
|
|
646
647
|
'UserPositionId': unknown;
|
|
@@ -653,7 +654,7 @@ type introspection_types = {
|
|
|
653
654
|
'UserRiskPremiumBreakdownRequest': { kind: 'INPUT_OBJECT'; name: 'UserRiskPremiumBreakdownRequest'; isOneOf: false; inputFields: [{ name: 'query'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'UserRiskPremiumBreakdownRequestQuery'; ofType: null; }; }; defaultValue: null }, { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; };
|
|
654
655
|
'UserRiskPremiumBreakdownRequestQuery': { kind: 'INPUT_OBJECT'; name: 'UserRiskPremiumBreakdownRequestQuery'; isOneOf: true; inputFields: [{ name: 'userSpoke'; type: { kind: 'INPUT_OBJECT'; name: 'UserSpokeInput'; ofType: null; }; defaultValue: null }, { name: 'userPositionId'; type: { kind: 'SCALAR'; name: 'UserPositionId'; ofType: null; }; defaultValue: null }]; };
|
|
655
656
|
'UserSpokeInput': { kind: 'INPUT_OBJECT'; name: 'UserSpokeInput'; isOneOf: false; inputFields: [{ name: 'spoke'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SpokeId'; ofType: null; }; }; defaultValue: null }, { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; };
|
|
656
|
-
'UserSummary': { kind: 'OBJECT'; name: 'UserSummary'; fields: { 'lowestHealthFactor': { name: 'lowestHealthFactor'; type: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; } }; 'netAccruedInterest': { name: 'netAccruedInterest'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'netApy': { name: 'netApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'netBalance': { name: 'netBalance'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountWithChange'; ofType: null; }; } }; 'totalCollateral': { name: 'totalCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'totalDebt': { name: 'totalDebt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'totalPositions': { name: 'totalPositions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'totalSupplied': { name: 'totalSupplied'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; }; };
|
|
657
|
+
'UserSummary': { kind: 'OBJECT'; name: 'UserSummary'; fields: { 'lowestHealthFactor': { name: 'lowestHealthFactor'; type: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; } }; 'netAccruedInterest': { name: 'netAccruedInterest'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'netApy': { name: 'netApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'netApyBreakdown': { name: 'netApyBreakdown'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'NetApyBreakdown'; ofType: null; }; } }; 'netBalance': { name: 'netBalance'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountWithChange'; ofType: null; }; } }; 'totalCollateral': { name: 'totalCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'totalDebt': { name: 'totalDebt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'totalPositions': { name: 'totalPositions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'totalSupplied': { name: 'totalSupplied'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; }; };
|
|
657
658
|
'UserSummaryFilter': { kind: 'INPUT_OBJECT'; name: 'UserSummaryFilter'; isOneOf: true; inputFields: [{ name: 'spoke'; type: { kind: 'INPUT_OBJECT'; name: 'SpokeInput'; ofType: null; }; defaultValue: null }, { name: 'spokeId'; type: { kind: 'SCALAR'; name: 'SpokeId'; ofType: null; }; defaultValue: null }, { name: 'chainIds'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; }; defaultValue: null }, { name: 'userPositionId'; type: { kind: 'SCALAR'; name: 'UserPositionId'; ofType: null; }; defaultValue: null }]; };
|
|
658
659
|
'UserSummaryHistoryItem': { kind: 'OBJECT'; name: 'UserSummaryHistoryItem'; fields: { 'borrows': { name: 'borrows'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'date': { name: 'date'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'healthFactor': { name: 'healthFactor'; type: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; } }; 'netBalance': { name: 'netBalance'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'supplies': { name: 'supplies'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; }; };
|
|
659
660
|
'UserSummaryHistoryRequest': { kind: 'INPUT_OBJECT'; name: 'UserSummaryHistoryRequest'; isOneOf: false; inputFields: [{ name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'filter'; type: { kind: 'INPUT_OBJECT'; name: 'UserSummaryFilter'; ofType: null; }; defaultValue: null }, { name: 'window'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TimeWindow'; ofType: null; }; }; defaultValue: "LAST_DAY" }]; };
|
|
@@ -3188,6 +3189,13 @@ declare const ReserveSummaryFragment: gql_tada.TadaDocumentNode<{
|
|
|
3188
3189
|
value: _aave_types.BigDecimal;
|
|
3189
3190
|
normalized: _aave_types.BigDecimal;
|
|
3190
3191
|
};
|
|
3192
|
+
underlyingApy: {
|
|
3193
|
+
__typename: "PercentNumber";
|
|
3194
|
+
onChainValue: bigint;
|
|
3195
|
+
decimals: number;
|
|
3196
|
+
value: _aave_types.BigDecimal;
|
|
3197
|
+
normalized: _aave_types.BigDecimal;
|
|
3198
|
+
} | null;
|
|
3191
3199
|
rewards: ({
|
|
3192
3200
|
__typename: "MerklSupplyReward";
|
|
3193
3201
|
id: RewardId;
|
|
@@ -4392,6 +4400,13 @@ declare const ReserveFragment: gql_tada.TadaDocumentNode<{
|
|
|
4392
4400
|
value: _aave_types.BigDecimal;
|
|
4393
4401
|
normalized: _aave_types.BigDecimal;
|
|
4394
4402
|
};
|
|
4403
|
+
underlyingApy: {
|
|
4404
|
+
__typename: "PercentNumber";
|
|
4405
|
+
onChainValue: bigint;
|
|
4406
|
+
decimals: number;
|
|
4407
|
+
value: _aave_types.BigDecimal;
|
|
4408
|
+
normalized: _aave_types.BigDecimal;
|
|
4409
|
+
} | null;
|
|
4395
4410
|
rewards: ({
|
|
4396
4411
|
__typename: "MerklSupplyReward";
|
|
4397
4412
|
id: RewardId;
|
|
@@ -6607,6 +6622,7 @@ declare const RewardFragment: FragmentDocumentFor<Reward, 'Reward'>;
|
|
|
6607
6622
|
declare const UserMerklClaimableRewardFragment: gql_tada.TadaDocumentNode<{
|
|
6608
6623
|
__typename: "UserMerklClaimableReward";
|
|
6609
6624
|
id: RewardId;
|
|
6625
|
+
claimChainId: _aave_types.ChainId;
|
|
6610
6626
|
claimable: {
|
|
6611
6627
|
__typename: "Erc20Amount";
|
|
6612
6628
|
token: {
|
|
@@ -99366,6 +99382,13 @@ declare const UserSupplyItemFragment: gql_tada.TadaDocumentNode<{
|
|
|
99366
99382
|
value: _aave_types.BigDecimal;
|
|
99367
99383
|
normalized: _aave_types.BigDecimal;
|
|
99368
99384
|
};
|
|
99385
|
+
underlyingApy: {
|
|
99386
|
+
__typename: "PercentNumber";
|
|
99387
|
+
onChainValue: bigint;
|
|
99388
|
+
decimals: number;
|
|
99389
|
+
value: _aave_types.BigDecimal;
|
|
99390
|
+
normalized: _aave_types.BigDecimal;
|
|
99391
|
+
} | null;
|
|
99369
99392
|
rewards: ({
|
|
99370
99393
|
__typename: "MerklSupplyReward";
|
|
99371
99394
|
id: RewardId;
|
|
@@ -101772,6 +101795,13 @@ declare const UserBorrowItemFragment: gql_tada.TadaDocumentNode<{
|
|
|
101772
101795
|
value: _aave_types.BigDecimal;
|
|
101773
101796
|
normalized: _aave_types.BigDecimal;
|
|
101774
101797
|
};
|
|
101798
|
+
underlyingApy: {
|
|
101799
|
+
__typename: "PercentNumber";
|
|
101800
|
+
onChainValue: bigint;
|
|
101801
|
+
decimals: number;
|
|
101802
|
+
value: _aave_types.BigDecimal;
|
|
101803
|
+
normalized: _aave_types.BigDecimal;
|
|
101804
|
+
} | null;
|
|
101775
101805
|
rewards: ({
|
|
101776
101806
|
__typename: "MerklSupplyReward";
|
|
101777
101807
|
id: RewardId;
|
|
@@ -103166,6 +103196,37 @@ declare const UserSummaryFragment: gql_tada.TadaDocumentNode<{
|
|
|
103166
103196
|
value: _aave_types.BigDecimal;
|
|
103167
103197
|
normalized: _aave_types.BigDecimal;
|
|
103168
103198
|
};
|
|
103199
|
+
netApyBreakdown: {
|
|
103200
|
+
__typename: "NetApyBreakdown";
|
|
103201
|
+
base: {
|
|
103202
|
+
__typename: "PercentNumber";
|
|
103203
|
+
onChainValue: bigint;
|
|
103204
|
+
decimals: number;
|
|
103205
|
+
value: _aave_types.BigDecimal;
|
|
103206
|
+
normalized: _aave_types.BigDecimal;
|
|
103207
|
+
};
|
|
103208
|
+
rewards: {
|
|
103209
|
+
__typename: "PercentNumber";
|
|
103210
|
+
onChainValue: bigint;
|
|
103211
|
+
decimals: number;
|
|
103212
|
+
value: _aave_types.BigDecimal;
|
|
103213
|
+
normalized: _aave_types.BigDecimal;
|
|
103214
|
+
};
|
|
103215
|
+
underlying: {
|
|
103216
|
+
__typename: "PercentNumber";
|
|
103217
|
+
onChainValue: bigint;
|
|
103218
|
+
decimals: number;
|
|
103219
|
+
value: _aave_types.BigDecimal;
|
|
103220
|
+
normalized: _aave_types.BigDecimal;
|
|
103221
|
+
};
|
|
103222
|
+
total: {
|
|
103223
|
+
__typename: "PercentNumber";
|
|
103224
|
+
onChainValue: bigint;
|
|
103225
|
+
decimals: number;
|
|
103226
|
+
value: _aave_types.BigDecimal;
|
|
103227
|
+
normalized: _aave_types.BigDecimal;
|
|
103228
|
+
};
|
|
103229
|
+
};
|
|
103169
103230
|
netAccruedInterest: {
|
|
103170
103231
|
__typename: "ExchangeAmount";
|
|
103171
103232
|
value: _aave_types.BigDecimal;
|
|
@@ -103650,6 +103711,37 @@ declare const UserPositionFragment: gql_tada.TadaDocumentNode<{
|
|
|
103650
103711
|
normalized: _aave_types.BigDecimal;
|
|
103651
103712
|
};
|
|
103652
103713
|
};
|
|
103714
|
+
netApyBreakdown: {
|
|
103715
|
+
__typename: "NetApyBreakdown";
|
|
103716
|
+
base: {
|
|
103717
|
+
__typename: "PercentNumber";
|
|
103718
|
+
onChainValue: bigint;
|
|
103719
|
+
decimals: number;
|
|
103720
|
+
value: _aave_types.BigDecimal;
|
|
103721
|
+
normalized: _aave_types.BigDecimal;
|
|
103722
|
+
};
|
|
103723
|
+
rewards: {
|
|
103724
|
+
__typename: "PercentNumber";
|
|
103725
|
+
onChainValue: bigint;
|
|
103726
|
+
decimals: number;
|
|
103727
|
+
value: _aave_types.BigDecimal;
|
|
103728
|
+
normalized: _aave_types.BigDecimal;
|
|
103729
|
+
};
|
|
103730
|
+
underlying: {
|
|
103731
|
+
__typename: "PercentNumber";
|
|
103732
|
+
onChainValue: bigint;
|
|
103733
|
+
decimals: number;
|
|
103734
|
+
value: _aave_types.BigDecimal;
|
|
103735
|
+
normalized: _aave_types.BigDecimal;
|
|
103736
|
+
};
|
|
103737
|
+
total: {
|
|
103738
|
+
__typename: "PercentNumber";
|
|
103739
|
+
onChainValue: bigint;
|
|
103740
|
+
decimals: number;
|
|
103741
|
+
value: _aave_types.BigDecimal;
|
|
103742
|
+
normalized: _aave_types.BigDecimal;
|
|
103743
|
+
};
|
|
103744
|
+
};
|
|
103653
103745
|
healthFactor: {
|
|
103654
103746
|
__typename: "HealthFactorWithChange";
|
|
103655
103747
|
current: _aave_types.BigDecimal | null;
|
|
@@ -112360,6 +112452,13 @@ declare const ReserveQuery: gql_tada.TadaDocumentNode<{
|
|
|
112360
112452
|
value: _aave_types.BigDecimal;
|
|
112361
112453
|
normalized: _aave_types.BigDecimal;
|
|
112362
112454
|
};
|
|
112455
|
+
underlyingApy: {
|
|
112456
|
+
__typename: "PercentNumber";
|
|
112457
|
+
onChainValue: bigint;
|
|
112458
|
+
decimals: number;
|
|
112459
|
+
value: _aave_types.BigDecimal;
|
|
112460
|
+
normalized: _aave_types.BigDecimal;
|
|
112461
|
+
} | null;
|
|
112363
112462
|
rewards: ({
|
|
112364
112463
|
__typename: "MerklSupplyReward";
|
|
112365
112464
|
id: RewardId;
|
|
@@ -114277,6 +114376,13 @@ declare const ReservesQuery: gql_tada.TadaDocumentNode<{
|
|
|
114277
114376
|
value: _aave_types.BigDecimal;
|
|
114278
114377
|
normalized: _aave_types.BigDecimal;
|
|
114279
114378
|
};
|
|
114379
|
+
underlyingApy: {
|
|
114380
|
+
__typename: "PercentNumber";
|
|
114381
|
+
onChainValue: bigint;
|
|
114382
|
+
decimals: number;
|
|
114383
|
+
value: _aave_types.BigDecimal;
|
|
114384
|
+
normalized: _aave_types.BigDecimal;
|
|
114385
|
+
} | null;
|
|
114280
114386
|
rewards: ({
|
|
114281
114387
|
__typename: "MerklSupplyReward";
|
|
114282
114388
|
id: RewardId;
|
|
@@ -115838,6 +115944,7 @@ declare const UserClaimableRewardsQuery: gql_tada.TadaDocumentNode<{
|
|
|
115838
115944
|
value: ({
|
|
115839
115945
|
__typename: "UserMerklClaimableReward";
|
|
115840
115946
|
id: RewardId;
|
|
115947
|
+
claimChainId: _aave_types.ChainId;
|
|
115841
115948
|
claimable: {
|
|
115842
115949
|
__typename: "Erc20Amount";
|
|
115843
115950
|
token: {
|
|
@@ -115917,6 +116024,7 @@ declare const UserClaimableRewardsQuery: gql_tada.TadaDocumentNode<{
|
|
|
115917
116024
|
id: RewardId;
|
|
115918
116025
|
startDate: Date;
|
|
115919
116026
|
endDate: Date;
|
|
116027
|
+
claimChainId: _aave_types.ChainId;
|
|
115920
116028
|
claimable: {
|
|
115921
116029
|
__typename: "Erc20Amount";
|
|
115922
116030
|
token: {
|
|
@@ -115993,11 +116101,20 @@ declare const UserClaimableRewardsQuery: gql_tada.TadaDocumentNode<{
|
|
|
115993
116101
|
}, {
|
|
115994
116102
|
currency?: Currency | undefined;
|
|
115995
116103
|
request: {
|
|
115996
|
-
|
|
116104
|
+
chainIds?: _aave_types.ChainId[] | null | undefined;
|
|
116105
|
+
chainId?: _aave_types.ChainId | null | undefined;
|
|
115997
116106
|
user: _aave_types.EvmAddress;
|
|
115998
116107
|
};
|
|
115999
116108
|
}, void>;
|
|
116000
|
-
type
|
|
116109
|
+
type UserClaimableRewardsRequestInput = RequestOf<typeof UserClaimableRewardsQuery>;
|
|
116110
|
+
type UserClaimableRewardsRequestBase = Omit<UserClaimableRewardsRequestInput, 'chainId' | 'chainIds'>;
|
|
116111
|
+
type UserClaimableRewardsRequest = (UserClaimableRewardsRequestBase & {
|
|
116112
|
+
chainId: NonNullable<UserClaimableRewardsRequestInput['chainId']>;
|
|
116113
|
+
chainIds?: never;
|
|
116114
|
+
}) | (UserClaimableRewardsRequestBase & {
|
|
116115
|
+
chainId?: never;
|
|
116116
|
+
chainIds: NonNullable<UserClaimableRewardsRequestInput['chainIds']>;
|
|
116117
|
+
});
|
|
116001
116118
|
|
|
116002
116119
|
/**
|
|
116003
116120
|
* @internal
|
|
@@ -228455,6 +228572,13 @@ declare const UserSuppliesQuery: gql_tada.TadaDocumentNode<{
|
|
|
228455
228572
|
value: _aave_types.BigDecimal;
|
|
228456
228573
|
normalized: _aave_types.BigDecimal;
|
|
228457
228574
|
};
|
|
228575
|
+
underlyingApy: {
|
|
228576
|
+
__typename: "PercentNumber";
|
|
228577
|
+
onChainValue: bigint;
|
|
228578
|
+
decimals: number;
|
|
228579
|
+
value: _aave_types.BigDecimal;
|
|
228580
|
+
normalized: _aave_types.BigDecimal;
|
|
228581
|
+
} | null;
|
|
228458
228582
|
rewards: ({
|
|
228459
228583
|
__typename: "MerklSupplyReward";
|
|
228460
228584
|
id: RewardId;
|
|
@@ -230921,6 +231045,13 @@ declare const UserBorrowsQuery: gql_tada.TadaDocumentNode<{
|
|
|
230921
231045
|
value: _aave_types.BigDecimal;
|
|
230922
231046
|
normalized: _aave_types.BigDecimal;
|
|
230923
231047
|
};
|
|
231048
|
+
underlyingApy: {
|
|
231049
|
+
__typename: "PercentNumber";
|
|
231050
|
+
onChainValue: bigint;
|
|
231051
|
+
decimals: number;
|
|
231052
|
+
value: _aave_types.BigDecimal;
|
|
231053
|
+
normalized: _aave_types.BigDecimal;
|
|
231054
|
+
} | null;
|
|
230924
231055
|
rewards: ({
|
|
230925
231056
|
__typename: "MerklSupplyReward";
|
|
230926
231057
|
id: RewardId;
|
|
@@ -232375,6 +232506,37 @@ declare const UserSummaryQuery: gql_tada.TadaDocumentNode<{
|
|
|
232375
232506
|
value: _aave_types.BigDecimal;
|
|
232376
232507
|
normalized: _aave_types.BigDecimal;
|
|
232377
232508
|
};
|
|
232509
|
+
netApyBreakdown: {
|
|
232510
|
+
__typename: "NetApyBreakdown";
|
|
232511
|
+
base: {
|
|
232512
|
+
__typename: "PercentNumber";
|
|
232513
|
+
onChainValue: bigint;
|
|
232514
|
+
decimals: number;
|
|
232515
|
+
value: _aave_types.BigDecimal;
|
|
232516
|
+
normalized: _aave_types.BigDecimal;
|
|
232517
|
+
};
|
|
232518
|
+
rewards: {
|
|
232519
|
+
__typename: "PercentNumber";
|
|
232520
|
+
onChainValue: bigint;
|
|
232521
|
+
decimals: number;
|
|
232522
|
+
value: _aave_types.BigDecimal;
|
|
232523
|
+
normalized: _aave_types.BigDecimal;
|
|
232524
|
+
};
|
|
232525
|
+
underlying: {
|
|
232526
|
+
__typename: "PercentNumber";
|
|
232527
|
+
onChainValue: bigint;
|
|
232528
|
+
decimals: number;
|
|
232529
|
+
value: _aave_types.BigDecimal;
|
|
232530
|
+
normalized: _aave_types.BigDecimal;
|
|
232531
|
+
};
|
|
232532
|
+
total: {
|
|
232533
|
+
__typename: "PercentNumber";
|
|
232534
|
+
onChainValue: bigint;
|
|
232535
|
+
decimals: number;
|
|
232536
|
+
value: _aave_types.BigDecimal;
|
|
232537
|
+
normalized: _aave_types.BigDecimal;
|
|
232538
|
+
};
|
|
232539
|
+
};
|
|
232378
232540
|
netAccruedInterest: {
|
|
232379
232541
|
__typename: "ExchangeAmount";
|
|
232380
232542
|
value: _aave_types.BigDecimal;
|
|
@@ -232779,6 +232941,37 @@ declare const UserPositionsQuery: gql_tada.TadaDocumentNode<{
|
|
|
232779
232941
|
normalized: _aave_types.BigDecimal;
|
|
232780
232942
|
};
|
|
232781
232943
|
};
|
|
232944
|
+
netApyBreakdown: {
|
|
232945
|
+
__typename: "NetApyBreakdown";
|
|
232946
|
+
base: {
|
|
232947
|
+
__typename: "PercentNumber";
|
|
232948
|
+
onChainValue: bigint;
|
|
232949
|
+
decimals: number;
|
|
232950
|
+
value: _aave_types.BigDecimal;
|
|
232951
|
+
normalized: _aave_types.BigDecimal;
|
|
232952
|
+
};
|
|
232953
|
+
rewards: {
|
|
232954
|
+
__typename: "PercentNumber";
|
|
232955
|
+
onChainValue: bigint;
|
|
232956
|
+
decimals: number;
|
|
232957
|
+
value: _aave_types.BigDecimal;
|
|
232958
|
+
normalized: _aave_types.BigDecimal;
|
|
232959
|
+
};
|
|
232960
|
+
underlying: {
|
|
232961
|
+
__typename: "PercentNumber";
|
|
232962
|
+
onChainValue: bigint;
|
|
232963
|
+
decimals: number;
|
|
232964
|
+
value: _aave_types.BigDecimal;
|
|
232965
|
+
normalized: _aave_types.BigDecimal;
|
|
232966
|
+
};
|
|
232967
|
+
total: {
|
|
232968
|
+
__typename: "PercentNumber";
|
|
232969
|
+
onChainValue: bigint;
|
|
232970
|
+
decimals: number;
|
|
232971
|
+
value: _aave_types.BigDecimal;
|
|
232972
|
+
normalized: _aave_types.BigDecimal;
|
|
232973
|
+
};
|
|
232974
|
+
};
|
|
232782
232975
|
healthFactor: {
|
|
232783
232976
|
__typename: "HealthFactorWithChange";
|
|
232784
232977
|
current: _aave_types.BigDecimal | null;
|
|
@@ -233248,6 +233441,37 @@ declare const UserPositionQuery: gql_tada.TadaDocumentNode<{
|
|
|
233248
233441
|
normalized: _aave_types.BigDecimal;
|
|
233249
233442
|
};
|
|
233250
233443
|
};
|
|
233444
|
+
netApyBreakdown: {
|
|
233445
|
+
__typename: "NetApyBreakdown";
|
|
233446
|
+
base: {
|
|
233447
|
+
__typename: "PercentNumber";
|
|
233448
|
+
onChainValue: bigint;
|
|
233449
|
+
decimals: number;
|
|
233450
|
+
value: _aave_types.BigDecimal;
|
|
233451
|
+
normalized: _aave_types.BigDecimal;
|
|
233452
|
+
};
|
|
233453
|
+
rewards: {
|
|
233454
|
+
__typename: "PercentNumber";
|
|
233455
|
+
onChainValue: bigint;
|
|
233456
|
+
decimals: number;
|
|
233457
|
+
value: _aave_types.BigDecimal;
|
|
233458
|
+
normalized: _aave_types.BigDecimal;
|
|
233459
|
+
};
|
|
233460
|
+
underlying: {
|
|
233461
|
+
__typename: "PercentNumber";
|
|
233462
|
+
onChainValue: bigint;
|
|
233463
|
+
decimals: number;
|
|
233464
|
+
value: _aave_types.BigDecimal;
|
|
233465
|
+
normalized: _aave_types.BigDecimal;
|
|
233466
|
+
};
|
|
233467
|
+
total: {
|
|
233468
|
+
__typename: "PercentNumber";
|
|
233469
|
+
onChainValue: bigint;
|
|
233470
|
+
decimals: number;
|
|
233471
|
+
value: _aave_types.BigDecimal;
|
|
233472
|
+
normalized: _aave_types.BigDecimal;
|
|
233473
|
+
};
|
|
233474
|
+
};
|
|
233251
233475
|
healthFactor: {
|
|
233252
233476
|
__typename: "HealthFactorWithChange";
|
|
233253
233477
|
current: _aave_types.BigDecimal | null;
|