Skip to content

Commit

Permalink
chore: update alphavantage cert (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
nvtaveras authored Jul 9, 2024
1 parent a76eca4 commit d144775
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "celo-oracle",
"version": "2.0.4-beta",
"version": "2.0.6-beta",
"description": "Oracle application to aggregate and report exchange rates to the Celo network",
"author": "Celo",
"license": "Apache-2.0",
Expand Down
4 changes: 2 additions & 2 deletions src/exchange_adapters/alphavantage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ interface Response {
export class AlphavantageAdapter extends BaseExchangeAdapter implements ExchangeAdapter {
baseApiUrl = 'https://www.alphavantage.co'
readonly _exchangeName: Exchange = Exchange.ALPHAVANTAGE
// E1 - validity not after: 15/09/2025, 13:00:00 GMT-3
// WE1 Expires: Tuesday, 20. February 2029 at 16:00:00 Eastern
readonly _certFingerprint256 =
'46:49:4E:30:37:90:59:DF:18:BE:52:12:43:05:E6:06:FC:59:07:0E:5B:21:07:6C:E1:13:95:4B:60:51:7C:DA'
'1D:FC:16:05:FB:AD:35:8D:8B:C8:44:F7:6D:15:20:3F:AC:9C:A5:C1:A7:9F:D4:85:7F:FA:F2:86:4F:BE:BF:96'

protected generatePairSymbol(): string {
const base = AlphavantageAdapter.standardTokenSymbolMap.get(this.config.baseCurrency)
Expand Down
4 changes: 2 additions & 2 deletions src/exchange_adapters/bitget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ export class BitgetAdapter extends BaseExchangeAdapter {
baseApiUrl = 'https://api.bitget.com/api'

readonly _exchangeName = Exchange.BITGET
// Cloudflare Inc ECC CA-3 - validity not after: 31/12/2024, 19:59:59 GMT-4
// E6 - validity not after: 12/03/2027, 18:59:59 GMT-5
readonly _certFingerprint256 =
'46:49:4E:30:37:90:59:DF:18:BE:52:12:43:05:E6:06:FC:59:07:0E:5B:21:07:6C:E1:13:95:4B:60:51:7C:DA'
'76:E9:E2:88:AA:FC:0E:37:F4:39:0C:BF:94:6A:AD:99:7D:5C:1C:90:1B:3C:E5:13:D3:D8:FA:DB:AB:E2:AB:85'

async fetchTicker(): Promise<Ticker> {
return this.parseTicker(
Expand Down

0 comments on commit d144775

Please sign in to comment.