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
// Define the pragama mark of Solidity with its version | |
pragma solidity ^0.4.0; | |
// Defining interface in solidity | |
interface Regulator { | |
function checkValue(uint amount) returns(bool); | |
function loan() returns(bool); | |
} | |
// Implementing Inheritance in solidity and also using interface in our contract |
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
// Define the pragama mark of Solidity with its version | |
pragma solidity ^0.4.0; | |
// Defining interface in solidity | |
interface Regulator { | |
function checkValue(uint amount) returns(bool); | |
function loan() returns(bool); | |
} | |
// Implementing Inheritance in solidity and also using interface in our contract |
NewerOlder