Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion modules/statics/src/coinFeatures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,14 @@ export const XDC_FEATURES = [...EVM_NON_EIP1559_FEATURES, CoinFeature.ERC20_BULK

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

export const FLR_FEATURES = [...EVM_FEATURES, CoinFeature.ERC20_BULK_TRANSACTION];
export const FLR_FEATURES = [
...EVM_FEATURES,
CoinFeature.MULTISIG,
CoinFeature.MULTISIG_COLD,
CoinFeature.MULTISIG_SUPPORT_GATED,
CoinFeature.USES_NON_PACKED_ENCODING_FOR_TXDATA,
CoinFeature.ERC20_BULK_TRANSACTION,
];

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

Expand Down
4 changes: 4 additions & 0 deletions modules/statics/src/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1824,6 +1824,8 @@ export class Flare extends Mainnet implements FlareNetwork, EthereumNetwork {
accountExplorerUrl = 'https://flare-explorer.flare.network/address/';
chainId = 14;
nativeCoinOperationHashPrefix = '14';
walletFactoryAddress = '0x809ee567e413543af1caebcdb247f6a67eafc8dd';
walletImplementationAddress = '0x944fef03af368414f29dc31a72061b8d64f568d2';
batcherContractAddress = '0xc5d7a3b4c490c6242fb28f20e5fe33cd983372a3';
forwarderFactoryAddress = '0x37996e762fa8b671869740c79eb33f625b3bf92a';
forwarderImplementationAddress = '0xd5fe1c1f216b775dfd30638fa7164d41321ef79b';
Expand All @@ -1836,6 +1838,8 @@ export class FlareTestnet extends Testnet implements FlareNetwork, EthereumNetwo
accountExplorerUrl = 'https://coston2-explorer.flare.network/address/';
chainId = 114;
nativeCoinOperationHashPrefix = '114';
walletFactoryAddress = '0x809ee567e413543af1caebcdb247f6a67eafc8dd';
walletImplementationAddress = '0x944fef03af368414f29dc31a72061b8d64f568d2';
batcherContractAddress = '0xc5d7a3b4c490c6242fb28f20e5fe33cd983372a3';
forwarderFactoryAddress = '0x37996e762fa8b671869740c79eb33f625b3bf92a';
forwarderImplementationAddress = '0xd5fe1c1f216b775dfd30638fa7164d41321ef79b';
Expand Down
18 changes: 15 additions & 3 deletions modules/statics/test/unit/fixtures/expectedColdFeatures.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
export const expectedColdFeatures = {
both: ['eth', 'gteth', 'polygon', 'tpolygon', 'hteth', 'opeth', 'topeth', 'arbeth', 'tarbeth', 'soneium', 'tsoneium'],
both: [
'eth',
'gteth',
'polygon',
'tpolygon',
'hteth',
'opeth',
'topeth',
'arbeth',
'tarbeth',
'soneium',
'tsoneium',
'flr',
'tflr',
],
justMultiSig: [
'algo',
'avaxc',
Expand Down Expand Up @@ -72,7 +86,6 @@ export const expectedColdFeatures = {
'dot',
'fetchai',
'flow',
'flr',
'hash',
'hbarevm',
'icp',
Expand Down Expand Up @@ -129,7 +142,6 @@ export const expectedColdFeatures = {
'tdot',
'tfetchai',
'tflow',
'tflr',
'thbarevm',
'tog',
'tmegaeth',
Expand Down