Guest User

Untitled

a guest
Oct 15th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. function () public {
  2. require(msg.sender == futureTx, "Scheduled Transaction must be the one calling this contract.");
  3.  
  4. if (!ITub(tub).safe(cdpId)) {
  5. ITub(tub).lock(cdpId, 1 ether);
  6. } else {
  7. newSchedule();
  8. }
  9. }
Add Comment
Please, Sign In to add comment