From 9fef60fcd4b4fbb19b8ec33da3e80545e0bdd1e2 Mon Sep 17 00:00:00 2001 From: paoun-ledger <98907864+paoun-ledger@users.noreply.github.com> Date: Tue, 10 Dec 2024 18:39:31 +0100 Subject: [PATCH] Add support for slices applied on primitive static types (#102) --- specs/erc-7730.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specs/erc-7730.md b/specs/erc-7730.md index ed1374d..0df2019 100644 --- a/specs/erc-7730.md +++ b/specs/erc-7730.md @@ -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.