mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-04-25 21:07:56 +00:00
95ff85c6d1
Signed-off-by: xermicus <cyrill@parity.io>
14 lines
263 B
Solidity
14 lines
263 B
Solidity
// SPDX-License-Identifier: MIT
|
|
|
|
pragma solidity ^0.8.24;
|
|
|
|
contract Block {
|
|
function timestamp() public view returns (uint ret) {
|
|
ret = block.timestamp;
|
|
}
|
|
|
|
function number() public view returns (uint ret) {
|
|
ret = block.number;
|
|
}
|
|
}
|