Skip to content

Commit

Permalink
Updating Protocol client models
Browse files Browse the repository at this point in the history
  • Loading branch information
jansoren committed May 5, 2024
1 parent c77ace3 commit e01f839
Show file tree
Hide file tree
Showing 29 changed files with 68 additions and 859 deletions.
17 changes: 0 additions & 17 deletions src/main/java/no/jansoren/defillama/model/protocols/Arbitrum.java

This file was deleted.

This file was deleted.

17 changes: 0 additions & 17 deletions src/main/java/no/jansoren/defillama/model/protocols/Avalanche.java

This file was deleted.

This file was deleted.

17 changes: 0 additions & 17 deletions src/main/java/no/jansoren/defillama/model/protocols/Base.java

This file was deleted.

This file was deleted.

17 changes: 0 additions & 17 deletions src/main/java/no/jansoren/defillama/model/protocols/Borrowed.java

This file was deleted.

74 changes: 8 additions & 66 deletions src/main/java/no/jansoren/defillama/model/protocols/ChainTvls.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,75 +2,17 @@

import com.fasterxml.jackson.annotation.JsonProperty;

public record ChainTvls(

@JsonProperty("Fantom")
Fantom fantom,

@JsonProperty("Arbitrum")
Arbitrum arbitrum,

@JsonProperty("Harmony")
Harmony harmony,

@JsonProperty("Avalanche-borrowed")
AvalancheBorrowed avalancheBorrowed,

@JsonProperty("pool2")
Pool2 pool2,

@JsonProperty("Metis")
Metis metis,

@JsonProperty("Avalanche")
Avalanche avalanche,

@JsonProperty("Ethereum-staking")
EthereumStaking ethereumStaking,

@JsonProperty("Base")
Base base,

@JsonProperty("Base-borrowed")
BaseBorrowed baseBorrowed,
import java.util.List;

@JsonProperty("Optimism")
Optimism optimism,

@JsonProperty("Optimism-borrowed")
OptimismBorrowed optimismBorrowed,

@JsonProperty("staking")
Staking staking,

@JsonProperty("Arbitrum-borrowed")
ArbitrumBorrowed arbitrumBorrowed,

@JsonProperty("Harmony-borrowed")
HarmonyBorrowed harmonyBorrowed,

@JsonProperty("Fantom-borrowed")
FantomBorrowed fantomBorrowed,

@JsonProperty("Ethereum")
Ethereum ethereum,

@JsonProperty("Ethereum-pool2")
EthereumPool2 ethereumPool2,

@JsonProperty("Metis-borrowed")
MetisBorrowed metisBorrowed,

@JsonProperty("Ethereum-borrowed")
EthereumBorrowed ethereumBorrowed,
public record ChainTvls(

@JsonProperty("Polygon")
Polygon polygon,
@JsonProperty("tvl")
List<Tvl> tvl,

@JsonProperty("Polygon-borrowed")
PolygonBorrowed polygonBorrowed,
@JsonProperty("tokens")
Object tokens,

@JsonProperty("borrowed")
Borrowed borrowed
@JsonProperty("tokensInUsd")
Object tokensInUsd
) {
}

This file was deleted.

17 changes: 0 additions & 17 deletions src/main/java/no/jansoren/defillama/model/protocols/Ethereum.java

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

17 changes: 0 additions & 17 deletions src/main/java/no/jansoren/defillama/model/protocols/Fantom.java

This file was deleted.

Loading

0 comments on commit e01f839

Please sign in to comment.