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

chore: update alphavantage cert #261

Merged
merged 4 commits into from
Jul 9, 2024
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
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
Loading