tx · EoyhpXpvfA9PQ79XFgo1HrtdZ6jKZH4yiQ1qfafA7zWm
3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe: -0.01400000 Waves
2021.02.18 23:07 [1404042] smart account 3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe > SELF 0.00000000 Waves
{
"type": 13,
"id": "EoyhpXpvfA9PQ79XFgo1HrtdZ6jKZH4yiQ1qfafA7zWm",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1613678857121,
"version": 2,
"chainId": 84,
"sender": "3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe",
"senderPublicKey": "8QFH4kvTaVWhAPErMqKKRzRhYtv7egJFn1UpMdj8pMf3",
"proofs": [
"4znbgvTi5aSJv9ukThDkTXE6pq56adQEZKx3cBgsYdN8goT4tqz8fb92xLU3nLzHpCsPDFgNEDmesrHQXQzxwWjs"
],
"script": "base64:AAIEAAAAAAAAAAgIAhIECgIIAQAAAAAAAAABAAAAAWkBAAAADVJlZ2lzdGVyRW1haWwAAAACAAAACVlvdXJFbWFpbAAAAAZhbW91bnQEAAAAA3BtdAkBAAAABXZhbHVlAAAAAQkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAQAAAAHYXNzZXRpZAEAAAAgur1SO1MUwp1UVhi0d87cmJJOAlFBVVZb7np9hta93DsDAwkBAAAAAiE9AAAAAggFAAAAA3BtdAAAAAdhc3NldElkBQAAAAdhc3NldGlkCQEAAAACIT0AAAACBQAAAAZhbW91bnQJAABpAAAAAgAAAAAAAAAAAQAAAAAAAAAAAgcJAAACAAAAAQIAAAA5WW91IG5lZWQgdG8gY2hvb3NlIGV4YWN0IDAuNSBVU0RUIHRvIFNpZ24gVHhuIG5vdCBvdGhlcnMuBAAAAApjdXJyZW50S2V5CQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAABkFtb3VudAQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzBQAAAApjdXJyZW50S2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAAJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgUAAAAJWW91ckVtYWlsBQAAAApjdXJyZW50S2V5CQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgUAAAAJWW91ckVtYWlsAgAAAAdfU3RhdHVzAgAAAApVbnZlcmlmaWVkCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAAlQYWlkX0ZlZXMFAAAABmFtb3VudAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5OXXRgg==",
"height": 1404042,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: BeodziBFtCB11awHdiUC9Mag5ixfpbs9ppUaMZKg7t7F
Next: Av3CWC9kQbqCH4Xx4L8eo6YQVh27YhtoexNmGADSsgRo
Diff:
Old | New | | Differences |
---|
19 | 19 | | case _ => |
---|
20 | 20 | | 0 |
---|
21 | 21 | | } |
---|
22 | | - | [StringEntry(YourEmail, currentKey), StringEntry((YourEmail + "_Status"), "Unverified")] |
---|
| 22 | + | [StringEntry(YourEmail, currentKey), StringEntry((YourEmail + "_Status"), "Unverified"), IntegerEntry("Paid_Fees", amount)] |
---|
23 | 23 | | } |
---|
24 | 24 | | } |
---|
25 | 25 | | |
---|
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,amount) = { |
---|
8 | 8 | | let pmt = value(i.payments[0]) |
---|
9 | 9 | | let assetid = base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL' |
---|
10 | 10 | | if (if ((pmt.assetId != assetid)) |
---|
11 | 11 | | then (amount != (1 / 2)) |
---|
12 | 12 | | else false) |
---|
13 | 13 | | then throw("You need to choose exact 0.5 USDT to Sign Txn not others.") |
---|
14 | 14 | | else { |
---|
15 | 15 | | let currentKey = toBase58String(i.caller.bytes) |
---|
16 | 16 | | let Amount = match getInteger(this, currentKey) { |
---|
17 | 17 | | case a: Int => |
---|
18 | 18 | | a |
---|
19 | 19 | | case _ => |
---|
20 | 20 | | 0 |
---|
21 | 21 | | } |
---|
22 | | - | [StringEntry(YourEmail, currentKey), StringEntry((YourEmail + "_Status"), "Unverified")] |
---|
| 22 | + | [StringEntry(YourEmail, currentKey), StringEntry((YourEmail + "_Status"), "Unverified"), IntegerEntry("Paid_Fees", amount)] |
---|
23 | 23 | | } |
---|
24 | 24 | | } |
---|
25 | 25 | | |
---|
26 | 26 | | |
---|
27 | 27 | | @Verifier(tx) |
---|
28 | 28 | | func verify () = match tx { |
---|
29 | 29 | | case _ => |
---|
30 | 30 | | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
31 | 31 | | } |
---|
32 | 32 | | |
---|