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
11 changes: 11 additions & 0 deletions modules/statics/src/allCoinsAndTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3304,6 +3304,17 @@ export const allCoinsAndTokens = [
Networks.main.megaeth
),

// MegaEth testnet tokens
erc20Token(
'b8a7c96f-96af-4c2f-94eb-582aa21ac6bb',
'tmegaeth:tmt',
'Test Mintable Token',
6,
'0x9abf1ca968783ba2ad3a75b6b7b2beece80a4fc2',
UnderlyingAsset['tmegaeth:tmt'],
Networks.test.megaeth
),

// Plume testnet tokens
erc20Token(
'67a140e3-c73e-4984-af13-7b1555ee3ff3',
Expand Down
3 changes: 3 additions & 0 deletions modules/statics/src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3031,6 +3031,9 @@ export enum UnderlyingAsset {
'megaeth:mega' = 'megaeth:mega',
'megaeth:weth' = 'megaeth:weth',

// MegaEth testnet tokens
'tmegaeth:tmt' = 'tmegaeth:tmt',

// Plume testnet tokens
'tplume:usdc' = 'tplume:usdc',

Expand Down
11 changes: 11 additions & 0 deletions modules/statics/src/coins/ofcErc20Coins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5212,6 +5212,17 @@ export const tOfcErc20Coins = [
18,
underlyingAssetForSymbol('megaeth:weth')
),

// MegaEth testnet tokens
tofcerc20(
'c4e8f2a1-9b3d-4e5f-8a6c-7d2e1f0b9c8a',
'ofctmegaeth:tmt',
'Test Mintable Token',
6,
underlyingAssetForSymbol('tmegaeth:tmt')
),

// Morph tokens
ofcerc20('4d5f4fb7-b2e2-4e63-bbda-7f315332da5b', 'ofcmorph:usdc', 'USD Coin', 6, UnderlyingAsset['morph:usdc']),
ofcerc20('37f51c58-9be5-4c56-adcb-2c7f3c2cfc1a', 'ofcmorph:usdt', 'Tether USD', 6, UnderlyingAsset['morph:usdt']),
ofcerc20('e499e7cc-22ae-4374-ae4b-27651565af15', 'ofcmorph:usd1', 'USD1', 18, UnderlyingAsset['morph:usd1']),
Expand Down
2 changes: 1 addition & 1 deletion modules/statics/src/map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export class CoinMap {
747: 'flow',
98867: 'tplume',
98866: 'plume',
6342: 'tmegaeth',
6343: 'tmegaeth',
4326: 'megaeth',
295: 'hbarevm',
296: 'thbarevm',
Expand Down
12 changes: 6 additions & 6 deletions modules/statics/src/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2196,19 +2196,19 @@ class FlowTestnet extends Testnet implements EthereumNetwork {
class MegaETH extends Mainnet implements EthereumNetwork {
name = 'MegaETH';
family = CoinFamily.MEGAETH;
explorerUrl = 'https://www.megaexplorer.xyz/tx/';
accountExplorerUrl = 'https://www.megaexplorer.xyz/address/';
explorerUrl = 'https://megaeth.blockscout.com/tx/';
accountExplorerUrl = 'https://megaeth.blockscout.com/address/';
chainId = 4326;
nativeCoinOperationHashPrefix = '4326';
}

class MegaETHTestnet extends Testnet implements EthereumNetwork {
name = 'MegaETHTestnet';
family = CoinFamily.MEGAETH;
explorerUrl = 'https://megaeth.blockscout.com/tx/';
accountExplorerUrl = 'https://megaeth.blockscout.com/address/';
chainId = 6342;
nativeCoinOperationHashPrefix = '6342';
explorerUrl = 'https://www.megaexplorer.xyz/tx/';
accountExplorerUrl = 'https://www.megaexplorer.xyz/address/';
chainId = 6343;
nativeCoinOperationHashPrefix = '6343';
}

class Plume extends Mainnet implements EthereumNetwork {
Expand Down