Skip to content

Commit

Permalink
Merge pull request #89 from OlympusDAO/fantom-base-deployments
Browse files Browse the repository at this point in the history
Deployment Updates
  • Loading branch information
0xJem authored Jul 25, 2024
2 parents efa28bc + 70c0891 commit c2a0e35
Show file tree
Hide file tree
Showing 36 changed files with 221 additions and 73 deletions.
2 changes: 2 additions & 0 deletions apps/server/.wundergraph/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ export const CHAIN_ARBITRUM = "Arbitrum";
export const CHAIN_ETHEREUM = "Ethereum";
export const CHAIN_FANTOM = "Fantom";
export const CHAIN_POLYGON = "Polygon";
export const CHAIN_BASE = "Base";

export enum Chains {
ARBITRUM = CHAIN_ARBITRUM,
ETHEREUM = CHAIN_ETHEREUM,
FANTOM = CHAIN_FANTOM,
POLYGON = CHAIN_POLYGON,
BASE = CHAIN_BASE,
};

export const TOKEN_SUPPLY_TYPE_BONDS_DEPOSITS = "OHM Bonds (Burnable Deposits)";
Expand Down
19 changes: 18 additions & 1 deletion apps/server/.wundergraph/fragments/protocolMetric.graphql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# One fragment per type
# One fragment per type

fragment Fragment_ProtocolMetricArbitrum on treasuryArbitrum_ProtocolMetric {
id
Expand Down Expand Up @@ -67,3 +67,20 @@ fragment Fragment_ProtocolMetricPolygon on treasuryPolygon_ProtocolMetric {
timestamp
totalValueLocked
}

fragment Fragment_ProtocolMetricBase on treasuryBase_ProtocolMetric {
id
block
currentAPY
currentIndex
date
gOhmPrice
gOhmTotalSupply
nextDistributedOhm
nextEpochRebase
ohmPrice
ohmTotalSupply
sOhmCirculatingSupply
timestamp
totalValueLocked
}
22 changes: 21 additions & 1 deletion apps/server/.wundergraph/fragments/tokenRecord.graphql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# One fragment per type
# One fragment per type

fragment Fragment_TokenRecordArbitrum on treasuryArbitrum_TokenRecord {
id
Expand Down Expand Up @@ -79,3 +79,23 @@ fragment Fragment_TokenRecordPolygon on treasuryPolygon_TokenRecord {
value
valueExcludingOhm
}

fragment Fragment_TokenRecordBase on treasuryBase_TokenRecord {
id
balance
block
blockchain
category
date
isBluechip
isLiquid
multiplier
rate
source
sourceAddress
timestamp
token
tokenAddress
value
valueExcludingOhm
}
19 changes: 18 additions & 1 deletion apps/server/.wundergraph/fragments/tokenSupply.graphql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# One fragment per type
# One fragment per type

fragment Fragment_TokenSupplyArbitrum on treasuryArbitrum_TokenSupply {
id
Expand Down Expand Up @@ -67,3 +67,20 @@ fragment Fragment_TokenSupplyPolygon on treasuryPolygon_TokenSupply {
tokenAddress
type
}

fragment Fragment_TokenSupplyBase on treasuryBase_TokenSupply {
id
balance
block
blockchain
date
pool
poolAddress
source
sourceAddress
supplyBalance
timestamp
token
tokenAddress
type
}
Loading

0 comments on commit c2a0e35

Please sign in to comment.