Skip to content

Commit

Permalink
Merge pull request #437 from aragon/finance-reorder-state
Browse files Browse the repository at this point in the history
Finance: reorder state
  • Loading branch information
bingen authored Sep 18, 2018
2 parents 7ea3c53 + 02fe2a9 commit c10c08d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions apps/finance/contracts/Finance.sol
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ contract Finance is EtherTokenConstant, IsContract, AragonApp {
uint256 periodId;
uint256 amount;
uint256 paymentId;
string reference;
uint256 paymentRepeatNumber;
string reference;
}

struct TokenStatement {
Expand All @@ -80,6 +80,7 @@ contract Finance is EtherTokenConstant, IsContract, AragonApp {
}

Vault public vault;
Settings internal settings;

// We are mimicing arrays, we use mappings instead to make app upgrade more graceful
mapping (uint256 => Payment) internal payments;
Expand All @@ -93,8 +94,6 @@ contract Finance is EtherTokenConstant, IsContract, AragonApp {
mapping (uint256 => Period) internal periods;
uint256 public periodsLength;

Settings internal settings;

event NewPeriod(uint256 indexed periodId, uint64 periodStarts, uint64 periodEnds);
event SetBudget(address indexed token, uint256 amount, bool hasBudget);
event NewPayment(uint256 indexed paymentId, address indexed recipient, uint64 maxRepeats);
Expand Down

0 comments on commit c10c08d

Please sign in to comment.