tx · GAAjPcc3HxXnaFMFQ3wCftfYXQnfRsRuhi4hRKvpRAMu
3N17A1zqJZ1R2dZtMvyChQwSzepRZ1d98t9: -0.01400000 Waves
2019.07.28 12:25 [605722] smart account 3N17A1zqJZ1R2dZtMvyChQwSzepRZ1d98t9 > SELF 0.00000000 Waves
{
"type": 13,
"id": "GAAjPcc3HxXnaFMFQ3wCftfYXQnfRsRuhi4hRKvpRAMu",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1564306009503,
"version": 1,
"sender": "3N17A1zqJZ1R2dZtMvyChQwSzepRZ1d98t9",
"senderPublicKey": "AXt3aNDevk6MRY2RVvB3HzC5FgWDoMFZ4EuW9kHN9VpW",
"proofs": [
"355oWu5gQnSJepi9itsErbKnwhqvJGmUNG7uK3th6KPHEgqhLnAisnCersA1K1z35kef6HsuunmBLex64oRTrmRV"
],
"script": "base64:AAIDAAAAAAAAAAAAAAAAAAAAAQAAAANpbnYBAAAACXBsYXliaW5nbwAAAAEAAAAGdGlja2V0BAAAAAtudW1iZXJyb3VuZAQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzAgAAAA1udW1iZXJvZnJvdW5kAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAEEAAAABHVzZXIJAAQlAAAAAQgFAAAAA2ludgAAAAZjYWxsZXIEAAAAEmN1cnJlbnRUaWNrZXRjb3VudAQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzAgAAAAt0aWNrZXRjb3VudAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAAAAAAAAAAAABAAAAA5uZXdUaWNrZXRjb3VudAkAAGQAAAACBQAAABJjdXJyZW50VGlja2V0Y291bnQAAAAAAAAAAAEEAAAAEGN1cnJlbnRrZXl0aWNrZXQJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAd0aWNrZXRfCQABpAAAAAEFAAAAC251bWJlcnJvdW5kAgAAAAFfCQABpAAAAAEFAAAADm5ld1RpY2tldGNvdW50AgAAAAFfBQAAAAR1c2VyCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAABBjdXJyZW50a2V5dGlja2V0BQAAAAZ0aWNrZXQFAAAAA25pbAAAAAAIYkkf",
"chainId": 84,
"height": 605722,
"spentComplexity": 0
}
View: original | compacted
Prev: jwwxb5UZv3Z2UABc9de2aZeFQW5fgGbftuqxhSFGKLU
Next: 9pLqcESdXfiT9Gg7TkarSWfURp5bMq2NnpE5srBiYqQF
Diff:
Old | New | | Differences |
---|
9 | 9 | | case a: Int => |
---|
10 | 10 | | a |
---|
11 | 11 | | case _ => |
---|
12 | | - | 0 |
---|
| 12 | + | 1 |
---|
13 | 13 | | } |
---|
14 | | - | let newnumberround = (numberround + 1) |
---|
15 | 14 | | let user = toString(inv.caller) |
---|
16 | 15 | | let currentTicketcount = match getInteger(this, "ticketcount") { |
---|
17 | 16 | | case a: Int => |
---|
|
20 | 19 | | 0 |
---|
21 | 20 | | } |
---|
22 | 21 | | let newTicketcount = (currentTicketcount + 1) |
---|
23 | | - | let currentkeyticket = ((((("ticket_" + toString(newnumberround)) + "_") + toString(newTicketcount)) + "_") + user) |
---|
| 22 | + | let currentkeyticket = ((((("ticket_" + toString(numberround)) + "_") + toString(newTicketcount)) + "_") + user) |
---|
24 | 23 | | WriteSet([DataEntry(currentkeyticket, ticket)]) |
---|
25 | 24 | | } |
---|
26 | 25 | | |
---|
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(inv) |
---|
7 | 7 | | func playbingo (ticket) = { |
---|
8 | 8 | | let numberround = match getInteger(this, "numberofround") { |
---|
9 | 9 | | case a: Int => |
---|
10 | 10 | | a |
---|
11 | 11 | | case _ => |
---|
12 | | - | 0 |
---|
| 12 | + | 1 |
---|
13 | 13 | | } |
---|
14 | | - | let newnumberround = (numberround + 1) |
---|
15 | 14 | | let user = toString(inv.caller) |
---|
16 | 15 | | let currentTicketcount = match getInteger(this, "ticketcount") { |
---|
17 | 16 | | case a: Int => |
---|
18 | 17 | | a |
---|
19 | 18 | | case _ => |
---|
20 | 19 | | 0 |
---|
21 | 20 | | } |
---|
22 | 21 | | let newTicketcount = (currentTicketcount + 1) |
---|
23 | | - | let currentkeyticket = ((((("ticket_" + toString(newnumberround)) + "_") + toString(newTicketcount)) + "_") + user) |
---|
| 22 | + | let currentkeyticket = ((((("ticket_" + toString(numberround)) + "_") + toString(newTicketcount)) + "_") + user) |
---|
24 | 23 | | WriteSet([DataEntry(currentkeyticket, ticket)]) |
---|
25 | 24 | | } |
---|
26 | 25 | | |
---|
27 | 26 | | |
---|