Closed ttl33 closed 3 weeks ago
[!CAUTION]
Review failed
The head commit changed during the review from 738419a1db2c67d42c8cf00eb06bb41d66f837a6 to ed81f47b796cd44d9d8c90407a17f2ef806fdf1f.
A new script, get_isolated_market_insurance_fund.py
, has been added to the project. This script interacts with a decentralized finance protocol to retrieve information about isolated market insurance funds. It includes functions to fetch market parameters, isolated market IDs, execute a binary for market addresses, retrieve bank balances, and print formatted market information.
File Path | Change Summary |
---|---|
protocol/scripts/markets/get_isolated_market_insurance_fund.py |
Added a new script with multiple functions: get_id_to_pair , get_isolated_market_ids , run_dydxprotocold , get_insurance_fund_address_for_markets , get_bank_balance , and print_market_info . Main execution block included. |
In the fields of finance, we hop and play,
With scripts that fetch data in a clever way.
Isolated markets, we now can explore,
Balances and pairs, oh, what a score!
A binary run, with a command so neat,
In the world of DeFi, we’re quick on our feet! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Changelist
Adding a script to return insurance fund balances for all the isolated markets
Test Plan
n/a
Author/Reviewer Checklist
state-breaking
label.indexer-postgres-breaking
label.PrepareProposal
orProcessProposal
, manually add the labelproposal-breaking
.feature:[feature-name]
.backport/[branch-name]
.refactor
,chore
,bug
.Summary by CodeRabbit