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