cic-contracts/to_interface.sh

8 lines
156 B
Bash
Raw Permalink Normal View History

2021-04-28 13:55:53 +02:00
#!/bin/bash
d=`mktemp -d`
b=`basename $1`
s=${b%%.*}
2021-04-29 08:40:26 +02:00
python3 scripts/reduce_to_methods.py $(realpath $1) > $d/$b
python3 scripts/calculate_eip165.py $d/$b