Skip to content

Commit 0193be9

Browse files
authored
Merge pull request #7407 from BitGo/win-7774
feat(statics): add multisig support for flr chain
2 parents 960c9a7 + 4b6420e commit 0193be9

File tree

3 files changed

+27
-4
lines changed

3 files changed

+27
-4
lines changed

modules/statics/src/coinFeatures.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,14 @@ export const XDC_FEATURES = [...EVM_NON_EIP1559_FEATURES, CoinFeature.ERC20_BULK
656656

657657
export const SGB_FEATURES = [...EVM_FEATURES, CoinFeature.ERC20_BULK_TRANSACTION];
658658

659-
export const FLR_FEATURES = [...EVM_FEATURES, CoinFeature.ERC20_BULK_TRANSACTION];
659+
export const FLR_FEATURES = [
660+
...EVM_FEATURES,
661+
CoinFeature.MULTISIG,
662+
CoinFeature.MULTISIG_COLD,
663+
CoinFeature.MULTISIG_SUPPORT_GATED,
664+
CoinFeature.USES_NON_PACKED_ENCODING_FOR_TXDATA,
665+
CoinFeature.ERC20_BULK_TRANSACTION,
666+
];
660667

661668
export const WFLR_FEATURES = [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN, CoinFeature.STAKING];
662669

modules/statics/src/networks.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1824,6 +1824,8 @@ export class Flare extends Mainnet implements FlareNetwork, EthereumNetwork {
18241824
accountExplorerUrl = 'https://flare-explorer.flare.network/address/';
18251825
chainId = 14;
18261826
nativeCoinOperationHashPrefix = '14';
1827+
walletFactoryAddress = '0x809ee567e413543af1caebcdb247f6a67eafc8dd';
1828+
walletImplementationAddress = '0x944fef03af368414f29dc31a72061b8d64f568d2';
18271829
batcherContractAddress = '0xc5d7a3b4c490c6242fb28f20e5fe33cd983372a3';
18281830
forwarderFactoryAddress = '0x37996e762fa8b671869740c79eb33f625b3bf92a';
18291831
forwarderImplementationAddress = '0xd5fe1c1f216b775dfd30638fa7164d41321ef79b';
@@ -1836,6 +1838,8 @@ export class FlareTestnet extends Testnet implements FlareNetwork, EthereumNetwo
18361838
accountExplorerUrl = 'https://coston2-explorer.flare.network/address/';
18371839
chainId = 114;
18381840
nativeCoinOperationHashPrefix = '114';
1841+
walletFactoryAddress = '0x809ee567e413543af1caebcdb247f6a67eafc8dd';
1842+
walletImplementationAddress = '0x944fef03af368414f29dc31a72061b8d64f568d2';
18391843
batcherContractAddress = '0xc5d7a3b4c490c6242fb28f20e5fe33cd983372a3';
18401844
forwarderFactoryAddress = '0x37996e762fa8b671869740c79eb33f625b3bf92a';
18411845
forwarderImplementationAddress = '0xd5fe1c1f216b775dfd30638fa7164d41321ef79b';

modules/statics/test/unit/fixtures/expectedColdFeatures.ts

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
export const expectedColdFeatures = {
2-
both: ['eth', 'gteth', 'polygon', 'tpolygon', 'hteth', 'opeth', 'topeth', 'arbeth', 'tarbeth', 'soneium', 'tsoneium'],
2+
both: [
3+
'eth',
4+
'gteth',
5+
'polygon',
6+
'tpolygon',
7+
'hteth',
8+
'opeth',
9+
'topeth',
10+
'arbeth',
11+
'tarbeth',
12+
'soneium',
13+
'tsoneium',
14+
'flr',
15+
'tflr',
16+
],
317
justMultiSig: [
418
'algo',
519
'avaxc',
@@ -72,7 +86,6 @@ export const expectedColdFeatures = {
7286
'dot',
7387
'fetchai',
7488
'flow',
75-
'flr',
7689
'hash',
7790
'hbarevm',
7891
'icp',
@@ -129,7 +142,6 @@ export const expectedColdFeatures = {
129142
'tdot',
130143
'tfetchai',
131144
'tflow',
132-
'tflr',
133145
'thbarevm',
134146
'tog',
135147
'tmegaeth',

0 commit comments

Comments
 (0)