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

GH-554: add PaymentAdjuster without the smart interior #672

Closed
bertllll opened this issue Feb 20, 2023 · 1 comment
Closed

GH-554: add PaymentAdjuster without the smart interior #672

bertllll opened this issue Feb 20, 2023 · 1 comment
Assignees

Comments

@bertllll
Copy link

bertllll commented Feb 20, 2023

Ranks under this mother card #GH-554

Straight continuation of #GH-671.

Base end implementation which enables payment adjustment suggested by #GH-554 come in effect.

The PaymentAdjuster should compose one of the parts of Accountant. Its role is to be asked for help if Accountant receives a special message from BlockchainBridge that carries information about the consuming wallet balances (of the token -- but contains also information about the gas currency) whilst the token amount reported wouldn't be enough to pay off all the debts that have qualified within the scan. Accountant, who finds this out, would then pass this difficulty to PaymentAdjuster expecting it to solve that for him and give the payments back, properly adjusted to such partial token amounts that can all go to BlockchainBridge and can all be paid without lacking any means to do so.

In this card prepare just some fundamental infrastructure containing already the new PaymentAdjuster but yet not giving the desired intelligence inside. That part should be done in a separate card as it might require a lot of design work and testing.

@bertllll
Copy link
Author

bertllll commented May 4, 2023

Planned schema

Brainstorming2.odg

@bertllll bertllll changed the title GH-554: add PayamentAdjuster to PayableAdjustmentScanner GH-554: add PayamentAdjuster without its smart parts May 31, 2023
@bertllll bertllll changed the title GH-554: add PayamentAdjuster without its smart parts GH-554: add PayamentAdjuster without the smart interior Jun 2, 2023
@kauri-hero kauri-hero changed the title GH-554: add PayamentAdjuster without the smart interior GH-554: add PaymentAdjuster without the smart interior Nov 19, 2023
@kauri-hero kauri-hero moved this to Done in MASQ Node v2 May 19, 2024
@github-project-automation github-project-automation bot moved this to Done in MASQNode Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Status: Done
Development

No branches or pull requests

2 participants