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 nominate contract page #45

Merged
merged 49 commits into from
Jun 25, 2024
Merged

Conversation

Tanya-atatakai
Copy link
Collaborator

@Tanya-atatakai Tanya-atatakai commented Jun 24, 2024

Proposed changes

Adds the switch network yellow button
Adds a page where the user can nominate a contract for voting on Govern (note: they only can add a contract for voting on Ethereum, so we need to switch the network if they are on the wrong one)

See the flow on the video

Screen.Recording.2024-06-24.at.18.16.02.mov

Other states:

Tx failed Switch network Connect the wallet Contract already nominated Contract not found
image image image image image

Types of changes

What types of changes does your code introduce?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

mohandast52 and others added 30 commits June 20, 2024 19:37
Copy link
Collaborator

@mohandast52 mohandast52 left a comment

Choose a reason for hiding this comment

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

LGTM

apps/launch/common-util/functions/frontend-library.ts Outdated Show resolved Hide resolved
apps/launch/store/launch.ts Outdated Show resolved Hide resolved
apps/launch/hooks/useGetMyStakingContracts.ts Show resolved Hide resolved
Copy link
Collaborator

@dagacha dagacha left a comment

Choose a reason for hiding this comment

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

Approved to allow for further iterations - as requested

Copy link
Collaborator

@truemiller truemiller left a comment

Choose a reason for hiding this comment

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

comments are non-blocking, looks good otherwise

@mohandast52 mohandast52 merged commit 4110ae6 into main Jun 25, 2024
8 checks passed
@mohandast52 mohandast52 deleted the tanya/launch-nominate-contract branch June 25, 2024 19:52
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.

4 participants