-
Notifications
You must be signed in to change notification settings - Fork 91
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
base: development
Are you sure you want to change the base?
Ubiquity Pool Security Monitor #959
Conversation
Please let me know if the naming conventions or directory structure do not align with the project's standards |
packages/contracts/src/dollar/monitors/PoolLiquidityMonitor.sol
Outdated
Show resolved
Hide resolved
Hey @rndquu , I'm currently facing a workflow issue where my code passes all [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 |
Hey @rndquu, I'm currently testing out OpenZeppelin Defender in the UI, and the only piece of code that needs to be included there is the following: const { Defender } = require('@openzeppelin/defender-sdk');
exports.handler = async function (credentials) {
const client = new Defender(credentials);
const txRes = await client.relaySigner.sendTransaction({
to: '0xb60ce3bf27B86d3099F48dbcDB52F5538402EF7B',
speed: 'fast',
data: '0x9ba8a26c', // Encoded function signature for checkLiquidityVertex() of the UbiquityPoolSecurityMonitor
gasLimit: '80000',
});
return txRes.hash;
}; Everything is covered in the tutorial, and the only parts that have been changed are:
I have two questions:
|
Yes, it would be highly appreciated + you may also include that piece of code (from question 1) in the readme file. |
Hey @rndquu, I'm currently conducting final tests on the off-chain part of the Defender. Looking forward to your review |
@alexandr-masl, this task has been idle for a while. Please provide an update. |
waiting for a review |
@alexandr-masl, this task has been idle for a while. Please provide an update. |
Resolves #927
Changes
UbiquityPoolSecurityMonitor
contract that tracks the pool's liquidity and emits events when liquidity falls below a certain threshold