ac970f52be
* feat: add (re)delegation getters (#11596)
### Description
This PR adds general helper functions to the `x/staking` module that are used in the Evmos `x/vesting` module and originated from Agoric's custom staking module implementation https://github.com/agoric-labs/cosmos-sdk/blob/4085-true-vesting/x/staking/keeper/delegation.go.
- `GetDelegatorUnbonding`
- `GetDelegatorBonded`
- `IterateDelegatorUnbondingDelegations`
- `IterateDelegatorDelegations`
- `IterateDelegatorRedelegations`
(cherry picked from commit
|
||
---|---|---|
.. | ||
client | ||
keeper | ||
legacy | ||
simulation | ||
spec | ||
teststaking | ||
types | ||
abci.go | ||
app_test.go | ||
bench_test.go | ||
common_test.go | ||
genesis.go | ||
genesis_test.go | ||
handler.go | ||
handler_test.go | ||
module.go | ||
module_test.go |