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

Ubiquity Pool Security Monitor #959

Draft
wants to merge 17 commits into
base: development
Choose a base branch
from

Conversation

alexandr-masl
Copy link

@alexandr-masl alexandr-masl commented Sep 12, 2024

Resolves #927

Changes

  • Added a new UbiquityPoolSecurityMonitor contract that tracks the pool's liquidity and emits events when liquidity falls below a certain threshold

@ubiquity-os-deployer
Copy link

ubiquity-os-deployer bot commented Sep 12, 2024

@alexandr-masl
Copy link
Author

Please let me know if the naming conventions or directory structure do not align with the project's standards

Copy link
Member

@rndquu rndquu Sep 17, 2024

Choose a reason for hiding this comment

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

You may move this contract to https://github.com/ubiquity/ubiquity-dollar/tree/development/packages/contracts/src/dollar/core and rename to smth like UbiquityPoolSecurityMonitor

@alexandr-masl
Copy link
Author

Hey @rndquu , I'm currently facing a workflow issue where my code passes all Check For Core Contracts Storage Changes checks successfully when run locally by act pull_request, but it fails when executed in a pull request. This is quite frustrating. Any insights or suggestions on how to resolve this would be greatly appreciated.

[Check For Core Contracts Storage Changes/provide_contracts]   ✅  Success - Main Install Foundry
[Check For Core Contracts Storage Changes/provide_contracts]   ✅  Success - Main Narrow down test matrix scope to changed contracts to limit API requests
[Check For Core Contracts Storage Changes/provide_contracts]   ✅  Success - Main Set contracts matrix
[Check For Core Contracts Storage Changes/provide_contracts]   ✅  Success - Post Install Foundry
[Check For Core Contracts Storage Changes/provide_contracts] 🏁  Job succeeded

@rndquu
Copy link
Member

rndquu commented Sep 19, 2024

Hey @rndquu , I'm currently facing a workflow issue where my code passes all Check For Core Contracts Storage Changes checks successfully when run locally by act pull_request, but it fails when executed in a pull request. This is quite frustrating. Any insights or suggestions on how to resolve this would be greatly appreciated.

[Check For Core Contracts Storage Changes/provide_contracts]   ✅  Success - Main Install Foundry
[Check For Core Contracts Storage Changes/provide_contracts]   ✅  Success - Main Narrow down test matrix scope to changed contracts to limit API requests
[Check For Core Contracts Storage Changes/provide_contracts]   ✅  Success - Main Set contracts matrix
[Check For Core Contracts Storage Changes/provide_contracts]   ✅  Success - Post Install Foundry
[Check For Core Contracts Storage Changes/provide_contracts] 🏁  Job succeeded

Skip it, it'll pass in the development branch. UbiquityPoolSecurityMonitor is a new contract so storage layout can't be broken there.

@alexandr-masl alexandr-masl changed the title feat(pool-monitor): add initial liquidity monitor Ubiquity Pool Security Monitor Sep 20, 2024
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.

Security monitoring
2 participants