Skip to content

Commit

Permalink
Merge pull request #78 from helix-bridge/echo/upgrade-lnv3
Browse files Browse the repository at this point in the history
Add event TransferFilledExt after relay
  • Loading branch information
xiaoch05 authored Sep 12, 2024
2 parents ee018b5 + d320d69 commit 6fbc3fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions helix-contract/contracts/ln/lnv3/base/LnBridgeTargetV3.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6fbc3fd

Please sign in to comment.