toScVal

open override fun toScVal(): SCValXdr

Converts the simple threshold policy parameters to an ScVal map.

Map structure: { "threshold": U32(threshold) } Keys are in alphabetical order (required for contract compatibility).

Return

SCVal map with installation parameters

Throws

if threshold is zero