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 query for payment status #6

Merged
merged 1 commit into from
Aug 28, 2024
Merged

Add query for payment status #6

merged 1 commit into from
Aug 28, 2024

Conversation

fleupold
Copy link
Contributor

Last query (basically taken from https://dune.com/queries/3742749) computes the payment status for each builder (given the latest billing).

We might want to change this query in the future to account for multiple bill transactions (e.g. in case of manual adjustment).

Base automatically changed from payment_due to main August 26, 2024 17:49
@olgafetisova
Copy link
Contributor

Is it possible the builder pays from a different account, not the one that is billed?

@fleupold
Copy link
Contributor Author

Yes, but the payer is not taken from the tranaction sender but instead the argument in the event e.g. this one: https://etherscan.io/tx/0x768021dd497ee7ce7ebd359ff3ccff1b9c6b79fcad813039eb8043b081abb00f#eventlog

You have to pay for the correct account.

@fleupold fleupold merged commit 2adad87 into main Aug 28, 2024
1 check passed
@fleupold fleupold deleted the payment_status branch August 28, 2024 07:19
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