tx · 24ynjs2tb1jNfmHeLQ4wLWyZGDMsTocyz3oHFLdpjBmK
3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe: -0.01400000 Waves
2021.02.18 22:59 [1404032] smart account 3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe > SELF 0.00000000 Waves
{
"type": 13,
"id": "24ynjs2tb1jNfmHeLQ4wLWyZGDMsTocyz3oHFLdpjBmK",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1613678373606,
"version": 2,
"chainId": 84,
"sender": "3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe",
"senderPublicKey": "8QFH4kvTaVWhAPErMqKKRzRhYtv7egJFn1UpMdj8pMf3",
"proofs": [
"3LLjbBaDnqhjmSzbJoxxJ76P5mNgCsQaeoyywcvh9hzeQDFcKzMs92PPbsYueivQnik4j9BBKsC5NZBbqiwd3NM3"
],
"script": "base64:AAIEAAAAAAAAAAgIAhIECgIIAQAAAAAAAAABAAAAAWkBAAAADVJlZ2lzdGVyRW1haWwAAAACAAAACVlvdXJFbWFpbAAAAAZhbW91bnQEAAAAA3BtdAkBAAAABXZhbHVlAAAAAQkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAQAAAAHYXNzZXRpZAEAAAAgHpQHE1J2oSWV/chhqIJfEH/fOk8pu/yaRj9a/TZPn5EDAwkBAAAAAiE9AAAAAggFAAAAA3BtdAAAAAdhc3NldElkBQAAAAdhc3NldGlkCQEAAAACIT0AAAACBQAAAAZhbW91bnQJAABpAAAAAgAAAAAAAAAAAQAAAAAAAAAAAgcJAAACAAAAAQIAAAA5WW91IG5lZWQgdG8gY2hvb3NlIGV4YWN0IDAuNSBVU0RUIHRvIFNpZ24gVHhuIG5vdCBvdGhlcnMuBAAAAApjdXJyZW50S2V5CQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAABkFtb3VudAQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzBQAAAApjdXJyZW50S2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAAJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgUAAAAJWW91ckVtYWlsBQAAAApjdXJyZW50S2V5CQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgUAAAAJWW91ckVtYWlsAgAAAAdfU3RhdHVzAgAAAApVbnZlcmlmaWVkBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXlGLeaY",
"height": 1404032,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: Fh7HFnnkMBr1Hr7q4PXjAqwH8K4rohkmWZmJikaFHufv
Next: BeodziBFtCB11awHdiUC9Mag5ixfpbs9ppUaMZKg7t7F
Diff:
Old | New | | Differences |
---|
14 | 14 | | else { |
---|
15 | 15 | | let f = toBase58String(a.caller.bytes) |
---|
16 | 16 | | let g = { |
---|
17 | | - | let h = getString(this, f) |
---|
18 | | - | if ($isInstanceOf(h, "String")) |
---|
| 17 | + | let h = getInteger(this, f) |
---|
| 18 | + | if ($isInstanceOf(h, "Int")) |
---|
19 | 19 | | then { |
---|
20 | 20 | | let i = h |
---|
21 | 21 | | i |
---|
22 | 22 | | } |
---|
23 | | - | else "NONE" |
---|
| 23 | + | else 0 |
---|
24 | 24 | | } |
---|
25 | 25 | | [StringEntry(b, f), StringEntry((b + "_Status"), "Unverified")] |
---|
26 | 26 | | } |
---|
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,c) = { |
---|
8 | 8 | | let d = value(a.payments[0]) |
---|
9 | 9 | | let e = base58'34N9YcEETLWn93qYQ64EsP1x89tSruJU44RrEMSXXEPJ' |
---|
10 | 10 | | if (if ((d.assetId != e)) |
---|
11 | 11 | | then (c != (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 f = toBase58String(a.caller.bytes) |
---|
16 | 16 | | let g = { |
---|
17 | | - | let h = getString(this, f) |
---|
18 | | - | if ($isInstanceOf(h, "String")) |
---|
| 17 | + | let h = getInteger(this, f) |
---|
| 18 | + | if ($isInstanceOf(h, "Int")) |
---|
19 | 19 | | then { |
---|
20 | 20 | | let i = h |
---|
21 | 21 | | i |
---|
22 | 22 | | } |
---|
23 | | - | else "NONE" |
---|
| 23 | + | else 0 |
---|
24 | 24 | | } |
---|
25 | 25 | | [StringEntry(b, f), StringEntry((b + "_Status"), "Unverified")] |
---|
26 | 26 | | } |
---|
27 | 27 | | } |
---|
28 | 28 | | |
---|
29 | 29 | | |
---|
30 | 30 | | @Verifier(j) |
---|
31 | 31 | | func k () = { |
---|
32 | 32 | | let h = j |
---|
33 | 33 | | sigVerify(j.bodyBytes, j.proofs[0], j.senderPublicKey) |
---|
34 | 34 | | } |
---|
35 | 35 | | |
---|