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:
OldNewDifferences
44
55
66 @Callable(i)
7-func RegisterEmail (YourEmail,amount) = {
7+func RegisterEmail (YourEmail) = {
88 let pmt = value(i.payments[0])
99 let assetid = base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL'
10- if (if ((pmt.assetId != assetid))
11- then (amount != (1 / 2))
12- else false)
10+ if ((pmt.assetId != assetid))
1311 then throw("You need to choose exact 0.5 USDT to Sign Txn not others.")
1412 else {
1513 let currentKey = toBase58String(i.caller.bytes)
1917 case _ =>
2018 0
2119 }
22-[StringEntry(YourEmail, currentKey), StringEntry((YourEmail + "_Status"), "Unverified"), IntegerEntry("Paid_Fees", amount)]
20+[StringEntry(YourEmail, currentKey), StringEntry((YourEmail + "_Status"), "Unverified")]
2321 }
2422 }
2523
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
7-func RegisterEmail (YourEmail,amount) = {
7+func RegisterEmail (YourEmail) = {
88 let pmt = value(i.payments[0])
99 let assetid = base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL'
10- if (if ((pmt.assetId != assetid))
11- then (amount != (1 / 2))
12- else false)
10+ if ((pmt.assetId != assetid))
1311 then throw("You need to choose exact 0.5 USDT to Sign Txn not others.")
1412 else {
1513 let currentKey = toBase58String(i.caller.bytes)
1614 let Amount = match getInteger(this, currentKey) {
1715 case a: Int =>
1816 a
1917 case _ =>
2018 0
2119 }
22-[StringEntry(YourEmail, currentKey), StringEntry((YourEmail + "_Status"), "Unverified"), IntegerEntry("Paid_Fees", amount)]
20+[StringEntry(YourEmail, currentKey), StringEntry((YourEmail + "_Status"), "Unverified")]
2321 }
2422 }
2523
2624
2725 @Verifier(tx)
2826 func verify () = match tx {
2927 case _ =>
3028 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
3129 }
3230

github/deemru/w8io/026f985 
24.87 ms