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
function voteAddresses(address[] memory issues) public auth returns (bytes32) { | |
lock(); | |
return chief.vote(issues); | |
} |
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
function vote(address[] memory yays) public returns (bytes32) | |
// note both sub-calls note | |
{ | |
bytes32 slate = etch(yays); | |
vote(slate); | |
return slate; | |
} |
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
modifier auth() { | |
require(msg.sender == admin || msg.sender == fundDst, "Sender must be the fund destination or admin address"); | |
_; | |
} |
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
contract EdgewareSignalProxy { | |
address payable public fundDst; | |
address public fundSrc; | |
address public admin; | |
bytes public edgewareAddr; | |
Lockdrop public lockdrop; | |
constructor( | |
Lockdrop _lockdrop, | |
address _fundSrc, |
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
constructor(DSChief _chief, address _cold, address _hot) public { | |
chief = _chief; | |
cold = _cold; | |
hot = _hot; | |
gov = chief.GOV(); | |
iou = chief.IOU(); | |
gov.approve(address(chief)); | |
iou.approve(address(chief)); | |
} |