From 747baaa4d17f7a6f13c100a2dbdf535daeea5d29 Mon Sep 17 00:00:00 2001 From: 0age <37939117+0age@users.noreply.github.com> Date: Fri, 28 Jul 2023 10:49:26 -0400 Subject: [PATCH] Update sip-6.md --- SIPS/sip-6.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SIPS/sip-6.md b/SIPS/sip-6.md index 3c8c8c2..f63429d 100644 --- a/SIPS/sip-6.md +++ b/SIPS/sip-6.md @@ -35,8 +35,8 @@ If `extraData` is supplied as part of a SIP-6-compliant order, it MUST be prefix | version byte | description | decoding scheme | fixed data hashing scheme | | ------------ | ------------------------------------------------------------ | ----------------------------------------------- | ------------------------------------------------------------------------------------------- | -| 0x00 | single variable data array | `abi.decode(extraData[1:], (bytes))` | n/a | -| 0x01 | single fixed data array | `abi.decode(extraData[1:], (bytes))` | `keccak256(fixedDataArray)` | +| 0x00 | single variable data array | `extraData[1:]` (no offset / length) | n/a | +| 0x01 | single fixed data array | `extraData[1:]` (no offset / length) | `keccak256(fixedDataArray)` | | 0x02 | single variable data array and single fixed data array | `abi.decode(extraData[1:], (bytes, bytes))` | `keccak256(fixedDataArray)` | | 0x03 | multiple variable data arrays | `abi.decode(extraData[1:], (bytes[]))` | n/a | | 0x04 | multiple fixed data arrays | `abi.decode(extraData[1:], (bytes[]))` | `keccak256(abi.encode(keccak256(fixedDataArrays[0]), keccak256(fixedDataArrays[1]), ...]))` |