mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-04-22 18:28:01 +00:00
ea63991617
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
14 lines
260 B
Solidity
14 lines
260 B
Solidity
// SPDX-License-Identifier: MIT
|
|
|
|
pragma solidity ^0.8;
|
|
|
|
contract Block {
|
|
function timestamp() public view returns (uint ret) {
|
|
ret = block.timestamp;
|
|
}
|
|
|
|
function number() public view returns (uint ret) {
|
|
ret = block.number;
|
|
}
|
|
}
|