Exemple #1
0
 public static void Delete(StorageContext context, string key)
 {
     Delete(context, Op.String2Bytes(key));
 }
Exemple #2
0
 public static void Put(StorageContext context, string key, string value)
 {
     Put(context, Op.String2Bytes(key), value);
 }
Exemple #3
0
 public static byte[] Get(StorageContext context, string key) => Get(context, Op.String2Bytes(key));
Exemple #4
0
 public static void Put(StorageContext context, byte[] key, string value)
 {
     Put(context, key, Op.String2Bytes(value));
 }
Exemple #5
0
 public static byte[] ToScriptHash(this string address) => Op.String2Bytes(address);