Skip to content

Commit

Permalink
Update sip-6.md
Browse files Browse the repository at this point in the history
  • Loading branch information
0age authored Jul 28, 2023
1 parent 4c5dfb8 commit 747baaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SIPS/sip-6.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]), ...]))` |
Expand Down

0 comments on commit 747baaa

Please sign in to comment.