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(wallet-dashboard): hook timelocked staking feature #1976

Merged

Conversation

brancoder
Copy link
Contributor

@brancoder brancoder commented Aug 21, 2024

Description of change

Adds timelocked staking feature to dashboard vesting page.

  • Staking Transaction creation uses simple algorithm to split objects selected for staking.
  • merge the timelocked objects before staking them to clean them up

Links to any relevant issues

resolves #1084 .

Type of change

  • Enhancement (a non-breaking change which adds functionality)

How the change has been tested

  1. Using tooling resources create vesting portfolio with: pnpm timelock:publish and pnpm timelock:vesting
    Optionally use split example to split some of the vesting objects in the vesting portfolio using pnpm timelock:split
  2. Update the vesting label constant, in the dashboard, to your published package id:
    example: export const SUPPLY_INCREASE_VESTING_LABEL = 'eaa22e4cbb1e8b41dca038fc175f147180265a41617c3e4125e54434506df45f::stardust_upgrade_label::STARDUST_UPGRADE_LABEL';

Change checklist

  • I have followed the contribution guidelines for this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that new and existing unit tests pass locally with my changes

cpl121 and others added 30 commits July 18, 2024 18:40
…tfolio' into tooling-dashboard/add-a-vesting-page
…tfolio' into tooling-dashboard/add-a-vesting-page
…shboard/fetch-supply-increases-timelocked-portfolio' of github.com:iotaledger/kinesis into tooling-dashboard/add-a-vesting-page
…tfolio' into tooling-dashboard/add-a-vesting-page
…folio' and 'develop' of github.com:iotaledger/kinesis into tooling-dashboard/add-timelock-stakes-to-vesting-portfolio
… of github.com:iotaledger/kinesis into tooling-dashboard/hook-collect-feature
Copy link
Contributor

@marc2332 marc2332 left a comment

Choose a reason for hiding this comment

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

Looks like I forgot to click on "request changes"

apps/wallet-dashboard/lib/utils/vesting/vesting.ts Outdated Show resolved Hide resolved
apps/wallet-dashboard/lib/utils/vesting/vesting.ts Outdated Show resolved Hide resolved
Copy link
Contributor

This pull request has been deployed to Vercel.

Latest commit: 969ae53

✅ Preview: https://wallet-dashboard-a225fcfa1e2f852205a61a7cd1d5d93e92-ol8yd3g5k.vercel.app

Copy link
Contributor

This pull request has been deployed to Vercel.

Latest commit: f099120

✅ Preview: https://wallet-dashboard-a225fcfa1e2f852205a61a7cd1d5d93e92-2oczxrsqm.vercel.app

Copy link
Contributor

This pull request has been deployed to Vercel.

Latest commit: a119de2

✅ Preview: https://wallet-dashboard-a225fcfa1e2f852205a61a7cd1d5d93e92-1ywrrbl8f.vercel.app

Copy link
Contributor

github-actions bot commented Sep 3, 2024

This pull request has been deployed to Vercel.

Latest commit: 4fb8428

✅ Preview: https://wallet-dashboard-a225fcfa1e2f852205a61a7cd1d5d93e92-7ewnoqnfx.vercel.app

Copy link
Contributor

github-actions bot commented Sep 3, 2024

This pull request has been deployed to Vercel.

Latest commit: b0bfc5b

✅ Preview: https://wallet-dashboard-a225fcfa1e2f852205a61a7cd1d5d93e92-dteojaiq6.vercel.app

Copy link
Contributor

github-actions bot commented Sep 4, 2024

This pull request has been deployed to Vercel.

Latest commit: 58419e3

✅ Preview: https://wallet-dashboard-a225fcfa1e2f852205a61a7cd1d5d93e92-2x7kh2u3q.vercel.app

Copy link
Contributor

github-actions bot commented Sep 7, 2024

This pull request has been deployed to Vercel.

Latest commit: f171540

✅ Preview: https://wallet-dashboard-a225fcfa1e2f852205a61a7cd1d5d93e92-4hnvuq48z.vercel.app

Copy link
Contributor

This pull request has been deployed to Vercel.

Latest commit: e3abe9c

✅ Preview: https://wallet-dashboard-a225fcfa1e2f852205a61a7cd1d5d93e92-cycy1d6v5.vercel.app

@begonaalvarezd begonaalvarezd merged commit 1f0a4c7 into develop Sep 10, 2024
14 of 15 checks passed
@begonaalvarezd begonaalvarezd deleted the tooling-dashboard/hook-timelocked-staking-feature branch September 10, 2024 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tooling Issues related to the Tooling team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Task (tooling/wallet-dashboard)]: Hook timelocked staking feature
5 participants