From 7b39d9298a937ce1bc1bc2606bf5c87883269398 Mon Sep 17 00:00:00 2001 From: stephen soo Date: Thu, 5 May 2022 01:27:30 +0100 Subject: [PATCH 1/7] fix(statics): change the display of BitGo DAI to SAI to reduce entry errors TICKET: BG-46702 --- modules/statics/src/coins.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/statics/src/coins.ts b/modules/statics/src/coins.ts index 97626aef86..658940000d 100644 --- a/modules/statics/src/coins.ts +++ b/modules/statics/src/coins.ts @@ -324,7 +324,7 @@ export const coins = CoinMap.fromCoins([ erc20('cvx', 'Convex Finance', 18, '0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b', UnderlyingAsset.CVX), erc20('czrx', 'Compound ZRX', 8, '0xb3319f5d18bc0d84dd1b4825dcde5d5f7266d407', UnderlyingAsset.CZRX), erc20('dacxi', 'Dacxi Coin', 18, '0xefab7248d36585e2340e5d25f8a8d243e6e3193f', UnderlyingAsset.DACXI), - erc20('dai', 'Dai', 18, '0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359', UnderlyingAsset.DAI), + erc20('dai', 'Dai', 18, '0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359', UnderlyingAsset.DAI, undefined, undefined, 'SAI'), erc20('dao', 'DAO Maker', 18, '0x0f51bb10119727a7e5ea3538074fb341f56b09ad', UnderlyingAsset.DAO), erc20('data', 'Streamr DATAcoin', 18, '0x0cf0ee63788a0849fe5297f3407f701e122cc023', UnderlyingAsset.DATA), erc20('datav2', 'Streamr Data', 18, '0x8f693ca8d21b157107184d29d398a8d082b38b76', UnderlyingAsset.DATAV2), @@ -764,7 +764,7 @@ export const coins = CoinMap.fromCoins([ ofcerc20('ofccomp', 'Compound Token', 18, UnderlyingAsset.COMP), ofcerc20('ofccrv', 'Curve DAO Token', 18, UnderlyingAsset.CRV), ofcerc20('ofccvx', 'Convex Finance', 18, UnderlyingAsset.CVX), - ofcerc20('ofcdai', 'Dai', 18, UnderlyingAsset.DAI), + ofcerc20('ofcdai', 'Dai', 18, UnderlyingAsset.DAI, undefined, undefined, undefined,'SAI'), ofcerc20('ofcdydx', 'dYdX', 18, UnderlyingAsset.DYDX), ofcerc20('ofcgrt', 'The Graph', 18, UnderlyingAsset.GRT), ofcerc20('ofclink', 'ChainLink', 18, UnderlyingAsset.LINK), From fce2d8e70bef87096fe185ebcfb4df3e391ac1d4 Mon Sep 17 00:00:00 2001 From: stephen soo Date: Thu, 5 May 2022 02:04:02 +0100 Subject: [PATCH 2/7] fix(statics): change the display of BitGo DAI to SAI to reduce entry errors TICKET: BG-46702 --- modules/statics/src/coins.ts | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/modules/statics/src/coins.ts b/modules/statics/src/coins.ts index 658940000d..9924d9abde 100644 --- a/modules/statics/src/coins.ts +++ b/modules/statics/src/coins.ts @@ -324,7 +324,15 @@ export const coins = CoinMap.fromCoins([ erc20('cvx', 'Convex Finance', 18, '0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b', UnderlyingAsset.CVX), erc20('czrx', 'Compound ZRX', 8, '0xb3319f5d18bc0d84dd1b4825dcde5d5f7266d407', UnderlyingAsset.CZRX), erc20('dacxi', 'Dacxi Coin', 18, '0xefab7248d36585e2340e5d25f8a8d243e6e3193f', UnderlyingAsset.DACXI), - erc20('dai', 'Dai', 18, '0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359', UnderlyingAsset.DAI, undefined, undefined, 'SAI'), + erc20( + 'dai', + 'Dai', + 18, + '0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359', + UnderlyingAsset.DAI, + undefined, + undefined, + 'SAI'), erc20('dao', 'DAO Maker', 18, '0x0f51bb10119727a7e5ea3538074fb341f56b09ad', UnderlyingAsset.DAO), erc20('data', 'Streamr DATAcoin', 18, '0x0cf0ee63788a0849fe5297f3407f701e122cc023', UnderlyingAsset.DATA), erc20('datav2', 'Streamr Data', 18, '0x8f693ca8d21b157107184d29d398a8d082b38b76', UnderlyingAsset.DATAV2), @@ -764,7 +772,15 @@ export const coins = CoinMap.fromCoins([ ofcerc20('ofccomp', 'Compound Token', 18, UnderlyingAsset.COMP), ofcerc20('ofccrv', 'Curve DAO Token', 18, UnderlyingAsset.CRV), ofcerc20('ofccvx', 'Convex Finance', 18, UnderlyingAsset.CVX), - ofcerc20('ofcdai', 'Dai', 18, UnderlyingAsset.DAI, undefined, undefined, undefined,'SAI'), + ofcerc20( + 'ofcdai', + 'Dai', + 18, + UnderlyingAsset.DAI, + undefined, + undefined, + undefined, + 'SAI'), ofcerc20('ofcdydx', 'dYdX', 18, UnderlyingAsset.DYDX), ofcerc20('ofcgrt', 'The Graph', 18, UnderlyingAsset.GRT), ofcerc20('ofclink', 'ChainLink', 18, UnderlyingAsset.LINK), From 64bde499a6ed71a015cf3baa51c2e07d3d7fbaf7 Mon Sep 17 00:00:00 2001 From: stephen soo Date: Thu, 5 May 2022 02:21:16 +0100 Subject: [PATCH 3/7] fix(statics): change the display of BitGo DAI to SAI to reduce entry errors TICKET: BG-46702 --- modules/statics/src/coins.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/statics/src/coins.ts b/modules/statics/src/coins.ts index 9924d9abde..09f4cda057 100644 --- a/modules/statics/src/coins.ts +++ b/modules/statics/src/coins.ts @@ -325,14 +325,14 @@ export const coins = CoinMap.fromCoins([ erc20('czrx', 'Compound ZRX', 8, '0xb3319f5d18bc0d84dd1b4825dcde5d5f7266d407', UnderlyingAsset.CZRX), erc20('dacxi', 'Dacxi Coin', 18, '0xefab7248d36585e2340e5d25f8a8d243e6e3193f', UnderlyingAsset.DACXI), erc20( - 'dai', - 'Dai', - 18, - '0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359', - UnderlyingAsset.DAI, - undefined, - undefined, - 'SAI'), + 'dai', + 'Dai', + 18, + '0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359', + UnderlyingAsset.DAI, + undefined, + undefined, + 'SAI'), erc20('dao', 'DAO Maker', 18, '0x0f51bb10119727a7e5ea3538074fb341f56b09ad', UnderlyingAsset.DAO), erc20('data', 'Streamr DATAcoin', 18, '0x0cf0ee63788a0849fe5297f3407f701e122cc023', UnderlyingAsset.DATA), erc20('datav2', 'Streamr Data', 18, '0x8f693ca8d21b157107184d29d398a8d082b38b76', UnderlyingAsset.DATAV2), From 438c7ccb48375ae081f39225810094b4283acb3e Mon Sep 17 00:00:00 2001 From: stephen soo Date: Thu, 5 May 2022 02:29:42 +0100 Subject: [PATCH 4/7] fix(statics): change the display of BitGo DAI to SAI to reduce entry errors TICKET: BG-46702 --- modules/statics/src/coins.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/statics/src/coins.ts b/modules/statics/src/coins.ts index 09f4cda057..720d4fc5f5 100644 --- a/modules/statics/src/coins.ts +++ b/modules/statics/src/coins.ts @@ -332,7 +332,8 @@ export const coins = CoinMap.fromCoins([ UnderlyingAsset.DAI, undefined, undefined, - 'SAI'), + 'SAI' + ), erc20('dao', 'DAO Maker', 18, '0x0f51bb10119727a7e5ea3538074fb341f56b09ad', UnderlyingAsset.DAO), erc20('data', 'Streamr DATAcoin', 18, '0x0cf0ee63788a0849fe5297f3407f701e122cc023', UnderlyingAsset.DATA), erc20('datav2', 'Streamr Data', 18, '0x8f693ca8d21b157107184d29d398a8d082b38b76', UnderlyingAsset.DATAV2), @@ -780,7 +781,8 @@ export const coins = CoinMap.fromCoins([ undefined, undefined, undefined, - 'SAI'), + 'SAI' + ), ofcerc20('ofcdydx', 'dYdX', 18, UnderlyingAsset.DYDX), ofcerc20('ofcgrt', 'The Graph', 18, UnderlyingAsset.GRT), ofcerc20('ofclink', 'ChainLink', 18, UnderlyingAsset.LINK), From 44dcff68c2b03a70094e2e744039c3cc9c7fe505 Mon Sep 17 00:00:00 2001 From: stephen soo Date: Thu, 5 May 2022 02:41:30 +0100 Subject: [PATCH 5/7] fix(statics): change the display of BitGo DAI to SAI to reduce entry errors TICKET: BG-46702 --- modules/statics/src/coins.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/statics/src/coins.ts b/modules/statics/src/coins.ts index 720d4fc5f5..7bb27e3bdf 100644 --- a/modules/statics/src/coins.ts +++ b/modules/statics/src/coins.ts @@ -774,14 +774,14 @@ export const coins = CoinMap.fromCoins([ ofcerc20('ofccrv', 'Curve DAO Token', 18, UnderlyingAsset.CRV), ofcerc20('ofccvx', 'Convex Finance', 18, UnderlyingAsset.CVX), ofcerc20( - 'ofcdai', - 'Dai', - 18, - UnderlyingAsset.DAI, - undefined, - undefined, - undefined, - 'SAI' + 'ofcdai', + 'Dai', + 18, + UnderlyingAsset.DAI, + undefined, + undefined, + undefined, + 'SAI' ), ofcerc20('ofcdydx', 'dYdX', 18, UnderlyingAsset.DYDX), ofcerc20('ofcgrt', 'The Graph', 18, UnderlyingAsset.GRT), From c2f90b7e7522bd245b9f20b8fe6755b50f087815 Mon Sep 17 00:00:00 2001 From: stephen soo Date: Thu, 5 May 2022 07:24:24 +0100 Subject: [PATCH 6/7] fix(statics): change the display of BitGo DAI to SAI to reduce entry errors TICKET: BG-46702 --- modules/statics/src/coins.ts | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/modules/statics/src/coins.ts b/modules/statics/src/coins.ts index 7bb27e3bdf..b5a04010c8 100644 --- a/modules/statics/src/coins.ts +++ b/modules/statics/src/coins.ts @@ -325,14 +325,14 @@ export const coins = CoinMap.fromCoins([ erc20('czrx', 'Compound ZRX', 8, '0xb3319f5d18bc0d84dd1b4825dcde5d5f7266d407', UnderlyingAsset.CZRX), erc20('dacxi', 'Dacxi Coin', 18, '0xefab7248d36585e2340e5d25f8a8d243e6e3193f', UnderlyingAsset.DACXI), erc20( - 'dai', - 'Dai', - 18, - '0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359', + 'dai', + 'Dai', + 18, + '0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359', UnderlyingAsset.DAI, - undefined, - undefined, - 'SAI' + undefined, + undefined, + 'SAI' ), erc20('dao', 'DAO Maker', 18, '0x0f51bb10119727a7e5ea3538074fb341f56b09ad', UnderlyingAsset.DAO), erc20('data', 'Streamr DATAcoin', 18, '0x0cf0ee63788a0849fe5297f3407f701e122cc023', UnderlyingAsset.DATA), @@ -774,14 +774,14 @@ export const coins = CoinMap.fromCoins([ ofcerc20('ofccrv', 'Curve DAO Token', 18, UnderlyingAsset.CRV), ofcerc20('ofccvx', 'Convex Finance', 18, UnderlyingAsset.CVX), ofcerc20( - 'ofcdai', - 'Dai', - 18, - UnderlyingAsset.DAI, - undefined, - undefined, - undefined, - 'SAI' + 'ofcdai', + 'Dai', + 18, + UnderlyingAsset.DAI, + undefined, + undefined, + undefined, + 'SAI' ), ofcerc20('ofcdydx', 'dYdX', 18, UnderlyingAsset.DYDX), ofcerc20('ofcgrt', 'The Graph', 18, UnderlyingAsset.GRT), From e88d8b93cf24617094f8f0a892083f2e15a35019 Mon Sep 17 00:00:00 2001 From: stephen soo Date: Fri, 6 May 2022 01:38:49 +0100 Subject: [PATCH 7/7] fix(statics): change the display of BitGo DAI to SAI to reduce entry errors TICKET: BG-46702 --- modules/statics/src/coins.ts | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/modules/statics/src/coins.ts b/modules/statics/src/coins.ts index b5a04010c8..909537b35e 100644 --- a/modules/statics/src/coins.ts +++ b/modules/statics/src/coins.ts @@ -325,14 +325,14 @@ export const coins = CoinMap.fromCoins([ erc20('czrx', 'Compound ZRX', 8, '0xb3319f5d18bc0d84dd1b4825dcde5d5f7266d407', UnderlyingAsset.CZRX), erc20('dacxi', 'Dacxi Coin', 18, '0xefab7248d36585e2340e5d25f8a8d243e6e3193f', UnderlyingAsset.DACXI), erc20( - 'dai', - 'Dai', - 18, - '0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359', + 'dai', + 'Dai', + 18, + '0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359', UnderlyingAsset.DAI, - undefined, - undefined, - 'SAI' + undefined, + undefined, + 'SAI' ), erc20('dao', 'DAO Maker', 18, '0x0f51bb10119727a7e5ea3538074fb341f56b09ad', UnderlyingAsset.DAO), erc20('data', 'Streamr DATAcoin', 18, '0x0cf0ee63788a0849fe5297f3407f701e122cc023', UnderlyingAsset.DATA), @@ -773,16 +773,7 @@ export const coins = CoinMap.fromCoins([ ofcerc20('ofccomp', 'Compound Token', 18, UnderlyingAsset.COMP), ofcerc20('ofccrv', 'Curve DAO Token', 18, UnderlyingAsset.CRV), ofcerc20('ofccvx', 'Convex Finance', 18, UnderlyingAsset.CVX), - ofcerc20( - 'ofcdai', - 'Dai', - 18, - UnderlyingAsset.DAI, - undefined, - undefined, - undefined, - 'SAI' - ), + ofcerc20('ofcdai', 'Dai', 18, UnderlyingAsset.DAI, undefined, undefined, undefined, 'SAI'), ofcerc20('ofcdydx', 'dYdX', 18, UnderlyingAsset.DYDX), ofcerc20('ofcgrt', 'The Graph', 18, UnderlyingAsset.GRT), ofcerc20('ofclink', 'ChainLink', 18, UnderlyingAsset.LINK),