Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add event TransferFilledExt after relay #78

Merged
merged 1 commit into from
Sep 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading