Professional Documents
Culture Documents
Solidity
Solidity
0;
interface Regulator {
function checkValue(uint amount) returns (bool);
function loan() returns (bool);
value=amount;
}
function deposit(uint amount){
value=value+amount;
}
function withdrawl(uint amount){
value=value-amount;
}
function balance() returns (uint){
return value;
}
contract mycontract is Bank(10) {
name=name1;
}
return name;
age=age1;
}
function getAge() returns (uint){
return age;
}
function loan() returns (bool){
return true;