Skip to content

remove old fallback function sell/buy enforcement logic [LIT-960] #694

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

Closed
wants to merge 3 commits into from

Conversation

dextracker
Copy link
Contributor

Description

Testing instructions

Types of changes

Checklist:

  • Add tests to cover changes as needed.
  • Update documentation as needed.
  • Add new entries to the relevant CHANGELOG.jsons.

@dextracker dextracker requested a review from dekz as a code owner April 5, 2023 14:28
@dextracker dextracker requested review from duncancmt and kyu-c April 5, 2023 14:29
@dextracker dextracker changed the title remove old fallback function sell/buy enforcement logic remove old fallback function sell/buy enforcement logic [LIT-960] Apr 5, 2023
// Check if we've hit our targets.
if (data.side == Side.Sell) {
// Market sell check.
if (state.soldAmount >= data.fillAmount) {
Copy link
Contributor

Choose a reason for hiding this comment

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

should we mark those soldAmount, boughtAmount, and etc. as deprecated in the state struct?

@dextracker dextracker requested a review from kyu-c April 5, 2023 18:35
@github-actions
Copy link
Contributor

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label May 19, 2023
@github-actions github-actions bot closed this Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants