@@ -765,6 +765,7 @@ export type Query = {
765765 * Example of the input needed for a type `code` query: `gasLimitEstimate(input: "{\"code\":\"(coin.details \\\"k:1234\\\")\",\"chainId\":\"3\"}")`
766766 */
767767 gasLimitEstimate : Array < GasLimitEstimation > ;
768+ getTokenPrice ?: Maybe < TokenPriceInKda > ;
768769 /** Get the configuration of the graph. */
769770 graphConfiguration : GraphConfiguration ;
770771 /** Get the height of the block with the highest height. */
@@ -903,6 +904,10 @@ export type QueryGasLimitEstimateArgs = {
903904 input : Array < Scalars [ 'String' ] [ 'input' ] > ;
904905} ;
905906
907+ export type QueryGetTokenPriceArgs = {
908+ moduleName ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
909+ } ;
910+
906911export type QueryLiquidityPositionsArgs = {
907912 after ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
908913 before ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
@@ -1271,6 +1276,11 @@ export type TokenPrice = {
12711276 updatedAt : Scalars [ 'DateTime' ] [ 'output' ] ;
12721277} ;
12731278
1279+ export type TokenPriceInKda = {
1280+ __typename ?: 'TokenPriceInKda' ;
1281+ amount ?: Maybe < Scalars [ 'Decimal' ] [ 'output' ] > ;
1282+ } ;
1283+
12741284/** A transaction. */
12751285export type Transaction = Node & {
12761286 __typename ?: 'Transaction' ;
@@ -1850,6 +1860,7 @@ export type ResolversTypes = {
18501860 TimeFrame : TimeFrame ;
18511861 Token : ResolverTypeWrapper < Token > ;
18521862 TokenPrice : ResolverTypeWrapper < TokenPrice > ;
1863+ TokenPriceInKda : ResolverTypeWrapper < TokenPriceInKda > ;
18531864 Transaction : ResolverTypeWrapper <
18541865 Omit < Transaction , 'cmd' | 'orphanedTransactions' | 'result' > & {
18551866 cmd : ResolversTypes [ 'TransactionCommand' ] ;
@@ -2113,6 +2124,7 @@ export type ResolversParentTypes = {
21132124 Subscription : { } ;
21142125 Token : Token ;
21152126 TokenPrice : TokenPrice ;
2127+ TokenPriceInKda : TokenPriceInKda ;
21162128 Transaction : Omit < Transaction , 'cmd' | 'orphanedTransactions' | 'result' > & {
21172129 cmd : ResolversParentTypes [ 'TransactionCommand' ] ;
21182130 orphanedTransactions ?: Maybe < Array < Maybe < ResolversParentTypes [ 'Transaction' ] > > > ;
@@ -3049,6 +3061,12 @@ export type QueryResolvers<
30493061 ContextType ,
30503062 RequireFields < QueryGasLimitEstimateArgs , 'input' >
30513063 > ;
3064+ getTokenPrice ?: Resolver <
3065+ Maybe < ResolversTypes [ 'TokenPriceInKda' ] > ,
3066+ ParentType ,
3067+ ContextType ,
3068+ Partial < QueryGetTokenPriceArgs >
3069+ > ;
30523070 graphConfiguration ?: Resolver < ResolversTypes [ 'GraphConfiguration' ] , ParentType , ContextType > ;
30533071 lastBlockHeight ?: Resolver < Maybe < ResolversTypes [ 'BigInt' ] > , ParentType , ContextType > ;
30543072 liquidityPositions ?: Resolver <
@@ -3495,6 +3513,15 @@ export type TokenPriceResolvers<
34953513 __isTypeOf ?: IsTypeOfResolverFn < ParentType , ContextType > ;
34963514} ;
34973515
3516+ export type TokenPriceInKdaResolvers <
3517+ ContextType = any ,
3518+ ParentType extends
3519+ ResolversParentTypes [ 'TokenPriceInKda' ] = ResolversParentTypes [ 'TokenPriceInKda' ] ,
3520+ > = {
3521+ amount ?: Resolver < Maybe < ResolversTypes [ 'Decimal' ] > , ParentType , ContextType > ;
3522+ __isTypeOf ?: IsTypeOfResolverFn < ParentType , ContextType > ;
3523+ } ;
3524+
34983525export type TransactionResolvers <
34993526 ContextType = any ,
35003527 ParentType extends ResolversParentTypes [ 'Transaction' ] = ResolversParentTypes [ 'Transaction' ] ,
@@ -3804,6 +3831,7 @@ export type Resolvers<ContextType = any> = {
38043831 Subscription ?: SubscriptionResolvers < ContextType > ;
38053832 Token ?: TokenResolvers < ContextType > ;
38063833 TokenPrice ?: TokenPriceResolvers < ContextType > ;
3834+ TokenPriceInKda ?: TokenPriceInKdaResolvers < ContextType > ;
38073835 Transaction ?: TransactionResolvers < ContextType > ;
38083836 TransactionCapability ?: TransactionCapabilityResolvers < ContextType > ;
38093837 TransactionCommand ?: TransactionCommandResolvers < ContextType > ;
0 commit comments