Open Farber98 opened 1 week ago
Add an EVM exclusive modifier/hook that changes onchain common.Address type to string.
Adds addressStringDecodeHook to convert between string and common.Address types. It handles the following conversions:
addressStringDecodeHook
string
common.Address
*string
*common.Address
Issues 0 New issues 0 Fixed issues 0 Accepted issues
Measures 0 Security Hotspots 100.0% Coverage on New Code 1.7% Duplication on New Code
See analysis details on SonarQube
Task Description:
Add an EVM exclusive modifier/hook that changes onchain common.Address type to string.
This PR:
Adds
addressStringDecodeHook
to convert betweenstring
andcommon.Address
types. It handles the following conversions:string
or*string
->common.Address
or*common.Address
common.Address
or*common.Address
->string
or*string
Ticket: