Skip to content

Commit

Permalink
docs: add AfterDelegationModified x/staking hook (#12896)
Browse files Browse the repository at this point in the history
  • Loading branch information
facundomedica authored Aug 10, 2022
1 parent 2ec026b commit daca54d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x/staking/spec/06_hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,7 @@ following hooks can registered with staking:
* called when a delegation is created
* `BeforeDelegationSharesModified(Context, AccAddress, ValAddress) error`
* called when a delegation's shares are modified
* `AfterDelegationModified(Context, AccAddress, ValAddress) error`
* called when a delegation is created or modified
* `BeforeDelegationRemoved(Context, AccAddress, ValAddress) error`
* called when a delegation is removed

0 comments on commit daca54d

Please sign in to comment.