Skip to main content

prepend_scope_path

Function prepend_scope_path 

Source
pub fn prepend_scope_path(field: &DisplayField, scope: &str) -> DisplayField
Expand description

Prepend a scope path to all path fields in a DisplayField.

Per ERC-7730 spec, inline scope groups concatenate parent paths with child paths. Also prepends to tokenPath in params when the token path is relative (no #. prefix).