tx · 3Y6YLr8afP17zFb2RQb7gegQgwKj12N9BxUX6QBCWRN5

3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe:  -0.01400000 Waves

2021.02.19 01:04 [1404155] smart account 3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe > SELF 0.00000000 Waves

{ "type": 13, "id": "3Y6YLr8afP17zFb2RQb7gegQgwKj12N9BxUX6QBCWRN5", "fee": 1400000, "feeAssetId": null, "timestamp": 1613685929646, "version": 2, "chainId": 84, "sender": "3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe", "senderPublicKey": "8QFH4kvTaVWhAPErMqKKRzRhYtv7egJFn1UpMdj8pMf3", "proofs": [ "4NnedXYKS7UpNpsRSspg6VXMEFKFkeecfVXqPEyvixPe57kEq6Y4QqSsrdENS9pVKay7D1tswudCkmYzgsBd1o9z" ], "script": "base64:AAIEAAAAAAAAAAcIAhIDCgEIAAAAAAAAAAEAAAABaQEAAAANUmVnaXN0ZXJFbWFpbAAAAAEAAAAJWW91ckVtYWlsBAAAAAdhc3NldGlkAQAAACC6vVI7UxTCnVRWGLR3ztyYkk4CUUFVVlvuen2G1r3cOwQAAAADcG10AwkAAAAAAAACCQABkAAAAAEIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAABCQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAACQAAAgAAAAECAAAAHEF0dGFjaGVkIHBheW1lbnQgaXMgcmVxdWlyZWQDCQEAAAACIT0AAAACCAUAAAADcG10AAAAB2Fzc2V0SWQFAAAAB2Fzc2V0aWQJAAACAAAAAQIAAAA/WW91IG5lZWQgdG8gY2hvb3NlIGV4YWN0IDAuNSBVU0RUIHRvIFNpZ24gVHhuIG5vdCBvdGhlciBhc3NldHMuBAAAAApjdXJyZW50S2V5CQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAACWZpbmRlbWFpbAkBAAAAEUBleHRyTmF0aXZlKDEwNTMpAAAAAgUAAAAEdGhpcwUAAAAJWW91ckVtYWlsAwkAAAAAAAACBQAAAAlmaW5kZW1haWwFAAAACVlvdXJFbWFpbAkAAAIAAAABAgAAABlVc2VyIEFscmVhZHkgUmVnaXN0ZXJ0ZWQuCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIFAAAACVlvdXJFbWFpbAUAAAAKY3VycmVudEtleQkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAICAAAAClN0YXR1c19PZl8FAAAACVlvdXJFbWFpbAIAAAAKVW52ZXJpZmllZAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V53c0ZNw==", "height": 1404155, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: G81Negw5bsf5CZgTiZpVPj8PqAxCAe3yDjykmPDGc6iT Next: 7oUrwCpnbNpUVALCGLQDt1gaxqvccCZQUMtMGZaZd3j2 Diff:
OldNewDifferences
1616 let findemail = getStringValue(this, YourEmail)
1717 if ((findemail == YourEmail))
1818 then throw("User Already Registerted.")
19- else [StringEntry(currentKey, YourEmail), StringEntry(("Status_Of_" + YourEmail), "Unverified")]
19+ else [StringEntry(YourEmail, currentKey), StringEntry(("Status_Of_" + YourEmail), "Unverified")]
2020 }
2121 }
2222
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func RegisterEmail (YourEmail) = {
88 let assetid = base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL'
99 let pmt = if ((size(i.payments) == 1))
1010 then i.payments[0]
1111 else throw("Attached payment is required")
1212 if ((pmt.assetId != assetid))
1313 then throw("You need to choose exact 0.5 USDT to Sign Txn not other assets.")
1414 else {
1515 let currentKey = toBase58String(i.caller.bytes)
1616 let findemail = getStringValue(this, YourEmail)
1717 if ((findemail == YourEmail))
1818 then throw("User Already Registerted.")
19- else [StringEntry(currentKey, YourEmail), StringEntry(("Status_Of_" + YourEmail), "Unverified")]
19+ else [StringEntry(YourEmail, currentKey), StringEntry(("Status_Of_" + YourEmail), "Unverified")]
2020 }
2121 }
2222
2323
2424 @Verifier(tx)
2525 func verify () = match tx {
2626 case _ =>
2727 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2828 }
2929

github/deemru/w8io/026f985 
21.75 ms