forked from UMAprotocol/protocol
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update PublishPrices script to support CNH/USD (UMAprotocol#165)
- Loading branch information
Showing
3 changed files
with
87 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,4 @@ bridge.log | |
package-lock.json | ||
coverage/* | ||
coverage.json | ||
|
||
out.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#!/bin/bash | ||
|
||
while sleep 15; do $(npm bin)/truffle exec ./scripts/PublishBitcoinEthPrice.js --network derivative_demo_mainnet >>out.log 2>&1; done | ||
# Usage: ./publishPrices.sh <ManualPriceFeed address> <network> | ||
# Example: ./publishPrices.s 0x5b48d54581246863913c704551b2CA6248223f32 develop | ||
while sleep 15; do $(npm bin)/truffle exec ./scripts/PublishPrices.js $1 --network $2 >>out.log 2>&1; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters