Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/cooldown update failures only #60

Merged
merged 14 commits into from
Nov 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env_example
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ WPFP_NETWORK_NAME="chain.network"
#WPFP_NETWORK_TIMEOUT_SECS=60

## Web3 params
WPFP_WEB3_ADDRESS="0x9999999d139bdBFbF25923ba39F63bBFc7593400"
#WPFP_WEB3_FINALIZATION_SECS=60
WPFP_WEB3_FROM=""
#WPFP_WEB3_GAS=300_000
Expand Down
1 change: 1 addition & 0 deletions .github/actions/docker-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ runs:
using: "composite"
steps:
- name: Build the image itself
shell: bash
run: docker build -t ${{ inputs.tag }} -f docker/Dockerfile .
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "witnet-price-feeds-poller",
"version": "2.0.0",
"version": "2.1.0",
"description": "",
"main": "",
"repository": "https://github.com/witnet/witnet-price-feeds-poller",
"license": "MIT",
"private": false,
"scripts": {},
"dependencies": {
"witnet-requests": "~0.9.2"
"witnet-requests": "~0.9.11"
},
"devDependencies": {
"@babel/cli": "^7.5.5",
Expand Down
94 changes: 94 additions & 0 deletions price_feeds_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,100 @@
}
}
},
"elastos": {
"name": "Elastos",
"networks": {
"elastos.mainnet": {
"mainnet": true,
"address": "0x9999999d139bdBFbF25923ba39F63bBFc7593400",
"blockExplorer": "https://esc.elastos.io/address/{address}",
"color": "#66ff00",
"name": "Elastos Mainnet",
"pollingPeriod": 120000,
"feeds": {
"Price-ELA/USDT-6": {
"label": "₮",
"deviationPercentage": 3.5,
"maxSecsBetweenUpdates": 86400,
"minSecsBetweenUpdates": 900
}
}
},
"elastos.testnet": {
"address": "0x4874cb1732eE1167A006E0Ab047D940ACF04D771",
"blockExplorer": "https://esc-testnet.elastos.io/address/{address}",
"color": "#66ff00",
"name": "Elastos Testnet",
"pollingPeriod": 120000,
"feeds": {
"Price-BNB/USD-6": {
"isRouted": true,
"label": "$"
},
"Price-BNB/USDT-6": {
"label": "₮",
"deviationPercentage": 3.5,
"maxSecsBetweenUpdates": 900,
"minSecsBetweenUpdates": 900
},
"Price-BTC/USD-6": {
"label": "$",
"deviationPercentage": 3.5,
"maxSecsBetweenUpdates": 86400,
"minSecsBetweenUpdates": 900
},
"Price-BUSD/USD-6": {
"isRouted": true,
"label": "$"
},
"Price-BUSD/USDT-6": {
"label": "₮",
"deviationPercentage": 3.5,
"maxSecsBetweenUpdates": 86400,
"minSecsBetweenUpdates": 900
},
"Price-ELA/USD-6": {
"isRouted": true,
"label": "$"
},
"Price-ELA/USDT-6": {
"label": "₮",
"deviationPercentage": 3.5,
"maxSecsBetweenUpdates": 86400,
"minSecsBetweenUpdates": 900
},
"Price-ETH/USD-6": {
"label": "$",
"deviationPercentage": 3.5,
"maxSecsBetweenUpdates": 86400,
"minSecsBetweenUpdates": 900
},
"Price-HT/USD-6": {
"isRouted": true,
"label": "$"
},
"Price-HT/USDT-6": {
"label": "₮",
"deviationPercentage": 3.5,
"maxSecsBetweenUpdates": 86400,
"minSecsBetweenUpdates": 900
},
"Price-USDC/USD-6": {
"label": "$",
"deviationPercentage": 0.1,
"maxSecsBetweenUpdates": 86400,
"minSecsBetweenUpdates": 900
},
"Price-USDT/USD-6": {
"label": "$",
"deviationPercentage": 0.1,
"maxSecsBetweenUpdates": 86400,
"minSecsBetweenUpdates": 900
}
}
}
}
},
"ethereum": {
"networks": {
"ethereum.goerli": {
Expand Down
Loading