feat: initialize Kurdistan SDK - independent fork of Polkadot SDK
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
pragma solidity ^0.8.0;
|
||||
|
||||
contract TransactionInfo {
|
||||
function origin() public view returns (address) {
|
||||
return tx.origin;
|
||||
}
|
||||
|
||||
function gasprice() public view returns (uint64) {
|
||||
return uint64(tx.gasprice);
|
||||
}
|
||||
|
||||
function blobhash(uint64 index) public view returns (bytes32) {
|
||||
return blobhash(index);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user