Skip to content

Commit cfbc570

Browse files
committed
[AUTOMATED] Update: proto/clients/indexer*.gen.ts
1 parent 85a4e6e commit cfbc570

File tree

2 files changed

+50
-28
lines changed

2 files changed

+50
-28
lines changed

packages/indexer/src/indexer.gen.ts

Lines changed: 25 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable */
2-
// sequence-indexer v0.4.0 42b746c7de262224143cc5c55403e7619c514ec4
2+
// sequence-indexer v0.4.0 1532960ee7a152a172fcfb97cdc150b16c7dc297
33
// --
44
// Code generated by [email protected] with typescript generator. DO NOT EDIT.
55
//
@@ -12,7 +12,7 @@ export const WebrpcVersion = 'v1'
1212
export const WebrpcSchemaVersion = 'v0.4.0'
1313

1414
// Schema hash generated from your RIDL schema
15-
export const WebrpcSchemaHash = '42b746c7de262224143cc5c55403e7619c514ec4'
15+
export const WebrpcSchemaHash = '1532960ee7a152a172fcfb97cdc150b16c7dc297'
1616

1717
//
1818
// Client interface
@@ -398,19 +398,29 @@ export interface ContractInfo {
398398
status: ResourceStatus
399399
}
400400

401+
export interface ContractInfoExtensionBridgeInfo {
402+
tokenAddress: string
403+
}
404+
405+
export interface ContractInfoExtensionIndexingInfo {
406+
useOnChainBalance: boolean
407+
}
408+
401409
export interface ContractInfoExtensions {
402-
link: string
403-
description: string
404-
categories: Array<string>
405-
ogImage: string
406-
ogName: string
407-
originChainId: number
408-
originAddress: string
409-
blacklist: boolean
410-
verified: boolean
411-
verifiedBy: string
412-
featured: boolean
413-
featureIndex: number
410+
link?: string
411+
description?: string
412+
categories?: Array<string>
413+
bridgeInfo?: { [key: string]: ContractInfoExtensionBridgeInfo }
414+
indexingInfo?: ContractInfoExtensionIndexingInfo
415+
ogImage?: string
416+
ogName?: string
417+
originChainId?: number
418+
originAddress?: string
419+
blacklist?: boolean
420+
verified?: boolean
421+
verifiedBy?: string
422+
featured?: boolean
423+
featureIndex?: number
414424
}
415425

416426
export enum ContractType {
@@ -753,6 +763,7 @@ export interface TokenIDRange {
753763
}
754764

755765
export interface TokenMetadata {
766+
chainId?: number
756767
contractAddress?: string
757768
tokenId: string
758769
source: string

packages/indexer/src/indexergw.gen.ts

Lines changed: 25 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable */
2-
// sequence-indexer v0.4.0 f957af073daf1c3c88b0dc45ba70695f982181e7
2+
// sequence-indexer v0.4.0 7a9b9e18649eaeedb05601c567192f27cb831ee4
33
// --
44
// Code generated by [email protected] with typescript generator. DO NOT EDIT.
55
//
@@ -12,7 +12,7 @@ export const WebrpcVersion = 'v1'
1212
export const WebrpcSchemaVersion = 'v0.4.0'
1313

1414
// Schema hash generated from your RIDL schema
15-
export const WebrpcSchemaHash = 'f957af073daf1c3c88b0dc45ba70695f982181e7'
15+
export const WebrpcSchemaHash = '7a9b9e18649eaeedb05601c567192f27cb831ee4'
1616

1717
//
1818
// Client interface
@@ -171,19 +171,29 @@ export interface ContractInfo {
171171
status: ResourceStatus
172172
}
173173

174+
export interface ContractInfoExtensionBridgeInfo {
175+
tokenAddress: string
176+
}
177+
178+
export interface ContractInfoExtensionIndexingInfo {
179+
useOnChainBalance: boolean
180+
}
181+
174182
export interface ContractInfoExtensions {
175-
link: string
176-
description: string
177-
categories: Array<string>
178-
ogImage: string
179-
ogName: string
180-
originChainId: number
181-
originAddress: string
182-
blacklist: boolean
183-
verified: boolean
184-
verifiedBy: string
185-
featured: boolean
186-
featureIndex: number
183+
link?: string
184+
description?: string
185+
categories?: Array<string>
186+
bridgeInfo?: { [key: string]: ContractInfoExtensionBridgeInfo }
187+
indexingInfo?: ContractInfoExtensionIndexingInfo
188+
ogImage?: string
189+
ogName?: string
190+
originChainId?: number
191+
originAddress?: string
192+
blacklist?: boolean
193+
verified?: boolean
194+
verifiedBy?: string
195+
featured?: boolean
196+
featureIndex?: number
187197
}
188198

189199
export enum ContractType {
@@ -526,6 +536,7 @@ export interface TokenIDRange {
526536
}
527537

528538
export interface TokenMetadata {
539+
chainId?: number
529540
contractAddress?: string
530541
tokenId: string
531542
source: string

0 commit comments

Comments
 (0)