tx · 4F2vZzXHxUXCvvDGJWGiSjaKrYJaZgCj5FkHvNxVSdWD
3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe: -0.01400000 Waves
2021.02.18 23:18 [1404052] smart account 3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe > SELF 0.00000000 Waves
{
"type": 13,
"id": "4F2vZzXHxUXCvvDGJWGiSjaKrYJaZgCj5FkHvNxVSdWD",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1613679543237,
"version": 2,
"chainId": 84,
"sender": "3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe",
"senderPublicKey": "8QFH4kvTaVWhAPErMqKKRzRhYtv7egJFn1UpMdj8pMf3",
"proofs": [
"4WpLEF166WZfbzGSRKYWU3A6oJ3JE9txNB4ib6Pf79GYsAMJfq4pemZq5urHcxQHdMcbM8Mo3BPxUD75n24q8SDS"
],
"script": "base64:AAIEAAAAAAAAAAcIAhIDCgEIAAAAAAAAAAEAAAABaQEAAAANUmVnaXN0ZXJFbWFpbAAAAAEAAAAJWW91ckVtYWlsBAAAAAdhc3NldGlkAQAAACC6vVI7UxTCnVRWGLR3ztyYkk4CUUFVVlvuen2G1r3cOwQAAAADcG10AwkAAAAAAAACCQABkAAAAAEIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAABCQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAACQAAAgAAAAECAAAAHEF0dGFjaGVkIHBheW1lbnQgaXMgcmVxdWlyZWQDCQEAAAACIT0AAAACCAUAAAADcG10AAAAB2Fzc2V0SWQFAAAAB2Fzc2V0aWQJAAACAAAAAQIAAAA5WW91IG5lZWQgdG8gY2hvb3NlIGV4YWN0IDAuNSBVU0RUIHRvIFNpZ24gVHhuIG5vdCBvdGhlcnMuBAAAAApjdXJyZW50S2V5CQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAABkFtb3VudAQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzBQAAAApjdXJyZW50S2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAAJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgUAAAAJWW91ckVtYWlsBQAAAApjdXJyZW50S2V5CQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgUAAAAJWW91ckVtYWlsAgAAAAdfU3RhdHVzAgAAAApVbnZlcmlmaWVkBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXnVOKsu",
"height": 1404052,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: BjB7yZoYAg9TfxjbpFxcZrWKasTXtAMf3hpTYvf7wScz
Next: AwGGM5Ri6dUnWbKDrhE1S9itYaPStw2WXRjPggyM4LgH
Diff:
Old | New | | Differences |
---|
6 | 6 | | @Callable(a) |
---|
7 | 7 | | func RegisterEmail (b) = { |
---|
8 | 8 | | let c = base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL' |
---|
9 | | - | let d = if ((size(a.payments) == (1 / 2))) |
---|
| 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)) |
---|
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 | | - | let d = if ((size(a.payments) == (1 / 2))) |
---|
| 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 others.") |
---|
14 | 14 | | else { |
---|
15 | 15 | | let e = toBase58String(a.caller.bytes) |
---|
16 | 16 | | let f = { |
---|
17 | 17 | | let g = getInteger(this, e) |
---|
18 | 18 | | if ($isInstanceOf(g, "Int")) |
---|
19 | 19 | | then { |
---|
20 | 20 | | let h = g |
---|
21 | 21 | | h |
---|
22 | 22 | | } |
---|
23 | 23 | | else 0 |
---|
24 | 24 | | } |
---|
25 | 25 | | [StringEntry(b, e), StringEntry((b + "_Status"), "Unverified")] |
---|
26 | 26 | | } |
---|
27 | 27 | | } |
---|
28 | 28 | | |
---|
29 | 29 | | |
---|
30 | 30 | | @Verifier(i) |
---|
31 | 31 | | func j () = { |
---|
32 | 32 | | let g = i |
---|
33 | 33 | | sigVerify(i.bodyBytes, i.proofs[0], i.senderPublicKey) |
---|
34 | 34 | | } |
---|
35 | 35 | | |
---|