Skip to content

Conversation

@fourlen
Copy link
Contributor

@fourlen fourlen commented Mar 25, 2025

No description provided.

debych
debych previously requested changes Mar 26, 2025
@debych debych changed the base branch from integral-v1.2.1-develop to integral-v1.2 March 27, 2025 13:52
@debych debych changed the base branch from integral-v1.2 to integral-v1.2.1 March 27, 2025 13:52
@debych debych dismissed their stale review March 27, 2025 13:53

Going to renew the review

slowTwapTick = _getTwapTick(slowTwapPeriod);
fastTwapTick = _getTwapTick(fastTwapPeriod);
} else {
failedToObtainTWAP = true;
Copy link
Contributor

Choose a reason for hiding this comment

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

IMO filedToObtainTWAP handling should be completely removed then. If the only case when it is true is before slowTwapPeriod then we perhaps should just skip rebalance and not set pause and Special state

require(!isAlmInitialized, 'Already initialized');
isAlmInitialized = true;
paused = false;
// TODO: добавить require'ов
Copy link
Contributor

Choose a reason for hiding this comment

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

Add require statements:

  • vault is not zero
  • thresholds validation

@debych debych self-requested a review April 1, 2025 10:48
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