-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
35 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
pragma solidity ^0.4.18; | ||
|
||
import './ownership/Ownable.sol'; | ||
|
||
contract ByteBallWallet is Ownable { | ||
|
||
address public target = 0x7E5f0D4070a55EbCf0a8A7D6F7abCEf96312C129; | ||
|
||
uint public locked; | ||
|
||
address public token; | ||
|
||
function setToken(address _token) public onlyOwner { | ||
token = _token; | ||
} | ||
|
||
function setLocked(uint _locked) public onlyOwner { | ||
locked = _locked; | ||
} | ||
|
||
function setTarget(address _target) public onlyOwner { | ||
target = _target; | ||
} | ||
|
||
function retreiveTokens() public { | ||
require(now > locked); | ||
ERC20Basic(token).transfer(target, ERC20Basic(token).balanceOf(this)); | ||
} | ||
|
||
} |
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