Skip to content

FulfillmentDataLibrary

Functions

decodeFulfillmentDataImageIdAndJournal

Decodes a bytes calldata into a FulfillmentDataImageIdAndJournal struct.

function decodeFulfillmentDataImageIdAndJournal(bytes calldata data)
    public
    pure
    returns (FulfillmentDataImageIdAndJournal memory fillData);
Parameters
NameTypeDescription
databytesThe bytes calldata to decode.
Returns
NameTypeDescription
fillDataFulfillmentDataImageIdAndJournalThe decoded FulfillmentDataImageIdAndJournal struct.

decodePackedImageIdAndJournal

Decodes a bytes calldata into a the image id and journal.

function decodePackedImageIdAndJournal(bytes calldata data)
    internal
    pure
    returns (bytes32 imageId, bytes calldata journal);
Parameters
NameTypeDescription
databytesThe bytes calldata to decode.
Returns
NameTypeDescription
imageIdbytes32The decoded image ID.
journalbytesThe decoded journal.