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
| pragma solidity ^0.5.16; | |
| contract bankkyc { | |
| address kycadmin; | |
| constructor () public { | |
| kycadmin = msg.sender; | |
| } | |
| modifier onlyadmin() { |
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.7.0 <0.9.0; | |
| contract TokenContract {//state vareiable | |
| string public name; | |
| string public symbol; | |
| uint8 public decimals = 18; | |
| uint256 public totalSupply; | |
| mapping(address => uint256) public balanceOf; |
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.7.0 <0.9.0; | |
| contract PropertyTransfer { | |
| address public owner; | |
| struct Property{ | |
| uint256 id; | |
| string name; |