Skip to content

Feat/add new leverage for new mint markets #13

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

fedorovdg
Copy link
Collaborator

No description provided.

@fedorovdg fedorovdg force-pushed the feat/add-new-leverage-for-new-mintMarkets branch 2 times, most recently from fed1b6a to f3ac41b Compare April 24, 2025 21:25
return await this._deprecatedLeverageCreateLoan(collateral, debt, range, slippage, false) as string;
}

// ---------------- LEVERAGE CREATE LOAN ----------------
Copy link
Contributor

@DanielSchiavini DanielSchiavini Apr 29, 2025

Choose a reason for hiding this comment

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

We cannot keep on adding code to the same file and mix market types
We need proper way of separating the different markets in separate files

Copy link
Contributor

Choose a reason for hiding this comment

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

I cannot review this because I don't know what's new and what's copied

@@ -33,6 +33,8 @@ export interface ILlamma {
default_bands: number,
A: number,
monetary_policy_abi: any
is_new_market?: boolean
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we use a proper name for this flag, for example using the feature name like isDeleverageSupported?
This is not scalable. Next update we cannot use this anymore

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yea, sure. Okay

@fedorovdg fedorovdg force-pushed the feat/add-new-leverage-for-new-mintMarkets branch from 9bd92db to d65bd14 Compare May 2, 2025 16:50
@fedorovdg fedorovdg force-pushed the feat/add-new-leverage-for-new-mintMarkets branch from c419013 to f0211a9 Compare May 19, 2025 14:19
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.

2 participants