tx · 95VRYBqMYmSFocwjgCY3mkjJkHdPqGDzKhHvs6XAWqA

3MvYrCuZcSEEpaonJMECNuAgua1N1pP4QLv:  -0.01400000 Waves

2019.11.08 11:49 [755756] smart account 3MvYrCuZcSEEpaonJMECNuAgua1N1pP4QLv > SELF 0.00000000 Waves

{ "type": 13, "id": "95VRYBqMYmSFocwjgCY3mkjJkHdPqGDzKhHvs6XAWqA", "fee": 1400000, "feeAssetId": null, "timestamp": 1573202995673, "version": 1, "sender": "3MvYrCuZcSEEpaonJMECNuAgua1N1pP4QLv", "senderPublicKey": "8M3Q3Umd3j8Awzm99M79fM53H8ciKVWraTxGrf9qktxT", "proofs": [ "55TioC6qNu1SBwuT5MQQ5JYoaQpknp1a2dTUhrnG9i9YLHgfyUFqYjY3Mx8kzWamFWX8t4yqLefHRqqRrqvccAEA" ], "script": "base64:AAIDAAAAAAAAAAgIARIECgICCAAAAAEBAAAADHRvQnl0ZVZlY3RvcgAAAAEAAAACYnYEAAAAByRtYXRjaDAFAAAAAmJ2AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAApCeXRlVmVjdG9yBAAAAANidjAFAAAAByRtYXRjaDAFAAAAA2J2MAkAAAIAAAABAgAAABNCeXRlVmVjdG9yIGV4cGVjdGVkAAAAAQAAAAFpAQAAAAdyZWdVc2VyAAAAAgAAAAp1c2VyUHViS2V5AAAAB21lc3NhZ2UJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgIAAAALdXNlclB1YktleV8JAAJYAAAAAQUAAAAKdXNlclB1YktleQUAAAAKdXNlclB1YktleQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAHbWVzc2FnZQUAAAAHbWVzc2FnZQUAAAADbmlsAAAAAQAAAAJ0eAEAAAAIdmVyaWZpZXIAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAXSW52b2tlU2NyaXB0VHJhbnNhY3Rpb24EAAAAA2ludgUAAAAHJG1hdGNoMAMJAAAAAAAAAggFAAAAA2ludgAAAAhmdW5jdGlvbgIAAAAHcmVnVXNlcgMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACQEAAAAMdG9CeXRlVmVjdG9yAAAAAQkAAZEAAAACCAUAAAADaW52AAAABGFyZ3MAAAAAAAAAAAAGCQAAAgAAAAECAAAAE3NpZ3ZlcmlmeSByZWplY3Rpb24JAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5CQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleXdA610=", "chainId": 84, "height": 755756, "spentComplexity": 0 } View: original | compacted Prev: BGMG5JK2beYMX1rnx8zdZTm9hTWe8e8CYXccCMUNnBbQ Next: 9UBdtZoNL8ZjpoSNt18rJXbV3tSporVAnBDseAthKG3E Diff:
OldNewDifferences
2323 then {
2424 let j = c
2525 if ((j.function == "regUser"))
26- then sigVerify(h.bodyBytes, h.proofs[0], a(j.args[0]))
26+ then if (sigVerify(h.bodyBytes, h.proofs[0], a(j.args[0])))
27+ then true
28+ else throw("sigverify rejection")
2729 else sigVerify(h.bodyBytes, h.proofs[0], h.senderPublicKey)
2830 }
2931 else sigVerify(h.bodyBytes, h.proofs[0], h.senderPublicKey)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b) = {
55 let c = b
66 if ($isInstanceOf(c, "ByteVector"))
77 then {
88 let d = c
99 d
1010 }
1111 else throw("ByteVector expected")
1212 }
1313
1414
1515 @Callable(e)
1616 func regUser (f,g) = WriteSet([DataEntry(("userPubKey_" + toBase58String(f)), f), DataEntry("message", g)])
1717
1818
1919 @Verifier(h)
2020 func i () = {
2121 let c = h
2222 if ($isInstanceOf(c, "InvokeScriptTransaction"))
2323 then {
2424 let j = c
2525 if ((j.function == "regUser"))
26- then sigVerify(h.bodyBytes, h.proofs[0], a(j.args[0]))
26+ then if (sigVerify(h.bodyBytes, h.proofs[0], a(j.args[0])))
27+ then true
28+ else throw("sigverify rejection")
2729 else sigVerify(h.bodyBytes, h.proofs[0], h.senderPublicKey)
2830 }
2931 else sigVerify(h.bodyBytes, h.proofs[0], h.senderPublicKey)
3032 }
3133

github/deemru/w8io/169f3d6 
37.37 ms