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/migration wizard #34

Open
wants to merge 19 commits into
base: v1
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
21a9d1c
refactor(useBalances): return bignumber from useBalances hook
envin3 Mar 6, 2024
4c35d0f
feat(header): add migration button and modal
envin3 Mar 6, 2024
09a9a0d
feat(preset): add change inflation owner preset
envin3 Feb 27, 2024
31de3ea
test(preset): test change inflation owner preset
envin3 Feb 27, 2024
1aaf398
feat(migration): use forwarder for staking
envin3 Mar 8, 2024
35b47a9
test(migration): test migration modal
envin3 Mar 12, 2024
d0e8254
feat(settings): add v3 forwarders
envin3 Mar 12, 2024
595af6c
fix(migration): parametrize useStake correctly
envin3 Mar 12, 2024
208ecdb
test(stake-hooks): test useStake and useUnstake
envin3 Mar 12, 2024
8bc8c61
feat(presets): add preset to inflate ethPNT and deposit rewards
oliviera9 Mar 14, 2024
2fe39fb
chore(husky): use commit-msg hook for commitlint
oliviera9 Mar 14, 2024
09cdee9
test(presets): add test for withdrawInflationAndDepositRewards()
oliviera9 Mar 14, 2024
cd5bc24
refactor(hooks): move getForwarderStakeUserData() into preparers util
oliviera9 Mar 14, 2024
62c3029
test(preparers): add test for subtractFee()
oliviera9 Mar 14, 2024
d8f4729
fix(preparers): fix subtractFee()
oliviera9 Mar 14, 2024
c82eac0
refactor(presets): move forwarder call for rewards into preparers
oliviera9 Mar 14, 2024
4aaf26b
Merge pull request #35 from pnetwork-association/feat/deposit-rewards
envin3 Mar 14, 2024
efd97c7
refactor(MigrateModal): update text description
envin3 Mar 14, 2024
c19d62a
test(MigrateModal): update text description
envin3 Mar 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore(husky): use commit-msg hook for commitlint
oliviera9 authored and envin3 committed Mar 14, 2024
commit 2fe39fb5619105d3918f8726ff97aca5da3b98ba
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no -- commitlint --edit
1 change: 0 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -2,4 +2,3 @@
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
npx --no-install commitlint --edit "$1"