fixed import path and pragmas
This commit is contained in:
parent
f892737968
commit
bfc18c10e0
|
@ -1,5 +1,3 @@
|
||||||
pragma solidity ^0.4.8;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* AbstractToken ECR20-compliant token contract
|
* AbstractToken ECR20-compliant token contract
|
||||||
* Child should implement initial supply or minting and overwite base
|
* Child should implement initial supply or minting and overwite base
|
||||||
|
@ -10,6 +8,8 @@ pragma solidity ^0.4.8;
|
||||||
|
|
||||||
import "./Token.sol";
|
import "./Token.sol";
|
||||||
|
|
||||||
|
pragma solidity ^0.4.11;
|
||||||
|
|
||||||
// AbstractToken, ECR20 tokens that all belong to the owner for sending around
|
// AbstractToken, ECR20 tokens that all belong to the owner for sending around
|
||||||
contract AbstractToken is Token {
|
contract AbstractToken is Token {
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
pragma solidity ^0.4.9;
|
pragma solidity ^0.4.11;
|
||||||
|
|
||||||
|
|
||||||
contract Bank {
|
contract Bank {
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
pragma solidity ^0.4.0;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Abstract contract used for recieving donations or profits
|
* Abstract contract used for recieving donations or profits
|
||||||
* Withdraw is divided by total tokens each account owns
|
* Withdraw is divided by total tokens each account owns
|
||||||
|
@ -13,8 +11,10 @@ pragma solidity ^0.4.0;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import "./Bank.sol";
|
import "./Bank.sol";
|
||||||
import "../management/EpochLocker.sol";
|
import "EpochLocker.sol";
|
||||||
import "../token/LockerToken.sol";
|
import "LockerToken.sol";
|
||||||
|
|
||||||
|
pragma solidity ^0.4.11;
|
||||||
|
|
||||||
contract CollaborationBank is Bank, EpochLocker {
|
contract CollaborationBank is Bank, EpochLocker {
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
pragma solidity ^0.4.8;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Abstract contract that locks and unlock in period of a time.
|
* 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 {
|
contract EpochLocker is Lockable {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
pragma solidity ^0.4.8;
|
|
||||||
|
|
||||||
import "./Owned.sol";
|
import "./Owned.sol";
|
||||||
|
|
||||||
|
pragma solidity ^0.4.8;
|
||||||
|
|
||||||
contract Lockable {
|
contract Lockable {
|
||||||
bool public lock = true;
|
bool public lock = true;
|
||||||
event Locked(bool lock);
|
event Locked(bool lock);
|
||||||
|
|
|
@ -8,7 +8,7 @@ pragma solidity ^0.4.0;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import "./AbstractToken.sol";
|
import "./AbstractToken.sol";
|
||||||
import "../management/Lockable.sol";
|
import "Lockable.sol";
|
||||||
|
|
||||||
contract LockerToken is AbstractToken, Lockable, Owned {
|
contract LockerToken is AbstractToken, Lockable, Owned {
|
||||||
Lockable public locker = this;
|
Lockable public locker = this;
|
||||||
|
|
Loading…
Reference in New Issue