Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: babylonlabs-io/simple-staking
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.4.0-rc.10
Choose a base ref
...
head repository: babylonlabs-io/simple-staking
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Jan 24, 2025

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    0057976 View commit details

Commits on Jan 27, 2025

  1. Copy the full SHA
    6775a9e View commit details
  2. feat: update fee section (#638)

    * feat: small code/UI improvements
    
    * feat: update fee section
    
    * fix: review
    0xDazzer authored Jan 27, 2025
    Copy the full SHA
    58aca54 View commit details
  3. Copy the full SHA
    219678a View commit details

Commits on Jan 29, 2025

  1. add amount tooltip (#656)

    * add amount tooltip
    
    * resolve comments
    jeremy-babylonlabs authored Jan 29, 2025
    Copy the full SHA
    2863e7f View commit details
  2. Copy the full SHA
    8874b05 View commit details
  3. feat: dark mode (#660)

    * feat: dark mode
    
    * fix: review fixes
    0xDazzer authored Jan 29, 2025
    Copy the full SHA
    2086ab2 View commit details

Commits on Jan 30, 2025

  1. fix: issue with total btc balance (#662)

    * fix: issue with total btc balance
    jrwbabylonlab authored Jan 30, 2025
    Copy the full SHA
    612b8bf View commit details
  2. Copy the full SHA
    d5739a7 View commit details
  3. Copy the full SHA
    a72de70 View commit details
  4. add phase-2-private-mainnet (#664)

    Co-authored-by: liam.lai <liam.lai@us>
    liam-icheng-lai and liam.lai authored Jan 30, 2025
    Copy the full SHA
    49f0ba4 View commit details
  5. Copy the full SHA
    e1803e7 View commit details
  6. chore: Update deps (#665)

    * chore: update deps
    gbarkhatov authored Jan 30, 2025
    Copy the full SHA
    df101cc View commit details

Commits on Jan 31, 2025

  1. Copy the full SHA
    d5bf77f View commit details
  2. disable stake when eoi fp is slashed (#639)

    * disable stake when eoi fp is slashed
    
    * resolve comments
    
    * resolve comments
    
    * resolve comments
    jeremy-babylonlabs authored Jan 31, 2025
    Copy the full SHA
    7bbcbb7 View commit details
  3. Copy the full SHA
    2b9682c View commit details

Commits on Feb 4, 2025

  1. feat: mobile ui (#667)

    0xDazzer authored Feb 4, 2025
    Copy the full SHA
    a64d4b9 View commit details

Commits on Feb 5, 2025

  1. Copy the full SHA
    5d51240 View commit details

Commits on Feb 6, 2025

  1. add network config (#674)

    * add network config
    
    * update package
    
    * resolve comments
    jeremy-babylonlabs authored Feb 6, 2025
    Copy the full SHA
    0255b5c View commit details
  2. Revert "fix rsc header vulnerability (#672)" (#675)

    This reverts commit 5d51240.
    0xDazzer authored Feb 6, 2025
    Copy the full SHA
    127c525 View commit details
  3. Copy the full SHA
    a98935c View commit details
  4. Copy the full SHA
    ba47138 View commit details
  5. Copy the full SHA
    f4dad6c View commit details

Commits on Feb 9, 2025

  1. Adopt sdk (#680)

    * fix: move most of the logic out of useTransactionService to btc-staking-ts
    jrwbabylonlab authored Feb 9, 2025
    Copy the full SHA
    ddac0e8 View commit details

Commits on Feb 10, 2025

  1. Copy the full SHA
    1291df9 View commit details

Commits on Feb 11, 2025

  1. update menu and theme toggle (#679)

    * update menu and theme toggle
    
    * update logo and alignment
    jeremy-babylonlabs authored Feb 11, 2025
    Copy the full SHA
    c120ef2 View commit details

Commits on Feb 15, 2025

  1. Copy the full SHA
    7b5464f View commit details
Showing with 3,173 additions and 2,599 deletions.
  1. +3 −0 .github/workflows/publish.yaml
  2. +1 −0 docker/Dockerfile
  3. +75 −98 package-lock.json
  4. +3 −3 package.json
  5. BIN public/og.png
  6. +10 −0 sentry.client.config.ts
  7. +13 −3 src/app/api/apiWrapper.ts
  8. +1 −5 src/app/api/getDelegations.ts
  9. +1 −12 src/app/api/getDelegationsV2.ts
  10. +2 −1 src/app/api/getFinalityProviders.ts
  11. +20 −6 src/app/api/getNetworkInfo.ts
  12. +0 −4 src/app/api/getUnbondingEligibility.ts
  13. +10 −0 src/app/assets/bbn.svg
  14. +0 −4 src/app/common/constants.ts
  15. +163 −70 src/app/components/Delegations/Delegation.tsx
  16. +57 −21 src/app/components/Delegations/DelegationActions.tsx
  17. +90 −64 src/app/components/Delegations/Delegations.tsx
  18. +12 −3 src/app/components/Delegations/components/DelegationCell.tsx
  19. +2 −3 src/app/components/Error/GenericError.tsx
  20. +4 −2 src/app/components/FAQ/FAQ.tsx
  21. +0 −1 src/app/components/FAQ/Section.tsx
  22. +18 −18 src/app/components/FAQ/data/questions.tsx
  23. +1 −1 src/app/components/Footer/Footer.tsx
  24. +7 −4 src/app/components/Hash/Hash.tsx
  25. +1 −1 src/app/components/Logo/Logo.tsx
  26. +33 −0 src/app/components/Menu/MenuButton.tsx
  27. +42 −0 src/app/components/Menu/MenuContent.tsx
  28. +1 −1 src/app/components/Modals/CancelFeedbackModal.tsx
  29. +8 −9 src/app/components/Modals/ConfirmationModal.tsx
  30. +93 −66 src/app/components/Modals/ErrorModal.tsx
  31. +0 −149 src/app/components/Modals/FeedbackModal.tsx
  32. +0 −59 src/app/components/Modals/GeneralModal.tsx
  33. +7 −10 src/app/components/Modals/InfoModal.tsx
  34. +6 −11 src/app/components/Modals/Phase2Here.tsx
  35. +10 −6 src/app/components/Modals/PreviewModal.tsx
  36. +1 −1 src/app/components/Modals/RegistrationModal/RegistrationEndModal.tsx
  37. +2 −9 src/app/components/Modals/RegistrationModal/RegistrationStartModal.tsx
  38. +7 −1 src/app/components/Modals/ResponsiveDialog.tsx
  39. +8 −4 src/app/components/Modals/SignModal/SignModal.tsx
  40. +8 −8 src/app/components/Modals/SignModal/Step.tsx
  41. +6 −2 src/app/components/Modals/StakeModal.tsx
  42. +4 −9 src/app/components/Modals/SubmitModal.tsx
  43. +1 −1 src/app/components/Modals/SuccessFeedbackModal.tsx
  44. +4 −1 src/app/components/Modals/UnbondModal.tsx
  45. +1 −1 src/app/components/Modals/VerificationModal.tsx
  46. +17 −5 src/app/components/Modals/WalletDisconnectModal.tsx
  47. +21 −6 src/app/components/PersonalBalance/PersonalBalance.tsx
  48. +1 −1 src/app/components/Section/Section.tsx
  49. +5 −12 src/app/components/Staking/FinalityProviders/FinalityProviderColumns.tsx
  50. +4 −11 src/app/components/Staking/FinalityProviders/FinalityProviderSearch.tsx
  51. +15 −16 src/app/components/Staking/FinalityProviders/FinalityProviderTable.tsx
  52. +2 −2 src/app/components/Staking/FinalityProviders/FinalityProviderTableStatusView.tsx
  53. +2 −2 src/app/components/Staking/FinalityProviders/FinalityProviders.tsx
  54. +2 −2 src/app/components/Staking/Form/States/Message.tsx
  55. +2 −2 src/app/components/Staking/Form/States/WalletNotConnected.tsx
  56. +5 −5 src/app/components/Staking/StakingForm.tsx
  57. +4 −7 src/app/components/Stats/StatItem.tsx
  58. +4 −3 src/app/components/Stats/Stats.tsx
  59. +19 −47 src/app/components/ThemeToggle/ThemeToggle.tsx
  60. +0 −43 src/app/components/Toggle/Toggle.tsx
  61. +75 −60 src/app/components/Wallet/Connect.tsx
  62. +5 −0 src/app/constants.ts
  63. +21 −0 src/app/constants/endpoints.ts
  64. +26 −0 src/app/constants/errorMessages.ts
  65. +1 −0 src/app/constants/index.ts
  66. +0 −132 src/app/context/Error/ErrorContext.tsx
  67. +120 −0 src/app/context/Error/ErrorProvider.tsx
  68. +41 −0 src/app/context/Error/errors/clientError.ts
  69. +2 −0 src/app/context/Error/errors/index.ts
  70. +41 −0 src/app/context/Error/errors/serverError.ts
  71. +14 −10 src/app/context/api/StakingStatsProvider.tsx
  72. +8 −16 src/app/context/tomo/TomoWidget.tsx
  73. +9 −10 src/app/context/wallet/BTCWalletProvider.tsx
  74. +7 −10 src/app/context/wallet/CosmosWalletProvider.tsx
  75. +9 −17 src/app/context/wallet/WalletConnectionProvider.tsx
  76. +0 −7 src/app/error.tsx
  77. +10 −39 src/app/global-error.tsx
  78. +10 −4 src/app/globals.css
  79. +12 −12 src/app/hooks/client/api/useDelegations.ts
  80. +12 −12 src/app/hooks/client/api/useDelegationsV2.ts
  81. +12 −12 src/app/hooks/client/api/useFinalityProviders.ts
  82. +12 −12 src/app/hooks/client/api/useFinalityProvidersV2.ts
  83. +6 −0 src/app/hooks/client/rpc/mutation/useSigningStargateClient.ts
  84. +14 −12 src/app/hooks/client/useClient.ts
  85. +39 −5 src/app/hooks/services/useDelegationService.ts
  86. +61 −25 src/app/hooks/services/useRegistrationService.ts
  87. +111 −0 src/app/hooks/services/useStakingManagerService.ts
  88. +68 −32 src/app/hooks/services/useStakingService.ts
  89. +234 −603 src/app/hooks/services/useTransactionService.ts
  90. +105 −121 src/app/hooks/services/useV1TransactionService.ts
  91. +7 −10 src/app/hooks/useHealthCheck.ts
  92. +1 −1 src/app/providers.tsx
  93. +9 −1 src/app/services/healthCheckService.ts
  94. +143 −0 src/app/state/BalanceState.tsx
  95. +0 −44 src/app/state/DelegationV2State.tsx
  96. +23 −7 src/app/state/FinalityProviderState.tsx
  97. +3 −27 src/app/state/RewardState.tsx
  98. +20 −18 src/app/state/StakingState.tsx
  99. +36 −24 src/app/state/index.tsx
  100. +10 −1 src/app/types/delegationsV2.ts
  101. +27 −11 src/app/types/errors.ts
  102. +1 −0 src/app/types/network.ts
  103. +15 −0 src/components/common/Body/index.tsx
  104. +1 −1 src/components/common/GridTable/index.tsx
  105. +44 −19 src/components/common/Hint/index.tsx
  106. +9 −16 src/components/delegations/DelegationList/components/ActionButton.tsx
  107. +1 −1 src/components/delegations/DelegationList/components/TxHash.tsx
  108. +42 −13 src/components/delegations/DelegationList/index.tsx
  109. +7 −5 src/components/staking/StakingForm/components/AmountField.tsx
  110. +17 −0 src/components/staking/StakingForm/components/BBNFeeAmount.tsx
  111. +18 −0 src/components/staking/StakingForm/components/BTCFeeAmount.tsx
  112. +73 −0 src/components/staking/StakingForm/components/BTCFeeRate.tsx
  113. +0 −37 src/components/staking/StakingForm/components/FeeAmountField.tsx
  114. +0 −31 src/components/staking/StakingForm/components/FeeInfo.tsx
  115. +40 −0 src/components/staking/StakingForm/components/FeeItem.tsx
  116. +178 −0 src/components/staking/StakingForm/components/FeeModal.tsx
  117. +0 −55 src/components/staking/StakingForm/components/FeeRateField.tsx
  118. +3 −7 src/components/staking/StakingForm/components/FeeSection.tsx
  119. +5 −5 src/components/staking/StakingForm/components/InfoAlert.tsx
  120. +12 −9 src/components/staking/StakingForm/components/Overlay.tsx
  121. +0 −61 src/components/staking/StakingForm/components/SliderField.tsx
  122. +1 −2 src/components/staking/StakingForm/components/SubmitButton.tsx
  123. +8 −4 src/components/staking/StakingForm/components/TermField.tsx
  124. +34 −0 src/components/staking/StakingForm/components/Total.tsx
  125. +26 −20 src/components/staking/StakingForm/index.tsx
  126. +13 −0 src/config/network/bbn.ts
  127. +58 −0 src/config/network/bbn/canary.ts
  128. +30 −4 src/config/network/btc.ts
  129. +1 −1 src/config/screen-breakpoints.ts
  130. +0 −13 src/utils/btc.ts
  131. +1 −0 src/utils/chunkArray.ts
  132. +14 −2 src/utils/delegations/fee.ts
  133. +57 −0 src/utils/fetch.ts
  134. +11 −3 src/utils/local_storage/filterDelegationsLocalStorage.ts
  135. +108 −107 src/utils/mempool_api.ts
  136. +1 −0 src/utils/params/index.ts
  137. +1 −5 src/utils/version.ts
  138. +2 −0 src/utils/wallet/index.ts
  139. +1 −35 tailwind.config.ts
  140. +4 −0 tests/config/index.test.ts
  141. +54 −0 tests/context/Error/clientError.test.ts
  142. +45 −0 tests/context/Error/serverError.test.ts
  143. +3 −0 tests/utils/local_storage/calculateDelegationsDiff.test.ts
  144. +27 −12 tests/utils/local_storage/filterDelegationsLocalStorage.test.ts
  145. +4 −0 tests/utils/mempool/getFundingUTXOs.test.ts
3 changes: 3 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -28,6 +28,7 @@ jobs:
testnet,
phase-2-testnet,
mainnet-private,
phase-2-private-mainnet,
mainnet,
]
environment: ${{ matrix.environment }}
@@ -71,6 +72,7 @@ jobs:
testnet,
phase-2-testnet,
mainnet-private,
phase-2-private-mainnet,
mainnet,
]
needs: ["docker_build"]
@@ -113,6 +115,7 @@ jobs:
testnet,
phase-2-testnet,
mainnet-private,
phase-2-private-mainnet,
mainnet,
]
needs: ["docker_build"]
1 change: 1 addition & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -13,6 +13,7 @@ COPY next.config.mjs .
COPY tsconfig.json .
COPY tailwind.config.ts .
COPY postcss.config.js .
COPY sentry.client.config.ts .

ARG NEXT_PUBLIC_MEMPOOL_API
ENV NEXT_PUBLIC_MEMPOOL_API=${NEXT_PUBLIC_MEMPOOL_API}
Loading