Skip to content

Commit

Permalink
add event TransferFilledExt after relay
Browse files Browse the repository at this point in the history
  • Loading branch information
hujw77 committed Sep 12, 2024
1 parent ee018b5 commit d320d69
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 d320d69

Please sign in to comment.