docs: add AfterDelegationModified x/staking hook (#12896)

This commit is contained in:
Facundo Medica 2022-08-10 19:53:48 -03:00 committed by GitHub
parent 2ec026b05f
commit daca54d933
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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