tx · 12jtG324YYnY175kr46fWQYrnuoBqthsxmnKZSUVEpCy

3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe:  -0.01400000 Waves

2021.02.19 00:17 [1404108] smart account 3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe > SELF 0.00000000 Waves

{ "type": 13, "id": "12jtG324YYnY175kr46fWQYrnuoBqthsxmnKZSUVEpCy", "fee": 1400000, "feeAssetId": null, "timestamp": 1613683111989, "version": 2, "chainId": 84, "sender": "3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe", "senderPublicKey": "8QFH4kvTaVWhAPErMqKKRzRhYtv7egJFn1UpMdj8pMf3", "proofs": [ "3j4pmU6oWiXYUUAunkuGHTwYLMVTPWJjXSdsAYihudZzW9aWD27gXJvo8uWsz9RSRJ5LbHnHqkysJRtqJCRB1GcT" ], "script": "base64:AAIEAAAAAAAAAAcIAhIDCgEIAAAAAAAAAAEAAAABaQEAAAANUmVnaXN0ZXJFbWFpbAAAAAEAAAAJWW91ckVtYWlsBAAAAAdhc3NldGlkAQAAACC6vVI7UxTCnVRWGLR3ztyYkk4CUUFVVlvuen2G1r3cOwQAAAADcG10AwkAAAAAAAACCQABkAAAAAEIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAABCQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAACQAAAgAAAAECAAAAHEF0dGFjaGVkIHBheW1lbnQgaXMgcmVxdWlyZWQDCQEAAAACIT0AAAACCAUAAAADcG10AAAAB2Fzc2V0SWQFAAAAB2Fzc2V0aWQJAAACAAAAAQIAAAA/WW91IG5lZWQgdG8gY2hvb3NlIGV4YWN0IDAuNSBVU0RUIHRvIFNpZ24gVHhuIG5vdCBvdGhlciBhc3NldHMuBAAAAAlmaW5kZW1haWwJAAQdAAAAAgUAAAAEdGhpcwUAAAAJWW91ckVtYWlsBAAAAApjdXJyZW50S2V5CQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMDCQAAAAAAAAIFAAAACWZpbmRlbWFpbAUAAAAJWW91ckVtYWlsCQAAAgAAAAECAAAAKVVzZXIgQWxyZWFkeSBSZWdpc3RlcmVkIGJ1dCBub3QgVmVyaWZpZWQuBAAAAAZBbW91bnQEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwUAAAAKY3VycmVudEtleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAAAAAAAAAAAACQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIFAAAACVlvdXJFbWFpbAUAAAAKY3VycmVudEtleQkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAICAAAAClN0YXR1c19PZl8FAAAACVlvdXJFbWFpbAIAAAAKVW52ZXJpZmllZAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V52Giakw==", "height": 1404108, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2YEMtxVfarPvCia4EPTRChH8AamWH8iZ58Urcs99mhMJ Next: 7bgr9EwTwips82GB24Z4kWAdYidgwnQkFvwyWTPC9vW1 Diff:
OldNewDifferences
1212 if ((d.assetId != c))
1313 then throw("You need to choose exact 0.5 USDT to Sign Txn not other assets.")
1414 else {
15- let e = toBase58String(a.caller.bytes)
16- let f = {
17- let g = getInteger(this, e)
18- if ($isInstanceOf(g, "Int"))
19- then {
20- let h = g
21- h
15+ let e = getString(this, b)
16+ let f = toBase58String(a.caller.bytes)
17+ if ((e == b))
18+ then throw("User Already Registered but not Verified.")
19+ else {
20+ let g = {
21+ let h = getInteger(this, f)
22+ if ($isInstanceOf(h, "Int"))
23+ then {
24+ let i = h
25+ i
26+ }
27+ else 0
2228 }
23- else 0
24- }
25-[StringEntry(e, b), StringEntry(("Status_Of_" + b), "Unverified")]
29+[StringEntry(b, f), StringEntry(("Status_Of_" + b), "Unverified")]
30+ }
2631 }
2732 }
2833
2934
30-@Verifier(i)
31-func j () = {
32- let g = i
33- sigVerify(i.bodyBytes, i.proofs[0], i.senderPublicKey)
35+@Verifier(j)
36+func k () = {
37+ let h = j
38+ sigVerify(j.bodyBytes, j.proofs[0], j.senderPublicKey)
3439 }
3540
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func RegisterEmail (b) = {
88 let c = base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL'
99 let d = if ((size(a.payments) == 1))
1010 then a.payments[0]
1111 else throw("Attached payment is required")
1212 if ((d.assetId != c))
1313 then throw("You need to choose exact 0.5 USDT to Sign Txn not other assets.")
1414 else {
15- let e = toBase58String(a.caller.bytes)
16- let f = {
17- let g = getInteger(this, e)
18- if ($isInstanceOf(g, "Int"))
19- then {
20- let h = g
21- h
15+ let e = getString(this, b)
16+ let f = toBase58String(a.caller.bytes)
17+ if ((e == b))
18+ then throw("User Already Registered but not Verified.")
19+ else {
20+ let g = {
21+ let h = getInteger(this, f)
22+ if ($isInstanceOf(h, "Int"))
23+ then {
24+ let i = h
25+ i
26+ }
27+ else 0
2228 }
23- else 0
24- }
25-[StringEntry(e, b), StringEntry(("Status_Of_" + b), "Unverified")]
29+[StringEntry(b, f), StringEntry(("Status_Of_" + b), "Unverified")]
30+ }
2631 }
2732 }
2833
2934
30-@Verifier(i)
31-func j () = {
32- let g = i
33- sigVerify(i.bodyBytes, i.proofs[0], i.senderPublicKey)
35+@Verifier(j)
36+func k () = {
37+ let h = j
38+ sigVerify(j.bodyBytes, j.proofs[0], j.senderPublicKey)
3439 }
3540

github/deemru/w8io/169f3d6 
25.75 ms