Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

refactor: Split code into multiple files #5

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

0xmDreamy
Copy link
Contributor

Initial work towards resolving #4.

@0xmDreamy 0xmDreamy marked this pull request as draft February 28, 2023 21:12
}

if addresses_to_liquidate.len() > 0 {
liquidate(
Copy link
Owner

Choose a reason for hiding this comment

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

This is the part (or inside the function) that needs to be extensible to support cauldronv4 liquidation and or 0x swapper (tokens or lp etc..)

we could have a trait and have each implementation impl the trait

could be modules inside some folder named "swappers"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants