From 68b5af8ed7059e4636cd7df54da55b342e3b6a5c Mon Sep 17 00:00:00 2001 From: Gregory Hill Date: Mon, 23 Sep 2024 12:58:52 +0100 Subject: [PATCH] feat: add segment lsts to gateway Signed-off-by: Gregory Hill --- assets/segment.svg | 7 + assets/shoebill.svg | 267 ++++++++++++++++++++++++++++++++++++++ sdk/package.json | 2 +- sdk/src/gateway/tokens.ts | 24 +++- 4 files changed, 295 insertions(+), 5 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 000000000..70e61de2d --- /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 000000000..25b38106a --- /dev/null +++ b/assets/shoebill.svg @@ -0,0 +1,267 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sdk/package.json b/sdk/package.json index 6de7a76eb..f7f4dd442 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 8f88972d9..1a80b83fc 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 */