From d320d69065d8845c7792d097af3db38e43252368 Mon Sep 17 00:00:00 2001 From: echo Date: Thu, 12 Sep 2024 15:59:03 +0800 Subject: [PATCH] add event TransferFilledExt after relay --- helix-contract/contracts/ln/lnv3/base/LnBridgeTargetV3.sol | 2 ++ 1 file changed, 2 insertions(+) diff --git a/helix-contract/contracts/ln/lnv3/base/LnBridgeTargetV3.sol b/helix-contract/contracts/ln/lnv3/base/LnBridgeTargetV3.sol index 5038bfb..b590403 100644 --- a/helix-contract/contracts/ln/lnv3/base/LnBridgeTargetV3.sol +++ b/helix-contract/contracts/ln/lnv3/base/LnBridgeTargetV3.sol @@ -35,6 +35,7 @@ contract LnBridgeTargetV3 { mapping(bytes32 => SlashInfo) public slashInfos; event TransferFilled(bytes32 transferId, address provider); + event TransferFilledExt(bytes32 transferId, RelayParams params); event SlashRequest(bytes32 transferId, uint256 remoteChainId, address provider, address sourceToken, address targetToken, address slasher); event LiquidityWithdrawRequested(bytes32[] transferIds, uint256 remoteChainId); event UnreachableNativeTokenReceived(bytes32 transferId, address receiver, uint256 amount); @@ -83,6 +84,7 @@ contract LnBridgeTargetV3 { TokenTransferHelper.safeTransferFrom(_params.targetToken, msg.sender, _params.receiver, uint256(_params.targetAmount)); } emit TransferFilled(transferId, _params.provider); + emit TransferFilledExt(transferId, _params); } // slash a tx when timeout