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

feat: allow Eth selection in the send flow #4242

Merged
merged 107 commits into from
Oct 12, 2023
Merged

feat: allow Eth selection in the send flow #4242

merged 107 commits into from
Oct 12, 2023

Conversation

MuckT
Copy link
Collaborator

@MuckT MuckT commented Sep 28, 2023

Description

Allows the selection of Eth in the send flow and the use of the Max button while preserving functionality of the existing Celo send flow.

Video

Screen.Recording.2023-09-29.at.3.28.02.PM.mov

Test plan

  • Tested locally on iOS by adding a wallet address to Prod Multichain Testers segment in Statsig.
  • Unit tests updated.

Related issues

Backwards compatibility

Yes

@MuckT MuckT changed the title Tomm/multichain send 0 feat: allow Eth selection in the send flow Sep 28, 2023
Copy link
Contributor

@cajubelt cajubelt left a comment

Choose a reason for hiding this comment

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

looks close!

@@ -64,9 +64,9 @@ function useTransactionCallbacks({
inputAmount: inputIsInLocalCurrency ? localAmount! : tokenAmount,
tokenAmount,
amountIsInLocalCurrency: inputIsInLocalCurrency,
tokenAddress: transferTokenAddress,
tokenAddress: tokenInfo!.address!,
Copy link
Contributor

Choose a reason for hiding this comment

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

bumping this

src/fees/selectors.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@cajubelt cajubelt left a comment

Choose a reason for hiding this comment

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

🥳 🥳 🥳

@MuckT MuckT enabled auto-merge (squash) October 12, 2023 18:38
@MuckT MuckT merged commit d977bd6 into main Oct 12, 2023
15 checks passed
@MuckT MuckT deleted the tomm/multichain-send-0 branch October 12, 2023 18:43
github-merge-queue bot pushed a commit that referenced this pull request May 28, 2024
### Description

This was added in #4242 when we
were working towards multichain, but now there shouldn't be a need for
multiple TokenBalance types

### Test plan

CI

### Related issues

N/A

### Backwards compatibility

Yes

### Network scalability

If a new NetworkId and/or Network are added in the future, the changes
in this PR will:

- [x] Continue to work without code changes, OR trigger a compilation
error (guaranteeing we find it when a new network is added)
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.

None yet

3 participants