Skip to content

Instantly share code, notes, and snippets.

@CJ42
Last active July 18, 2022 19:00
Show Gist options
  • Select an option

  • Save CJ42/e58bb7caa2a13073b20f6cd72178782e to your computer and use it in GitHub Desktop.

Select an option

Save CJ42/e58bb7caa2a13073b20f6cd72178782e to your computer and use it in GitHub Desktop.
valid storage pointer
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;
import "./Timers.sol";
contract TimeWatch {
Timers.Timestamp timer;
function startTimer(uint64 _deadline) public {
Timers.setDeadline(timer, _deadline);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment