1c0e57d984
This commit systematically rebrands various references from Parity Technologies' Polkadot/Substrate ecosystem to PezkuwiChain within the kurdistan-sdk. Key changes include: - Updated external repository URLs (zombienet-sdk, parity-db, parity-scale-codec, wasm-instrument) to point to pezkuwichain forks. - Modified internal documentation and code comments to reflect PezkuwiChain naming and structure. - Replaced direct references to with or specific paths within the for XCM, Pezkuwi, and other modules. - Cleaned up deprecated issue and PR references in various and files, particularly in and modules. - Adjusted image and logo URLs in documentation to point to PezkuwiChain assets. - Removed or rephrased comments related to external Polkadot/Substrate PRs and issues. This is a significant step towards fully customizing the SDK for the PezkuwiChain ecosystem.
33 lines
782 B
Solidity
33 lines
782 B
Solidity
// SPDX-License-Identifier: MIT
|
|
pragma solidity ^0.8.0;
|
|
|
|
contract BlockInfo {
|
|
function blockNumber() public view returns (uint64) {
|
|
return uint64(block.number);
|
|
}
|
|
|
|
function coinbase() public view returns (address) {
|
|
return block.coinbase;
|
|
}
|
|
|
|
function timestamp() public view returns (uint64) {
|
|
return uint64(block.timestamp);
|
|
}
|
|
|
|
function difficulty() public view returns (uint64) {
|
|
return uint64(block.difficulty);
|
|
}
|
|
|
|
function gaslimit() public view returns (uint64) {
|
|
return uint64(block.gaslimit);
|
|
}
|
|
|
|
function chainid() public view returns (uint64) {
|
|
return uint64(block.chainid);
|
|
}
|
|
|
|
function basefee() public view returns (uint64) {
|
|
return uint64(block.basefee);
|
|
}
|
|
}
|