Skip to content

Commit

Permalink
Started implementing clients
Browse files Browse the repository at this point in the history
  • Loading branch information
jansoren committed Sep 17, 2023
1 parent 4eaadb8 commit d5cea57
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 78 deletions.
141 changes: 75 additions & 66 deletions src/main/java/no/jansoren/defillama/model/protocols/Protocol.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,103 +8,112 @@

public record Protocol(

@JsonProperty("symbol")
String symbol,
@JsonProperty("symbol")
String symbol,

@JsonProperty("change_7d")
Object change7d,
@JsonProperty("change_7d")
Object change7d,

@JsonProperty("gecko_id")
Object geckoId,
@JsonProperty("gecko_id")
Object geckoId,

@JsonProperty("chains")
List<String> chains,
@JsonProperty("chains")
List<String> chains,

@JsonProperty("forkedFrom")
List<Object> forkedFrom,
@JsonProperty("forkedFrom")
List<Object> forkedFrom,

@JsonProperty("audit_note")
Object auditNote,
@JsonProperty("audit_note")
Object auditNote,

@JsonProperty("description")
String description,
@JsonProperty("description")
String description,

@JsonProperty("cmcId")
Object cmcId,
@JsonProperty("cmcId")
Object cmcId,

@JsonProperty("twitter")
String twitter,
@JsonProperty("twitter")
String twitter,

@JsonProperty("oracles")
List<Object> oracles,
@JsonProperty("oracles")
List<Object> oracles,

@JsonProperty("logo")
String logo,
@JsonProperty("logo")
String logo,

@JsonProperty("id")
String id,
@JsonProperty("id")
String id,

@JsonProperty("audits")
String audits,
@JsonProperty("parentProtocol")
String parentProtocol,

@JsonProperty("slug")
String slug,
@JsonProperty("audits")
String audits,

@JsonProperty("chain")
String chain,
@JsonProperty("slug")
String slug,

@JsonProperty("address")
Object address,
@JsonProperty("stablecoins")
List<String> stablecoins,

@JsonProperty("module")
String module,
@JsonProperty("chain")
String chain,

@JsonProperty("tvl")
Object tvl,
@JsonProperty("address")
String address,

@JsonProperty("listedAt")
int listedAt,
@JsonProperty("module")
String module,

@JsonProperty("url")
String url,
@JsonProperty("tvl")
Object tvl,

@JsonProperty("tokenBreakdowns")
Object tokenBreakdowns,
@JsonProperty("listedAt")
int listedAt,

@JsonProperty("mcap")
Object mcap,
@JsonProperty("url")
String url,

@JsonProperty("name")
String name,
@JsonProperty("audit_links")
List<Object> auditLinks,

@JsonProperty("chainTvls")
Map<String, BigDecimal> chainTvls,
@JsonProperty("tokenBreakdowns")
TokenBreakdowns tokenBreakdowns,

@JsonProperty("change_1h")
Object change1h,
@JsonProperty("mcap")
Object mcap,

@JsonProperty("category")
String category,
@JsonProperty("name")
String name,

@JsonProperty("change_1d")
Object change1d,
@JsonProperty("chainTvls")
Map<String, BigDecimal> chainTvls,

@JsonProperty("openSource")
boolean openSource,
@JsonProperty("change_1h")
Object change1h,

@JsonProperty("governanceID")
List<String> governanceID,
@JsonProperty("category")
String category,

@JsonProperty("referralUrl")
String referralUrl,
@JsonProperty("change_1d")
Object change1d,

@JsonProperty("github")
List<String> github,
@JsonProperty("openSource")
boolean openSource,

@JsonProperty("audit_links")
List<String> auditLinks,
@JsonProperty("governanceID")
List<String> governanceID,

@JsonProperty("treasury")
String treasury
@JsonProperty("referralUrl")
String referralUrl,

@JsonProperty("github")
List<String> github,

@JsonProperty("audit_links")
List<String> auditLinks,

@JsonProperty("treasury")
String treasury
) {
}

This file was deleted.

0 comments on commit d5cea57

Please sign in to comment.