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