-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VotingMachine interface update (#32)
* absoluteVote : remove ownerVote uint-> uint256 remove voteWithSpecificAmount * bump version to alpha 12 * use truffle 5.0 * remove getVoter * MAX_BOOSTED_PROPOSAL = 4096 * solc 0.5.2 openzeppelin 2.1 (rc) * make travis happy * change travis from `org` to `com` * Remove redundant comment * bump version * fix travis link
- Loading branch information
1 parent
d76e330
commit 877af6c
Showing
28 changed files
with
974 additions
and
7,022 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
node_modules | ||
docs | ||
contracts/votingMachines/GenesisProtocol.sol | ||
contracts/test/GenesisProtocolCallbacksMock.sol |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ | |
4 | ||
], | ||
"arg-overflow": [ | ||
"warning", | ||
"error", | ||
5 | ||
], | ||
"error-reason": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
[![Build Status](https://travis-ci.com/daostack/infra.svg?branch=master)](https://travis-ci.com/daostack/infra) | ||
[![NPM Package](https://img.shields.io/npm/v/@daostack/infra.svg?style=flat-square)](https://www.npmjs.org/package/@daostack/infra) | ||
|
||
# Infra | ||
Base layer components for Governance such as Voting Machines and Reputation system. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
pragma solidity ^0.4.25; | ||
pragma solidity ^0.5.2; | ||
|
||
import "../token/ERC827/ERC827Token.sol";// mock class using ERC827 Token | ||
|
||
|
||
contract ERC827TokenMock is ERC827Token { | ||
|
||
constructor(address initialAccount, uint256 initialBalance) public { | ||
balances[initialAccount] = initialBalance; | ||
totalSupply_ = initialBalance; | ||
_mint(initialAccount,initialBalance); | ||
} | ||
|
||
} |
Oops, something went wrong.