Skip to content

Commit

Permalink
Add provider to RouteMeta (#799)
Browse files Browse the repository at this point in the history
* routes can specify their provider

* CCTP provider
  • Loading branch information
artursapek authored Feb 13, 2025
1 parent 9adcde0 commit 9e51cff
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions connect/src/routes/cctp/automatic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export class AutomaticCCTPRoute<N extends Network>

static meta = {
name: "AutomaticCCTP",
provider: "Circle",
};

static supportedNetworks(): Network[] {
Expand Down
1 change: 1 addition & 0 deletions connect/src/routes/cctp/manual.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export class CCTPRoute<N extends Network>
{
static meta = {
name: "ManualCCTP",
provider: "Circle",
};

static supportedNetworks(): Network[] {
Expand Down
2 changes: 2 additions & 0 deletions connect/src/routes/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ export interface RouteMeta {
// Common name for the route,
//eg "TokenBridge" or "CCTP"
name: string;
// Provider name
provider?: string;
// Url to logo route provider
logo?: string;
// If people have trouble, where should they go?
Expand Down

0 comments on commit 9e51cff

Please sign in to comment.