FulfillmentDataLibrary
Functions
decodeFulfillmentDataImageIdAndJournal
Decodes a bytes calldata into a FulfillmentDataImageIdAndJournal struct.
function decodeFulfillmentDataImageIdAndJournal(bytes calldata data)
public
pure
returns (FulfillmentDataImageIdAndJournal memory fillData);
Name | Type | Description |
---|---|---|
data | bytes | The bytes calldata to decode. |
Name | Type | Description |
---|---|---|
fillData | FulfillmentDataImageIdAndJournal | The 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);
Name | Type | Description |
---|---|---|
data | bytes | The bytes calldata to decode. |
Name | Type | Description |
---|---|---|
imageId | bytes32 | The decoded image ID. |
journal | bytes | The decoded journal. |