tx · 553qFfA9iJDos8NLZKyFmhhQrBi9455JNsmQJ7GV4joh

3N17A1zqJZ1R2dZtMvyChQwSzepRZ1d98t9:  -0.01400000 Waves

2019.07.28 13:49 [605809] smart account 3N17A1zqJZ1R2dZtMvyChQwSzepRZ1d98t9 > SELF 0.00000000 Waves

{ "type": 13, "id": "553qFfA9iJDos8NLZKyFmhhQrBi9455JNsmQJ7GV4joh", "fee": 1400000, "feeAssetId": null, "timestamp": 1564310886626, "version": 1, "sender": "3N17A1zqJZ1R2dZtMvyChQwSzepRZ1d98t9", "senderPublicKey": "AXt3aNDevk6MRY2RVvB3HzC5FgWDoMFZ4EuW9kHN9VpW", "proofs": [ "3rskNQjp4MwcYJfs3N7WLoWBaxpAcR5P6aZKg2A9QjrwpYJaTJhmxJHxBkongvPUUDZctMijeefZN4boTi9KuxDN" ], "script": "base64:AAIDAAAAAAAAAAAAAAAAAAAAAQAAAANpbnYBAAAACXBsYXliaW5nbwAAAAEAAAAGdGlja2V0BAAAAAtudW1iZXJyb3VuZAQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzAgAAAA1udW1iZXJvZnJvdW5kAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAEEAAAABHVzZXIJAAQlAAAAAQgFAAAAA2ludgAAAAZjYWxsZXIEAAAAEmN1cnJlbnRUaWNrZXRjb3VudAQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzAgAAAAt0aWNrZXRjb3VudAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAAAAAAAAAAAABAAAAA5uZXdUaWNrZXRjb3VudAkAAGQAAAACBQAAABJjdXJyZW50VGlja2V0Y291bnQAAAAAAAAAAAEEAAAAEGN1cnJlbnRrZXl0aWNrZXQJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAd0aWNrZXRfCQABpAAAAAEFAAAAC251bWJlcnJvdW5kAgAAAAFfCQABpAAAAAEFAAAADm5ld1RpY2tldGNvdW50AgAAAAFfBQAAAAR1c2VyAwkAAAAAAAACBQAAAAtudW1iZXJyb3VuZAAAAAAAAAAAAQkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAANbnVtYmVyb2Zyb3VuZAUAAAALbnVtYmVycm91bmQJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAAEGN1cnJlbnRrZXl0aWNrZXQFAAAABnRpY2tldAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAALdGlja2V0Y291bnQFAAAADm5ld1RpY2tldGNvdW50BQAAAANuaWwJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAAEGN1cnJlbnRrZXl0aWNrZXQFAAAABnRpY2tldAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAALdGlja2V0Y291bnQFAAAADm5ld1RpY2tldGNvdW50BQAAAANuaWwAAAAA1XSFzw==", "chainId": 84, "height": 605809, "spentComplexity": 0 } View: original | compacted Prev: 8B5gyE4XwtEsrQkbkryEdrt2vMfhyP6YncBNz4KKfkqS Next: 6KKnDV185c562yGspG9VmBWwKTWrebBnt1KzGhVhaRcd Diff:
OldNewDifferences
2626 }
2727 let h = (g + 1)
2828 let i = ((((("ticket_" + toString(c)) + "_") + toString(h)) + "_") + f)
29- if ((c == 0))
29+ if ((c == 1))
3030 then WriteSet([DataEntry("numberofround", c), DataEntry(i, b), DataEntry("ticketcount", h)])
3131 else WriteSet([DataEntry(i, b), DataEntry("ticketcount", h)])
3232 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func playbingo (b) = {
88 let c = {
99 let d = getInteger(this, "numberofround")
1010 if ($isInstanceOf(d, "Int"))
1111 then {
1212 let e = d
1313 e
1414 }
1515 else 1
1616 }
1717 let f = toString(a.caller)
1818 let g = {
1919 let d = getInteger(this, "ticketcount")
2020 if ($isInstanceOf(d, "Int"))
2121 then {
2222 let e = d
2323 e
2424 }
2525 else 0
2626 }
2727 let h = (g + 1)
2828 let i = ((((("ticket_" + toString(c)) + "_") + toString(h)) + "_") + f)
29- if ((c == 0))
29+ if ((c == 1))
3030 then WriteSet([DataEntry("numberofround", c), DataEntry(i, b), DataEntry("ticketcount", h)])
3131 else WriteSet([DataEntry(i, b), DataEntry("ticketcount", h)])
3232 }
3333
3434

github/deemru/w8io/169f3d6 
39.91 ms