From f3f4d6a109a2209885eda3ce2273789746da1e33 Mon Sep 17 00:00:00 2001 From: Gregory Hill Date: Mon, 23 Sep 2024 12:59:11 +0100 Subject: [PATCH] feat: add segment lsts to gateway Signed-off-by: Gregory Hill --- assets/segment.svg | 7 + assets/shoebill.svg | 267 ++++++++++++++++++++++++++++++++++++++ sdk/package-lock.json | 4 +- sdk/package.json | 2 +- sdk/src/gateway/tokens.ts | 24 +++- 5 files changed, 297 insertions(+), 7 deletions(-) create mode 100644 assets/segment.svg create mode 100644 assets/shoebill.svg diff --git a/assets/segment.svg b/assets/segment.svg new file mode 100644 index 00000000..70e61de2 --- /dev/null +++ b/assets/segment.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/assets/shoebill.svg b/assets/shoebill.svg new file mode 100644 index 00000000..25b38106 --- /dev/null +++ b/assets/shoebill.svg @@ -0,0 +1,267 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sdk/package-lock.json b/sdk/package-lock.json index 06b422e0..915d7c9c 100644 --- a/sdk/package-lock.json +++ b/sdk/package-lock.json @@ -1,12 +1,12 @@ { "name": "@gobob/bob-sdk", - "version": "2.3.4", + "version": "2.3.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@gobob/bob-sdk", - "version": "2.3.4", + "version": "2.3.5", "dependencies": { "@scure/base": "^1.1.7", "@scure/btc-signer": "^1.3.2", diff --git a/sdk/package.json b/sdk/package.json index 6de7a76e..f7f4dd44 100644 --- a/sdk/package.json +++ b/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@gobob/bob-sdk", - "version": "2.3.4", + "version": "2.3.5", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { diff --git a/sdk/src/gateway/tokens.ts b/sdk/src/gateway/tokens.ts index 8f88972d..1a80b83f 100644 --- a/sdk/src/gateway/tokens.ts +++ b/sdk/src/gateway/tokens.ts @@ -23,7 +23,7 @@ const TOKENS = [ decimals: 8, bob: '0x2925dF9Eb2092B53B06A06353A7249aF3a8B139e', bobSepolia: '', - logoURI: 'https://ethereum-optimism.github.io/data/tBTC/logo.svg', + logoURI: 'https://raw.githubusercontent.com/bob-collective/bob/master/assets/shoebill.svg', }, { name: 'sb Wrapped BTC', @@ -31,7 +31,7 @@ const TOKENS = [ decimals: 8, bob: '0x5c46D274ed8AbCAe2964B63c0360ad3Ccc384dAa', bobSepolia: '', - logoURI: 'https://ethereum-optimism.github.io/data/WBTC/logo.svg', + logoURI: 'https://raw.githubusercontent.com/bob-collective/bob/master/assets/shoebill.svg', }, { name: 'Segment TBTC', @@ -39,7 +39,7 @@ const TOKENS = [ decimals: 8, bob: '0xD30288EA9873f376016A0250433b7eA375676077', bobSepolia: '', - logoURI: 'https://ethereum-optimism.github.io/data/tBTC/logo.svg', + logoURI: 'https://raw.githubusercontent.com/bob-collective/bob/master/assets/segment.svg', }, { name: 'Segment WBTC', @@ -47,7 +47,7 @@ const TOKENS = [ decimals: 8, bob: '0x6265C05158f672016B771D6Fb7422823ed2CbcDd', bobSepolia: '', - logoURI: 'https://ethereum-optimism.github.io/data/WBTC/logo.svg', + logoURI: 'https://raw.githubusercontent.com/bob-collective/bob/master/assets/segment.svg', }, { name: 'Staked mtBTC', @@ -81,6 +81,22 @@ const TOKENS = [ bobSepolia: '', logoURI: 'https://raw.githubusercontent.com/bob-collective/bob/master/assets/uniBTC.svg', }, + { + name: 'Segment SOLVBTCBBN', + symbol: 'seSOLVBTCBBN', + decimals: 8, + bob: '0x5EF2B8fbCc8aea2A9Dbe2729F0acf33E073Fa43e', + bobSepolia: '', + logoURI: 'https://raw.githubusercontent.com/bob-collective/bob/master/assets/segment.svg', + }, + { + name: 'Segment UNIBTC', + symbol: 'seUNIBTC', + decimals: 8, + bob: '0x7848F0775EebaBbF55cB74490ce6D3673E68773A', + bobSepolia: '', + logoURI: 'https://raw.githubusercontent.com/bob-collective/bob/master/assets/segment.svg', + }, ]; /** @description Tokens supported on BOB and BOB Sepolia */