tx · 69mPwmhcNQ7yrdPBteCGAjZVYQ3cGA7vFfZL6ShtDEGt

3N17A1zqJZ1R2dZtMvyChQwSzepRZ1d98t9:  -0.01400000 Waves

2019.07.29 18:44 [607574] smart account 3N17A1zqJZ1R2dZtMvyChQwSzepRZ1d98t9 > SELF 0.00000000 Waves

{ "type": 13, "id": "69mPwmhcNQ7yrdPBteCGAjZVYQ3cGA7vFfZL6ShtDEGt", "fee": 1400000, "feeAssetId": null, "timestamp": 1564415073978, "version": 1, "sender": "3N17A1zqJZ1R2dZtMvyChQwSzepRZ1d98t9", "senderPublicKey": "AXt3aNDevk6MRY2RVvB3HzC5FgWDoMFZ4EuW9kHN9VpW", "proofs": [ "9oF5gBLUNwQGUhMnkRmmcpG4AnFkmXCGvozUzVQGqnr7WjPeLNnjbAbwSMearmsDXZVyAMBqSVYDHnPhfpEowxU" ], "script": "base64:AAIDAAAAAAAAAAAAAAAAAAAAAQAAAANpbnYBAAAACXBsYXliaW5nbwAAAAIAAAAGdGlja2V0AAAABXJlZmVyBAAAAAtudW1iZXJyb3VuZAQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzAgAAAA1udW1iZXJvZnJvdW5kAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAEEAAAABHVzZXIJAAQlAAAAAQgFAAAAA2ludgAAAAZjYWxsZXIEAAAAB2lzcmVmZXIEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwkAASwAAAACBQAAAAR1c2VyAgAAAARfcmVmAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWECAAAAAAQAAAAIc2V0cmVmZXIDCQAAAAAAAAIFAAAAB2lzcmVmZXICAAAAAAkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgUAAAAEdXNlcgIAAAAEX3JlZgUAAAAFcmVmZXI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bnRyeQAAAAIFAAAAEGN1cnJlbnRrZXl0aWNrZXQFAAAABnRpY2tldAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAALdGlja2V0Y291bnQFAAAADm5ld1RpY2tldGNvdW50CQAETAAAAAIFAAAACHNldHJlZmVyBQAAAANuaWwAAAAARzsFzQ==", "chainId": 84, "height": 607574, "spentComplexity": 0 } View: original | compacted Prev: A8HZAQX2WVDVxwSBZwzhLxbL3kw3DWPPe9gHAoa2MVQt Next: 8JNG5aMybu5EbN6wHHUTFwLFcwnRNKzNqPyEYPs7DtsJ Diff:
OldNewDifferences
3838 }
3939 let k = (j + 1)
4040 let l = ((((("ticket_" + toString(d)) + "_") + toString(k)) + "_") + g)
41+ let m = if ((k == 20))
42+ then DataEntry("numberofround", (d + 1))
43+ else nil
4144 if ((d == 1))
4245 then WriteSet([DataEntry("numberofround", d), DataEntry(l, b), DataEntry("ticketcount", k), i])
4346 else WriteSet([DataEntry(l, b), DataEntry("ticketcount", k), i])
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func playbingo (b,c) = {
88 let d = {
99 let e = getInteger(this, "numberofround")
1010 if ($isInstanceOf(e, "Int"))
1111 then {
1212 let f = e
1313 f
1414 }
1515 else 1
1616 }
1717 let g = toString(a.caller)
1818 let h = {
1919 let e = getString(this, (g + "_ref"))
2020 if ($isInstanceOf(e, "String"))
2121 then {
2222 let f = e
2323 f
2424 }
2525 else ""
2626 }
2727 let i = if ((h == ""))
2828 then DataEntry((g + "_ref"), c)
2929 else DataEntry((g + "_ref"), h)
3030 let j = {
3131 let e = getInteger(this, "ticketcount")
3232 if ($isInstanceOf(e, "Int"))
3333 then {
3434 let f = e
3535 f
3636 }
3737 else 0
3838 }
3939 let k = (j + 1)
4040 let l = ((((("ticket_" + toString(d)) + "_") + toString(k)) + "_") + g)
41+ let m = if ((k == 20))
42+ then DataEntry("numberofround", (d + 1))
43+ else nil
4144 if ((d == 1))
4245 then WriteSet([DataEntry("numberofround", d), DataEntry(l, b), DataEntry("ticketcount", k), i])
4346 else WriteSet([DataEntry(l, b), DataEntry("ticketcount", k), i])
4447 }
4548
4649

github/deemru/w8io/169f3d6 
31.97 ms