diff --git a/apollo/.env.test b/apollo/.env.test index e9d8cf9..ad8e0df 100644 --- a/apollo/.env.test +++ b/apollo/.env.test @@ -26,6 +26,7 @@ ZKSYNC_LNV3_ENDPOINT=https://api.studio.thegraph.com/query/61328/lnv3-zksepolia/ BERA_LNV3_ENDPOINT=https://thegraph-g2.darwinia.network/helix/subgraphs/name/lnv3/bera TAIKO_LNV3_ENDPOINT=https://thegraph-g2.darwinia.network/helix/subgraphs/name/lnv3/taiko MORPH_LNV3_ENDPOINT=https://thegraph-g2.darwinia.network/helix/subgraphs/name/lnv3/morph +BASE_LNV3_ENDPOINT=https://api.studio.thegraph.com/query/61328/lnv3-base-sepolia/v1.0.0 XTOKEN_DARWINIA_ETHEREUM_BACKING = https://thegraph-g2.darwinia.network/helix/subgraphs/name/xtokentransfer/pangolin XTOKEN_DARWINIA_ETHEREUM_ISSUING = https://api.studio.thegraph.com/query/61328/xtoken-sepolia/v1.1.8 diff --git a/apollo/src/aggregation/aggregation.resolver.ts b/apollo/src/aggregation/aggregation.resolver.ts index 08dd0b0..37e9477 100644 --- a/apollo/src/aggregation/aggregation.resolver.ts +++ b/apollo/src/aggregation/aggregation.resolver.ts @@ -15,6 +15,9 @@ export class AggregationResolver { '0x570fca2c6f902949dbb90664be5680fec94a84f6': '0x000000000bb6a011db294ce3f3423f00eac4959e', '0xc5a809900b5bfb46b1b3892e419e69331b8fbc6c': '0x000000000bb6a011db294ce3f3423f00eac4959e', '0x3f63bce51d3c6665bfe919816780a2109d42238d': '0x000000000bb6a011db294ce3f3423f00eac4959e', + '0x9c02a1a56474247a48f1090070d2817a2a5607d9': '0x0000000cf324fed44fb52e9a519cbb5bd8217f77', + '0x44c224d93b0f5e30b1a930d362e2bcfbb7807078': '0x0000000cf324fed44fb52e9a519cbb5bd8217f77', + '0x3b9e571adecb0c277486036d6097e9c2cccfa9d9': '0x0b425baaf0443275d40ce854734b06e7e976387d', }; constructor(private aggregationService: AggregationService) {} diff --git a/apollo/src/lnv3/transfer.service.ts b/apollo/src/lnv3/transfer.service.ts index 0ea0a5b..b92755d 100644 --- a/apollo/src/lnv3/transfer.service.ts +++ b/apollo/src/lnv3/transfer.service.ts @@ -17,6 +17,7 @@ export class TransferService extends BaseTransferServiceT2 { private readonly scrollEndpoint = this.configService.get('SCROLL_LNV3_ENDPOINT'); private readonly darwiniaEndpoint = this.configService.get('DARWINIA_LNV3_ENDPOINT'); private readonly blastEndpoint = this.configService.get('BLAST_LNV3_ENDPOINT'); + private readonly baseEndpoint = this.configService.get('BASE_LNV3_ENDPOINT'); private readonly beraEndpoint = this.configService.get('BERA_LNV3_ENDPOINT'); private readonly taikoEndpoint = this.configService.get('TAIKO_LNV3_ENDPOINT'); private readonly astarZkEVMEndpoint = this.configService.get('ASTAR_ZKEVM_LNV3_ENDPOINT'); @@ -634,6 +635,10 @@ export class TransferService extends BaseTransferServiceT2 { chain: 'zksync-sepolia', channel: 'layerzero', }, + { + chain: 'base-sepolia', + channel: 'layerzero', + }, ], }, { @@ -827,6 +832,37 @@ export class TransferService extends BaseTransferServiceT2 { }, ], }, + { + chainId: 84532, + chain: 'base-sepolia', + url: this.baseEndpoint, + level0Indexer: Level0Indexer.thegraph, + bridge: 'lnv3', + symbols: [ + { + key: 'USDT', + symbol: 'USDT', + address: '0x61B6B8c7C00aA7F060a2BEDeE6b11927CC9c3eF1', + outerAddress: '0x61B6B8c7C00aA7F060a2BEDeE6b11927CC9c3eF1', + protocolFee: 1000000000000000, + decimals: 18, + }, + { + key: 'ETH', + symbol: 'ETH', + address: '0x0000000000000000000000000000000000000000', + outerAddress: '0x0000000000000000000000000000000000000000', + protocolFee: 10000000000000, + decimals: 18, + }, + ], + channels: [ + { + chain: 'sepolia', + channel: 'layerzero', + }, + ], + }, ]; readonly addressToTokenInfo: { [key: string]: AddressTokenMap } = {};