Skip to content

Commit

Permalink
Merge pull request #51 from CudoVentures/cudos-dev
Browse files Browse the repository at this point in the history
Sync with cudos-dev
  • Loading branch information
avalkov authored Jun 29, 2022
2 parents fdbf872 + 18b2c69 commit cfec855
Show file tree
Hide file tree
Showing 7 changed files with 390 additions and 20 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install modules
run: npm install
run: npm install --legacy-peer-deps
- name: Run lint check
run: npm run lint
Unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install modules
run: npm ci
run: npm ci --legacy-peer-deps
- name: Run tests
run: npm test -- --coverage
# - name: Upload coverage 📤
Expand All @@ -28,7 +28,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install modules
run: npm ci
run: npm ci --legacy-peer-deps
- name: Run build check
run: npm run build
env:
Expand Down
6 changes: 6 additions & 0 deletions src/graphql/market_data.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ query MarketData ($denom: String) {
supply {
coins
}
adjustedSupply: adjusted_supply(order_by: {height: desc}, limit: 1) {
value
}
apr: apr(order_by: {height: desc}, limit: 1) {
value
}
bondedTokens: staking_pool(order_by: {height: desc}, limit: 1) {
bonded_tokens
}
Expand Down
3 changes: 3 additions & 0 deletions src/graphql/tokenomics.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@ query Tokenomics{
supply: supply(order_by: {height: desc}, limit: 1) {
coins
}
adjustedSupply: adjusted_supply(order_by: {height: desc}, limit: 1) {
value
}
}
Loading

0 comments on commit cfec855

Please sign in to comment.