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

[VEN-2718]: Upgrade RiskFund to support ACM in sweepTokensFromPool #358

Merged
merged 2 commits into from
Sep 9, 2024

Conversation

kkirka
Copy link
Contributor

@kkirka kkirka commented Aug 19, 2024

No description provided.

const usdtAddress = "0x55d398326f99059fF775485246999027B3197955";
const comptrollerAddress = "0xfD36E2c2a6789Db23113685031d7F16329158384";
const amount = parseUnits("840320.493777076510891477", 18);
await riskFund.connect(timelock).sweepTokenFromPool(usdtAddress, comptrollerAddress, CRITICAL_TIMELOCK, amount);
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we check the balance of the receiver?

const usdtAddress = "0xA11c8D9DC9b66E209Ef60F0C8D969D3CD988782c";
const comptrollerAddress = "0x94d1820b2D1c7c7452A163983Dc888CEC546b77D";
const amount = parseUnits("43279", 6);
await riskFund.connect(timelock).sweepTokenFromPool(usdtAddress, comptrollerAddress, CRITICAL_TIMELOCK, amount);
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we check the receive balance?

@chechu
Copy link
Member

chechu commented Aug 28, 2024

@kkirka kkirka merged commit 627df89 into main Sep 9, 2024
2 checks passed
@kkirka kkirka deleted the feat/risk-fund-upgrade branch September 9, 2024 16:54
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.

3 participants