Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AUTONITY_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.0.2-alpha
b0e1080d6fce220c9b3daefb57a35835d194695a
14 changes: 9 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ gentargets = $(shell find $(SRCDIR) -name $(1).sol) \
all: $(OUTDIR)/accountability.py \
$(OUTDIR)/acu.py \
$(OUTDIR)/autonity.py \
$(OUTDIR)/auctioneer.py \
$(OUTDIR)/inflation_controller.py \
$(OUTDIR)/liquid_logic.py \
$(OUTDIR)/omission_accountability.py \
Expand All @@ -26,11 +27,14 @@ all: $(OUTDIR)/accountability.py \
$(OUTDIR)/upgrade_manager.py

$(OUTDIR)/accountability.py: $(call gentargets,Accountability)
$(call abigen,$^) --exclude distributeRewards,finalize,handleAccusation,handleEvent,handleInnocenceProof,handleMisbehaviour,setEpochPeriod >$@
$(call abigen,$^) --exclude distributeRewards,finalize,handleAccusation,handleEvent,handleInnocenceProof,handleMisbehaviour,setCommittee,setEpochPeriod >$@

$(OUTDIR)/acu.py: $(call gentargets,ACU)
$(call abigen,$^) --exclude setOperator,setOracle,update >$@

$(OUTDIR)/auctioneer.py: $(call gentargets,Auctioneer)
$(call abigen,$^) --exclude paidInterest,setOperator,setOracle,setStabilization >$@

$(OUTDIR)/autonity.py: $(call gentargets,Autonity)
$(call abigen,$^) --exclude autobond,computeCommittee,finalize,finalizeInitialization,jail,jailbound,slash,slashAndJail >$@

Expand All @@ -41,16 +45,16 @@ $(OUTDIR)/liquid_logic.py: $(call gentargets,LiquidLogic)
$(call abigen,$^) --exclude burn,lock,mint,redistribute,setCommissionRate,unlock >$@

$(OUTDIR)/omission_accountability.py: $(call gentargets,OmissionAccountability)
$(call abigen,$^) --exclude finalize,setCommittee,setEpochBlock,setOperator >$@
$(call abigen,$^) --exclude distributeProposerRewards,finalize,setCommittee,setEpochBlock,setOperator >$@

$(OUTDIR)/oracle.py: $(call gentargets,Oracle)
$(call abigen,$^) --exclude finalize,setOperator,setVoters,vote >$@
$(call abigen,$^) --exclude distributeRewards,finalize,setOperator,setVoters,updateVotersAndSymbol,vote >$@

$(OUTDIR)/stabilization.py: $(call gentargets,Stabilization)
$(call abigen,$^) --exclude setOperator,setOracle >$@
$(call abigen,$^) --exclude liquidate,setACU,setAuctioneer,setOperator,setOracle,setSupplyControl >$@

$(OUTDIR)/supply_control.py: $(call gentargets,SupplyControl)
$(call abigen,$^) --exclude burn,mint,setOperator >$@
$(call abigen,$^) --exclude burn,mint,setOperator,setStabilizer >$@

$(OUTDIR)/upgrade_manager.py: $(call gentargets,UpgradeManager)
$(call abigen,$^) --exclude setOperator >$@
Expand Down
2 changes: 2 additions & 0 deletions autonity/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from .factory import (
Accountability,
ACU,
Auctioneer,
Autonity,
InflationController,
LiquidLogic,
Expand All @@ -19,6 +20,7 @@
"contracts",
"Accountability",
"ACU",
"Auctioneer",
"Autonity",
"InflationController",
"LiquidLogic",
Expand Down
Loading
Loading