fixed import path and pragmas

This commit is contained in:
Ricardo Guilherme Schmidt 2017-05-19 20:49:41 -03:00
parent f892737968
commit bfc18c10e0
7 changed files with 16 additions and 17 deletions

View File

@ -1,5 +1,3 @@
pragma solidity ^0.4.8;
/**
* AbstractToken ECR20-compliant token contract
* Child should implement initial supply or minting and overwite base
@ -10,6 +8,8 @@ pragma solidity ^0.4.8;
import "./Token.sol";
pragma solidity ^0.4.11;
// AbstractToken, ECR20 tokens that all belong to the owner for sending around
contract AbstractToken is Token {

View File

@ -1,5 +1,4 @@
pragma solidity ^0.4.9;
pragma solidity ^0.4.11;
contract Bank {
@ -16,4 +15,4 @@ contract Bank {
if(!dest.send(amount)) throw;
Withdrawn(msg.sender, amount);
}
}
}

View File

@ -1,5 +1,3 @@
pragma solidity ^0.4.0;
/**
* Abstract contract used for recieving donations or profits
* Withdraw is divided by total tokens each account owns
@ -13,8 +11,10 @@ pragma solidity ^0.4.0;
*/
import "./Bank.sol";
import "../management/EpochLocker.sol";
import "../token/LockerToken.sol";
import "EpochLocker.sol";
import "LockerToken.sol";
pragma solidity ^0.4.11;
contract CollaborationBank is Bank, EpochLocker {

View File

@ -1,11 +1,11 @@
pragma solidity ^0.4.8;
/**
* Abstract contract that locks and unlock in period of a time.
*
*/
import "lib/ethereans/management/Lockable.sol";
import "Lockable.sol";
pragma solidity ^0.4.11;
contract EpochLocker is Lockable {

View File

@ -1,7 +1,7 @@
pragma solidity ^0.4.8;
import "./Owned.sol";
pragma solidity ^0.4.8;
contract Lockable {
bool public lock = true;
event Locked(bool lock);
@ -11,4 +11,4 @@ contract Lockable {
lock = _lock;
}
}
}

View File

@ -8,7 +8,7 @@ pragma solidity ^0.4.0;
*/
import "./AbstractToken.sol";
import "../management/Lockable.sol";
import "Lockable.sol";
contract LockerToken is AbstractToken, Lockable, Owned {
Lockable public locker = this;

View File

@ -11,4 +11,4 @@ contract Token {
function approve(address spender, uint256 value) returns (bool ok);
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
}
}