diff --git a/contracts/democracy/RecyclerManager.sol b/contracts/democracy/RecyclerManager.sol new file mode 100644 index 0000000..ab1d079 --- /dev/null +++ b/contracts/democracy/RecyclerManager.sol @@ -0,0 +1,26 @@ +pragma solidity ^0.4.17; + +import "../common/Controlled.sol"; +import "./BurnedFeeLocker.sol"; + +contract RecyclerManager is Controlled { + + address burnContract; + mapping (address => bool) bounties; + + function RecyclerManager(address _burnContract) public { + burnContract = _burnContract; + } + + function recycleFeeIntoSOB(address bounty, uint256 amount) external { + require(bounties[bounty]); + BurnedFeeLocker(burnContract).recycleFee(msg.sender, bounty, amount); + } + + function setBounty(address bounty, bool enabled) external onlyController { + bounties[bounty] = enabled; + } + + + +} \ No newline at end of file