Add CIC package
Add abi signature encoding list Add cic package
This commit is contained in:
17
python-contract-interfaces/Makefile
Normal file
17
python-contract-interfaces/Makefile
Normal file
@@ -0,0 +1,17 @@
|
||||
INPUTS = $(wildcard cic_contracts/unittest/solidity/*.sol)
|
||||
OUTPUTS = $(patsubst %.sol, %.bin, $(INPUTS))
|
||||
|
||||
all: outs package
|
||||
|
||||
.SUFFIXES: .sol .bin
|
||||
|
||||
solidity:
|
||||
|
||||
.sol.bin:
|
||||
solc $(basename $@).sol --evm-version=byzantium --bin | awk 'NR>3' > $@
|
||||
truncate -s -1 $@
|
||||
|
||||
outs: $(OUTPUTS)
|
||||
|
||||
package:
|
||||
python setup.py sdist
|
||||
Reference in New Issue
Block a user