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(i) |
---|
7 | | - | func RegisterEmail (YourEmail,amount) = { |
---|
| 7 | + | func RegisterEmail (YourEmail) = { |
---|
8 | 8 | | let pmt = value(i.payments[0]) |
---|
9 | 9 | | let assetid = base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL' |
---|
10 | | - | if (if ((pmt.assetId != assetid)) |
---|
11 | | - | then (amount != (1 / 2)) |
---|
12 | | - | else false) |
---|
| 10 | + | if ((pmt.assetId != assetid)) |
---|
13 | 11 | | then throw("You need to choose exact 0.5 USDT to Sign Txn not others.") |
---|
14 | 12 | | else { |
---|
15 | 13 | | let currentKey = toBase58String(i.caller.bytes) |
---|
|
19 | 17 | | case _ => |
---|
20 | 18 | | 0 |
---|
21 | 19 | | } |
---|
22 | | - | [StringEntry(YourEmail, currentKey), StringEntry((YourEmail + "_Status"), "Unverified"), IntegerEntry("Paid_Fees", amount)] |
---|
| 20 | + | [StringEntry(YourEmail, currentKey), StringEntry((YourEmail + "_Status"), "Unverified")] |
---|
23 | 21 | | } |
---|
24 | 22 | | } |
---|
25 | 23 | | |
---|
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 | | - | func RegisterEmail (YourEmail,amount) = { |
---|
| 7 | + | func RegisterEmail (YourEmail) = { |
---|
8 | 8 | | let pmt = value(i.payments[0]) |
---|
9 | 9 | | let assetid = base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL' |
---|
10 | | - | if (if ((pmt.assetId != assetid)) |
---|
11 | | - | then (amount != (1 / 2)) |
---|
12 | | - | else false) |
---|
| 10 | + | if ((pmt.assetId != assetid)) |
---|
13 | 11 | | then throw("You need to choose exact 0.5 USDT to Sign Txn not others.") |
---|
14 | 12 | | else { |
---|
15 | 13 | | let currentKey = toBase58String(i.caller.bytes) |
---|
16 | 14 | | let Amount = match getInteger(this, currentKey) { |
---|
17 | 15 | | case a: Int => |
---|
18 | 16 | | a |
---|
19 | 17 | | case _ => |
---|
20 | 18 | | 0 |
---|
21 | 19 | | } |
---|
22 | | - | [StringEntry(YourEmail, currentKey), StringEntry((YourEmail + "_Status"), "Unverified"), IntegerEntry("Paid_Fees", amount)] |
---|
| 20 | + | [StringEntry(YourEmail, currentKey), StringEntry((YourEmail + "_Status"), "Unverified")] |
---|
23 | 21 | | } |
---|
24 | 22 | | } |
---|
25 | 23 | | |
---|
26 | 24 | | |
---|
27 | 25 | | @Verifier(tx) |
---|
28 | 26 | | func verify () = match tx { |
---|
29 | 27 | | case _ => |
---|
30 | 28 | | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
31 | 29 | | } |
---|
32 | 30 | | |
---|