Hatskier/custom urls fetcher (#68)

* bundlr integration code added

* added bundlr and arweave scripts

* bundlr integrated, arweave signing and tx posting removed

* few fixes after tests

* tests fixed

* 0.4.25

* added a new script: prepare-light-tokens-config-for-redstone-api.js

* fix: one failed broadcaster should not block another broadcaster

* removed unused import

* changed default source timeout to 15s

* changed default source timeout to 20s

* improved broadcasting for several http cache layers

* removed signature and replaced signer address with signer public key

* removed unused code

* redstone gateway connected, dockerfiles updated

* added price estimation script for bundlr

* config generation improved

* error logging improved and added sample twaps manifest

* draft twap implementation added

* added mechanism to disable arweave backup

* twap calculation logic implemented

* updated TwapFetcher structure to support signature verification

* few fixes in twap fetcher

* added CELO and AVAX tokens to rapid manifest

* twap fetcher implementation completed

* added a script to print all available fetchers

* added tests for twap fetcher

* Edge cases

* minor updates

* edge cases fixes

* added symbol to id mapping in base fetcher implementation

* added more symbols and sources

* added required files for manifest generation

* updated symbols config

* removed unused ARS symbol

* 0.4.26

* fixed yf-unofficial tests

* 0.4.27

* added private dockerfiles to gitignore

* added example manifest for custom urls

* added PoC for custom-urls fetcher

* 0.4.28

* updated custom-urls PoC

* customUrlsDetails -> customUrlDetails

* 0.4.29

* reverted signer address verification

* 0.4.30

Co-authored-by: c-gma <sigma@deltaprime.io>
This commit is contained in:
Alex Suvorov
2022-05-09 17:50:11 +02:00
committed by GitHub
parent b576f63a7e
commit 07235b8f63
17 changed files with 489 additions and 197 deletions

View File

@@ -45,12 +45,13 @@
"ethers": "^5.3.0",
"express": "^4.17.1",
"isomorphic-fetch": "^3.0.0",
"jsonpath": "^1.1.1",
"lodash": "^4.17.21",
"moment": "^2.29.2",
"promise-timeout": "^1.3.0",
"prompts": "^2.4.2",
"redstone-api": "^0.4.6",
"redstone-smartweave": "^0.4.68",
"redstone-smartweave": "^0.4.40",
"sort-deep-object-arrays": "^1.1.2",
"streamr-client": "^5.5.0",
"uuid": "^8.3.2",
@@ -63,6 +64,7 @@
"@types/exchange-rates-api": "^1.0.0",
"@types/isomorphic-fetch": "^0.0.35",
"@types/jest": "^26.0.23",
"@types/jsonpath": "^0.2.0",
"@types/lodash": "^4.14.168",
"@types/node": "^14.14.31",
"@types/promise-timeout": "^1.3.0",