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

fix: update bitso & mercado certs #238

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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": "1.0.13",
"version": "1.0.14",
"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/bitso.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import { Exchange } from '../utils'
export class BitsoAdapter extends BaseExchangeAdapter implements ExchangeAdapter {
baseApiUrl = 'https://api.bitso.com/api/v3'
readonly _exchangeName = Exchange.BITSO
// Cloudflare Inc ECC CA-3 - validity not after: 31/12/2024, 19:59:59 GMT-4
// Internet Security Research Group - validity not after: 9/15/25, 11:00:00 AM EST
readonly _certFingerprint256 =
'3A:BB:E6:3D:AF:75:6C:50:16:B6:B8:5F:52:01:5F:D8:E8:AC:BE:27:7C:50:87:B1:27:A6:05:63:A8:41:ED:8A'
'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'

private static readonly tokenSymbolMap = BitsoAdapter.standardTokenSymbolMap

Expand Down
4 changes: 2 additions & 2 deletions src/exchange_adapters/mercado.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import { Exchange } from '../utils'
export class MercadoAdapter extends BaseExchangeAdapter implements ExchangeAdapter {
baseApiUrl = 'https://api.mercadobitcoin.net/api/v4'
readonly _exchangeName = Exchange.MERCADO
// Cloudflare Inc ECC CA-3 - validity not after: 31/12/2024, 19:59:59 GMT-4
// Google Trust Services LLC CA - validity not after: 9/29/27, 7:00:42 PM EST
readonly _certFingerprint256 =
'3A:BB:E6:3D:AF:75:6C:50:16:B6:B8:5F:52:01:5F:D8:E8:AC:BE:27:7C:50:87:B1:27:A6:05:63:A8:41:ED:8A'
'97:D4:20:03:E1:32:55:29:46:09:7F:20:EF:95:5F:5B:1C:D5:70:AA:43:72:D7:80:03:3A:65:EF:BE:69:75:8D'

private static readonly tokenSymbolMap = MercadoAdapter.standardTokenSymbolMap

Expand Down
Loading