tx · HKMhySfTCkFoKuBY4Zw2edtEXgRTMNyfPhkDgxxN9Vn7

3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe:  -0.01400000 Waves

2021.02.19 01:32 [1404178] smart account 3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe > SELF 0.00000000 Waves

{ "type": 13, "id": "HKMhySfTCkFoKuBY4Zw2edtEXgRTMNyfPhkDgxxN9Vn7", "fee": 1400000, "feeAssetId": null, "timestamp": 1613687612497, "version": 2, "chainId": 84, "sender": "3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe", "senderPublicKey": "8QFH4kvTaVWhAPErMqKKRzRhYtv7egJFn1UpMdj8pMf3", "proofs": [ "2158knChgG372US1QJMvDgzrQF8TTCbdgKN8ceKRhzuSKyYp4NjfGbhazECZk2DvyurP9dxkD2XSozUxUku9xGJv" ], "script": "base64:AAIEAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAEY2FsbAAAAAAJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQIAAAAjM013RVo5Q2pZeG53U2tmQlNwWVpzUkpRNGR3MnZNZ1dheHMJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQIAAAAjM015MnJOVGdjQTJCOEo4YzJ1OTNhcXFvYUhCWnFveXhzS3MJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQIAAAAJUGFpZF9GZWVzCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAECAAAAGVN0YXR1c19PZl90cmlhbEBnbWFpbC5jb20FAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5KWfxCQ==", "height": 1404178, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7oUrwCpnbNpUVALCGLQDt1gaxqvccCZQUMtMGZaZd3j2 Next: BfR56VpwnVkgVfNDE6qLeZrcLcoWuw8kxZeHkkWLKUrQ Diff:
OldNewDifferences
44
55
66 @Callable(i)
7-func RegisterEmail (YourEmail) = {
8- let assetid = base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL'
9- let currentKey = toBase58String(i.caller.bytes)
10- let pmt = if ((size(i.payments) == 1))
11- then i.payments[0]
12- else throw("Attached payment is required")
13- if ((pmt.assetId != assetid))
14- then throw("You need to choose exact 0.5 USDT to Sign Txn not other assets.")
15- else {
16- let findemail = getStringValue(this, currentKey)
17- if ((findemail == YourEmail))
18- then throw("User Already Registerted.")
19- else [StringEntry(currentKey, YourEmail), StringEntry(("Status_Of_" + YourEmail), "Unverified")]
20- }
21- }
7+func call () = [DeleteEntry("3MwEZ9CjYxnwSkfBSpYZsRJQ4dw2vMgWaxs"), DeleteEntry("3My2rNTgcA2B8J8c2u93aqqoaHBZqoyxsKs"), DeleteEntry("Paid_Fees"), DeleteEntry("[email protected]")]
228
239
2410 @Verifier(tx)
25-func verify () = match tx {
26- case _ =>
27- sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
28-}
11+func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2912
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
7-func RegisterEmail (YourEmail) = {
8- let assetid = base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL'
9- let currentKey = toBase58String(i.caller.bytes)
10- let pmt = if ((size(i.payments) == 1))
11- then i.payments[0]
12- else throw("Attached payment is required")
13- if ((pmt.assetId != assetid))
14- then throw("You need to choose exact 0.5 USDT to Sign Txn not other assets.")
15- else {
16- let findemail = getStringValue(this, currentKey)
17- if ((findemail == YourEmail))
18- then throw("User Already Registerted.")
19- else [StringEntry(currentKey, YourEmail), StringEntry(("Status_Of_" + YourEmail), "Unverified")]
20- }
21- }
7+func call () = [DeleteEntry("3MwEZ9CjYxnwSkfBSpYZsRJQ4dw2vMgWaxs"), DeleteEntry("3My2rNTgcA2B8J8c2u93aqqoaHBZqoyxsKs"), DeleteEntry("Paid_Fees"), DeleteEntry("[email protected]")]
228
239
2410 @Verifier(tx)
25-func verify () = match tx {
26- case _ =>
27- sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
28-}
11+func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2912

github/deemru/w8io/026f985 
25.15 ms