mirror of
https://github.com/grassrootseconomics/erc20-pool.git
synced 2024-11-27 06:06:45 +01:00
Mohammed Sohail
f812790610
commit283e3cd7bf
Author: Mohammed Sohail <sohailsameja@gmail.com> Date: Tue Mar 19 15:24:21 2024 +0800 feat: update compilation * hfork - istanbul * solc ver: 0.8.25 commitf31475bc30
Author: Mohammed Sohail <sohailsameja@gmail.com> Date: Tue Mar 19 15:24:02 2024 +0800 feat: make useful variables public
17 lines
721 B
Makefile
17 lines
721 B
Makefile
SOLC = /usr/local/bin/solc
|
|
|
|
all:
|
|
$(SOLC) --bin SwapPool.sol --evm-version istanbul | awk 'NR>3' > SwapPool.bin
|
|
$(SOLC) --abi SwapPool.sol --evm-version istanbul | awk 'NR>3' > SwapPool.json
|
|
$(SOLC) --metadata SwapPool.sol --evm-version istanbul | awk 'NR>3' > SwapPool.metadata.json
|
|
truncate -s -1 SwapPool.bin
|
|
$(SOLC) --bin DecimalQuote.sol --evm-version istanbul | awk 'NR>3' > DecimalQuote.bin
|
|
$(SOLC) --abi DecimalQuote.sol --evm-version istanbul | awk 'NR>3' > DecimalQuote.json
|
|
$(SOLC) --metadata DecimalQuote.sol --evm-version istanbul | awk 'NR>3' > DecimalQuote.metadata.json
|
|
truncate -s -1 DecimalQuote.bin
|
|
|
|
install: all
|
|
cp -v *.json ../python/erc20_pool/data/
|
|
cp -v *.bin ../python/erc20_pool/data/
|
|
|