mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update tests.
This commit is contained in:
@@ -24,7 +24,7 @@ to automate organizational governance and decision-making.
|
||||
import "./TokenCreation.sol";
|
||||
import "./ManagedAccount.sol";
|
||||
|
||||
contract DAOInterface {
|
||||
abstract contract DAOInterface {
|
||||
|
||||
// The amount of days for which people who try to participate in the
|
||||
// creation by calling the fallback function will still get their ether back
|
||||
|
||||
@@ -21,7 +21,7 @@ Basic account, used by the DAO contract to separately manage both the rewards
|
||||
and the extraBalance accounts.
|
||||
*/
|
||||
|
||||
contract ManagedAccountInterface {
|
||||
abstract contract ManagedAccountInterface {
|
||||
// The only address with permission to withdraw from this account
|
||||
address public owner;
|
||||
// If true, only the owner of the account can receive ether from it
|
||||
|
||||
@@ -30,7 +30,7 @@ https://github.com/ethereum/wiki/wiki/Standardized_Contract_APIs
|
||||
|
||||
/// @title Standard Token Contract.
|
||||
|
||||
contract TokenInterface {
|
||||
abstract contract TokenInterface {
|
||||
mapping (address => uint256) balances;
|
||||
mapping (address => mapping (address => uint256)) allowed;
|
||||
|
||||
@@ -85,7 +85,7 @@ contract TokenInterface {
|
||||
);
|
||||
}
|
||||
|
||||
contract tokenRecipient {
|
||||
abstract contract tokenRecipient {
|
||||
function receiveApproval(address _from, uint256 _value, address _token, bytes memory _extraData) public;
|
||||
}
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ along with the DAO. If not, see <http://www.gnu.org/licenses/>.
|
||||
import "./Token.sol";
|
||||
import "./ManagedAccount.sol";
|
||||
|
||||
contract TokenCreationInterface {
|
||||
abstract contract TokenCreationInterface {
|
||||
|
||||
// End of token creation, in Unix time
|
||||
uint public closingTime;
|
||||
|
||||
Reference in New Issue
Block a user