Skip to content

Commit

Permalink
Merge pull request #189 from taikoxyz/TP-527--ecosystem-category
Browse files Browse the repository at this point in the history
TP-527--ecosystem-category
  • Loading branch information
myronrotter authored Jan 4, 2025
2 parents 9502422 + 881e255 commit 9cb7eef
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions whitelist/whitelist.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,17 @@ import (
//go:embed protocols.json
var protocols []byte

type Category string

const (
Gaming Category = "Gaming"
Bridge Category = "Bridge"
DEX Category = "DEX"
Lending Category = "Lending"
DeFi Category = "DeFi"
ENS Category = "ENS"
NFT Category = "NFT"
CrossChain Category = "Cross-chain"
Derivatives Category = "Derivatives"
BridgeAggregator Category = "Bridge Aggregator"
Gaming string = "Gaming"
Bridge string = "Bridge"
DEX string = "DEX"
Lending string = "Lending"
DeFi string = "DeFi"
ENS string = "ENS"
NFT string = "NFT"
CrossChain string = "Cross-chain"
Derivatives string = "Derivatives"
BridgeAggregator string = "Bridge Aggregator"
)

type Protocol struct {
Expand All @@ -38,7 +36,7 @@ type Protocol struct {
// Short description of the protocol
Description *string `json:"description,omitempty"`
// Category of the protocol
Category *Category `json:"category,omitempty"`
Category *string `json:"category,omitempty"`
// Twitter reference of the protocol
Twitter *string `json:"twitter,omitempty"`
// Website of the protocol
Expand Down

0 comments on commit 9cb7eef

Please sign in to comment.