-
Notifications
You must be signed in to change notification settings - Fork 164
TRST audit fixes for HorizonStaking contract #1073
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
ce749be
fix: separate delegation and provision thaw request lists (TRST-H02)
Maikol d02f410
fix: separate delegation and delegationWithBeneficiary thaw requests …
Maikol 167055a
fix: round down tokens thawing when slashing (TRST-H04)
Maikol abe3321
fix: add legacy slasher for transition period (TRST-H06)
Maikol f254897
fix: add missing legacy withdraw delegated (TRST-H07)
Maikol 91cda56
fix: added minimum delegation for provisions (TRST-M03)
Maikol 07ef418
fix: operator check in closeAllocation (TRST-M12)
Maikol 26e4dc7
fix: getThawedTokens calculation (TRST-L03)
Maikol c9f8a2f
fix: documentation on unstake (TRST-M11)
Maikol 9271b99
fix: remove unused value from event (TRST-R01)
Maikol 151e63a
fix: round thawing shares up (TRST-R07)
Maikol 6e5a295
fix: check shares are not zero when creating a thaw request (TRST-R14)
Maikol d9c6190
fix: move legacyWithdrawDelegated to withdrawDelegated (TRST-H07)
Maikol 161f8a2
fix: added comment for stack too deep solution
Maikol 43bc72b
fix: added comment to explain minimum delegation (TRST-M03)
Maikol c59c186
fix: new event for minimum delegation not met (TRST-M03)
Maikol d1c5cc7
fix: add a new mapping instead of splitting thaw requests (TRST-H02)
Maikol 6e00d17
docs: fix documentation errors (TRST-R09)
tmigone d6d376c
fix: legacy slashing underflow (TRST-H08)
Maikol 7d90ad2
fix: underflow in getIdleStake (TRST-L14)
Maikol 57aea44
fix: added thaw request type to thaw request fulfilled event (TRST-R15)
Maikol bbd23f5
fix: add minimum tokens amount for undelegate with beneficiary (TRST-…
Maikol 399b7a9
fix: natspec for new undelegate error
Maikol File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.