Skip to content

Commit

Permalink
Merge pull request #125 from ar-io/PE-7263-stake-redelegation
Browse files Browse the repository at this point in the history
PE-7263: Stake-redelegation
  • Loading branch information
kunstmusik authored Dec 20, 2024
2 parents ccbe0b6 + 9b11259 commit 9a195ee
Show file tree
Hide file tree
Showing 28 changed files with 2,203 additions and 662 deletions.
112 changes: 62 additions & 50 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,119 +7,131 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- Redelegate Stake: Users can now redelegate stake and pending withdrawals between gateways. Includes moving to/from operator stake and delegated stake.
Redelegation fees are assessed at 10% per redelegation performed since the last fee reset, up to 60%. Fees are reset when no redelegations are performed in the last 7 days.

### Changed

- Leave Network: text updated to 90-days for vaulted funds
- Staking: Staking and Withdrawal are now separate modals that are initiated from unique popup menu options

### Fixed

- Gateway Details: Restored "Leave" (when viewing own gateway) and "Stake" (when viewing other gateways) buttons

## [1.6.0] - 2024-12-10

### Added
### Added

* Gateway Details
* Added Operator Stake card showing operator stake and EAY, as well as manage stake button for updating operator stake.
* Added collapsible Pending Withdrawals card for viewing current withdrawals as well as managing
them (canceling a withdrawal or initiating an expedited withdrawal). Visible only to the gateway operator.
* Added collapsible Active Delegates card showing the list of active delegates for the gateway.
- Gateway Details
- Added Operator Stake card showing operator stake and EAY, as well as manage stake button for updating operator stake.
- Added collapsible Pending Withdrawals card for viewing current withdrawals as well as managing
them (canceling a withdrawal or initiating an expedited withdrawal). Visible only to the gateway operator.
- Added collapsible Active Delegates card showing the list of active delegates for the gateway.

## [1.5.0] - 2024-12-04

### Added
### Added

* Profile button shows user's ArNS Primary Name (if available) or wallet address when logged in
* Download buttons added to Reports page and individual Report page
* Observers: Added epoch selector to view prescribed observers for previous epochs
* Gateway Details Page
* Reported On By card: text links to gateway for observer, report button links to report
* Reported On card: Report button shows in header that links to that report's page
- Profile button shows user's ArNS Primary Name (if available) or wallet address when logged in
- Download buttons added to Reports page and individual Report page
- Observers: Added epoch selector to view prescribed observers for previous epochs
- Gateway Details Page
- Reported On By card: text links to gateway for observer, report button links to report
- Reported On card: Report button shows in header that links to that report's page

### Updated

* Staking and Withdrawal modals updated to show Review page for user to confirm operation before processing
* Withdrawal Modal: Added option for Standard and Expedited Withdrawal
* Modal dialog styles refreshed
* Reward Share Ratio capped to 95% when joining network and updating gateway settings
- Staking and Withdrawal modals updated to show Review page for user to confirm operation before processing
- Withdrawal Modal: Added option for Standard and Expedited Withdrawal
- Modal dialog styles refreshed
- Reward Share Ratio capped to 95% when joining network and updating gateway settings

## [1.4.3] - 2024-11-27

### Updated

* Settings updated for staking:
* Staking withdrawals are now 90 days
* Gateway Operator Stake minimum is now 10,000 IO
* Minimum Delegated Staking amount for gateway configuration is now 10 IO
- Settings updated for staking:
- Staking withdrawals are now 90 days
- Gateway Operator Stake minimum is now 10,000 IO
- Minimum Delegated Staking amount for gateway configuration is now 10 IO

## [1.4.2] - 2024-11-20

### Updated

* Show error message toast if the application is unable to retrieve the current epoch
- Show error message toast if the application is unable to retrieve the current epoch

## [1.4.1] - 2024-11-18

### Updated

* Optimized loading of user stakes and pending withdrawals.
- Optimized loading of user stakes and pending withdrawals.

### Fixed

* Gateways count in site header should only count active gateways.
- Gateways count in site header should only count active gateways.

## [1.4.0] - 2024-11-14

### Added

* View Pending Withdrawals on Staking page and support cancelling pending withdrawals as well as performing expedited withdrawals
* View Changelog in app by clicking version number in sidebar
- View Pending Withdrawals on Staking page and support cancelling pending withdrawals as well as performing expedited withdrawals
- View Changelog in app by clicking version number in sidebar

### Updated

* Staking page top cards now show balance, amount staking + pending withdrawals, and rewards earned last 14 epochs and last epoch
- Staking page top cards now show balance, amount staking + pending withdrawals, and rewards earned last 14 epochs and last epoch

### Changed

* Updated header style of cards
* Observations: Updated to use arweave.net for reference domain when generating observation report
* Observe: Default to using prescribed names
- Updated header style of cards
- Observations: Updated to use arweave.net for reference domain when generating observation report
- Observe: Default to using prescribed names

## [1.3.0] - 2024-10-21

### Added

* New Dashboard home page that visualizes data for the state of the gateway network
- New Dashboard home page that visualizes data for the state of the gateway network

## [1.2.0] - 2024-10-17

### Added

* “Reported On” and “Reported On By” cards on Gateway Details page for viewing observation status by epoch for a gateway
* “Software” card on gateway details page that shows gateway software version and available bundlers (if gateway has listed them)
- “Reported On” and “Reported On By” cards on Gateway Details page for viewing observation status by epoch for a gateway
- “Software” card on gateway details page that shows gateway software version and available bundlers (if gateway has listed them)

### Changed

* Updated Gateway Details page for leaving gateways to hide non-relevant cards and show leave date

- Updated Gateway Details page for leaving gateways to hide non-relevant cards and show leave date

## [1.1.0] - 2024-10-08

### Added

* Gateways > Reports: Add “AR.IOEpoch #” Column
* Gateways>Reports>Individual Reports
* Add Epoch #
* Remove Epoch start height
* Implemented Leave Network Flow:
* Adds button to Gateway Detail page to leave network when gateway shown is the user’s own gateway
* Hitting Leave shows a modal with information. User has to type “LEAVE NETWORK” before Leave Network button is enabled.
* Hitting Leave Network button initiates signature request and then a success message.
* Site is refreshed after leaving.
* Release version shown on sidebar

- Gateways > Reports: Add “AR.IOEpoch #” Column
- Gateways>Reports>Individual Reports
- Add Epoch #
- Remove Epoch start height
- Implemented Leave Network Flow:
- Adds button to Gateway Detail page to leave network when gateway shown is the user’s own gateway
- Hitting Leave shows a modal with information. User has to type “LEAVE NETWORK” before Leave Network button is enabled.
- Hitting Leave Network button initiates signature request and then a success message.
- Site is refreshed after leaving.
- Release version shown on sidebar

### Changed

* Gateway Details: rename “Reward Ratios” to “Performance Ratios”
* Gateway Details: Fixes text bubble cut off when copying wallet address
- Gateway Details: rename “Reward Ratios” to “Performance Ratios”
- Gateway Details: Fixes text bubble cut off when copying wallet address

### Fixed

* Gateway Details: Remove Edit and Stake Buttons from gateways that are leaving
- Gateway Details: Remove Edit and Stake Buttons from gateways that are leaving

## [1.0.0]

* Initial versions of application; version was bumped to 1.1.0 for first public versioned release.
- Initial versions of application; version was bumped to 1.1.0 for first public versioned release.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@
"deploy": "yarn build && permaweb-deploy --ant-process ${DEPLOY_ANT_PROCESS_ID}"
},
"dependencies": {
"@ar.io/sdk": "3.0.0",
"@ar.io/sdk": "3.0.1-alpha.1",
"@fontsource/rubik": "^5.0.19",
"@headlessui/react": "^2.2.0",
"@radix-ui/react-dropdown-menu": "^2.1.2",
"@radix-ui/react-tooltip": "^1.0.7",
"@sentry/browser": "^7.101.1",
"@sentry/react": "^7.101.1",
Expand Down
Loading

0 comments on commit 9a195ee

Please sign in to comment.