This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // File: contracts/introspection/IKIP13.sol | |
| pragma solidity ^0.5.0; | |
| /** | |
| * @dev Interface of the KIP-13 standard, as defined in the | |
| * [KIP-13](http://kips.klaytn.com/KIPs/kip-13-interface_query_standard). | |
| * | |
| * Implementers can declare support of contract interfaces, which can then be | |
| * queried by others. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // SPDX-License-Identifier: GPL-3.0 | |
| pragma solidity >=0.4.24 <=0.5.6; | |
| contract Count { | |
| uint256 public count = 0; | |
| function getBlockNumber() public view returns (uint256) { | |
| return block.number; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // SPDX-License-Identifier: GPL-3.0 | |
| pragma solidity 0.8.13; | |
| abstract contract OwnerHelper { | |
| address private owner; | |
| event OwnerTransferPropose(address indexed _from, address indexed _to); | |
| modifier onlyOwner { | |
| require(msg.sender == owner); |