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

Utilize wxDAI to perform requests #107

Merged
merged 7 commits into from
Oct 13, 2023
Merged

Utilize wxDAI to perform requests #107

merged 7 commits into from
Oct 13, 2023

Conversation

Adamantios
Copy link
Collaborator

@Adamantios Adamantios commented Oct 13, 2023

Utilizes wxDAI to perform requests to the Mech instead of expecting xDAI.
Also, does not proceed if xDAI + wxDAI cannot cover the mech price and requests a refill.

An example of a successful tx: 0x20e60f759470937844ce71607495a790c39cd1acf6b41d7cfdd19f536273a29c.

@Adamantios Adamantios added the enhancement New feature or request label Oct 13, 2023
@Adamantios Adamantios requested a review from 0xArdi October 13, 2023 13:06
Comment on lines +289 to +292
if self.multisend_optional:
tx_hex = yield from self._single_tx()
else:
tx_hex = yield from self._multisend_tx()
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Do not use multisend if we are not unwrapping.

@Adamantios Adamantios merged commit 3c55841 into main Oct 13, 2023
@Adamantios Adamantios deleted the feat/utilize-wxdai branch October 13, 2023 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants