Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
harisang committed Dec 24, 2024
1 parent cc46340 commit 0514dba
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,8 @@ def from_network(network: Network) -> PaymentConfig:
wrapped_eth_address = Address(
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"
)
min_native_token_transfer = 1000000000000000
min_cow_transfer = 20000000000000000000
min_native_token_transfer = 1000000000000000 # 0.001 ETH
min_cow_transfer = 20000000000000000000 # 20 COW

case Network.GNOSIS:
payment_network = EthereumNetwork.GNOSIS
Expand All @@ -284,8 +284,8 @@ def from_network(network: Network) -> PaymentConfig:
wrapped_eth_address = Address(
"0x6a023ccd1ff6f2045c3309768ead9e68f978f6e1"
)
min_native_token_transfer = 10000000000000000
min_cow_transfer = 1000000000000000000
min_native_token_transfer = 10000000000000000 # 0.01 xDAI
min_cow_transfer = 1000000000000000000 # 1 COW

case Network.ARBITRUM_ONE:
payment_network = EthereumNetwork.ARBITRUM_ONE
Expand All @@ -300,8 +300,8 @@ def from_network(network: Network) -> PaymentConfig:
wrapped_eth_address = Address(
"0x82af49447d8a07e3bd95bd0d56f35241523fbab1"
)
min_native_token_transfer = 100000000000000
min_cow_transfer = 1000000000000000000
min_native_token_transfer = 100000000000000 # 0.0001 ETH
min_cow_transfer = 1000000000000000000 # 1 COW

case Network.BASE:
payment_network = EthereumNetwork.BASE_MAINNET
Expand All @@ -316,8 +316,8 @@ def from_network(network: Network) -> PaymentConfig:
wrapped_eth_address = Address(
"0x4200000000000000000000000000000000000006"
)
min_native_token_transfer = 100000000000000
min_cow_transfer = 1000000000000000000
min_native_token_transfer = 100000000000000 # 0.0001 ETH
min_cow_transfer = 1000000000000000000 # 1 COW

case _:
raise ValueError(f"No payment config set up for network {network}.")
Expand Down

0 comments on commit 0514dba

Please sign in to comment.