tx · BVLwd5hnBVtxd9z9GfqAd9YfJhZSCirH3SGTbtHBBCdc
3N17A1zqJZ1R2dZtMvyChQwSzepRZ1d98t9: -0.01400000 Waves
2019.07.29 13:45 [607261] smart account 3N17A1zqJZ1R2dZtMvyChQwSzepRZ1d98t9 > SELF 0.00000000 Waves
{
"type": 13,
"id": "BVLwd5hnBVtxd9z9GfqAd9YfJhZSCirH3SGTbtHBBCdc",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1564397218945,
"version": 1,
"sender": "3N17A1zqJZ1R2dZtMvyChQwSzepRZ1d98t9",
"senderPublicKey": "AXt3aNDevk6MRY2RVvB3HzC5FgWDoMFZ4EuW9kHN9VpW",
"proofs": [
"nn5YFBNWjomRD1V95h88HHHYdLwuyRbW2tKik5eUxVZHEk6yZoC9gWQaWdoDTaEfKvA6QrPvdvK79GKpQTAeXP3"
],
"script": "base64:AAIDAAAAAAAAAAAAAAAAAAAAAQAAAANpbnYBAAAACXBsYXliaW5nbwAAAAIAAAAGdGlja2V0AAAABXJlZmVyBAAAAAtudW1iZXJyb3VuZAQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzAgAAAA1udW1iZXJvZnJvdW5kAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAEEAAAABHVzZXIJAAQlAAAAAQgFAAAAA2ludgAAAAZjYWxsZXIEAAAACHNldHJlZmVyCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACBQAAAAR1c2VyAgAAAARfcmVmBQAAAAVyZWZlcgQAAAASY3VycmVudFRpY2tldGNvdW50BAAAAAckbWF0Y2gwCQAEGgAAAAIFAAAABHRoaXMCAAAAC3RpY2tldGNvdW50AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAAEAAAADm5ld1RpY2tldGNvdW50CQAAZAAAAAIFAAAAEmN1cnJlbnRUaWNrZXRjb3VudAAAAAAAAAAAAQQAAAAQY3VycmVudGtleXRpY2tldAkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAAB3RpY2tldF8JAAGkAAAAAQUAAAALbnVtYmVycm91bmQCAAAAAV8JAAGkAAAAAQUAAAAObmV3VGlja2V0Y291bnQCAAAAAV8FAAAABHVzZXIDCQAAAAAAAAIFAAAAC251bWJlcnJvdW5kAAAAAAAAAAABCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACAgAAAA1udW1iZXJvZnJvdW5kBQAAAAtudW1iZXJyb3VuZAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAAQY3VycmVudGtleXRpY2tldAUAAAAGdGlja2V0CQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACAgAAAAt0aWNrZXRjb3VudAUAAAAObmV3VGlja2V0Y291bnQJAARMAAAAAgUAAAAIc2V0cmVmZXIFAAAAA25pbAkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAAQY3VycmVudGtleXRpY2tldAUAAAAGdGlja2V0CQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACAgAAAAt0aWNrZXRjb3VudAUAAAAObmV3VGlja2V0Y291bnQJAARMAAAAAgUAAAAIc2V0cmVmZXIFAAAAA25pbAAAAAAFYg4s",
"chainId": 84,
"height": 607261,
"spentComplexity": 0
}
View: original | compacted
Prev: 8HkohJJ5Xywe992GABsJVsgHqvs8YUpy93PUZZCM9yDS
Next: A8HZAQX2WVDVxwSBZwzhLxbL3kw3DWPPe9gHAoa2MVQt
Diff:
Old | New | | Differences |
---|
28 | 28 | | let j = (i + 1) |
---|
29 | 29 | | let k = ((((("ticket_" + toString(d)) + "_") + toString(j)) + "_") + g) |
---|
30 | 30 | | if ((d == 1)) |
---|
31 | | - | then WriteSet([DataEntry("numberofround", d), DataEntry(k, b), DataEntry("ticketcount", j)]) |
---|
| 31 | + | then WriteSet([DataEntry("numberofround", d), DataEntry(k, b), DataEntry("ticketcount", j), h]) |
---|
32 | 32 | | else WriteSet([DataEntry(k, b), DataEntry("ticketcount", j), h]) |
---|
33 | 33 | | } |
---|
34 | 34 | | |
---|
Full:
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 = DataEntry((g + "_ref"), c) |
---|
19 | 19 | | let i = { |
---|
20 | 20 | | let e = getInteger(this, "ticketcount") |
---|
21 | 21 | | if ($isInstanceOf(e, "Int")) |
---|
22 | 22 | | then { |
---|
23 | 23 | | let f = e |
---|
24 | 24 | | f |
---|
25 | 25 | | } |
---|
26 | 26 | | else 0 |
---|
27 | 27 | | } |
---|
28 | 28 | | let j = (i + 1) |
---|
29 | 29 | | let k = ((((("ticket_" + toString(d)) + "_") + toString(j)) + "_") + g) |
---|
30 | 30 | | if ((d == 1)) |
---|
31 | | - | then WriteSet([DataEntry("numberofround", d), DataEntry(k, b), DataEntry("ticketcount", j)]) |
---|
| 31 | + | then WriteSet([DataEntry("numberofround", d), DataEntry(k, b), DataEntry("ticketcount", j), h]) |
---|
32 | 32 | | else WriteSet([DataEntry(k, b), DataEntry("ticketcount", j), h]) |
---|
33 | 33 | | } |
---|
34 | 34 | | |
---|
35 | 35 | | |
---|