tx · DVDdqMX5fqSfVQDGJ2W8nPFMX5CSrkYvgKq9W7ne8JNH 3MpJUfdgwaKfTjJgpGrhDVZJ9KBhaqruj3J: -0.01400000 Waves 2019.08.28 11:52 [650838] smart account 3MpJUfdgwaKfTjJgpGrhDVZJ9KBhaqruj3J > SELF 0.00000000 Waves
{ "type": 13, "id": "DVDdqMX5fqSfVQDGJ2W8nPFMX5CSrkYvgKq9W7ne8JNH", "fee": 1400000, "feeAssetId": null, "timestamp": 1566982418068, "version": 1, "sender": "3MpJUfdgwaKfTjJgpGrhDVZJ9KBhaqruj3J", "senderPublicKey": "EfGZvomWbCwnR6YbgmBF2rduFkMwzVuox5bvYVdaSeFX", "proofs": [ "4pRtgFG8qYGEpAUR8P7sGiDLeDSCGZXvrBg6aqqeUyJCQ3FdrSxTt12nCenmZhyYS61UaxpxNyPXM3V3w896GM8v" ], "script": "base64:AAIDAAAAAAAAAAAAAAAbAAAAAAlzbG90Q291bnQAAAAAAAAAAGQAAAAABnNsb3RzMQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQk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QABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAABXNsb3QxAgAAAAFfBQAAAAVzbG90MgIAAAABXwUAAAAFc2xvdDMJAAEsAAAAAgkAASwAAAACBQAAAAZwbGF5ZXICAAAAAV8FAAAACXRpbWVzdGFtcAUAAAADbmlsCQEAAAALVHJhbnNmZXJTZXQAAAABBQAAAANuaWwJAQAAAAxTY3JpcHRSZXN1bHQAAAACCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAABXNsb3QxAgAAAAFfBQAAAAVzbG90MgIAAAABXwUAAAAFc2xvdDMJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAABG9kZDECAAAAAV8FAAAABG9kZDICAAAAAV8FAAAABG9kZDMCAAAAAV8FAAAABG9kZDQFAAAAA25pbAkBAAAAC1RyYW5zZmVyU2V0AAAAAQUAAAADbmlsAAAAAAKFT04=", "chainId": 84, "height": 650838, "spentComplexity": 0 } View: original | compacted Prev: 4uDQs9CsGVkrygHVEpjXn3RZNFsKQqLdXn1gWcNcE4mN Next: CQbr4cKFz8u9MeSz2D7Wdra6Mky5DUma99UhTHzHa17i Diff:
Old | New | Differences | |
---|---|---|---|
124 | 124 | then (smt3 == 5) | |
125 | 125 | else false) | |
126 | 126 | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((player + "_") + timestamp))]), TransferSet(nil)) | |
127 | - | else ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), (((((( | |
127 | + | else ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((((((odd1 + "_") + odd2) + "_") + odd3) + "_") + odd4))]), TransferSet(nil)) | |
128 | 128 | } | |
129 | 129 | } | |
130 | 130 |
Old | New | Differences | |
---|---|---|---|
1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4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5] | |
11 | 11 | ||
12 | 12 | func getSlot1 (inv) = { | |
13 | 13 | let hash = sha256(((((inv.transactionId + inv.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height))) | |
14 | 14 | let index = toInt(hash) | |
15 | 15 | slots1[(index % slotCount)] | |
16 | 16 | } | |
17 | 17 | ||
18 | 18 | ||
19 | 19 | func getSlot2 (inv) = { | |
20 | 20 | let hash = sha256(((((inv.transactionId + lastBlock.generationSignature) + inv.callerPublicKey) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height))) | |
21 | 21 | let index = toInt(hash) | |
22 | 22 | slots2[(index % slotCount)] | |
23 | 23 | } | |
24 | 24 | ||
25 | 25 | ||
26 | 26 | func getSlot3 (inv) = { | |
27 | 27 | let hash = sha256(((((inv.callerPublicKey + inv.transactionId) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height))) | |
28 | 28 | let index = toInt(hash) | |
29 | 29 | slots3[(index % slotCount)] | |
30 | 30 | } | |
31 | 31 | ||
32 | 32 | ||
33 | 33 | let numbersCount = 37 | |
34 | 34 | ||
35 | 35 | let NUMBERS = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 0] | |
36 | 36 | ||
37 | 37 | let ODD = [1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35] | |
38 | 38 | ||
39 | 39 | let EVEN = [2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36] | |
40 | 40 | ||
41 | 41 | let RED = [1, 3, 5, 7, 9, 12, 14, 16, 18, 19, 21, 23, 25, 27, 30, 32, 34, 36] | |
42 | 42 | ||
43 | 43 | let BLACK = [2, 4, 6, 8, 10, 11, 13, 15, 17, 20, 22, 24, 26, 28, 29, 31, 33, 35] | |
44 | 44 | ||
45 | 45 | let TWOTOR = [3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36] | |
46 | 46 | ||
47 | 47 | let TWOTOM = [2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35] | |
48 | 48 | ||
49 | 49 | let TWOTOL = [1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34] | |
50 | 50 | ||
51 | 51 | let ZERO = [0] | |
52 | 52 | ||
53 | 53 | let ONETOEIGHTEEN = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18] | |
54 | 54 | ||
55 | 55 | let ONETOTWELVE = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12] | |
56 | 56 | ||
57 | 57 | let nineteenthirtysix = [19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36] | |
58 | 58 | ||
59 | 59 | let thirteentwentyfour = [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24] | |
60 | 60 | ||
61 | 61 | let twentyfivethirtysix = [25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36] | |
62 | 62 | ||
63 | 63 | func getNumber (inv) = { | |
64 | 64 | let hash = sha256(((((inv.transactionId + inv.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height))) | |
65 | 65 | let index = toInt(hash) | |
66 | 66 | NUMBERS[(index % numbersCount)] | |
67 | 67 | } | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | let odd1 = toString(ODD[(0 % 18)]) | |
71 | 71 | ||
72 | 72 | let odd2 = toString(ODD[(1 % 18)]) | |
73 | 73 | ||
74 | 74 | let odd3 = toString(ODD[(2 % 18)]) | |
75 | 75 | ||
76 | 76 | let odd4 = toString(ODD[(3 % 18)]) | |
77 | 77 | ||
78 | 78 | @Callable(inv) | |
79 | 79 | func spin () = { | |
80 | 80 | let MaxBet = (wavesBalance(this) / 35) | |
81 | 81 | let payment = extract(inv.payment) | |
82 | 82 | let slot1 = toString(getSlot1(inv)) | |
83 | 83 | let slot2 = toString(getSlot2(inv)) | |
84 | 84 | let slot3 = toString(getSlot3(inv)) | |
85 | 85 | let smt1 = getSlot1(inv) | |
86 | 86 | let smt2 = getSlot2(inv) | |
87 | 87 | let smt3 = getSlot3(inv) | |
88 | 88 | if (!(isDefined(inv.payment))) | |
89 | 89 | then throw("Should be with Payment in Waves") | |
90 | 90 | else if (isDefined(payment.assetId)) | |
91 | 91 | then throw("Payment should be in Waves") | |
92 | 92 | else if ((payment.amount > MaxBet)) | |
93 | 93 | then throw(("Payment should be less than " + toString(MaxBet))) | |
94 | 94 | else { | |
95 | 95 | let player = toBase58String(inv.caller.bytes) | |
96 | 96 | let timestamp = toString(lastBlock.timestamp) | |
97 | 97 | if (if (if ((smt1 == 1)) | |
98 | 98 | then (smt2 == 1) | |
99 | 99 | else false) | |
100 | 100 | then (smt3 == 1) | |
101 | 101 | else false) | |
102 | 102 | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((player + "_") + timestamp))]), TransferSet(nil)) | |
103 | 103 | else if (if (if ((smt1 == 2)) | |
104 | 104 | then (smt2 == 2) | |
105 | 105 | else false) | |
106 | 106 | then (smt3 == 2) | |
107 | 107 | else false) | |
108 | 108 | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((player + "_") + timestamp))]), TransferSet(nil)) | |
109 | 109 | else if (if (if ((smt1 == 3)) | |
110 | 110 | then (smt2 == 3) | |
111 | 111 | else false) | |
112 | 112 | then (smt3 == 3) | |
113 | 113 | else false) | |
114 | 114 | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((player + "_") + timestamp))]), TransferSet(nil)) | |
115 | 115 | else if (if (if ((smt1 == 4)) | |
116 | 116 | then (smt2 == 4) | |
117 | 117 | else false) | |
118 | 118 | then (smt3 == 4) | |
119 | 119 | else false) | |
120 | 120 | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((player + "_") + timestamp))]), TransferSet(nil)) | |
121 | 121 | else if (if (if ((smt1 == 5)) | |
122 | 122 | then (smt2 == 5) | |
123 | 123 | else false) | |
124 | 124 | then (smt3 == 5) | |
125 | 125 | else false) | |
126 | 126 | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((player + "_") + timestamp))]), TransferSet(nil)) | |
127 | - | else ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), (((((( | |
127 | + | else ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((((((odd1 + "_") + odd2) + "_") + odd3) + "_") + odd4))]), TransferSet(nil)) | |
128 | 128 | } | |
129 | 129 | } | |
130 | 130 | ||
131 | 131 |
github/deemru/w8io/026f985 54.37 ms ◑