tx · HsDAiJgPL58yzCoiDFqjH4Hn2MYZVXkAb1E3azxakVnL

3MpJUfdgwaKfTjJgpGrhDVZJ9KBhaqruj3J:  -0.01400000 Waves

2019.08.28 11:27 [650810] smart account 3MpJUfdgwaKfTjJgpGrhDVZJ9KBhaqruj3J > SELF 0.00000000 Waves

{ "type": 13, "id": "HsDAiJgPL58yzCoiDFqjH4Hn2MYZVXkAb1E3azxakVnL", "fee": 1400000, "feeAssetId": null, "timestamp": 1566980887535, "version": 1, "sender": "3MpJUfdgwaKfTjJgpGrhDVZJ9KBhaqruj3J", "senderPublicKey": "EfGZvomWbCwnR6YbgmBF2rduFkMwzVuox5bvYVdaSeFX", "proofs": [ "4mqSEwzZQA22p8wvKVNWVvfv5cRV6A1mdr2oZpYJ4NGBzaYU2a2uRw2kKFaUhqLDBmtesNRcr5nCmAw1dKzpy3zA" ], "script": "base64:AAIDAAAAAAAAAAAAAAAYAAAAAAlzbG90Q291bnQAAAAAAAAAAGQAAAAABnNsb3RzMQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABE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UAAAADbmlsCQEAAAALVHJhbnNmZXJTZXQAAAABBQAAAANuaWwJAQAAAAxTY3JpcHRSZXN1bHQAAAACCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAABXNsb3QxAgAAAAFfBQAAAAVzbG90MgIAAAABXwUAAAAFc2xvdDMJAQAAAAxnZXRWYXJpYXRpb24AAAABBQAAAANpbnYFAAAAA25pbAkBAAAAC1RyYW5zZmVyU2V0AAAAAQUAAAADbmlsAAAAAPQ39zw=", "chainId": 84, "height": 650810, "spentComplexity": 0 } View: original | compacted Prev: Dq69WH31LienpYNvHYCTB8WKhkPKRXFiXbAKkd1Cj3hZ Next: CxSaLxaKvxgna1PzLRtFD9Mb2ANpfPSdCAtqj1r3s5GZ Diff:
OldNewDifferences
88 let slots2 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5]
99
1010 let slots3 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5]
11-
12-func randomizer (inv) = {
13- let rand = ((((inv.transactionId + inv.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height))
14- sha256(rand)
15- }
16-
1711
1812 func getSlot1 (inv) = {
1913 let hash = sha256(((((inv.transactionId + inv.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height)))
3630 }
3731
3832
33+let numbersCount = 37
34+
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+
37+let ODD = [1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35]
38+
39+let EVEN = [2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36]
40+
41+let RED = [1, 3, 5, 7, 9, 12, 14, 16, 18, 19, 21, 23, 25, 27, 30, 32, 34, 36]
42+
43+let BLACK = [2, 4, 6, 8, 10, 11, 13, 15, 17, 20, 22, 24, 26, 28, 29, 31, 33, 35]
44+
45+let TWOTOR = [3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36]
46+
47+let TWOTOM = [2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35]
48+
49+let TWOTOL = [1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34]
50+
51+let ZERO = [0]
52+
53+let ONETOEIGHTEEN = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18]
54+
55+let ONETOTWELVE = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
56+
57+let nineteenthirtysix = [19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36]
58+
59+let thirteentwentyfour = [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24]
60+
61+let twentyfivethirtysix = [25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36]
62+
63+func getNumber (inv) = {
64+ let hash = sha256(((((inv.transactionId + inv.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height)))
65+ let index = toInt(hash)
66+NUMBERS[(index % numbersCount)]
67+ }
68+
69+
70+func getVariation (inv) = {
71+ let index = 0
72+ODD[(index % numbersCount)]
73+ }
74+
75+
3976 @Callable(inv)
4077 func spin (obb,ddd,zzz) = {
4178 let MaxBet = (wavesBalance(this) / 35)
5491 then throw(("Payment should be less than " + toString(MaxBet)))
5592 else {
5693 let player = toBase58String(inv.caller.bytes)
57- let randhash = randomizer(inv)
5894 let timestamp = toString(lastBlock.timestamp)
5995 if (if (if ((smt1 == 1))
6096 then (smt2 == 1)
86122 then (smt3 == 5)
87123 else false)
88124 then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((player + "_") + timestamp))]), TransferSet(nil))
89- else ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((ddd + obb) + zzz))]), TransferSet(nil))
125+ else ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), getVariation(inv))]), TransferSet(nil))
90126 }
91127 }
92128
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let slotCount = 100
55
66 let slots1 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 5, 5, 5]
77
88 let slots2 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5]
99
1010 let slots3 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5]
11-
12-func randomizer (inv) = {
13- let rand = ((((inv.transactionId + inv.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height))
14- sha256(rand)
15- }
16-
1711
1812 func getSlot1 (inv) = {
1913 let hash = sha256(((((inv.transactionId + inv.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height)))
2014 let index = toInt(hash)
2115 slots1[(index % slotCount)]
2216 }
2317
2418
2519 func getSlot2 (inv) = {
2620 let hash = sha256(((((inv.transactionId + lastBlock.generationSignature) + inv.callerPublicKey) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height)))
2721 let index = toInt(hash)
2822 slots2[(index % slotCount)]
2923 }
3024
3125
3226 func getSlot3 (inv) = {
3327 let hash = sha256(((((inv.callerPublicKey + inv.transactionId) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height)))
3428 let index = toInt(hash)
3529 slots3[(index % slotCount)]
3630 }
3731
3832
33+let numbersCount = 37
34+
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+
37+let ODD = [1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35]
38+
39+let EVEN = [2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36]
40+
41+let RED = [1, 3, 5, 7, 9, 12, 14, 16, 18, 19, 21, 23, 25, 27, 30, 32, 34, 36]
42+
43+let BLACK = [2, 4, 6, 8, 10, 11, 13, 15, 17, 20, 22, 24, 26, 28, 29, 31, 33, 35]
44+
45+let TWOTOR = [3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36]
46+
47+let TWOTOM = [2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35]
48+
49+let TWOTOL = [1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34]
50+
51+let ZERO = [0]
52+
53+let ONETOEIGHTEEN = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18]
54+
55+let ONETOTWELVE = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
56+
57+let nineteenthirtysix = [19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36]
58+
59+let thirteentwentyfour = [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24]
60+
61+let twentyfivethirtysix = [25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36]
62+
63+func getNumber (inv) = {
64+ let hash = sha256(((((inv.transactionId + inv.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height)))
65+ let index = toInt(hash)
66+NUMBERS[(index % numbersCount)]
67+ }
68+
69+
70+func getVariation (inv) = {
71+ let index = 0
72+ODD[(index % numbersCount)]
73+ }
74+
75+
3976 @Callable(inv)
4077 func spin (obb,ddd,zzz) = {
4178 let MaxBet = (wavesBalance(this) / 35)
4279 let payment = extract(inv.payment)
4380 let slot1 = toString(getSlot1(inv))
4481 let slot2 = toString(getSlot2(inv))
4582 let slot3 = toString(getSlot3(inv))
4683 let smt1 = getSlot1(inv)
4784 let smt2 = getSlot2(inv)
4885 let smt3 = getSlot3(inv)
4986 if (!(isDefined(inv.payment)))
5087 then throw("Should be with Payment in Waves")
5188 else if (isDefined(payment.assetId))
5289 then throw("Payment should be in Waves")
5390 else if ((payment.amount > MaxBet))
5491 then throw(("Payment should be less than " + toString(MaxBet)))
5592 else {
5693 let player = toBase58String(inv.caller.bytes)
57- let randhash = randomizer(inv)
5894 let timestamp = toString(lastBlock.timestamp)
5995 if (if (if ((smt1 == 1))
6096 then (smt2 == 1)
6197 else false)
6298 then (smt3 == 1)
6399 else false)
64100 then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((player + "_") + timestamp))]), TransferSet(nil))
65101 else if (if (if ((smt1 == 2))
66102 then (smt2 == 2)
67103 else false)
68104 then (smt3 == 2)
69105 else false)
70106 then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((player + "_") + timestamp))]), TransferSet(nil))
71107 else if (if (if ((smt1 == 3))
72108 then (smt2 == 3)
73109 else false)
74110 then (smt3 == 3)
75111 else false)
76112 then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((player + "_") + timestamp))]), TransferSet(nil))
77113 else if (if (if ((smt1 == 4))
78114 then (smt2 == 4)
79115 else false)
80116 then (smt3 == 4)
81117 else false)
82118 then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((player + "_") + timestamp))]), TransferSet(nil))
83119 else if (if (if ((smt1 == 5))
84120 then (smt2 == 5)
85121 else false)
86122 then (smt3 == 5)
87123 else false)
88124 then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((player + "_") + timestamp))]), TransferSet(nil))
89- else ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((ddd + obb) + zzz))]), TransferSet(nil))
125+ else ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), getVariation(inv))]), TransferSet(nil))
90126 }
91127 }
92128
93129

github/deemru/w8io/169f3d6 
50.90 ms