tx · DkSGVQLbXtKdg7mWLahoqKnezTuQ6HGB7AeawZPdibzN 3N8GJgmMBsrwhn6uQstYAmqZBLuupZEGXr9: -0.01400000 Waves 2019.08.14 10:19 [630432] smart account 3N8GJgmMBsrwhn6uQstYAmqZBLuupZEGXr9 > SELF 0.00000000 Waves
{ "type": 13, "id": "DkSGVQLbXtKdg7mWLahoqKnezTuQ6HGB7AeawZPdibzN", "fee": 1400000, "feeAssetId": null, "timestamp": 1565767126522, "version": 1, "sender": "3N8GJgmMBsrwhn6uQstYAmqZBLuupZEGXr9", "senderPublicKey": "BUuYfkh9hHixwVUQvqzkLkLbWrQYnWpJ8FXVjZUPxBcm", "proofs": [ "2LVJjpKRuXdEuM3dvCAejZEUK8jHtMAxunXt2fg7EJi9XHuehFYWpWnvVuY5PPPGKedPJhtkm4YLLFXYgbma6ffu" ], "script": "base64:AAIDAAAAAAAAAAAAAAAKAAAAAAlSU0FQVUJMSUMJAAJbAAAAAQIAAAGPYmFzZTY0Ok1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQkNnS0NBUUVBbGVtcjk1SjFqWlVzN2NKbXJtbWxONHpvN1lWc0JKekllSmRrOExERkdoVUtTSTZ5ZnMyMFp5SmUyMSs2R0p3Tm5LVVUxVXlvYzE3d1NXTUtrclowTU12WUUrWjVBaWlqdkJLNHNTSjNJZ0dqZFU4L05oSThDQkR1MEYreFJNOXEzVEIzTExiRHk1c0JkdWRZZkhmc1VPYytNVHZBRDY5bjI3ZGIyUmg4K3laUU10dWJrdVRRTnA4OXNwaEhRYUxHeVFGYU5sSy9OYTNsRng2b21xemFhMWdqb3BsVXI2cnZZS2dmQUlDVUIzelZtSlNoaUVpN3c3UjBoV2xOUkQzcWNaakNVT05TcEZvNFdiemtuR09henc4NEIrSU1JRm5JcFhXelFMOFJYMHZOY2ZzQnZMRGZNNmsyWmFjcXd5TUthTExxaWdkQmlHZEo3VyswbE9TdE9RSURBUUFCAAAAAAlzbG90Q291bnQ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p2mQs=", "chainId": 84, "height": 630432, "spentComplexity": 0 } View: original | compacted Prev: EhkQSALtRYoumexTXGnevswyRidAArZwpDGR1k9wehaG Next: xSfAoHhRvNUvviX1DcEyUMCdMXdJypX219XgUQ7pR5g Diff:
Old | New | Differences | |
---|---|---|---|
88 | 88 | then (smt3 == 5) | |
89 | 89 | else false) | |
90 | 90 | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((player + "_") + timestamp))]), TransferSet([ScriptTransfer(inv.caller, ((payment.amount * 3190) / 100), unit)])) | |
91 | - | else ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((player + "_") + timestamp))]), TransferSet(nil)) | |
91 | + | else ScriptResult(WriteSet([DataEntry(((((((slot1 + "_") + slot2) + "_") + slot3) + "-") + player), ((player + "_") + timestamp))]), TransferSet(nil)) | |
92 | 92 | } | |
93 | 93 | } | |
94 | 94 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let RSAPUBLIC = fromBase64String("base64:MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlemr95J1jZUs7cJmrmmlN4zo7YVsBJzIeJdk8LDFGhUKSI6yfs20ZyJe21+6GJwNnKUU1Uyoc17wSWMKkrZ0MMvYE+Z5AiijvBK4sSJ3IgGjdU8/NhI8CBDu0F+xRM9q3TB3LLbDy5sBdudYfHfsUOc+MTvAD69n27db2Rh8+yZQMtubkuTQNp89sphHQaLGyQFaNlK/Na3lFx6omqzaa1gjoplUr6rvYKgfAICUB3zVmJShiEi7w7R0hWlNRD3qcZjCUONSpFo4WbzknGOazw84B+IMIFnIpXWzQL8RX0vNcfsBvLDfM6k2ZacqwyMKaLLqigdBiGdJ7W+0lOStOQIDAQAB") | |
5 | 5 | ||
6 | 6 | let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15 | let rand = ((((inv.transactionId + inv.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height)) | |
16 | 16 | sha256(rand) | |
17 | 17 | } | |
18 | 18 | ||
19 | 19 | ||
20 | 20 | func getSlot1 (inv) = { | |
21 | 21 | let hash = sha256(((((inv.transactionId + inv.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height))) | |
22 | 22 | let index = toInt(hash) | |
23 | 23 | slots1[(index % slotCount)] | |
24 | 24 | } | |
25 | 25 | ||
26 | 26 | ||
27 | 27 | func getSlot2 (inv) = { | |
28 | 28 | let hash = sha256(((((inv.transactionId + lastBlock.generationSignature) + inv.callerPublicKey) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height))) | |
29 | 29 | let index = toInt(hash) | |
30 | 30 | slots2[(index % slotCount)] | |
31 | 31 | } | |
32 | 32 | ||
33 | 33 | ||
34 | 34 | func getSlot3 (inv) = { | |
35 | 35 | let hash = sha256(((((inv.callerPublicKey + inv.transactionId) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height))) | |
36 | 36 | let index = toInt(hash) | |
37 | 37 | slots3[(index % slotCount)] | |
38 | 38 | } | |
39 | 39 | ||
40 | 40 | ||
41 | 41 | func startSpin (inv) = { | |
42 | 42 | let gameid = inv.transactionId | |
43 | 43 | let MaxBet = (wavesBalance(this) / 35) | |
44 | 44 | let payment = extract(inv.payment) | |
45 | 45 | let slot1 = toString(getSlot1(inv)) | |
46 | 46 | let slot2 = toString(getSlot2(inv)) | |
47 | 47 | let slot3 = toString(getSlot3(inv)) | |
48 | 48 | let smt1 = getSlot1(inv) | |
49 | 49 | let smt2 = getSlot2(inv) | |
50 | 50 | let smt3 = getSlot3(inv) | |
51 | 51 | if (!(isDefined(inv.payment))) | |
52 | 52 | then throw("Should be with Payment in Waves") | |
53 | 53 | else if (isDefined(payment.assetId)) | |
54 | 54 | then throw("Payment should be in Waves") | |
55 | 55 | else if ((payment.amount > MaxBet)) | |
56 | 56 | then throw(("Payment should be less than " + toString(MaxBet))) | |
57 | 57 | else { | |
58 | 58 | let player = toBase58String(inv.caller.bytes) | |
59 | 59 | let randhash = randomizer(inv) | |
60 | 60 | let timestamp = toString(lastBlock.timestamp) | |
61 | 61 | if (if (if ((smt1 == 1)) | |
62 | 62 | then (smt2 == 1) | |
63 | 63 | else false) | |
64 | 64 | then (smt3 == 1) | |
65 | 65 | else false) | |
66 | 66 | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((player + "_") + timestamp))]), TransferSet([ScriptTransfer(inv.caller, ((payment.amount * 190) / 100), unit)])) | |
67 | 67 | else if (if (if ((smt1 == 2)) | |
68 | 68 | then (smt2 == 2) | |
69 | 69 | else false) | |
70 | 70 | then (smt3 == 2) | |
71 | 71 | else false) | |
72 | 72 | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((player + "_") + timestamp))]), TransferSet([ScriptTransfer(inv.caller, ((payment.amount * 390) / 100), unit)])) | |
73 | 73 | else if (if (if ((smt1 == 3)) | |
74 | 74 | then (smt2 == 3) | |
75 | 75 | else false) | |
76 | 76 | then (smt3 == 3) | |
77 | 77 | else false) | |
78 | 78 | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((player + "_") + timestamp))]), TransferSet([ScriptTransfer(inv.caller, ((payment.amount * 790) / 100), unit)])) | |
79 | 79 | else if (if (if ((smt1 == 4)) | |
80 | 80 | then (smt2 == 4) | |
81 | 81 | else false) | |
82 | 82 | then (smt3 == 4) | |
83 | 83 | else false) | |
84 | 84 | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((player + "_") + timestamp))]), TransferSet([ScriptTransfer(inv.caller, ((payment.amount * 1590) / 100), unit)])) | |
85 | 85 | else if (if (if ((smt1 == 5)) | |
86 | 86 | then (smt2 == 5) | |
87 | 87 | else false) | |
88 | 88 | then (smt3 == 5) | |
89 | 89 | else false) | |
90 | 90 | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((player + "_") + timestamp))]), TransferSet([ScriptTransfer(inv.caller, ((payment.amount * 3190) / 100), unit)])) | |
91 | - | else ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((player + "_") + timestamp))]), TransferSet(nil)) | |
91 | + | else ScriptResult(WriteSet([DataEntry(((((((slot1 + "_") + slot2) + "_") + slot3) + "-") + player), ((player + "_") + timestamp))]), TransferSet(nil)) | |
92 | 92 | } | |
93 | 93 | } | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | @Callable(inv) | |
97 | 97 | func spin () = startSpin(inv) | |
98 | 98 | ||
99 | 99 | ||
100 | 100 | @Verifier(tx) | |
101 | 101 | func verify () = if (sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)) | |
102 | 102 | then match tx { | |
103 | 103 | case ttx: TransferTransaction => | |
104 | 104 | true | |
105 | 105 | case stx: SetScriptTransaction => | |
106 | 106 | true | |
107 | 107 | case _ => | |
108 | 108 | false | |
109 | 109 | } | |
110 | 110 | else false | |
111 | 111 |
github/deemru/w8io/026f985 61.07 ms ◑