|
|
@ -18,6 +18,7 @@ defmodule Indexer.Transform.TransactionActions do |
|
|
|
@goerli 5 |
|
|
|
@goerli 5 |
|
|
|
@optimism 10 |
|
|
|
@optimism 10 |
|
|
|
@polygon 137 |
|
|
|
@polygon 137 |
|
|
|
|
|
|
|
@base_mainnet 8453 |
|
|
|
@base_goerli 84531 |
|
|
|
@base_goerli 84531 |
|
|
|
# @gnosis 100 |
|
|
|
# @gnosis 100 |
|
|
|
|
|
|
|
|
|
|
@ -161,7 +162,7 @@ defmodule Indexer.Transform.TransactionActions do |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
defp parse_uniswap_v3(logs, actions, protocols_to_rewrite, chain_id) do |
|
|
|
defp parse_uniswap_v3(logs, actions, protocols_to_rewrite, chain_id) do |
|
|
|
if Enum.member?([@mainnet, @goerli, @optimism, @polygon, @base_goerli], chain_id) and |
|
|
|
if Enum.member?([@mainnet, @goerli, @optimism, @polygon, @base_mainnet, @base_goerli], chain_id) and |
|
|
|
(is_nil(protocols_to_rewrite) or Enum.empty?(protocols_to_rewrite) or |
|
|
|
(is_nil(protocols_to_rewrite) or Enum.empty?(protocols_to_rewrite) or |
|
|
|
Enum.member?(protocols_to_rewrite, "uniswap_v3")) do |
|
|
|
Enum.member?(protocols_to_rewrite, "uniswap_v3")) do |
|
|
|
uniswap_v3_positions_nft = |
|
|
|
uniswap_v3_positions_nft = |
|
|
|