Skip to content

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

self._set_other_token_constants()

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