2021-01-10 20:40:29 +01:00
|
|
|
SOLC = /usr/bin/solc
|
|
|
|
|
2020-12-07 16:41:48 +01:00
|
|
|
all:
|
2021-01-10 20:40:29 +01:00
|
|
|
$(SOLC) --bin AccountsIndex.sol --evm-version byzantium | awk 'NR>3' > AccountsIndex.bin
|
|
|
|
$(SOLC) --abi AccountsIndex.sol --evm-version byzantium | awk 'NR>3' > AccountsIndex.json
|
2023-03-21 17:44:20 +01:00
|
|
|
$(SOLC) --metadata AccountsIndex.sol --evm-version byzantium | awk 'NR>3' > AccountsIndex.metadata.json
|
|
|
|
truncate -s -1 AccountsIndex.bin
|
2020-12-07 16:41:48 +01:00
|
|
|
|
|
|
|
install: all
|
2023-03-21 17:44:20 +01:00
|
|
|
cp -v *.json ../python/eth_accounts_index/data/
|
|
|
|
cp -v *.bin ../python/eth_accounts_index/data/
|
2020-12-07 16:41:48 +01:00
|
|
|
|