utils
This module contains utility functions that are used in the protocol.
Functions
Check if the given signer is included in the given list of required signers.
Get the validator ScriptHash from a given output.
Fails if the given output is not from a validator script.
Checks the given Output against the given Input for the following:
- That the value is the same
- That the datum is the same
- That the output goes back to the same address
Get the lower bound IntervalBound from given transaction validity range
(POSIXTime in milliseconds).
Fails if given validity range does not contain a Finite lower bound type