erc20-demurrage-token

ERC20 token with redistributed continual demurrage
Info | Log | Files | Refs | README

Makefile (824B)


      1 SOLC = /usr/bin/solc
      2 
      3 all: single_nocap
      4 
      5 single_nocap:
      6 	$(SOLC) DemurrageTokenSingleNocap.sol --abi --evm-version byzantium | awk 'NR==4' > DemurrageTokenSingleNocap.json
      7 	$(SOLC) DemurrageTokenSingleNocap.sol --bin --evm-version byzantium | awk 'NR==4' > DemurrageTokenSingleNocap.bin
      8 	$(SOLC) DemurrageTokenSingleNocap.sol --metadata --evm-version byzantium | awk 'NR==4' > DemurrageTokenSingleNocap.metadata.json
      9 	truncate -s -1 DemurrageTokenSingleNocap.bin
     10 
     11 single: single_nocap
     12 
     13 test: all
     14 	python ../python/tests/test_basic.py
     15 	python ../python/tests/test_period.py
     16 	python ../python/tests/test_redistribution.py
     17 	python ../python/tests/test_pure.py
     18 
     19 install: all
     20 	cp -v DemurrageToken*.json ../python/erc20_demurrage_token/data/
     21 	cp -v DemurrageToken*.bin ../python/erc20_demurrage_token/data/
     22 	
     23 .PHONY: test install