Skip to content
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

Add InvoicePayOrder and AirdropOnWallet ledgers to movements #391

Merged

Conversation

ZIMkaRU
Copy link
Member

@ZIMkaRU ZIMkaRU commented Jul 2, 2024

This PR adds _isInvoicePayOrder, _isAirdropOnWallet, _isMarginFundingPayment, _isAffiliateRebate, _isStakingPayments ledgers to movements


Base changes:

  • Add _isInvoicePayOrder and _isAirdropOnWallet fields to the db model of ledgers table
  • Remap ledgers table via migration to fill _isInvoicePayOrder and _isAirdropOnWallet
  • Fill ledger _isInvoicePayOrder and _isAirdropOnWallet fields after sync
  • Add new flags to deserialization
  • Provide ability to set where sql condition to sub-query
  • Add _isInvoicePayOrder, _isAirdropOnWallet, _isMarginFundingPayment, _isAffiliateRebate, _isStakingPayments ledgers to movements

Copy link
Contributor

@ezewer ezewer left a comment

Choose a reason for hiding this comment

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

lgtm!

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