NAC_Blockchain/charter-compiler/examples/shanghai_office.charter

19 lines
349 B
Plaintext

module shanghai_office;
asset ShanghaiOfficeShare {
gnacs: 0x940101120187;
sovereignty: C2;
owner: DID;
total_shares: uint256;
}
contract ShanghaiOfficeShareContract {
total_supply: uint256;
public fn transfer(from: DID, to: DID, amount: uint256) -> bool {
let balance = 100;
return true;
}
}