Skip to content

Commit

Permalink
add (new example) update (dequanto)
Browse files Browse the repository at this point in the history
  • Loading branch information
tenbits committed Jan 21, 2025
1 parent 44e1133 commit 988b4ed
Show file tree
Hide file tree
Showing 8 changed files with 1,682 additions and 106 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,12 @@ jobs:
-H "Circle-Token: $CIRCLECI_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "branch": "master" }'
- name: Trigger hardhat example with latest 0xweb
env:
CIRCLECI_TOKEN: ${{ secrets.CIRCLECI_TOKEN }}
run: |
curl -X POST https://circleci.com/api/v2/project/github/0xweb-org/examples-price/pipeline \
-H "Circle-Token: $CIRCLECI_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "branch": "master" }'
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ contracts/oz/
test/bin/
de_**.bat

# in progress
src/www/
index-dev.html
index.dev.html
2 changes: 1 addition & 1 deletion dequanto
Submodule dequanto updated 41 files
+1 −0 .gitignore
+20 −2 actions/tokens.act.ts
+11 −0 configs/dequanto.yml
+3,700 −1,639 data/chainlink/feeds.json
+1 −1 data/tokens/arbitrum.json
+1 −0 data/tokens/coinmarketcap/tokens.json
+1 −0 data/tokens/uni.json
+15 −19 package-lock.json
+3 −3 package.json
+1 −1 src/chains/PlatformFactory.ts
+40 −33 src/clients/Web3ClientFactory.ts
+1 −1 src/clients/handlers/RateLimitGuard.ts
+10 −0 src/config/ConfigDefaults.ts
+4 −0 src/config/interface/IConfigData.ts
+4 −1 src/contracts/deploy/Deployments.ts
+9 −4 src/explorer/BlockchainExplorer.ts
+1 −0 src/models/TPlatform.ts
+4 −4 src/tokens/TokenDataProvider.ts
+3 −3 src/tokens/TokenExchanges/AmmV2ExchangeBase.ts
+41 −8 src/tokens/TokenExchanges/AmmV2PriceQuote.ts
+1 −1 src/tokens/TokenOracles/IOracle.ts
+62 −0 src/tokens/TokenOracles/SpotPriceAggregator/SpotPriceAggregator.ts
+1 −1 src/tokens/TokenOracles/amm/AmmV2Oracle.ts
+9 −2 src/tokens/TokenOracles/chainlink/ChainlinkFeedProvider.ts
+0 −1 src/tokens/TokenOracles/chainlink/ChainlinkOracle.ts
+34 −42 src/tokens/TokenPriceService.ts
+10 −23 src/tokens/TokenPriceServiceProvider.ts
+7 −0 src/tokens/TokenProviders/TPCoinmarketcap.ts
+90 −1 src/tokens/TokenProviders/TPUniswap.ts
+0 −17 src/tokens/TokensServiceBsc.ts
+0 −9 src/tokens/TokensServiceEth.ts
+7 −30 src/tokens/TokensServiceFactory.ts
+0 −17 src/tokens/TokensServicePolygon.ts
+0 −26 src/tokens/TokensServiceXDai.ts
+1 −2 src/utils/$bigfloat.ts
+12 −0 src/utils/$dependency.ts
+2 −2 src/utils/$number.ts
+4 −2 src/utils/$path.ts
+1 −1 test/ns.spec.ts
+3 −3 test/token.spec.ts
+39 −0 test/tokens/oracles.spec.ts
Loading

0 comments on commit 988b4ed

Please sign in to comment.