Skip to content

Commit

Permalink
Add support for slices applied on primitive static types (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
paoun-ledger authored Dec 10, 2024
1 parent 088db98 commit 9fef60f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions specs/erc-7730.md
Original file line number Diff line number Diff line change
Expand Up @@ -800,9 +800,9 @@ A *field format specification* is a json object defining how to format a single

#### Slices in paths

A slice can be applied at the end of paths for dynamic types like bytes, string and arrays.
A slice can be applied at the end of paths.

A slice on a primitive type like bytes and string means that the associated [field format specification](#field-format-specification) MUST only be applied to the corresponding slice of bytes of the underlying data.
A slice on a primitive type like uint256, bytes and string means that the associated [field format specification](#field-format-specification) MUST only be applied to the corresponding slice of bytes of the underlying data.

A slice on an array type means that the associated [field format specification](#field-format-specification) or recursive [structured data format specification](#structured-data-format-specification) MUST be applied to ALL the array elements part of the slice.

Expand Down

0 comments on commit 9fef60f

Please sign in to comment.