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

[EASY] Change slippage wrapper for consistency with old slippage query #49

Merged
merged 2 commits into from
Sep 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions cowprotocol/accounting/slippage/slippage_query_3427730.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ select
solver_address,
concat(environment, '-', name) as solver_name,
slippage_usd as usd_value,
slippage_wei as eth_slippage_wei,
1.0 * slippage_wei as eth_slippage_wei,
concat(
'<a href="https://dune.com/queries/4070065',
'&blockchain={{blockchain}}',
'&blockchain=ethereum',
'&start_time={{start_time}}',
'&end_time={{end_time}}',
'&slippage_table_name=slippage_per_transaction',
'" target="_blank">link</a>'
) as slippage_per_transaction
from "query_4070065(blockchain='{{blockchain}}',start_time='{{start_time}}',end_time='{{end_time}}',slippage_table_name='slippage_per_solver')"
inner join cow_protocol_{{blockchain}}.solvers
from "query_4070065(blockchain='ethereum',start_time='{{start_time}}',end_time='{{end_time}}',slippage_table_name='slippage_per_solver')"
inner join cow_protocol_ethereum.solvers
on solver_address = address
Loading