Skip to content

Commit

Permalink
interim integration of paraswap v6.2: replace old v6.1 for now (#6198)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexshchur authored Jun 21, 2024
1 parent a4200fc commit cdb9740
Show file tree
Hide file tree
Showing 17 changed files with 89 additions and 89 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
)
}}

{{ paraswap_v6_trades_master('arbitrum', 'paraswap', 'AugustusV6_1') }}
{{ paraswap_v6_trades_master('arbitrum', 'paraswap', 'AugustusV6_2') }}
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
)
}}

{{ paraswap_v6_trades_master('avalanche_c', 'paraswap', 'AugustusV6_1') }}
{{ paraswap_v6_trades_master('avalanche_c', 'paraswap', 'AugustusV6_2') }}
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
)
}}

{{ paraswap_v6_trades_master('base', 'paraswap', 'AugustusV6_1') }}
{{ paraswap_v6_trades_master('base', 'paraswap', 'AugustusV6_2') }}
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
)
}}

{{ paraswap_v6_trades_master('bnb', 'paraswap', 'AugustusV6_1') }}
{{ paraswap_v6_trades_master('bnb', 'paraswap', 'AugustusV6_2') }}
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
)
}}

{{ paraswap_v6_trades_master('ethereum', 'paraswap', 'AugustusV6_1') }}
{{ paraswap_v6_trades_master('ethereum', 'paraswap', 'AugustusV6_2') }}
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
)
}}

{{ paraswap_v6_trades_master('fantom', 'paraswap', 'AugustusV6_1') }}
{{ paraswap_v6_trades_master('fantom', 'paraswap', 'AugustusV6_2') }}
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
)
}}

{{ paraswap_v6_trades_master('optimism', 'paraswap', 'AugustusV6_1') }}
{{ paraswap_v6_trades_master('optimism', 'paraswap', 'AugustusV6_2') }}
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
)
}}

{{ paraswap_v6_trades_master('polygon', 'paraswap', 'AugustusV6_1') }}
{{ paraswap_v6_trades_master('polygon', 'paraswap', 'AugustusV6_2') }}
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ select
cast(date_trunc('day', call_block_time) as date) as block_date,
cast(date_trunc('month', call_block_time) as date) as block_month,
'paraswap' AS project,
'6.1' as version,
'6.2' as version,
call_block_time as blockTime,
call_block_number as blockNumber,
call_tx_hash as txHash,
Expand Down
20 changes: 10 additions & 10 deletions sources/paraswap/arbitrum/paraswap_arbitrum_sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,23 @@ sources:
- name: AugustusSwapper_evt_SwappedDirect
loaded_at_field: evt_block_time
# v6
- name: AugustusV6_1_call_swapExactAmountIn
- name: AugustusV6_2_call_swapExactAmountIn
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnUniswapV2
- name: AugustusV6_2_call_swapExactAmountInOnUniswapV2
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnUniswapV3
- name: AugustusV6_2_call_swapExactAmountInOnUniswapV3
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnCurveV1
- name: AugustusV6_2_call_swapExactAmountInOnCurveV1
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnCurveV2
- name: AugustusV6_2_call_swapExactAmountInOnCurveV2
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnBalancerV2
- name: AugustusV6_2_call_swapExactAmountInOnBalancerV2
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountOut
- name: AugustusV6_2_call_swapExactAmountOut
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountOutOnUniswapV2
- name: AugustusV6_2_call_swapExactAmountOutOnUniswapV2
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountOutOnUniswapV3
- name: AugustusV6_2_call_swapExactAmountOutOnUniswapV3
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountOutOnBalancerV2
- name: AugustusV6_2_call_swapExactAmountOutOnBalancerV2
loaded_at_field: call_block_time
20 changes: 10 additions & 10 deletions sources/paraswap/avalanche_c/paraswap_avalanche_c_sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,24 @@ sources:
- name: AugustusSwapperV5_evt_SwappedDirect
loaded_at_field: evt_block_time
# v6
- name: AugustusV6_1_call_swapExactAmountIn
- name: AugustusV6_2_call_swapExactAmountIn
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnUniswapV2
- name: AugustusV6_2_call_swapExactAmountInOnUniswapV2
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnUniswapV3
- name: AugustusV6_2_call_swapExactAmountInOnUniswapV3
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnCurveV1
- name: AugustusV6_2_call_swapExactAmountInOnCurveV1
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnCurveV2
- name: AugustusV6_2_call_swapExactAmountInOnCurveV2
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnBalancerV2
- name: AugustusV6_2_call_swapExactAmountInOnBalancerV2
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountOut
- name: AugustusV6_2_call_swapExactAmountOut
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountOutOnUniswapV2
- name: AugustusV6_2_call_swapExactAmountOutOnUniswapV2
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountOutOnUniswapV3
- name: AugustusV6_2_call_swapExactAmountOutOnUniswapV3
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountOutOnBalancerV2
- name: AugustusV6_2_call_swapExactAmountOutOnBalancerV2
loaded_at_field: call_block_time

20 changes: 10 additions & 10 deletions sources/paraswap/base/paraswap_base_sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@ sources:
- name: AugustusSwapper_evt_SwappedV3
loaded_at_field: evt_block_time
# v6
- name: AugustusV6_1_call_swapExactAmountIn
- name: AugustusV6_2_call_swapExactAmountIn
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnUniswapV2
- name: AugustusV6_2_call_swapExactAmountInOnUniswapV2
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnUniswapV3
- name: AugustusV6_2_call_swapExactAmountInOnUniswapV3
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnCurveV1
- name: AugustusV6_2_call_swapExactAmountInOnCurveV1
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnCurveV2
- name: AugustusV6_2_call_swapExactAmountInOnCurveV2
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnBalancerV2
- name: AugustusV6_2_call_swapExactAmountInOnBalancerV2
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountOut
- name: AugustusV6_2_call_swapExactAmountOut
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountOutOnUniswapV2
- name: AugustusV6_2_call_swapExactAmountOutOnUniswapV2
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountOutOnUniswapV3
- name: AugustusV6_2_call_swapExactAmountOutOnUniswapV3
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountOutOnBalancerV2
- name: AugustusV6_2_call_swapExactAmountOutOnBalancerV2
loaded_at_field: call_block_time
20 changes: 10 additions & 10 deletions sources/paraswap/bnb/paraswap_bnb_sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,23 @@ sources:
- name: AugustusSwapperV5_evt_SwappedDirect
loaded_at_field: evt_block_time
# v6
- name: AugustusV6_1_call_swapExactAmountIn
- name: AugustusV6_2_call_swapExactAmountIn
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnUniswapV2
- name: AugustusV6_2_call_swapExactAmountInOnUniswapV2
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnUniswapV3
- name: AugustusV6_2_call_swapExactAmountInOnUniswapV3
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnCurveV1
- name: AugustusV6_2_call_swapExactAmountInOnCurveV1
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnCurveV2
- name: AugustusV6_2_call_swapExactAmountInOnCurveV2
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnBalancerV2
- name: AugustusV6_2_call_swapExactAmountInOnBalancerV2
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountOut
- name: AugustusV6_2_call_swapExactAmountOut
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountOutOnUniswapV2
- name: AugustusV6_2_call_swapExactAmountOutOnUniswapV2
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountOutOnUniswapV3
- name: AugustusV6_2_call_swapExactAmountOutOnUniswapV3
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountOutOnBalancerV2
- name: AugustusV6_2_call_swapExactAmountOutOnBalancerV2
loaded_at_field: call_block_time
20 changes: 10 additions & 10 deletions sources/paraswap/ethereum/paraswap_ethereum_sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,23 +56,23 @@ sources:
- name: AugustusSwapper6_0_evt_SwappedDirect
loaded_at_field: evt_block_time
# v6
- name: AugustusV6_1_call_swapExactAmountIn
- name: AugustusV6_2_call_swapExactAmountIn
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnUniswapV2
- name: AugustusV6_2_call_swapExactAmountInOnUniswapV2
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnUniswapV3
- name: AugustusV6_2_call_swapExactAmountInOnUniswapV3
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnCurveV1
- name: AugustusV6_2_call_swapExactAmountInOnCurveV1
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnCurveV2
- name: AugustusV6_2_call_swapExactAmountInOnCurveV2
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnBalancerV2
- name: AugustusV6_2_call_swapExactAmountInOnBalancerV2
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountOut
- name: AugustusV6_2_call_swapExactAmountOut
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountOutOnUniswapV2
- name: AugustusV6_2_call_swapExactAmountOutOnUniswapV2
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountOutOnUniswapV3
- name: AugustusV6_2_call_swapExactAmountOutOnUniswapV3
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountOutOnBalancerV2
- name: AugustusV6_2_call_swapExactAmountOutOnBalancerV2
loaded_at_field: call_block_time
20 changes: 10 additions & 10 deletions sources/paraswap/fantom/paraswap_fantom_sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,24 @@ sources:
- name: AugustusSwapperV5_evt_SwappedDirect
loaded_at_field: evt_block_time
# v6
- name: AugustusV6_1_call_swapExactAmountIn
- name: AugustusV6_2_call_swapExactAmountIn
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnUniswapV2
- name: AugustusV6_2_call_swapExactAmountInOnUniswapV2
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnUniswapV3
- name: AugustusV6_2_call_swapExactAmountInOnUniswapV3
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnCurveV1
- name: AugustusV6_2_call_swapExactAmountInOnCurveV1
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnCurveV2
- name: AugustusV6_2_call_swapExactAmountInOnCurveV2
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnBalancerV2
- name: AugustusV6_2_call_swapExactAmountInOnBalancerV2
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountOut
- name: AugustusV6_2_call_swapExactAmountOut
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountOutOnUniswapV2
- name: AugustusV6_2_call_swapExactAmountOutOnUniswapV2
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountOutOnUniswapV3
- name: AugustusV6_2_call_swapExactAmountOutOnUniswapV3
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountOutOnBalancerV2
- name: AugustusV6_2_call_swapExactAmountOutOnBalancerV2
loaded_at_field: call_block_time

20 changes: 10 additions & 10 deletions sources/paraswap/optimism/paraswap_optimism_sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,23 @@ sources:
- name: AugustusSwapper_evt_SwappedDirect
loaded_at_field: evt_block_time
# v6
- name: AugustusV6_1_call_swapExactAmountIn
- name: AugustusV6_2_call_swapExactAmountIn
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnUniswapV2
- name: AugustusV6_2_call_swapExactAmountInOnUniswapV2
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnUniswapV3
- name: AugustusV6_2_call_swapExactAmountInOnUniswapV3
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnCurveV1
- name: AugustusV6_2_call_swapExactAmountInOnCurveV1
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnCurveV2
- name: AugustusV6_2_call_swapExactAmountInOnCurveV2
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnBalancerV2
- name: AugustusV6_2_call_swapExactAmountInOnBalancerV2
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountOut
- name: AugustusV6_2_call_swapExactAmountOut
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountOutOnUniswapV2
- name: AugustusV6_2_call_swapExactAmountOutOnUniswapV2
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountOutOnUniswapV3
- name: AugustusV6_2_call_swapExactAmountOutOnUniswapV3
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountOutOnBalancerV2
- name: AugustusV6_2_call_swapExactAmountOutOnBalancerV2
loaded_at_field: call_block_time
20 changes: 10 additions & 10 deletions sources/paraswap/polygon/paraswap_polygon_sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,23 @@ sources:
- name: AugustusSwapperV5_evt_SwappedDirect
loaded_at_field: evt_block_time
# v6
- name: AugustusV6_1_call_swapExactAmountIn
- name: AugustusV6_2_call_swapExactAmountIn
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnUniswapV2
- name: AugustusV6_2_call_swapExactAmountInOnUniswapV2
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnUniswapV3
- name: AugustusV6_2_call_swapExactAmountInOnUniswapV3
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnCurveV1
- name: AugustusV6_2_call_swapExactAmountInOnCurveV1
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnCurveV2
- name: AugustusV6_2_call_swapExactAmountInOnCurveV2
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountInOnBalancerV2
- name: AugustusV6_2_call_swapExactAmountInOnBalancerV2
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountOut
- name: AugustusV6_2_call_swapExactAmountOut
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountOutOnUniswapV2
- name: AugustusV6_2_call_swapExactAmountOutOnUniswapV2
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountOutOnUniswapV3
- name: AugustusV6_2_call_swapExactAmountOutOnUniswapV3
loaded_at_field: call_block_time
- name: AugustusV6_1_call_swapExactAmountOutOnBalancerV2
- name: AugustusV6_2_call_swapExactAmountOutOnBalancerV2
loaded_at_field: call_block_time

0 comments on commit cdb9740

Please sign in to comment.