to Sc Val
Converts the weighted threshold policy parameters to an ScVal map.
Map structure: { "signer_weights": MapSigner => U32, "threshold": U32(threshold) } Keys are in alphabetical order (required for contract compatibility).
Return
SCVal map with installation parameters
Throws
if threshold is zero or signer weights map is empty