Add to_ugly_asset function to chain_interface