tx · HXxJ3i5c3Ff6bi9wC3isje4ie3Kaj3HHgcYZ8jb1caYY

3MsKhh2tBJqUdyNakXBjdq3vL7uR5Yrz6Dc:  -0.01400000 Waves

2021.08.30 02:13 [1680273] smart account 3MsKhh2tBJqUdyNakXBjdq3vL7uR5Yrz6Dc > SELF 0.00000000 Waves

{ "type": 13, "id": "HXxJ3i5c3Ff6bi9wC3isje4ie3Kaj3HHgcYZ8jb1caYY", "fee": 1400000, "feeAssetId": null, "timestamp": 1630278822590, "version": 2, "chainId": 84, "sender": "3MsKhh2tBJqUdyNakXBjdq3vL7uR5Yrz6Dc", "senderPublicKey": "793KuCHBzJorpP1hPfRJAsYdtU4pr9uYLTr8mChrzg5k", "proofs": [ "5CYc4APioYGURzver46tQZd1k8Hi96jgi7zyYF9TaWuaojsFUmvQ7Rr9GEYmyiiccQzu99v4HPC48Y9ZDV7vQ5Us" ], "script": "base64:AAIFAAAAAAAAAHMIAhIECgIICBocCgJhMRIWY29udHJvbENvbnRyYWN0QWRkcmVzcxoHCgJhMhIBaRoKCgJhMxIEYWRkchoPCgJhNBIJaGFzaGVkVXJpGg0KAmE1EgckbWF0Y2gwGggKAmE2EgJ0eBoMCgJhNxIGdmVyaWZ5AAAAAQAAAAACYTEBAAAAGgFUpPriMtr4Il6LN8Wh1b30UXiIzTGe+k+yAAAAAQAAAAJhMgEAAAAGYWRkUmVmAAAAAgAAAAJhMwAAAAJhNAMJAQAAAAIhPQAAAAIICAUAAAACYTIAAAAGY2FsbGVyAAAABWJ5dGVzBQAAAAJhMQkAAAIAAAABAgAAAEVJdCdzIG9yYWNsZSBtZXRob2QgYW5kIGNhbiBiZSBjYWxsZWQgb25seSBieSBjb250cm9sIGNvbnRyYWN0IGFkZHJlc3MEAAAAAmE1CQAEHQAAAAIFAAAABHRoaXMFAAAAAmE0AwkAAAEAAAACBQAAAAJhNQIAAAAEVW5pdAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACBQAAAAJhNAUAAAACYTMFAAAAA25pbAkAAAIAAAABAgAAACpSZWYgZm9yIHNwZWNpZmllZCBoYXNoZWRVcmkgYWxyZWFkeSBleGlzdHMAAAABAAAAAmE2AQAAAAJhNwAAAAAJAAH0AAAAAwgFAAAAAmE2AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACYTYAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACYTYAAAAPc2VuZGVyUHVibGljS2V5SkqP9g==", "height": 1680273, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3sYKKTFa7M31R4nqVdixSG3ffYAdofxH5vTZFLp2BBEx Next: 4U6JbE9NCSUJt8NamCadTDm98V1tMccbMWDNZ33aGwkb Diff:
OldNewDifferences
44 let controlContractAddress = base58'3N4xR95UqYH94X8cU4BGPCpPHB6wgMS8jSy'
55
66 @Callable(i)
7-func addRef (hashedUri,addr) = if ((i.caller.bytes != controlContractAddress))
7+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 =>
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 (hashedUri,addr) = if ((i.caller.bytes != controlContractAddress))
7+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 =>
1111 [StringEntry(hashedUri, addr)]
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 
60.84 ms