tx · 4U6JbE9NCSUJt8NamCadTDm98V1tMccbMWDNZ33aGwkb

3MsKhh2tBJqUdyNakXBjdq3vL7uR5Yrz6Dc:  -0.01400000 Waves

2021.08.30 02:56 [1680314] smart account 3MsKhh2tBJqUdyNakXBjdq3vL7uR5Yrz6Dc > SELF 0.00000000 Waves

{ "type": 13, "id": "4U6JbE9NCSUJt8NamCadTDm98V1tMccbMWDNZ33aGwkb", "fee": 1400000, "feeAssetId": null, "timestamp": 1630281435209, "version": 2, "chainId": 84, "sender": "3MsKhh2tBJqUdyNakXBjdq3vL7uR5Yrz6Dc", "senderPublicKey": "793KuCHBzJorpP1hPfRJAsYdtU4pr9uYLTr8mChrzg5k", "proofs": [ "cmdk78pcQYZcPRxRJgXHZDWx8rAodq1WwoZCJu7njhLat9Yvrg5bJ1nsWDU7AESGCHAe78iNwmsbSrorL7W41Ui" ], "script": "base64:AAIFAAAAAAAAAHMIAhIECgIICBocCgJhMRIWY29udHJvbENvbnRyYWN0QWRkcmVzcxoHCgJhMhIBaRoKCgJhMxIEYWRkchoPCgJhNBIJaGFzaGVkVXJpGg0KAmE1EgckbWF0Y2gwGggKAmE2EgJ0eBoMCgJhNxIGdmVyaWZ5AAAAAQAAAAACYTEBAAAAGgFUpPriMtr4Il6LN8Wh1b30UXiIzTGe+k+yAAAAAQAAAAJhMgEAAAAGYWRkUmVmAAAAAgAAAAJhMwAAAAJhNAMJAQAAAAIhPQAAAAIICAUAAAACYTIAAAAGY2FsbGVyAAAABWJ5dGVzBQAAAAJhMQkAAAIAAAABAgAAAEVJdCdzIG9yYWNsZSBtZXRob2QgYW5kIGNhbiBiZSBjYWxsZWQgb25seSBieSBjb250cm9sIGNvbnRyYWN0IGFkZHJlc3MEAAAAAmE1CQAEHQAAAAIFAAAABHRoaXMFAAAAAmE0AwkAAAEAAAACBQAAAAJhNQIAAAAEVW5pdAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACBQAAAAJhNAkAASwAAAACCQABLAAAAAIFAAAAAmEzAgAAAAE6CQACWAAAAAEIBQAAAAJhMgAAAA10cmFuc2FjdGlvbklkBQAAAANuaWwJAAACAAAAAQIAAAAqUmVmIGZvciBzcGVjaWZpZWQgaGFzaGVkVXJpIGFscmVhZHkgZXhpc3RzAAAAAQAAAAJhNgEAAAACYTcAAAAACQAB9AAAAAMIBQAAAAJhNgAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAmE2AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAmE2AAAAD3NlbmRlclB1YmxpY0tleYPEEKc=", "height": 1680314, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HXxJ3i5c3Ff6bi9wC3isje4ie3Kaj3HHgcYZ8jb1caYY Next: none Diff:
OldNewDifferences
88 then throw("It's oracle method and can be called only by control contract address")
99 else match getString(this, hashedUri) {
1010 case _: Unit =>
11-[StringEntry(hashedUri, addr)]
11+[StringEntry(hashedUri, ((addr + ":") + toBase58String(i.transactionId)))]
1212 case _ =>
1313 throw("Ref for specified hashedUri already exists")
1414 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let controlContractAddress = base58'3N4xR95UqYH94X8cU4BGPCpPHB6wgMS8jSy'
55
66 @Callable(i)
77 func addRef (addr,hashedUri) = if ((i.caller.bytes != controlContractAddress))
88 then throw("It's oracle method and can be called only by control contract address")
99 else match getString(this, hashedUri) {
1010 case _: Unit =>
11-[StringEntry(hashedUri, addr)]
11+[StringEntry(hashedUri, ((addr + ":") + toBase58String(i.transactionId)))]
1212 case _ =>
1313 throw("Ref for specified hashedUri already exists")
1414 }
1515
1616
1717 @Verifier(tx)
1818 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
1919

github/deemru/w8io/169f3d6 
34.65 ms