-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Cherry pick] Allow to set the beneficiary for operator (#11032)
* [Stake] Allow to set the beneficiary for operator (#10455) * Updated `distribute_internal` to use `aptos_account::deposit_coins` instead of `coin::deposit` * Allows operators to set beneficiaries * Update lib.rs (#10861) * Update lib.rs (#11029) This enables OPERATOR_BENEFICIARY_CHANGE in the devent to release (v1.8.4).
- Loading branch information
1 parent
9156cc7
commit 8beaf59
Showing
15 changed files
with
1,263 additions
and
339 deletions.
There are no files selected for viewing
This file contains 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
270 changes: 250 additions & 20 deletions
270
aptos-move/framework/aptos-framework/doc/delegation_pool.md
Large diffs are not rendered by default.
Oops, something went wrong.
442 changes: 214 additions & 228 deletions
442
aptos-move/framework/aptos-framework/doc/staking_contract.md
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
279 changes: 216 additions & 63 deletions
279
aptos-move/framework/aptos-framework/sources/delegation_pool.move
Large diffs are not rendered by default.
Oops, something went wrong.
197 changes: 173 additions & 24 deletions
197
aptos-move/framework/aptos-framework/sources/staking_contract.move
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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 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 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 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.