From 08040874ef5c90736f8db295d3a8e2fb43e4cc93 Mon Sep 17 00:00:00 2001 From: nolash Date: Wed, 28 Apr 2021 14:01:37 +0200 Subject: [PATCH] Add interface digest generator script, add to makefile --- CHANGELOG | 3 +++ Makefile | 3 ++- VERSION | 2 +- out/AccountsIndex.interface | 1 + {abis => out}/AccountsIndex.json | 0 out/Declarator.interface | 1 + {abis => out}/Declarator.json | 0 out/Faucet.interface | 1 + {abis => out}/Faucet.json | 0 out/Registry.interface | 1 + {abis => out}/Registry.json | 0 11 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 out/AccountsIndex.interface rename {abis => out}/AccountsIndex.json (100%) create mode 100644 out/Declarator.interface rename {abis => out}/Declarator.json (100%) create mode 100644 out/Faucet.interface rename {abis => out}/Faucet.json (100%) create mode 100644 out/Registry.interface rename {abis => out}/Registry.json (100%) diff --git a/CHANGELOG b/CHANGELOG index 705c94b..25eeb8f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +- 0.0.3 + * Update contracts to cic-base state 0.1.2-beta.5 + * Add interface digest generator script - 0.0.2 * Add token endorser contract - 0.0.1 diff --git a/Makefile b/Makefile index e0a5ec9..b806596 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ PREFIX = /usr/local/share/cic/solidity/abi solc $(basename $@).sol --abi | awk 'NR>3' > $@ .sol.interface: - bash $(basename $@).sol > $@ + bash to_interface.sh $(basename $@).sol > $@ all: $(OUTPUTS) @@ -26,5 +26,6 @@ install: $(OUTPUTS) clean: rm -vf *.json + rm -vf *.interface .PHONY: clean install diff --git a/VERSION b/VERSION index 4e379d2..bcab45a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.0.2 +0.0.3 diff --git a/out/AccountsIndex.interface b/out/AccountsIndex.interface new file mode 100644 index 0000000..4a85c7f --- /dev/null +++ b/out/AccountsIndex.interface @@ -0,0 +1 @@ +cbdb05c7 diff --git a/abis/AccountsIndex.json b/out/AccountsIndex.json similarity index 100% rename from abis/AccountsIndex.json rename to out/AccountsIndex.json diff --git a/out/Declarator.interface b/out/Declarator.interface new file mode 100644 index 0000000..8bda7d7 --- /dev/null +++ b/out/Declarator.interface @@ -0,0 +1 @@ +27beb910 diff --git a/abis/Declarator.json b/out/Declarator.json similarity index 100% rename from abis/Declarator.json rename to out/Declarator.json diff --git a/out/Faucet.interface b/out/Faucet.interface new file mode 100644 index 0000000..b555f1a --- /dev/null +++ b/out/Faucet.interface @@ -0,0 +1 @@ +a2b094c3 diff --git a/abis/Faucet.json b/out/Faucet.json similarity index 100% rename from abis/Faucet.json rename to out/Faucet.json diff --git a/out/Registry.interface b/out/Registry.interface new file mode 100644 index 0000000..9675adf --- /dev/null +++ b/out/Registry.interface @@ -0,0 +1 @@ +bb34534c diff --git a/abis/Registry.json b/out/Registry.json similarity index 100% rename from abis/Registry.json rename to out/Registry.json