@aave/graphql 1.0.0-next.16 → 1.0.0-next.17

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/testing.d.ts CHANGED
@@ -86,7 +86,7 @@ type introspection_types = {
86
86
  'AssetPriceSample': { kind: 'OBJECT'; name: 'AssetPriceSample'; fields: { 'date': { name: 'date'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'price': { name: 'price'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; } }; }; };
87
87
  'AssetRequest': { kind: 'INPUT_OBJECT'; name: 'AssetRequest'; isOneOf: false; inputFields: [{ name: 'query'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'AssetRequestQuery'; ofType: null; }; }; defaultValue: null }]; };
88
88
  'AssetRequestQuery': { kind: 'INPUT_OBJECT'; name: 'AssetRequestQuery'; isOneOf: true; inputFields: [{ name: 'token'; type: { kind: 'INPUT_OBJECT'; name: 'Erc20Input'; ofType: null; }; defaultValue: null }, { name: 'assetId'; type: { kind: 'SCALAR'; name: 'AssetId'; ofType: null; }; defaultValue: null }]; };
89
- 'AssetSummary': { kind: 'OBJECT'; name: 'AssetSummary'; fields: { 'borrowApy': { name: 'borrowApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'supplyApy': { name: 'supplyApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'totalBorrowCap': { name: 'totalBorrowCap'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DecimalNumberWithChange'; ofType: null; }; } }; 'totalBorrowable': { name: 'totalBorrowable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetAmountWithChange'; ofType: null; }; } }; 'totalBorrowed': { name: 'totalBorrowed'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetAmountWithChange'; ofType: null; }; } }; 'totalSuppliable': { name: 'totalSuppliable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetAmountWithChange'; ofType: null; }; } }; 'totalSupplied': { name: 'totalSupplied'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetAmountWithChange'; ofType: null; }; } }; 'totalSupplyCap': { name: 'totalSupplyCap'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DecimalNumberWithChange'; ofType: null; }; } }; }; };
89
+ 'AssetSummary': { kind: 'OBJECT'; name: 'AssetSummary'; fields: { 'borrowApy': { name: 'borrowApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'supplyApy': { name: 'supplyApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'totalBorrowCap': { name: 'totalBorrowCap'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetAmountWithChange'; ofType: null; }; } }; 'totalBorrowable': { name: 'totalBorrowable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetAmountWithChange'; ofType: null; }; } }; 'totalBorrowed': { name: 'totalBorrowed'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetAmountWithChange'; ofType: null; }; } }; 'totalSuppliable': { name: 'totalSuppliable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetAmountWithChange'; ofType: null; }; } }; 'totalSupplied': { name: 'totalSupplied'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetAmountWithChange'; ofType: null; }; } }; 'totalSupplyCap': { name: 'totalSupplyCap'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetAmountWithChange'; ofType: null; }; } }; }; };
90
90
  'AssetSupplyHistoryRequest': { kind: 'INPUT_OBJECT'; name: 'AssetSupplyHistoryRequest'; isOneOf: false; inputFields: [{ name: 'query'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'AssetSupplyHistoryRequestQuery'; ofType: null; }; }; defaultValue: null }, { name: 'window'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TimeWindow'; ofType: null; }; }; defaultValue: "LAST_DAY" }]; };
91
91
  'AssetSupplyHistoryRequestQuery': { kind: 'INPUT_OBJECT'; name: 'AssetSupplyHistoryRequestQuery'; isOneOf: true; inputFields: [{ name: 'token'; type: { kind: 'INPUT_OBJECT'; name: 'Erc20Input'; ofType: null; }; defaultValue: null }, { name: 'assetId'; type: { kind: 'SCALAR'; name: 'AssetId'; ofType: null; }; defaultValue: null }]; };
92
92
  'AssetSupplySample': { kind: 'OBJECT'; name: 'AssetSupplySample'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DecimalNumber'; ofType: null; }; } }; 'date': { name: 'date'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'highestApy': { name: 'highestApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'lowestApy': { name: 'lowestApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; }; };
@@ -139,7 +139,6 @@ type introspection_types = {
139
139
  'FromQuoteDebtSwapQuoteInput': { kind: 'INPUT_OBJECT'; name: 'FromQuoteDebtSwapQuoteInput'; isOneOf: false; inputFields: [{ name: 'quoteId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SwapQuoteId'; ofType: null; }; }; defaultValue: null }, { name: 'newSlippage'; type: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; defaultValue: null }]; };
140
140
  'FromQuoteRepayWithSupplyQuoteInput': { kind: 'INPUT_OBJECT'; name: 'FromQuoteRepayWithSupplyQuoteInput'; isOneOf: false; inputFields: [{ name: 'quoteId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SwapQuoteId'; ofType: null; }; }; defaultValue: null }, { name: 'newSlippage'; type: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; defaultValue: null }]; };
141
141
  'FromQuoteSupplySwapQuoteInput': { kind: 'INPUT_OBJECT'; name: 'FromQuoteSupplySwapQuoteInput'; isOneOf: false; inputFields: [{ name: 'quoteId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SwapQuoteId'; ofType: null; }; }; defaultValue: null }, { name: 'newSlippage'; type: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; defaultValue: null }]; };
142
- 'FromQuoteSwapQuoteInput': { kind: 'INPUT_OBJECT'; name: 'FromQuoteSwapQuoteInput'; isOneOf: false; inputFields: [{ name: 'quoteId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SwapQuoteId'; ofType: null; }; }; defaultValue: null }, { name: 'newSlippage'; type: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; defaultValue: null }]; };
143
142
  'FromQuoteWithdrawSwapQuoteInput': { kind: 'INPUT_OBJECT'; name: 'FromQuoteWithdrawSwapQuoteInput'; isOneOf: false; inputFields: [{ name: 'quoteId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SwapQuoteId'; ofType: null; }; }; defaultValue: null }, { name: 'newSlippage'; type: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; defaultValue: null }]; };
144
143
  'HasProcessedKnownTransactionRequest': { kind: 'INPUT_OBJECT'; name: 'HasProcessedKnownTransactionRequest'; isOneOf: false; inputFields: [{ name: 'operations'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'OperationType'; ofType: null; }; }; }; }; defaultValue: null }, { name: 'txHash'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; }; defaultValue: null }]; };
145
144
  'HealthFactorError': { kind: 'OBJECT'; name: 'HealthFactorError'; fields: { 'after': { name: 'after'; type: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; } }; 'current': { name: 'current'; type: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; } }; 'reason': { name: 'reason'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; };
@@ -173,7 +172,7 @@ type introspection_types = {
173
172
  'Int': unknown;
174
173
  'JSON': unknown;
175
174
  'LimitDebtSwapQuoteInput': { kind: 'INPUT_OBJECT'; name: 'LimitDebtSwapQuoteInput'; isOneOf: false; inputFields: [{ name: 'quoteId'; type: { kind: 'SCALAR'; name: 'SwapQuoteId'; ofType: null; }; defaultValue: null }, { name: 'currentPosition'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UserBorrowItemId'; ofType: null; }; }; defaultValue: null }, { name: 'currentAmount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; }; defaultValue: null }, { name: 'newReserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; }; defaultValue: null }, { name: 'newAmount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; }; defaultValue: null }, { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'kind'; type: { kind: 'ENUM'; name: 'BorrowSwapKind'; ofType: null; }; defaultValue: null }]; };
176
- 'LimitOrderTokenSwapQuoteInput': { kind: 'INPUT_OBJECT'; name: 'LimitOrderTokenSwapQuoteInput'; isOneOf: false; inputFields: [{ name: 'quoteId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SwapQuoteId'; ofType: null; }; }; defaultValue: null }, { name: 'newSellAmount'; type: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; defaultValue: null }, { name: 'newBuyAmount'; type: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; defaultValue: null }, { name: 'newReceiver'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'newKind'; type: { kind: 'ENUM'; name: 'SwapKind'; ofType: null; }; defaultValue: null }]; };
175
+ 'LimitOrderTokenSwapQuoteInput': { kind: 'INPUT_OBJECT'; name: 'LimitOrderTokenSwapQuoteInput'; isOneOf: false; inputFields: [{ name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }, { name: 'sell'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'SwapTokenInput'; ofType: null; }; }; defaultValue: null }, { name: 'buy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'SwapTokenInput'; ofType: null; }; }; defaultValue: null }, { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'receiver'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'kind'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'SwapKind'; ofType: null; }; }; defaultValue: "SELL" }, { name: 'previousQuoteId'; type: { kind: 'SCALAR'; name: 'SwapQuoteId'; ofType: null; }; defaultValue: null }]; };
177
176
  'LimitRepayWithSupplyQuoteInput': { kind: 'INPUT_OBJECT'; name: 'LimitRepayWithSupplyQuoteInput'; isOneOf: false; inputFields: [{ name: 'quoteId'; type: { kind: 'SCALAR'; name: 'SwapQuoteId'; ofType: null; }; defaultValue: null }, { name: 'repayPosition'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UserBorrowItemId'; ofType: null; }; }; defaultValue: null }, { name: 'repayAmount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; }; defaultValue: null }, { name: 'supplyPosition'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UserSupplyItemId'; ofType: null; }; }; defaultValue: null }, { name: 'supplyAmount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; }; defaultValue: null }, { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'kind'; type: { kind: 'ENUM'; name: 'RepayWithSupplyKind'; ofType: null; }; defaultValue: null }]; };
178
177
  'LimitSupplySwapQuoteInput': { kind: 'INPUT_OBJECT'; name: 'LimitSupplySwapQuoteInput'; isOneOf: false; inputFields: [{ name: 'quoteId'; type: { kind: 'SCALAR'; name: 'SwapQuoteId'; ofType: null; }; defaultValue: null }, { name: 'currentPosition'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UserSupplyItemId'; ofType: null; }; }; defaultValue: null }, { name: 'currentAmount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; }; defaultValue: null }, { name: 'newReserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; }; defaultValue: null }, { name: 'newAmount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; }; defaultValue: null }, { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'kind'; type: { kind: 'ENUM'; name: 'SupplySwapKind'; ofType: null; }; defaultValue: null }, { name: 'enableCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: null }]; };
179
178
  'LimitWithdrawSwapQuoteInput': { kind: 'INPUT_OBJECT'; name: 'LimitWithdrawSwapQuoteInput'; isOneOf: false; inputFields: [{ name: 'quoteId'; type: { kind: 'SCALAR'; name: 'SwapQuoteId'; ofType: null; }; defaultValue: null }, { name: 'withdrawPosition'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UserSupplyItemId'; ofType: null; }; }; defaultValue: null }, { name: 'withdrawAmount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; }; defaultValue: null }, { name: 'buyToken'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'TokenInput'; ofType: null; }; }; defaultValue: null }, { name: 'buyAmount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; }; defaultValue: null }, { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'kind'; type: { kind: 'ENUM'; name: 'WithdrawSwapKind'; ofType: null; }; defaultValue: null }]; };
@@ -183,6 +182,7 @@ type introspection_types = {
183
182
  'LiquidatedActivity': { kind: 'OBJECT'; name: 'LiquidatedActivity'; fields: { 'chain': { name: 'chain'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Chain'; ofType: null; }; } }; 'collateral': { name: 'collateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'collateralReserve': { name: 'collateralReserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ReserveInfo'; ofType: null; }; } }; 'debt': { name: 'debt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'debtReserve': { name: 'debtReserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ReserveInfo'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'liquidator': { name: 'liquidator'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'spoke': { name: 'spoke'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Spoke'; ofType: null; }; } }; 'timestamp': { name: 'timestamp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'txHash': { name: 'txHash'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; } }; 'user': { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; };
184
183
  'LiquidationFeeVariation': { kind: 'OBJECT'; name: 'LiquidationFeeVariation'; fields: { 'after': { name: 'after'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'current': { name: 'current'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'reserveId': { name: 'reserveId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; } }; 'token': { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Token'; ofType: null; }; } }; }; };
185
184
  'MarketDebtSwapQuoteInput': { kind: 'INPUT_OBJECT'; name: 'MarketDebtSwapQuoteInput'; isOneOf: false; inputFields: [{ name: 'debtPosition'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UserBorrowItemId'; ofType: null; }; }; defaultValue: null }, { name: 'buyReserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; }; defaultValue: null }, { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; }; defaultValue: null }, { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; };
185
+ 'MarketOrderTokenSwapFromQuoteInput': { kind: 'INPUT_OBJECT'; name: 'MarketOrderTokenSwapFromQuoteInput'; isOneOf: false; inputFields: [{ name: 'quoteId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SwapQuoteId'; ofType: null; }; }; defaultValue: null }, { name: 'newSlippage'; type: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; defaultValue: null }]; };
186
186
  'MarketOrderTokenSwapQuoteInput': { kind: 'INPUT_OBJECT'; name: 'MarketOrderTokenSwapQuoteInput'; isOneOf: false; inputFields: [{ name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }, { name: 'buy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'TokenInput'; ofType: null; }; }; defaultValue: null }, { name: 'sell'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'TokenInput'; ofType: null; }; }; defaultValue: null }, { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; }; defaultValue: null }, { name: 'kind'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'SwapKind'; ofType: null; }; }; defaultValue: null }, { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'receiver'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }]; };
187
187
  'MarketRepayWithSupplyQuoteInput': { kind: 'INPUT_OBJECT'; name: 'MarketRepayWithSupplyQuoteInput'; isOneOf: false; inputFields: [{ name: 'debtPosition'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UserBorrowItemId'; ofType: null; }; }; defaultValue: null }, { name: 'repayWithReserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; }; defaultValue: null }, { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; }; defaultValue: null }, { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; };
188
188
  'MarketSupplySwapQuoteInput': { kind: 'INPUT_OBJECT'; name: 'MarketSupplySwapQuoteInput'; isOneOf: false; inputFields: [{ name: 'sellPosition'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UserSupplyItemId'; ofType: null; }; }; defaultValue: null }, { name: 'buyReserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; }; defaultValue: null }, { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; }; defaultValue: null }, { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'enableCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: null }]; };
@@ -283,6 +283,7 @@ type introspection_types = {
283
283
  'SwapByIntentWithApprovalRequired': { kind: 'OBJECT'; name: 'SwapByIntentWithApprovalRequired'; fields: { 'approval': { name: 'approval'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Approval'; ofType: null; }; } }; 'quote': { name: 'quote'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SwapQuote'; ofType: null; }; } }; }; };
284
284
  'SwapByTransaction': { kind: 'OBJECT'; name: 'SwapByTransaction'; fields: { 'quote': { name: 'quote'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SwapQuote'; ofType: null; }; } }; }; };
285
285
  'SwapCancelled': { kind: 'OBJECT'; name: 'SwapCancelled'; fields: { 'cancelledAt': { name: 'cancelledAt'; type: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; } }; 'createdAt': { name: 'createdAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'explorerLink': { name: 'explorerLink'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; };
286
+ 'SwapErc20Input': { kind: 'INPUT_OBJECT'; name: 'SwapErc20Input'; isOneOf: false; inputFields: [{ name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'value'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; }; defaultValue: null }]; };
286
287
  'SwapExecutionPlan': { kind: 'UNION'; name: 'SwapExecutionPlan'; fields: {}; possibleTypes: 'InsufficientBalanceError' | 'SwapReceipt' | 'SwapTransactionRequest'; };
287
288
  'SwapExpired': { kind: 'OBJECT'; name: 'SwapExpired'; fields: { 'createdAt': { name: 'createdAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'expiredAt': { name: 'expiredAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'explorerLink': { name: 'explorerLink'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; };
288
289
  'SwapFulfilled': { kind: 'OBJECT'; name: 'SwapFulfilled'; fields: { 'bought': { name: 'bought'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'SwapAmount'; ofType: null; }; } }; 'createdAt': { name: 'createdAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'desiredBuy': { name: 'desiredBuy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'SwapAmount'; ofType: null; }; } }; 'desiredSell': { name: 'desiredSell'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'SwapAmount'; ofType: null; }; } }; 'explorerLink': { name: 'explorerLink'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'fulfilledAt': { name: 'fulfilledAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'refundTxHash': { name: 'refundTxHash'; type: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; } }; 'sold': { name: 'sold'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'SwapAmount'; ofType: null; }; } }; 'txHash': { name: 'txHash'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; };
@@ -298,6 +299,7 @@ type introspection_types = {
298
299
  'SwapStatus': { kind: 'UNION'; name: 'SwapStatus'; fields: {}; possibleTypes: 'SwapCancelled' | 'SwapExpired' | 'SwapFulfilled' | 'SwapOpen' | 'SwapPendingSignature'; };
299
300
  'SwapStatusFilter': { name: 'SwapStatusFilter'; enumValues: 'CANCELLED' | 'EXPIRED' | 'FULFILLED' | 'OPEN' | 'PENDING_SIGNATURE'; };
300
301
  'SwapStatusRequest': { kind: 'INPUT_OBJECT'; name: 'SwapStatusRequest'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SwapId'; ofType: null; }; }; defaultValue: null }]; };
302
+ 'SwapTokenInput': { kind: 'INPUT_OBJECT'; name: 'SwapTokenInput'; isOneOf: true; inputFields: [{ name: 'native'; type: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; defaultValue: null }, { name: 'erc20'; type: { kind: 'INPUT_OBJECT'; name: 'SwapErc20Input'; ofType: null; }; defaultValue: null }]; };
301
303
  'SwapTransactionRequest': { kind: 'OBJECT'; name: 'SwapTransactionRequest'; fields: { 'orderReceipt': { name: 'orderReceipt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SwapReceipt'; ofType: null; }; } }; 'transaction': { name: 'transaction'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; }; };
302
304
  'SwapTypedData': { kind: 'OBJECT'; name: 'SwapTypedData'; fields: { 'domain': { name: 'domain'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DomainData'; ofType: null; }; } }; 'message': { name: 'message'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'JSON'; ofType: null; }; } }; 'primaryType': { name: 'primaryType'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'types': { name: 'types'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'JSON'; ofType: null; }; } }; }; };
303
305
  'SwapWithTransactionInput': { kind: 'INPUT_OBJECT'; name: 'SwapWithTransactionInput'; isOneOf: false; inputFields: [{ name: 'quoteId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SwapQuoteId'; ofType: null; }; }; defaultValue: null }, { name: 'permitSig'; type: { kind: 'SCALAR'; name: 'Signature'; ofType: null; }; defaultValue: null }, { name: 'isSenderSmartContractWallet'; type: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; defaultValue: null }]; };
@@ -311,7 +313,7 @@ type introspection_types = {
311
313
  'TokenInfo': { kind: 'OBJECT'; name: 'TokenInfo'; fields: { 'categories': { name: 'categories'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TokenCategory'; ofType: null; }; }; }; } }; 'decimals': { name: 'decimals'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'icon': { name: 'icon'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'TokenInfoId'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'symbol': { name: 'symbol'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; };
312
314
  'TokenInfoId': unknown;
313
315
  'TokenInput': { kind: 'INPUT_OBJECT'; name: 'TokenInput'; isOneOf: true; inputFields: [{ name: 'native'; type: { kind: 'SCALAR'; name: 'AlwaysTrue'; ofType: null; }; defaultValue: null }, { name: 'erc20'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }]; };
314
- 'TokenSwapQuoteRequest': { kind: 'INPUT_OBJECT'; name: 'TokenSwapQuoteRequest'; isOneOf: true; inputFields: [{ name: 'market'; type: { kind: 'INPUT_OBJECT'; name: 'MarketOrderTokenSwapQuoteInput'; ofType: null; }; defaultValue: null }, { name: 'limit'; type: { kind: 'INPUT_OBJECT'; name: 'LimitOrderTokenSwapQuoteInput'; ofType: null; }; defaultValue: null }, { name: 'fromQuote'; type: { kind: 'INPUT_OBJECT'; name: 'FromQuoteSwapQuoteInput'; ofType: null; }; defaultValue: null }]; };
316
+ 'TokenSwapQuoteRequest': { kind: 'INPUT_OBJECT'; name: 'TokenSwapQuoteRequest'; isOneOf: true; inputFields: [{ name: 'market'; type: { kind: 'INPUT_OBJECT'; name: 'MarketOrderTokenSwapQuoteInput'; ofType: null; }; defaultValue: null }, { name: 'limit'; type: { kind: 'INPUT_OBJECT'; name: 'LimitOrderTokenSwapQuoteInput'; ofType: null; }; defaultValue: null }, { name: 'fromQuote'; type: { kind: 'INPUT_OBJECT'; name: 'MarketOrderTokenSwapFromQuoteInput'; ofType: null; }; defaultValue: null }]; };
315
317
  'TokenSwapQuoteResult': { kind: 'UNION'; name: 'TokenSwapQuoteResult'; fields: {}; possibleTypes: 'SwapByIntent' | 'SwapByIntentWithApprovalRequired' | 'SwapByTransaction'; };
316
318
  'TransactionRequest': { kind: 'OBJECT'; name: 'TransactionRequest'; fields: { 'chainId': { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; } }; 'data': { name: 'data'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BlockchainData'; ofType: null; }; } }; 'from': { name: 'from'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'operations': { name: 'operations'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'OperationType'; ofType: null; }; }; } }; 'to': { name: 'to'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'value': { name: 'value'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; } }; }; };
317
319
  'TxHash': unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aave/graphql",
3
- "version": "1.0.0-next.16",
3
+ "version": "1.0.0-next.17",
4
4
  "description": "GraphQL bindings for the Aave API",
5
5
  "repository": {
6
6
  "directory": "packages/graphql",