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

AIP #61 AdEx v5: Adapter - total spendable amount #339

Closed
5 tasks done
elpiel opened this issue Mar 8, 2021 · 0 comments · Fixed by #353
Closed
5 tasks done

AIP #61 AdEx v5: Adapter - total spendable amount #339

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

Comments

@elpiel
Copy link
Member

elpiel commented Mar 8, 2021

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

Rust reference:

Issue: AmbireTech/adex-validator-stack-rust#380
PRs: AmbireTech/adex-validator-stack-rust#385

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, spender) -> Deposit {total, stillOnCreate2}
This will be stored in the DB as {channelId, spender, total, stillOnCreate2} later on, unique by channelId, spender

@elpiel elpiel changed the title Adapter - total spendable amount AIP #61 AdEx v5: Adapter - total spendable amount Mar 22, 2021
@Ivshti Ivshti added this to the v0.15.0 milestone Jul 5, 2021
@elpiel elpiel linked a pull request Aug 13, 2021 that will close this issue
@elpiel elpiel closed this as completed Aug 13, 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.

3 participants