erc20-pool

Permissioned ERC20 swap pool for EVM
Info | Log | Files | Refs | README

Makefile (780B)


      1 SOLC = /usr/local/bin/solc
      2 EVM_VERSION = byzantium
      3 
      4 all:
      5 	$(SOLC) --bin SwapPool.sol --evm-version $(EVM_VERSION)| awk 'NR>3' > SwapPool.bin
      6 	$(SOLC) --abi SwapPool.sol --evm-version $(EVM_VERSION) | awk 'NR>3' > SwapPool.json
      7 	$(SOLC) --metadata SwapPool.sol --evm-version $(EVM_VERSION) | awk 'NR>3' > SwapPool.metadata.json
      8 	truncate -s -1 SwapPool.bin
      9 	$(SOLC) --bin DecimalQuote.sol --evm-version $(EVM_VERSION) | awk 'NR>3' > DecimalQuote.bin
     10 	$(SOLC) --abi DecimalQuote.sol --evm-version $(EVM_VERSION) | awk 'NR>3' > DecimalQuote.json
     11 	$(SOLC) --metadata DecimalQuote.sol --evm-version $(EVM_VERSION) | awk 'NR>3' > DecimalQuote.metadata.json
     12 	truncate -s -1 DecimalQuote.bin
     13 
     14 install: all
     15 	cp -v *.json ../python/erc20_pool/data/
     16 	cp -v *.bin ../python/erc20_pool/data/
     17