GetDelegatorDelegations
GetDelegatorDelegations returns a read-only view of a delegator's delegations, keyed by delegatee address with that pair's delegation IDs as the value. Reading an entry yields a copy of the ID slice, so the view cannot mutate realm state. nil is returned when the delegator has no delegations. Parameters:
- delegator: Address whose delegations should be listed.
Returns:
- *rotree.ReadOnlyTree: read-only view keyed by delegatee address, or nil when delegator has no delegations.
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/gov/staker.GetDelegatorDelegations()"
Result