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