Skip to content

AIP #61 v5: Adapter - total spendable amount #380

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
5 tasks done
elpiel opened this issue Mar 8, 2021 · 0 comments · Fixed by #385
Closed
5 tasks done

AIP #61 v5: Adapter - total spendable amount #380

elpiel opened this issue Mar 8, 2021 · 0 comments · Fixed by #385
Assignees

Comments

@elpiel
Copy link
Member

elpiel commented Mar 8, 2021

https://github.com/AdExNetwork/aips/issues/61

function to calculate total spendable amount; this will be used by sentry to update it on request

Function: adapter.get_deposit(channel, address) -> Deposit {total, stillOnCreate2}
This will be stored in the DB as spender, channel, channel_id, total, stillOnCreate2 } later on, unique by channel_id, spender #381

@elpiel elpiel changed the title Adapter - total spendable amount AIP #61 v5: Adapter - total spendable amount Mar 9, 2021
@simzzz simzzz self-assigned this Mar 11, 2021
@elpiel elpiel linked a pull request Mar 17, 2021 that will close this issue
@elpiel elpiel closed this as completed May 17, 2021
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 a pull request may close this issue.

2 participants