diff --git a/apollo/.env.prod b/apollo/.env.prod index 15ed8d01..4fefa3a7 100644 --- a/apollo/.env.prod +++ b/apollo/.env.prod @@ -19,5 +19,6 @@ LN_ETHEREUM_OPPOSITE_ENDPOINT=https://thegraph-g1.darwinia.network/helix/subgrap LN_ARBITRUM_OPPOSITE_ENDPOINT=https://thegraph-g1.darwinia.network/helix/subgraphs/name/lnopposite/arbitrum LN_ETHEREUM_DEFAULT_ENDPOINT=https://thegraph-g1.darwinia.network/helix/subgraphs/name/lndefault/ethereum LN_ARBITRUM_DEFAULT_ENDPOINT=https://thegraph-g1.darwinia.network/helix/subgraphs/name/lndefault/arbitrum +LN_MANTLE_DEFAULT_ENDPOINT=https://thegraph-g1.darwinia.network/helix/subgraphs/name/lndefault/mantle CHAIN_TYPE=formal diff --git a/apollo/src/lnbridgev20/transfer.service.ts b/apollo/src/lnbridgev20/transfer.service.ts index c1f8ec91..d24b9b55 100644 --- a/apollo/src/lnbridgev20/transfer.service.ts +++ b/apollo/src/lnbridgev20/transfer.service.ts @@ -88,6 +88,26 @@ export class TransferService extends BaseTransferServiceT2 { protocolFee: 100000000000000000000, decimals: 18, }, + { + symbol: 'USDT', + address: '0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9', + protocolFee: 100000, + decimals: 6, + }, + ], + }, + { + chainId: 5000, + chain: 'mantle', + url: this.lnMantleDefaultEndpoint, + bridge: 'default', + symbols: [ + { + symbol: 'USDT', + address: '0x201eba5cc46d216ce6dc03f6a759e8e766e956ae', + protocolFee: 100000, + decimals: 6, + }, ], }, ]; @@ -377,10 +397,14 @@ export class TransferService extends BaseTransferServiceT2 { }, 'arbitrum': { ethereum: 'arbitrum-l2', + mantle: 'layerzero', }, 'ethereum': { arbitrum: 'arbitrum-l2', }, + 'mantle': { + arbitrum: 'layerzero', + } }; readonly isTest = this.configService.get('CHAIN_TYPE') === 'test'; diff --git a/subgraph/ln-default-bridge/package.json b/subgraph/ln-default-bridge/package.json index 4a6c6d11..dd50d56c 100644 --- a/subgraph/ln-default-bridge/package.json +++ b/subgraph/ln-default-bridge/package.json @@ -11,6 +11,7 @@ "build-zkgoerli": "sh generate.sh zkgoerli 0xe8d55759c32fb608fD092aB2C0ef8A1F52B254d4 12529843 && graph codegen && graph build", "build-ethereum": "sh generate.sh ethereum 0x94C614DAeFDbf151E1BB53d6A201ae5fF56A9337 18411160 && graph codegen && graph build", "build-arbitrum": "sh generate.sh arbi 0x94C614DAeFDbf151E1BB53d6A201ae5fF56A9337 143123443 && graph codegen && graph build", + "build-mantle": "sh generate.sh mantle 0x94C614DAeFDbf151E1BB53d6A201ae5fF56A9337 17119189 && graph codegen && graph build", "create-remote-dev": "graph create --access-token ${KEY} --node https://thegraph-g2.darwinia.network/helix/deploy/ lndefault/${NETWORK}", "deploy-remote-dev": "graph deploy --access-token $KEY --node https://thegraph-g2.darwinia.network/helix/deploy/ --ipfs http://g2.generic.darwinia.network:5001/ lndefault/$NETWORK", "create-remote-pro": "graph create --access-token ${KEY} --node https://thegraph.darwinia.network/helix/deploy/ lndefault/${NETWORK}",