We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2538471 commit 50f19faCopy full SHA for 50f19fa
utils/kodiak.py
@@ -1,5 +1,4 @@
1
from copy import deepcopy
2
-import json
3
from typing import Dict, List
4
from eth_typing import ChecksumAddress
5
import requests
@@ -21,10 +20,10 @@ def __init__(
21
20
if chain not in [Chain.BERACHAIN]:
22
raise ValueError(f"KodiakIntegration not supported on chain {chain}")
23
24
- if integration_id is IntegrationID.KODIAK_USDE:
+ if integration_id == IntegrationID.KODIAK_USDE:
25
self.island = KodiakIslandAddress.USDE
26
self.token = Tokens.USDE
27
- elif integration_id is IntegrationID.KODIAK_SUSDE:
+ elif integration_id == IntegrationID.KODIAK_SUSDE:
28
self.island = KodiakIslandAddress.SUSDE
29
self.token = Tokens.SUSDE
30
else:
0 commit comments