Skip to content

Commit bc9d7bd

Browse files
authored
Merge pull request #6273 from BitGo/COIN-3676-add-rebase-coin-feature
feat(statics): Add `rebase-token` coin feature
2 parents 2faf5b7 + a151f42 commit bc9d7bd

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

modules/statics/src/base.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,11 @@ export enum CoinFeature {
375375
* This coin supports multisig wallets
376376
*/
377377
MULTISIG = 'multisig',
378+
379+
/**
380+
* This coin is a rebase token and should use the rebase token functionality
381+
*/
382+
REBASE_TOKEN = 'rebase-token',
378383
}
379384

380385
/**

modules/statics/src/coins/erc20Coins.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7332,7 +7332,8 @@ export const erc20Coins = [
73327332
'stETH',
73337333
18,
73347334
'0xae7ab96520de3a18e5e111b5eaab095312d7fe84',
7335-
UnderlyingAsset.STETH
7335+
UnderlyingAsset.STETH,
7336+
[...AccountCoin.DEFAULT_FEATURES, CoinFeature.BULK_TRANSACTION, CoinFeature.REBASE_TOKEN]
73367337
),
73377338
erc20(
73387339
'8e23a447-d5e7-49e9-b7a0-5b23058971db',

0 commit comments

Comments
 (0)