tx · J8NT99tYiygC5ViLd86pK6ExCH3yG9T5MWgoyNTmF8JJ

3MvkyDr4VsmLhsQAg1CfMnsvbsAYJDBXJ1o:  -0.01400000 Waves

2021.12.16 16:05 [1836850] smart account 3MvkyDr4VsmLhsQAg1CfMnsvbsAYJDBXJ1o > SELF 0.00000000 Waves

{ "type": 13, "id": "J8NT99tYiygC5ViLd86pK6ExCH3yG9T5MWgoyNTmF8JJ", "fee": 1400000, "feeAssetId": null, "timestamp": 1639659960713, "version": 2, "chainId": 84, "sender": "3MvkyDr4VsmLhsQAg1CfMnsvbsAYJDBXJ1o", "senderPublicKey": "EfgW9rhZvzmXU1Fcb1fJTgQzZWmyKDnKM3DkvfUh888x", "proofs": [ "43brXwswcj6A3pqduXjpbF7btoR2ZiNKkhNougz3A6vYwwKcTw2FauV8WbASar8t7csx51F5uzvD4bMXEqeVLaqd" ], "script": "base64:AAIFAAAAAAAAAG8IAhIECgIICBobCgFhEhZjb250cm9sQ29udHJhY3RBZGRyZXNzGgYKAWISAWkaCQoBYxIEYWRkchoRCgFkEgxlbmNyeXB0ZWRVcmkaDAoBZRIHJG1hdGNoMBoHCgFmEgJ0eBoLCgFnEgZ2ZXJpZnkAAAABAAAAAAFhAQAAABoBVKT64jLa+CJeizfFodW99FF4iM0xnvpPsgAAAAEAAAABYgEAAAAGYWRkUmVmAAAAAgAAAAFjAAAAAWQDCQEAAAACIT0AAAACCAgFAAAAAWIAAAAGY2FsbGVyAAAABWJ5dGVzBQAAAAFhCQAAAgAAAAECAAAARUl0J3Mgb3JhY2xlIG1ldGhvZCBhbmQgY2FuIGJlIGNhbGxlZCBvbmx5IGJ5IGNvbnRyb2wgY29udHJhY3QgYWRkcmVzcwQAAAABZQkABB0AAAACBQAAAAR0aGlzBQAAAAFkAwkAAAEAAAACBQAAAAFlAgAAAARVbml0CQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIFAAAAAWQJAAEsAAAAAgkAASwAAAACBQAAAAFjAgAAAAE6CQACWAAAAAEIBQAAAAFiAAAADXRyYW5zYWN0aW9uSWQFAAAAA25pbAkAAAIAAAABAgAAAC1SZWYgZm9yIHNwZWNpZmllZCBlbmNyeXB0ZWRVcmkgYWxyZWFkeSBleGlzdHMAAAABAAAAAWYBAAAAAWcAAAAACQAB9AAAAAMIBQAAAAFmAAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAABZgAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAFmAAAAD3NlbmRlclB1YmxpY0tleRwsGx4=", "height": 1836850, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HUHqq7f67fSgE3VKu1gkVMxmCoXu1v8v1GjaqPt1WLsv Next: Hh8khhjSvKvdYvuEW932RXzGpLC5ogSyHzf8PgqCHMYw Diff:
OldNewDifferences
44 let controlContractAddress = base58'3N4xR95UqYH94X8cU4BGPCpPHB6wgMS8jSy'
55
66 @Callable(i)
7-func addRef (addr,hashedUri) = if ((i.caller.bytes != controlContractAddress))
7+func addRef (addr,encryptedUri) = if ((i.caller.bytes != controlContractAddress))
88 then throw("It's oracle method and can be called only by control contract address")
9- else match getString(this, hashedUri) {
9+ else match getString(this, encryptedUri) {
1010 case _: Unit =>
11-[StringEntry(hashedUri, ((addr + ":") + toBase58String(i.transactionId)))]
11+[StringEntry(encryptedUri, ((addr + ":") + toBase58String(i.transactionId)))]
1212 case _ =>
13- throw("Ref for specified hashedUri already exists")
13+ throw("Ref for specified encryptedUri already exists")
1414 }
1515
1616
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let controlContractAddress = base58'3N4xR95UqYH94X8cU4BGPCpPHB6wgMS8jSy'
55
66 @Callable(i)
7-func addRef (addr,hashedUri) = if ((i.caller.bytes != controlContractAddress))
7+func addRef (addr,encryptedUri) = if ((i.caller.bytes != controlContractAddress))
88 then throw("It's oracle method and can be called only by control contract address")
9- else match getString(this, hashedUri) {
9+ else match getString(this, encryptedUri) {
1010 case _: Unit =>
11-[StringEntry(hashedUri, ((addr + ":") + toBase58String(i.transactionId)))]
11+[StringEntry(encryptedUri, ((addr + ":") + toBase58String(i.transactionId)))]
1212 case _ =>
13- throw("Ref for specified hashedUri already exists")
13+ throw("Ref for specified encryptedUri already exists")
1414 }
1515
1616
1717 @Verifier(tx)
1818 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
1919

github/deemru/w8io/026f985 
26.04 ms