Skip to content

Conversation

@Debugger022
Copy link
Contributor

@Debugger022 Debugger022 commented Jun 24, 2025

Description

  • adding event AssetTransferredToDestination whenever a privateConversion is initiated by a SingleTokenConverter
  • deployments of new SingleTokenConverter implementation on BNB , Ethereum and Arbitrum .

@Debugger022 Debugger022 marked this pull request as ready for review June 30, 2025 07:51
@Debugger022 Debugger022 requested a review from chechu June 30, 2025 07:51
@Debugger022 Debugger022 self-assigned this Jun 30, 2025
address,
uint256
) internal override {
emit AssetTransferredToDestination(destinationAddress, comptroller, tokenAddressIn, convertedTokenInBalance);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could emit the event only if (convertedTokenInBalance > 0), as we do in the RiskFundConverter

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

chechu
chechu previously approved these changes Jul 10, 2025
@Debugger022 Debugger022 changed the title [VEN-3277]: Missing track of tokens converted in a private conversion [VEN-3277][VEN-3328]: Missing track of tokens converted in a private conversion Jul 10, 2025
@github-actions
Copy link

Code Coverage

Package Line Rate Branch Rate Health
Interfaces 100% 100%
ProtocolReserve 86% 65%
Test 100% 100%
Test.Mocks 61% 29%
TokenConverter 89% 74%
Utils 100% 100%
Summary 86% (616 / 720) 70% (207 / 294)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants