feat: Rebrand Polkadot/Substrate references to PezkuwiChain
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.
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
pragma solidity ^0.8.24;
|
||||
|
||||
contract Host {
|
||||
function balance(address account) public view returns (uint64) {
|
||||
return uint64(account.balance);
|
||||
}
|
||||
|
||||
function extcodesizeOp(address account) public view returns (uint64) {
|
||||
uint256 size;
|
||||
assembly {
|
||||
size := extcodesize(account)
|
||||
}
|
||||
return uint64(size);
|
||||
}
|
||||
|
||||
function extcodehashOp(address account) public view returns (bytes32) {
|
||||
bytes32 hash;
|
||||
assembly {
|
||||
hash := extcodehash(account)
|
||||
}
|
||||
return hash;
|
||||
}
|
||||
|
||||
function blockhashOp(uint64 blockNumber) public view returns (bytes32) {
|
||||
bytes32 hash;
|
||||
assembly {
|
||||
hash := blockhash(blockNumber)
|
||||
}
|
||||
return hash;
|
||||
}
|
||||
|
||||
function sloadOp(uint64 slot) public view returns (uint64) {
|
||||
uint256 value;
|
||||
assembly {
|
||||
value := sload(slot)
|
||||
}
|
||||
return uint64(value);
|
||||
}
|
||||
|
||||
function sstoreOp(uint64 slot, uint64 value) public {
|
||||
assembly {
|
||||
sstore(slot, value)
|
||||
}
|
||||
}
|
||||
|
||||
function logOps() public {
|
||||
assembly {
|
||||
log0(0x01, 0x20)
|
||||
log1(0x02, 0x20, 0x11)
|
||||
log2(0x03, 0x20, 0x22, 0x33)
|
||||
log3(0x04, 0x20, 0x44, 0x55, 0x66)
|
||||
log4(0x05, 0x20, 0x77, 0x88, 0x99, 0xaa)
|
||||
}
|
||||
}
|
||||
|
||||
function selfbalance() public view returns (uint64) {
|
||||
return uint64(address(this).balance);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user