pub fn set_bonded(key: Address<N>, value: BondState<N>) -> Result<()>
Setter for a mapping in the interpreter.