inputs_addresses -> unique_scripts