diff --git a/apollo/.env.test b/apollo/.env.test index 415ca2a4..12f014ec 100644 --- a/apollo/.env.test +++ b/apollo/.env.test @@ -27,6 +27,6 @@ BERA_LNV3_ENDPOINT=https://thegraph-g2.darwinia.network/helix/subgraphs/name/lnv TAIKO_LNV3_ENDPOINT=https://thegraph-g2.darwinia.network/helix/subgraphs/name/lnv3/taiko XTOKEN_DARWINIA = https://thegraph-g2.darwinia.network/helix/subgraphs/name/xtokentransfer/pangolin -XTOKEN_ETHEREUM = https://api.studio.thegraph.com/query/61328/xtoken-sepolia/v1.1.6 +XTOKEN_ETHEREUM = https://api.studio.thegraph.com/query/61328/xtoken-sepolia/v1.1.8 XTOKEN_DISPATCH_DARWINIA = https://thegraph-g2.darwinia.network/helix/subgraphs/name/xtokendispatch/pangolin XTOKEN_DISPATCH_ETHEREUM = https://api.studio.thegraph.com/query/61328/xtoken-dispatch-sepolia/v1.1.4 diff --git a/apollo/src/xtoken/transfer.service.ts b/apollo/src/xtoken/transfer.service.ts index 186ae2c5..692f1cc3 100644 --- a/apollo/src/xtoken/transfer.service.ts +++ b/apollo/src/xtoken/transfer.service.ts @@ -108,8 +108,8 @@ export class TransferService extends BaseTransferServiceT2 { { key: 'PRING', symbol: 'xPRING', - address: '0xF874fad204757588e67EE55cE93D654b6f5C39C6', - outerAddress: '0xBD50868F36Eb46355eC5a153AbD3a7eA094A5c37', + address: '0x3beb2cf5c2c050bc575350671aa5f06e589386e8', + outerAddress: '0xdE64c6d8b24eeB16D864841d2873aB7a379c45b6', protocolFee: 0, decimals: 18, }, diff --git a/subgraph/xtoken/transfer/package.json b/subgraph/xtoken/transfer/package.json index 57ec857f..6042686d 100644 --- a/subgraph/xtoken/transfer/package.json +++ b/subgraph/xtoken/transfer/package.json @@ -4,8 +4,8 @@ "scripts": { "codegen": "graph codegen", "build": "graph build", - "build-pangolin": "sh generate.sh init && sh generate.sh backing pangolin 0x7E3105E3A13D55d824b6322cbD2049f098a097F6 2567131 && graph codegen && graph build", - "build-sepolia": "sh generate.sh init && sh generate.sh issuing sepolia 0x3B36c2Db4CC5E92Af015Eb572A1C95C95599a8bF 5556101 && graph codegen && graph build", + "build-pangolin": "sh generate.sh init && sh generate.sh backing pangolin 0x24f8a04F0cA0730F4b8eC3241F15aCc6b3f8Da0a 2579332 && graph codegen && graph build", + "build-sepolia": "sh generate.sh init && sh generate.sh issuing sepolia 0x1aeC008Af5c604be3525d0bB70fFcc4D7281f30C 5570673 && graph codegen && graph build", "build-darwinia": "sh generate.sh init && sh generate.sh backing darwinia2 0xFd626a860F4d4bDB94aF200c218ce62c9647c8b2 2020384 && sh generate.sh issuing darwinia2 0xf16d9682c4883415aee6e78eb0d6ae3507014e42 2020389 && graph codegen && graph build", "build-crab": "sh generate.sh init && sh generate.sh backing crab2 0xFd626a860F4d4bDB94aF200c218ce62c9647c8b2 2239742 && sh generate.sh issuing crab2 0xf16d9682c4883415aee6e78eb0d6ae3507014e42 2239808 && graph codegen && graph build", "create-remote-dev": "graph create --access-token ${KEY} --node https://thegraph-g2.darwinia.network/helix/deploy/ xtokentransfer/${NETWORK}", diff --git a/subgraph/xtoken/transfer/src/xTokenBacking.ts b/subgraph/xtoken/transfer/src/xTokenBacking.ts index 214af2bc..1bf893b5 100644 --- a/subgraph/xtoken/transfer/src/xTokenBacking.ts +++ b/subgraph/xtoken/transfer/src/xTokenBacking.ts @@ -23,11 +23,11 @@ function isMsglineDeliveryEvent(event: ethereum.Log): boolean { } function isWTokenConvertor(address: string): boolean { - return address == "0x3aceb55aad4cdfe1531a9c6f6416753e6a7bdd49"; // testnet + return address == "0xb3a8db63d6fbe0f50a3d4977c3e892543d772c4a"; // testnet } function isXRingConvertor(address: string): boolean { - return address == "0x917cb26bfcf9f6be65f387903aa9180613a40f41"; + return address == "0x4cdfe9915d2c72506f4fc2363a8eae032e82d1aa"; } function isGuardAddress(address: string): boolean { diff --git a/subgraph/xtoken/transfer/src/xTokenIssuing.ts b/subgraph/xtoken/transfer/src/xTokenIssuing.ts index 5c47d6f5..c2914682 100644 --- a/subgraph/xtoken/transfer/src/xTokenIssuing.ts +++ b/subgraph/xtoken/transfer/src/xTokenIssuing.ts @@ -27,11 +27,11 @@ function isGuardAddress(address: string): boolean { } function isWTokenConvertor(address: string): boolean { - return address == "0x3aceb55aad4cdfe1531a9c6f6416753e6a7bdd49"; // testnet + return address == "0xb3a8db63d6fbe0f50a3d4977c3e892543d772c4a"; // testnet } function isXRingConvertor(address: string): boolean { - return address == "0x917cb26bfcf9f6be65f387903aa9180613a40f41"; + return address == "0x4cdfe9915d2c72506f4fc2363a8eae032e82d1aa"; } function isXRingConvertorEvent(event: ethereum.Log): boolean {