Skip to content

Instantly share code, notes, and snippets.

@ajile-in
Created November 6, 2017 03:10
Show Gist options
  • Save ajile-in/566c7be2c0a8003b325bbfcb3f475cfe to your computer and use it in GitHub Desktop.
Save ajile-in/566c7be2c0a8003b325bbfcb3f475cfe to your computer and use it in GitHub Desktop.
CustomerContract
pragma solidity ^0.4.0;
contract CustomerContract {
string name;
string custAddress;
int orderCount;
function CustomerContract(string n) public {
name = n;
//custAddress = a;
//orderCount = c;
}
function viewCustomerName() public returns (string) {
return name;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment