cic-contracts/to_interface.sh
2021-04-29 08:40:26 +02:00

8 lines
156 B
Bash

#!/bin/bash
d=`mktemp -d`
b=`basename $1`
s=${b%%.*}
python3 scripts/reduce_to_methods.py $(realpath $1) > $d/$b
python3 scripts/calculate_eip165.py $d/$b