Splice.TokenStandard.Utils.Internal.Events
Splice.TokenStandard.Utils.Internal.Events
Internal module containing utilities to implement or use V2 events.
Import ‘Splice.TokenStandard.Utils’ to get access to the public ones.
Functions
eventLog_holdingsChangeDefaultImpl: Party -> ContractId EventLog -> EventLog_HoldingsChange -> Update EventLog_HoldingsChangeResult
mintAccount: Account
burnAccount: Account
allocationToTransferEventLegSide: TransferLegSide -> TransferLegSide
logHoldingsChange: ContractId EventLog -> EventLog_HoldingsChange -> Update ()
Convenience function to avoid logging:
empty holding changes
holding chagnes for special accounts (e.g., mint and burn accounts)
Use this function instead of direct exercises on the event log.
logMint: ContractId EventLog -> Account -> Decimal -> InstrumentId -> Metadata -> [ContractId Holding] -> Update ()
logBurn: ContractId EventLog -> Account -> Decimal -> InstrumentId -> Metadata -> [ContractId Holding] -> Update ()
logAllocationSettlement: ContractId EventLog -> [ContractId Holding] -> AllocationSpecification -> [ContractId Holding] -> Update ()
Log transfer events for the settlement of an allocation.
logTransfer: ContractId EventLog -> Transfer -> [ContractId Holding] -> [ContractId Holding] -> Update ()
Log events for the execution a transfer.
logMergeSplit: ContractId EventLog -> Party -> Account -> [ContractId Holding] -> Text -> [ContractId Holding] -> Update ()
Log an account-local holding change not associated with a transfer; e.g., the effect of unlocking a lock.
Comments