Utility.Registry.V0.Holding.TokenApiUtils

Helper functions to unpack a generic ChoiceContext.

Functions

utilityPrefix

: Text

senderCredentialsContextKey

: Text

receiverCredentialsContextKey

: Text

instrumentConfigurationContextKey

: Text

issuerCredentialsContextKey

: Text

holdingLabelContextKey

: Text

getContextItemAsCid

: ChoiceContext -> Text -> Update (Optional (ContractId t))

Unpack a cid.

getContextItemAsCids

: ChoiceContext -> Text -> Update (Optional [ContractId t])

Unpack [cids].

getContextItemAsText

: ChoiceContext -> Text -> Update (Optional Text)

Unpack text.