Skip to content

Commit

Permalink
Adding Arbitrum Mainnet DAI
Browse files Browse the repository at this point in the history
  • Loading branch information
mikulas-mrva authored and ligi committed Apr 5, 2022
1 parent 1bccf00 commit 9699960
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pretix_eth/network/tokens.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,16 @@ class ETHArbitrum(Arbitrum):
TOKEN_SYMBOL = "ETH"


class DaiArbitrum(Arbitrum):
"""
DAI on Arbitrum Mainnet
"""

TOKEN_SYMBOL = "DAI"
IS_NATIVE_ASSET = False
ADDRESS = "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1"


registry = [
EthL1(),
DaiL1(),
Expand All @@ -388,6 +398,7 @@ class ETHArbitrum(Arbitrum):
DaiKovanOptimism(),
ETHArbitrum(),
ETHRinkebyArbitrum(),
DaiArbitrum(),
]
all_network_verbose_names_to_ids = {}
for token in registry:
Expand Down

0 comments on commit 9699960

Please sign in to comment.