Skip to content

Conversation

@Teolhyn
Copy link
Member

@Teolhyn Teolhyn commented Sep 15, 2025

Summary of Changes

Changed event fetching in liquidation bot to use Soroban client. Also, added built in event filters so that it only fetches events of interest.

Considerations

This does not mean the liquidation bot works as expected. Loan parsing from events has to be rebuilt for it to work.

Related Issue

Please include a link to the relevant issue for context.

Author checklist

  1. Does your pull request change contract endpoint?
  • Yes, changes in loan_manager
    • Test was added in loan_manager.rs
  • Yes, changes in loan_pool
    • Test was added in loan_pool.rs
  • No
  1. Does your pull request demand a new deployment of contracts
  • Yes
  • No

Copy link
Member

@kovipu kovipu left a comment

Choose a reason for hiding this comment

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

LGTM! Just rustfmt

PUBLIC_CONTRACT_ADDRESS_USDC=CAXBQNDXJWLDT6J6L2IPRDRUSHC6Z7WGH35RPZCMUMU2A3NYENRUXRQE
PUBLIC_CONTRACT_ADDRESS_EURC=CDZ7SGEC4DWLPYQUUAN6MHTBCHAS3NVLDJMK6OGZOOIWWDIWTQFTSFAX
PUBLIC_ISSUER_ADDRESS_USDC=GAA5BNGYQH632CHGCKMDTYN35CXZSWZR3NKNE2WTGUF3A5QNPPZ2Y322
PUBLIC_ISSUER_ADDRESS_EURC=GAA5BNGYQH632CHGCKMDTYN35CXZSWZR3NKNE2WTGUF3A5QNPPZ2Y322
Copy link
Member

Choose a reason for hiding this comment

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

This file needed?

@Teolhyn Teolhyn changed the title draft: refactor: change to soroban client & fix event fetching refactor: change to soroban client & fix event fetching Sep 15, 2025
@Teolhyn Teolhyn merged commit 427cf29 into main Sep 15, 2025
3 of 4 checks passed
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