Utility.Registry.V0.Util
Orphan Typeclass Instances
Functions
- assertConfigurationAndGetDefaultIdentifier
: (CanAssert m, HasField "operator" p Party, HasField "provider" p Party, HasField "registrar" p Party, HasField "instrumentIdentifier" p InstrumentIdentifier) => InstrumentConfiguration -> p -> m ()
Asserts that the instrumen configuration matches expected values, and returns the default instrument identifier.
- fetchAndValidate
: (HasFetch t, Eq a, Show a) => ContractId t -> [(Text, t -> a, a)] -> Update t
Fetch a contract and validate that fields are as expected.