mirror of
https://github.com/grassrootseconomics/erc20-pool.git
synced 2026-05-20 06:11:09 +02:00
Initial commit
This commit is contained in:
12
solidity/Makefile
Normal file
12
solidity/Makefile
Normal file
@@ -0,0 +1,12 @@
|
||||
SOLC = /usr/bin/solc
|
||||
|
||||
all:
|
||||
$(SOLC) --bin SwapPool.sol --evm-version byzantium | awk 'NR>3' > SwapPool.bin
|
||||
$(SOLC) --abi SwapPool.sol --evm-version byzantium | awk 'NR>3' > SwapPool.json
|
||||
$(SOLC) --metadata SwapPool.sol --evm-version byzantium | awk 'NR>3' > SwapPool.metadata.json
|
||||
truncate -s -1 SwapPool.bin
|
||||
|
||||
install: all
|
||||
cp -v *.json ../python/erc20_swap_pool/data/
|
||||
cp -v *.bin ../python/erc20_swap_pool/data/
|
||||
|
||||
Reference in New Issue
Block a user