block.timestamp
and block.number
are not good proxies (i.e. representations, not to be confused with smart contract proxy/implementation pattern) for time because of issues with synchronization, miner manipulation and changing block times. (see here)
- On-chain Time
block.timestamp
block.number
- Miner Influence & Synchronization & Unpredictable
- Risk Awareness
- Alternative Oracles