Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add uniswap url parameter & add uniswap for arbitrum #200

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

rahul-kothari
Copy link
Contributor

What was wrong?

Closes #198 and adds uniswap to arbitrum

How was it fixed?

Cute Animal Picture

Cute animal picture

@@ -42,10 +47,14 @@ def __init__(self):

def _validate_class_variables(self):
if not (
Copy link
Collaborator

@mikulas-mrva mikulas-mrva Mar 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my opinion, using not all(self.NETWORK_IDENTIFIER, self.NETWORK_VERBOSE_NAME, self.NETWORK_UNISWAP_NAME, self.TOKEN_SYMBOL) would be a wee bit more elegant without compromising on clarity. Hope it's ok for me to chime on here! .)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oo good idea!

Since arbitrum class inherits from L1 class, by removing the custom
payment method integration, arbitrum now uses the same payment choices
as L1 (which includes uniswap)
@rahul-kothari rahul-kothari force-pushed the uniswap-chain-names branch from a846ed1 to 7325b3a Compare May 3, 2022 17:02
@rahul-kothari rahul-kothari force-pushed the uniswap-chain-names branch from 7325b3a to b7dca1a Compare May 3, 2022 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Uniswap Chain parameter to L2 requests
2 participants