pub fn add_delegation(
    from: Address,
    to: Address,
    shares: u128
) -> Result<(), Error>
Expand description

Add delegation for a given (from, to) pair.

The given shares are added to any existing delegation that may exist for the same (from, to) address pair. If no delegation exists a new one is created.