Skip to content

Commit a151f42

Browse files
committed
feat(statics): adds rebase-token coin feature
This PR adds a new coin feature called `rebase-token` to enable a coin as a rebase token needed for rebase token flow TICKET: COIN-3676
1 parent 2faf5b7 commit a151f42

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)