Module

Ctl.Internal.NativeScripts

#getMaximumSigners

getMaximumSigners :: Set Ed25519KeyHash -> NativeScript -> Int

Used for fee calculation. We try to calculate maximum number of signers from the script itself, following its logic. But we must not count requiredSigners and selfSigners as signers from native scripts twice, because that would lead to excessive fees. Hence we accept a set of already known signers to be ignored in this function.

Modules