tx · Av3CWC9kQbqCH4Xx4L8eo6YQVh27YhtoexNmGADSsgRo
3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe: -0.01400000 Waves
2021.02.18 23:10 [1404045] smart account 3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe > SELF 0.00000000 Waves
{
"type": 13,
"id": "Av3CWC9kQbqCH4Xx4L8eo6YQVh27YhtoexNmGADSsgRo",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1613678996878,
"version": 2,
"chainId": 84,
"sender": "3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe",
"senderPublicKey": "8QFH4kvTaVWhAPErMqKKRzRhYtv7egJFn1UpMdj8pMf3",
"proofs": [
"28zjbv543UgjMi2Q9RGdGoADJh7RKAquZGNYvbwE611M3rJaRpAPMpiH3q7cGw2vfBkjW3K8jCix9TQTEHFbQqBC"
],
"script": "base64:AAIEAAAAAAAAAAcIAhIDCgEIAAAAAAAAAAEAAAABaQEAAAANUmVnaXN0ZXJFbWFpbAAAAAEAAAAJWW91ckVtYWlsBAAAAANwbXQJAQAAAAV2YWx1ZQAAAAEJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAEAAAAB2Fzc2V0aWQBAAAAILq9UjtTFMKdVFYYtHfO3JiSTgJRQVVWW+56fYbWvdw7AwkBAAAAAiE9AAAAAggFAAAAA3BtdAAAAAdhc3NldElkBQAAAAdhc3NldGlkCQAAAgAAAAECAAAAOVlvdSBuZWVkIHRvIGNob29zZSBleGFjdCAwLjUgVVNEVCB0byBTaWduIFR4biBub3Qgb3RoZXJzLgQAAAAKY3VycmVudEtleQkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAAZBbW91bnQEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwUAAAAKY3VycmVudEtleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAAAAAAAAAAAACQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIFAAAACVlvdXJFbWFpbAUAAAAKY3VycmVudEtleQkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIFAAAACVlvdXJFbWFpbAIAAAAHX1N0YXR1cwIAAAAKVW52ZXJpZmllZAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5Y2gUjw==",
"height": 1404045,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: EoyhpXpvfA9PQ79XFgo1HrtdZ6jKZH4yiQ1qfafA7zWm
Next: BjB7yZoYAg9TfxjbpFxcZrWKasTXtAMf3hpTYvf7wScz
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(a) |
---|
7 | | - | func RegisterEmail (b,c) = { |
---|
8 | | - | let d = value(a.payments[0]) |
---|
9 | | - | let e = base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL' |
---|
10 | | - | if (if ((d.assetId != e)) |
---|
11 | | - | then (c != (1 / 2)) |
---|
12 | | - | else false) |
---|
| 7 | + | func RegisterEmail (b) = { |
---|
| 8 | + | let c = value(a.payments[0]) |
---|
| 9 | + | let d = base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL' |
---|
| 10 | + | if ((c.assetId != d)) |
---|
13 | 11 | | then throw("You need to choose exact 0.5 USDT to Sign Txn not others.") |
---|
14 | 12 | | else { |
---|
15 | | - | let f = toBase58String(a.caller.bytes) |
---|
16 | | - | let g = { |
---|
17 | | - | let h = getInteger(this, f) |
---|
18 | | - | if ($isInstanceOf(h, "Int")) |
---|
| 13 | + | let e = toBase58String(a.caller.bytes) |
---|
| 14 | + | let f = { |
---|
| 15 | + | let g = getInteger(this, e) |
---|
| 16 | + | if ($isInstanceOf(g, "Int")) |
---|
19 | 17 | | then { |
---|
20 | | - | let i = h |
---|
21 | | - | i |
---|
| 18 | + | let h = g |
---|
| 19 | + | h |
---|
22 | 20 | | } |
---|
23 | 21 | | else 0 |
---|
24 | 22 | | } |
---|
25 | | - | [StringEntry(b, f), StringEntry((b + "_Status"), "Unverified"), IntegerEntry("Paid_Fees", c)] |
---|
| 23 | + | [StringEntry(b, e), StringEntry((b + "_Status"), "Unverified")] |
---|
26 | 24 | | } |
---|
27 | 25 | | } |
---|
28 | 26 | | |
---|
29 | 27 | | |
---|
30 | | - | @Verifier(j) |
---|
31 | | - | func k () = { |
---|
32 | | - | let h = j |
---|
33 | | - | sigVerify(j.bodyBytes, j.proofs[0], j.senderPublicKey) |
---|
| 28 | + | @Verifier(i) |
---|
| 29 | + | func j () = { |
---|
| 30 | + | let g = i |
---|
| 31 | + | sigVerify(i.bodyBytes, i.proofs[0], i.senderPublicKey) |
---|
34 | 32 | | } |
---|
35 | 33 | | |
---|
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 | | - | func RegisterEmail (b,c) = { |
---|
8 | | - | let d = value(a.payments[0]) |
---|
9 | | - | let e = base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL' |
---|
10 | | - | if (if ((d.assetId != e)) |
---|
11 | | - | then (c != (1 / 2)) |
---|
12 | | - | else false) |
---|
| 7 | + | func RegisterEmail (b) = { |
---|
| 8 | + | let c = value(a.payments[0]) |
---|
| 9 | + | let d = base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL' |
---|
| 10 | + | if ((c.assetId != d)) |
---|
13 | 11 | | then throw("You need to choose exact 0.5 USDT to Sign Txn not others.") |
---|
14 | 12 | | else { |
---|
15 | | - | let f = toBase58String(a.caller.bytes) |
---|
16 | | - | let g = { |
---|
17 | | - | let h = getInteger(this, f) |
---|
18 | | - | if ($isInstanceOf(h, "Int")) |
---|
| 13 | + | let e = toBase58String(a.caller.bytes) |
---|
| 14 | + | let f = { |
---|
| 15 | + | let g = getInteger(this, e) |
---|
| 16 | + | if ($isInstanceOf(g, "Int")) |
---|
19 | 17 | | then { |
---|
20 | | - | let i = h |
---|
21 | | - | i |
---|
| 18 | + | let h = g |
---|
| 19 | + | h |
---|
22 | 20 | | } |
---|
23 | 21 | | else 0 |
---|
24 | 22 | | } |
---|
25 | | - | [StringEntry(b, f), StringEntry((b + "_Status"), "Unverified"), IntegerEntry("Paid_Fees", c)] |
---|
| 23 | + | [StringEntry(b, e), StringEntry((b + "_Status"), "Unverified")] |
---|
26 | 24 | | } |
---|
27 | 25 | | } |
---|
28 | 26 | | |
---|
29 | 27 | | |
---|
30 | | - | @Verifier(j) |
---|
31 | | - | func k () = { |
---|
32 | | - | let h = j |
---|
33 | | - | sigVerify(j.bodyBytes, j.proofs[0], j.senderPublicKey) |
---|
| 28 | + | @Verifier(i) |
---|
| 29 | + | func j () = { |
---|
| 30 | + | let g = i |
---|
| 31 | + | sigVerify(i.bodyBytes, i.proofs[0], i.senderPublicKey) |
---|
34 | 32 | | } |
---|
35 | 33 | | |
---|