tx · 7bgr9EwTwips82GB24Z4kWAdYidgwnQkFvwyWTPC9vW1
3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe: -0.01400000 Waves
2021.02.19 00:44 [1404136] smart account 3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe > SELF 0.00000000 Waves
{
"type": 13,
"id": "7bgr9EwTwips82GB24Z4kWAdYidgwnQkFvwyWTPC9vW1",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1613684709245,
"version": 2,
"chainId": 84,
"sender": "3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe",
"senderPublicKey": "8QFH4kvTaVWhAPErMqKKRzRhYtv7egJFn1UpMdj8pMf3",
"proofs": [
"4K4ZkCsaa7XZFri9YM9oTHPrXMkUabhdHELAbwMv7M9VaA8kAz9Go1D2P7HVnDHiTFcTzaNu9SVp87xR7TEbidv"
],
"script": "base64:AAIEAAAAAAAAAAcIAhIDCgEIAAAAAAAAAAEAAAABaQEAAAANUmVnaXN0ZXJFbWFpbAAAAAEAAAAJWW91ckVtYWlsBAAAAAdhc3NldGlkAQAAACC6vVI7UxTCnVRWGLR3ztyYkk4CUUFVVlvuen2G1r3cOwQAAAADcG10AwkAAAAAAAACCQABkAAAAAEIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAABCQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAACQAAAgAAAAECAAAAHEF0dGFjaGVkIHBheW1lbnQgaXMgcmVxdWlyZWQDCQEAAAACIT0AAAACCAUAAAADcG10AAAAB2Fzc2V0SWQFAAAAB2Fzc2V0aWQJAAACAAAAAQIAAAA/WW91IG5lZWQgdG8gY2hvb3NlIGV4YWN0IDAuNSBVU0RUIHRvIFNpZ24gVHhuIG5vdCBvdGhlciBhc3NldHMuBAAAAApjdXJyZW50S2V5CQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgUAAAAJWW91ckVtYWlsBQAAAApjdXJyZW50S2V5CQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgIAAAAKU3RhdHVzX09mXwUAAAAJWW91ckVtYWlsAgAAAApVbnZlcmlmaWVkBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkAT7wV",
"height": 1404136,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 12jtG324YYnY175kr46fWQYrnuoBqthsxmnKZSUVEpCy
Next: Dxt3xq7Vz916iRaocEpSxZhZzXxREFLeqYZKdU7QyDhg
Diff:
Old | New | | Differences |
---|
12 | 12 | | if ((d.assetId != c)) |
---|
13 | 13 | | then throw("You need to choose exact 0.5 USDT to Sign Txn not other assets.") |
---|
14 | 14 | | else { |
---|
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 |
---|
28 | | - | } |
---|
29 | | - | [StringEntry(b, f), StringEntry(("Status_Of_" + b), "Unverified")] |
---|
30 | | - | } |
---|
| 15 | + | let e = toBase58String(a.caller.bytes) |
---|
| 16 | + | [StringEntry(b, e), StringEntry(("Status_Of_" + b), "Unverified")] |
---|
31 | 17 | | } |
---|
32 | 18 | | } |
---|
33 | 19 | | |
---|
34 | 20 | | |
---|
35 | | - | @Verifier(j) |
---|
36 | | - | func k () = { |
---|
37 | | - | let h = j |
---|
38 | | - | sigVerify(j.bodyBytes, j.proofs[0], j.senderPublicKey) |
---|
| 21 | + | @Verifier(f) |
---|
| 22 | + | func g () = { |
---|
| 23 | + | let h = f |
---|
| 24 | + | sigVerify(f.bodyBytes, f.proofs[0], f.senderPublicKey) |
---|
39 | 25 | | } |
---|
40 | 26 | | |
---|
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(a) |
---|
7 | 7 | | func RegisterEmail (b) = { |
---|
8 | 8 | | let c = base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL' |
---|
9 | 9 | | let d = if ((size(a.payments) == 1)) |
---|
10 | 10 | | then a.payments[0] |
---|
11 | 11 | | else throw("Attached payment is required") |
---|
12 | 12 | | if ((d.assetId != c)) |
---|
13 | 13 | | then throw("You need to choose exact 0.5 USDT to Sign Txn not other assets.") |
---|
14 | 14 | | else { |
---|
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 |
---|
28 | | - | } |
---|
29 | | - | [StringEntry(b, f), StringEntry(("Status_Of_" + b), "Unverified")] |
---|
30 | | - | } |
---|
| 15 | + | let e = toBase58String(a.caller.bytes) |
---|
| 16 | + | [StringEntry(b, e), StringEntry(("Status_Of_" + b), "Unverified")] |
---|
31 | 17 | | } |
---|
32 | 18 | | } |
---|
33 | 19 | | |
---|
34 | 20 | | |
---|
35 | | - | @Verifier(j) |
---|
36 | | - | func k () = { |
---|
37 | | - | let h = j |
---|
38 | | - | sigVerify(j.bodyBytes, j.proofs[0], j.senderPublicKey) |
---|
| 21 | + | @Verifier(f) |
---|
| 22 | + | func g () = { |
---|
| 23 | + | let h = f |
---|
| 24 | + | sigVerify(f.bodyBytes, f.proofs[0], f.senderPublicKey) |
---|
39 | 25 | | } |
---|
40 | 26 | | |
---|