tx · 7oUrwCpnbNpUVALCGLQDt1gaxqvccCZQUMtMGZaZd3j2

3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe:  -0.01400000 Waves

2021.02.19 01:29 [1404175] smart account 3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe > SELF 0.00000000 Waves

{ "type": 13, "id": "7oUrwCpnbNpUVALCGLQDt1gaxqvccCZQUMtMGZaZd3j2", "fee": 1400000, "feeAssetId": null, "timestamp": 1613687348906, "version": 2, "chainId": 84, "sender": "3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe", "senderPublicKey": "8QFH4kvTaVWhAPErMqKKRzRhYtv7egJFn1UpMdj8pMf3", "proofs": [ "3L9MZHnjQbuKiDi24zQGwKPRfD8L6WNUCQ3ACXi4v3TQHv8MTS9JH2q8Tj9GEKUWVf47GBeQPN9TEfK7D4iYnomz" ], "script": "base64:AAIEAAAAAAAAAAcIAhIDCgEIAAAAAAAAAAEAAAABaQEAAAANUmVnaXN0ZXJFbWFpbAAAAAEAAAAJWW91ckVtYWlsBAAAAAdhc3NldGlkAQAAACC6vVI7UxTCnVRWGLR3ztyYkk4CUUFVVlvuen2G1r3cOwQAAAAKY3VycmVudEtleQkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAANwbXQDCQAAAAAAAAIJAAGQAAAAAQgFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAEJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAJAAACAAAAAQIAAAAcQXR0YWNoZWQgcGF5bWVudCBpcyByZXF1aXJlZAMJAQAAAAIhPQAAAAIIBQAAAANwbXQAAAAHYXNzZXRJZAUAAAAHYXNzZXRpZAkAAAIAAAABAgAAAD9Zb3UgbmVlZCB0byBjaG9vc2UgZXhhY3QgMC41IFVTRFQgdG8gU2lnbiBUeG4gbm90IG90aGVyIGFzc2V0cy4EAAAACWZpbmRlbWFpbAkBAAAAEUBleHRyTmF0aXZlKDEwNTMpAAAAAgUAAAAEdGhpcwUAAAAKY3VycmVudEtleQMJAAAAAAAAAgUAAAAJZmluZGVtYWlsBQAAAAlZb3VyRW1haWwJAAACAAAAAQIAAAAZVXNlciBBbHJlYWR5IFJlZ2lzdGVydGVkLgkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACBQAAAApjdXJyZW50S2V5BQAAAAlZb3VyRW1haWwJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACAgAAAApTdGF0dXNfT2ZfBQAAAAlZb3VyRW1haWwCAAAAClVudmVyaWZpZWQFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4CQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tlecDjaV4=", "height": 1404175, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3Y6YLr8afP17zFb2RQb7gegQgwKj12N9BxUX6QBCWRN5 Next: HKMhySfTCkFoKuBY4Zw2edtEXgRTMNyfPhkDgxxN9Vn7 Diff:
OldNewDifferences
66 @Callable(i)
77 func RegisterEmail (YourEmail) = {
88 let assetid = base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL'
9+ let currentKey = toBase58String(i.caller.bytes)
910 let pmt = if ((size(i.payments) == 1))
1011 then i.payments[0]
1112 else throw("Attached payment is required")
1213 if ((pmt.assetId != assetid))
1314 then throw("You need to choose exact 0.5 USDT to Sign Txn not other assets.")
1415 else {
15- let currentKey = toBase58String(i.caller.bytes)
16- let findemail = getStringValue(this, YourEmail)
16+ let findemail = getStringValue(this, currentKey)
1717 if ((findemail == YourEmail))
1818 then throw("User Already Registerted.")
19- else [StringEntry(YourEmail, currentKey), StringEntry(("Status_Of_" + YourEmail), "Unverified")]
19+ else [StringEntry(currentKey, YourEmail), 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'
9+ let currentKey = toBase58String(i.caller.bytes)
910 let pmt = if ((size(i.payments) == 1))
1011 then i.payments[0]
1112 else throw("Attached payment is required")
1213 if ((pmt.assetId != assetid))
1314 then throw("You need to choose exact 0.5 USDT to Sign Txn not other assets.")
1415 else {
15- let currentKey = toBase58String(i.caller.bytes)
16- let findemail = getStringValue(this, YourEmail)
16+ let findemail = getStringValue(this, currentKey)
1717 if ((findemail == YourEmail))
1818 then throw("User Already Registerted.")
19- else [StringEntry(YourEmail, currentKey), StringEntry(("Status_Of_" + YourEmail), "Unverified")]
19+ else [StringEntry(currentKey, YourEmail), 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 
25.26 ms