Skip to content

Commit 9e51cff

Browse files
authored
Add provider to RouteMeta (#799)
* routes can specify their provider * CCTP provider
1 parent 9adcde0 commit 9e51cff

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

connect/src/routes/cctp/automatic.ts

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ export class AutomaticCCTPRoute<N extends Network>
5959

6060
static meta = {
6161
name: "AutomaticCCTP",
62+
provider: "Circle",
6263
};
6364

6465
static supportedNetworks(): Network[] {

connect/src/routes/cctp/manual.ts

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export class CCTPRoute<N extends Network>
5555
{
5656
static meta = {
5757
name: "ManualCCTP",
58+
provider: "Circle",
5859
};
5960

6061
static supportedNetworks(): Network[] {

connect/src/routes/route.ts

+2
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ export interface RouteMeta {
6767
// Common name for the route,
6868
//eg "TokenBridge" or "CCTP"
6969
name: string;
70+
// Provider name
71+
provider?: string;
7072
// Url to logo route provider
7173
logo?: string;
7274
// If people have trouble, where should they go?

0 commit comments

Comments
 (0)