private static readonly byte[] Owner = "NfKA6zAixybBHHpmaPYPDywoqDaKzfMPf9".ToScriptHash(); //Owner Address public static bool Deploy() { if (TotalSupply() != 0) { return(false); } TotalSupplyStorage.Increase(TotalSupplyValue); AssetStorage.Increase(Owner, TotalSupplyValue); OnTransfer(null, Owner, TotalSupplyValue); return(true); }
public static BigInteger TotalSupply() => TotalSupplyStorage.Get();