Skip to content

Commit

Permalink
Oneinch swaps can also use curve
Browse files Browse the repository at this point in the history
Signed-off-by: Lefteris Karapetsas <[email protected]>
  • Loading branch information
LefterisJP committed Jun 17, 2024
1 parent 0afd061 commit 98c760e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rotkehlchen/chain/evm/decoding/oneinch/v4/decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from rotkehlchen.chain.ethereum.modules.uniswap.v2.constants import (
SWAP_SIGNATURE as UNISWAP_V2_SWAP_SIGNATURE,
)
from rotkehlchen.chain.evm.decoding.curve.constants import TOKEN_EXCHANGE
from rotkehlchen.chain.evm.decoding.oneinch.decoder import OneinchCommonDecoder
from rotkehlchen.chain.evm.decoding.oneinch.v4.constants import ORDERFILLED_RFQ
from rotkehlchen.chain.evm.decoding.structures import (
Expand Down Expand Up @@ -56,6 +57,7 @@ def __init__(
UNISWAP_V2_SWAP_SIGNATURE, # uniswap v2 is also used by sushiswap
BALANCER_V2_SWAP_SIGNATURE,
ORDERFILLED_RFQ,
TOKEN_EXCHANGE, # curve is also used by 1inch
],
counterparty=counterparty,
)
Expand Down

0 comments on commit 98c760e

Please sign in to comment.