tx · 8JNG5aMybu5EbN6wHHUTFwLFcwnRNKzNqPyEYPs7DtsJ 3N17A1zqJZ1R2dZtMvyChQwSzepRZ1d98t9: -0.01400000 Waves 2019.07.29 18:47 [607577] smart account 3N17A1zqJZ1R2dZtMvyChQwSzepRZ1d98t9 > SELF 0.00000000 Waves
{ "type": 13, "id": "8JNG5aMybu5EbN6wHHUTFwLFcwnRNKzNqPyEYPs7DtsJ", "fee": 1400000, "feeAssetId": null, "timestamp": 1564415241442, "version": 1, "sender": "3N17A1zqJZ1R2dZtMvyChQwSzepRZ1d98t9", "senderPublicKey": "AXt3aNDevk6MRY2RVvB3HzC5FgWDoMFZ4EuW9kHN9VpW", "proofs": [ "3QMgWYfhqjYitCPEvwaoMZcG6XLhrXMseVytyHc2s9nRnaJ2DNaXeg4Hhf2sfg75fs8KZQdGhj7RCYDG5PemniSv" ], "script": "base64:AAIDAAAAAAAAAAAAAAAAAAAAAQAAAANpbnYBAAAACXBsYXliaW5nbwAAAAIAAAAGdGlja2V0AAAABXJlZmVyBAAAAAtudW1iZXJyb3VuZAQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzAgAAAA1udW1iZXJvZnJvdW5kAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAEEAAAABHVzZXIJAAQlAAAAAQgFAAAAA2ludgAAAAZjYWxsZXIEAAAAB2lzcmVmZXIEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwkAASwAAAACBQAAAAR1c2VyAgAAAARfcmVmAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWECAAAAAAQAAAAIc2V0cmVmZXIDCQAAAAAAAAIFAAAAB2lzcmVmZXICAAAAAAkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgUAAAAEdXNlcgIAAAAEX3JlZgUAAAAFcmVmZXI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AETAAAAAIFAAAACW5leHRyb3VuZAUAAAADbmlsCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAABBjdXJyZW50a2V5dGlja2V0BQAAAAZ0aWNrZXQJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAAC3RpY2tldGNvdW50BQAAAA5uZXdUaWNrZXRjb3VudAkABEwAAAACBQAAAAhzZXRyZWZlcgkABEwAAAACBQAAAAluZXh0cm91bmQFAAAAA25pbAAAAADe/dJZ", "chainId": 84, "height": 607577, "spentComplexity": 0 } View: original | compacted Prev: 69mPwmhcNQ7yrdPBteCGAjZVYQ3cGA7vFfZL6ShtDEGt Next: 297jcJw6PCXqJF4M7MmdgTi4Sr4feagrCxe6QUreoXT3 Diff:
Old | New | Differences | |
---|---|---|---|
38 | 38 | } | |
39 | 39 | let k = (j + 1) | |
40 | 40 | let l = ((((("ticket_" + toString(d)) + "_") + toString(k)) + "_") + g) | |
41 | - | let m = if ((k == | |
41 | + | let m = if ((k == 25)) | |
42 | 42 | then DataEntry("numberofround", (d + 1)) | |
43 | - | else | |
43 | + | else DataEntry("numberofround", d) | |
44 | 44 | if ((d == 1)) | |
45 | - | then WriteSet([DataEntry("numberofround", d), DataEntry(l, b), DataEntry("ticketcount", k), i]) | |
46 | - | else WriteSet([DataEntry(l, b), DataEntry("ticketcount", k), i]) | |
45 | + | then WriteSet([DataEntry("numberofround", d), DataEntry(l, b), DataEntry("ticketcount", k), i, m]) | |
46 | + | else WriteSet([DataEntry(l, b), DataEntry("ticketcount", k), i, m]) | |
47 | 47 | } | |
48 | 48 | ||
49 | 49 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(a) | |
7 | 7 | func playbingo (b,c) = { | |
8 | 8 | let d = { | |
9 | 9 | let e = getInteger(this, "numberofround") | |
10 | 10 | if ($isInstanceOf(e, "Int")) | |
11 | 11 | then { | |
12 | 12 | let f = e | |
13 | 13 | f | |
14 | 14 | } | |
15 | 15 | else 1 | |
16 | 16 | } | |
17 | 17 | let g = toString(a.caller) | |
18 | 18 | let h = { | |
19 | 19 | let e = getString(this, (g + "_ref")) | |
20 | 20 | if ($isInstanceOf(e, "String")) | |
21 | 21 | then { | |
22 | 22 | let f = e | |
23 | 23 | f | |
24 | 24 | } | |
25 | 25 | else "" | |
26 | 26 | } | |
27 | 27 | let i = if ((h == "")) | |
28 | 28 | then DataEntry((g + "_ref"), c) | |
29 | 29 | else DataEntry((g + "_ref"), h) | |
30 | 30 | let j = { | |
31 | 31 | let e = getInteger(this, "ticketcount") | |
32 | 32 | if ($isInstanceOf(e, "Int")) | |
33 | 33 | then { | |
34 | 34 | let f = e | |
35 | 35 | f | |
36 | 36 | } | |
37 | 37 | else 0 | |
38 | 38 | } | |
39 | 39 | let k = (j + 1) | |
40 | 40 | let l = ((((("ticket_" + toString(d)) + "_") + toString(k)) + "_") + g) | |
41 | - | let m = if ((k == | |
41 | + | let m = if ((k == 25)) | |
42 | 42 | then DataEntry("numberofround", (d + 1)) | |
43 | - | else | |
43 | + | else DataEntry("numberofround", d) | |
44 | 44 | if ((d == 1)) | |
45 | - | then WriteSet([DataEntry("numberofround", d), DataEntry(l, b), DataEntry("ticketcount", k), i]) | |
46 | - | else WriteSet([DataEntry(l, b), DataEntry("ticketcount", k), i]) | |
45 | + | then WriteSet([DataEntry("numberofround", d), DataEntry(l, b), DataEntry("ticketcount", k), i, m]) | |
46 | + | else WriteSet([DataEntry(l, b), DataEntry("ticketcount", k), i, m]) | |
47 | 47 | } | |
48 | 48 | ||
49 | 49 |
github/deemru/w8io/026f985 19.66 ms ◑