tx · Dxt3xq7Vz916iRaocEpSxZhZzXxREFLeqYZKdU7QyDhg
3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe: -0.01400000 Waves
2021.02.19 00:52 [1404144] smart account 3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe > SELF 0.00000000 Waves
{
"type": 13,
"id": "Dxt3xq7Vz916iRaocEpSxZhZzXxREFLeqYZKdU7QyDhg",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1613685192068,
"version": 2,
"chainId": 84,
"sender": "3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe",
"senderPublicKey": "8QFH4kvTaVWhAPErMqKKRzRhYtv7egJFn1UpMdj8pMf3",
"proofs": [
"3jpMzh59ckMrtLWKyxhErBBdzRJbhmmsq8Y6b8QP7C5smNBaiqS5A5nNenz5hsKsm9q7oW6fUuD3dVCDtR6SivqM"
],
"script": "base64:AAIEAAAAAAAAAAcIAhIDCgEIAAAAAAAAAAEAAAABaQEAAAANUmVnaXN0ZXJFbWFpbAAAAAEAAAAJWW91ckVtYWlsBAAAAAdhc3NldGlkAQAAACC6vVI7UxTCnVRWGLR3ztyYkk4CUUFVVlvuen2G1r3cOwQAAAADcG10AwkAAAAAAAACCQABkAAAAAEIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAABCQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAACQAAAgAAAAECAAAAHEF0dGFjaGVkIHBheW1lbnQgaXMgcmVxdWlyZWQDCQEAAAACIT0AAAACCAUAAAADcG10AAAAB2Fzc2V0SWQFAAAAB2Fzc2V0aWQJAAACAAAAAQIAAAA/WW91IG5lZWQgdG8gY2hvb3NlIGV4YWN0IDAuNSBVU0RUIHRvIFNpZ24gVHhuIG5vdCBvdGhlciBhc3NldHMuBAAAAApjdXJyZW50S2V5CQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAACWZpbmRlbWFpbAkBAAAABXZhbHVlAAAAAQkABB0AAAACBQAAAAR0aGlzBQAAAAlZb3VyRW1haWwDCQAAAAAAAAIFAAAACWZpbmRlbWFpbAUAAAAJWW91ckVtYWlsCQAAAgAAAAECAAAAGVVzZXIgQWxyZWFkeSBSZWdpc3RlcnRlZC4JAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgUAAAAJWW91ckVtYWlsBQAAAApjdXJyZW50S2V5CQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgIAAAAKU3RhdHVzX09mXwUAAAAJWW91ckVtYWlsAgAAAApVbnZlcmlmaWVkBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmtT0Zm",
"height": 1404144,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 7bgr9EwTwips82GB24Z4kWAdYidgwnQkFvwyWTPC9vW1
Next: 97NtUAuPG8k7B8QWaiZchVTfx6fdu4jNxYp4ibvM9kij
Diff:
Old | New | | Differences |
---|
13 | 13 | | then throw("You need to choose exact 0.5 USDT to Sign Txn not other assets.") |
---|
14 | 14 | | else { |
---|
15 | 15 | | let currentKey = toBase58String(i.caller.bytes) |
---|
16 | | - | [StringEntry(YourEmail, currentKey), StringEntry(("Status_Of_" + YourEmail), "Unverified")] |
---|
| 16 | + | let findemail = value(getString(this, YourEmail)) |
---|
| 17 | + | if ((findemail == YourEmail)) |
---|
| 18 | + | then throw("User Already Registerted.") |
---|
| 19 | + | else [StringEntry(YourEmail, currentKey), StringEntry(("Status_Of_" + YourEmail), "Unverified")] |
---|
17 | 20 | | } |
---|
18 | 21 | | } |
---|
19 | 22 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 4 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func RegisterEmail (YourEmail) = { |
---|
8 | 8 | | let assetid = base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL' |
---|
9 | 9 | | let pmt = if ((size(i.payments) == 1)) |
---|
10 | 10 | | then i.payments[0] |
---|
11 | 11 | | else throw("Attached payment is required") |
---|
12 | 12 | | if ((pmt.assetId != assetid)) |
---|
13 | 13 | | then throw("You need to choose exact 0.5 USDT to Sign Txn not other assets.") |
---|
14 | 14 | | else { |
---|
15 | 15 | | let currentKey = toBase58String(i.caller.bytes) |
---|
16 | | - | [StringEntry(YourEmail, currentKey), StringEntry(("Status_Of_" + YourEmail), "Unverified")] |
---|
| 16 | + | let findemail = value(getString(this, YourEmail)) |
---|
| 17 | + | if ((findemail == YourEmail)) |
---|
| 18 | + | then throw("User Already Registerted.") |
---|
| 19 | + | else [StringEntry(YourEmail, currentKey), StringEntry(("Status_Of_" + YourEmail), "Unverified")] |
---|
17 | 20 | | } |
---|
18 | 21 | | } |
---|
19 | 22 | | |
---|
20 | 23 | | |
---|
21 | 24 | | @Verifier(tx) |
---|
22 | 25 | | func verify () = match tx { |
---|
23 | 26 | | case _ => |
---|
24 | 27 | | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
25 | 28 | | } |
---|
26 | 29 | | |
---|