tx · Hij4z4Xt5dsfSpTHgEgGMZMFj5cqhtD9C2W9zE69nkcf 3N8GJgmMBsrwhn6uQstYAmqZBLuupZEGXr9: -0.01400000 Waves 2019.07.30 08:28 [608397] smart account 3N8GJgmMBsrwhn6uQstYAmqZBLuupZEGXr9 > SELF 0.00000000 Waves
{ "type": 13, "id": "Hij4z4Xt5dsfSpTHgEgGMZMFj5cqhtD9C2W9zE69nkcf", "fee": 1400000, "feeAssetId": null, "timestamp": 1564464533190, "version": 1, "sender": "3N8GJgmMBsrwhn6uQstYAmqZBLuupZEGXr9", "senderPublicKey": "BUuYfkh9hHixwVUQvqzkLkLbWrQYnWpJ8FXVjZUPxBcm", "proofs": [ "5MTCNLGNboiaZw6N8skHP8h3Bwg9W8ckN6C3dsK6AMKnzCPyNmF31UmrMEwkZhZ4w9S2vjMmfEAFPLM5Cw5hKdjd" ], "script": "base64:AAIDAAAAAAAAAAAAAAAJAAAAAAlzbG90Q291bnQAAAAAAAAAAGQAAAAABnNsb3RzMQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQk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YW1wBQAAAANuaWwJAQAAAAtUcmFuc2ZlclNldAAAAAEJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAA2ludgAAAAZjYWxsZXIJAABpAAAAAgkAAGgAAAACCAUAAAAHcGF5bWVudAAAAAZhbW91bnQAAAAAAAAABfAAAAAAAAAAAGQFAAAABHVuaXQFAAAAA25pbAkBAAAADFNjcmlwdFJlc3VsdAAAAAIJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgUAAAAFc2xvdDECAAAAAV8FAAAABXNsb3QyAgAAAAFfBQAAAAVzbG90MwkAASwAAAACCQABLAAAAAIFAAAABnBsYXllcgIAAAABXwUAAAAJdGltZXN0YW1wBQAAAANuaWwJAQAAAAtUcmFuc2ZlclNldAAAAAEFAAAAA25pbAAAAAEAAAADaW52AQAAAAVsb3R0bwAAAAAJAQAAAApzdGFydExvdHRvAAAAAQUAAAADaW52AAAAABLnDZM=", "chainId": 84, "height": 608397, "spentComplexity": 0 } View: original | compacted Prev: BbnphocP65vBkLmcb9Z6R8F87Muxxs8YsoaJJcaFhKpp Next: 41CrAp4GGaqxQ6DuY9GAmDqNMvD9cra6m1Q97uztQ2cG Diff:
Old | New | Differences | |
---|---|---|---|
7 | 7 | ||
8 | 8 | let slots2 = [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, 3, 3, 3, 3, 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, 5, 5, 5, 5, 5, 5] | |
9 | 9 | ||
10 | - | let slots3 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 | |
10 | + | 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 | 11 | ||
12 | 12 | func randomizer (inv) = { | |
13 | 13 | let rand = ((((inv.transactionId + inv.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height)) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let slotCount = 100 | |
5 | 5 | ||
6 | 6 | 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] | |
7 | 7 | ||
8 | 8 | let slots2 = [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, 3, 3, 3, 3, 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, 5, 5, 5, 5, 5, 5] | |
9 | 9 | ||
10 | - | let slots3 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 | |
10 | + | 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 | 11 | ||
12 | 12 | func randomizer (inv) = { | |
13 | 13 | let rand = ((((inv.transactionId + inv.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height)) | |
14 | 14 | sha256(rand) | |
15 | 15 | } | |
16 | 16 | ||
17 | 17 | ||
18 | 18 | func getSlot1 (inv) = { | |
19 | 19 | let hash = sha256(((((inv.transactionId + inv.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height))) | |
20 | 20 | let index = toInt(hash) | |
21 | 21 | slots1[(index % slotCount)] | |
22 | 22 | } | |
23 | 23 | ||
24 | 24 | ||
25 | 25 | func getSlot2 (inv) = { | |
26 | 26 | let hash = sha256(((((inv.transactionId + lastBlock.generationSignature) + inv.callerPublicKey) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height))) | |
27 | 27 | let index = toInt(hash) | |
28 | 28 | slots2[(index % slotCount)] | |
29 | 29 | } | |
30 | 30 | ||
31 | 31 | ||
32 | 32 | func getSlot3 (inv) = { | |
33 | 33 | let hash = sha256(((((inv.callerPublicKey + inv.transactionId) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height))) | |
34 | 34 | let index = toInt(hash) | |
35 | 35 | slots3[(index % slotCount)] | |
36 | 36 | } | |
37 | 37 | ||
38 | 38 | ||
39 | 39 | func startLotto (inv) = { | |
40 | 40 | let MaxBet = (wavesBalance(this) / 100) | |
41 | 41 | let payment = extract(inv.payment) | |
42 | 42 | let slot1 = toString(getSlot1(inv)) | |
43 | 43 | let slot2 = toString(getSlot2(inv)) | |
44 | 44 | let slot3 = toString(getSlot3(inv)) | |
45 | 45 | let smt1 = getSlot1(inv) | |
46 | 46 | let smt2 = getSlot2(inv) | |
47 | 47 | let smt3 = getSlot3(inv) | |
48 | 48 | if (!(isDefined(inv.payment))) | |
49 | 49 | then throw("Should be with Payment in Waves") | |
50 | 50 | else if (isDefined(payment.assetId)) | |
51 | 51 | then throw("Payment should be in Waves") | |
52 | 52 | else if ((payment.amount > MaxBet)) | |
53 | 53 | then throw(("Payment should be less than " + toString(MaxBet))) | |
54 | 54 | else { | |
55 | 55 | let player = toBase58String(inv.caller.bytes) | |
56 | 56 | let randhash = randomizer(inv) | |
57 | 57 | let timestamp = toString(lastBlock.timestamp) | |
58 | 58 | if (if (if ((smt1 == 1)) | |
59 | 59 | then (smt2 == 1) | |
60 | 60 | else false) | |
61 | 61 | then (smt3 == 1) | |
62 | 62 | else false) | |
63 | 63 | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((player + "_") + timestamp))]), TransferSet([ScriptTransfer(inv.caller, ((payment.amount * 190) / 100), unit)])) | |
64 | 64 | else if (if (if ((smt1 == 2)) | |
65 | 65 | then (smt2 == 2) | |
66 | 66 | else false) | |
67 | 67 | then (smt3 == 2) | |
68 | 68 | else false) | |
69 | 69 | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((player + "_") + timestamp))]), TransferSet([ScriptTransfer(inv.caller, ((payment.amount * 380) / 100), unit)])) | |
70 | 70 | else if (if (if ((smt1 == 3)) | |
71 | 71 | then (smt2 == 3) | |
72 | 72 | else false) | |
73 | 73 | then (smt3 == 3) | |
74 | 74 | else false) | |
75 | 75 | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((player + "_") + timestamp))]), TransferSet([ScriptTransfer(inv.caller, ((payment.amount * 760) / 100), unit)])) | |
76 | 76 | else if (if (if ((smt1 == 4)) | |
77 | 77 | then (smt2 == 4) | |
78 | 78 | else false) | |
79 | 79 | then (smt3 == 4) | |
80 | 80 | else false) | |
81 | 81 | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((player + "_") + timestamp))]), TransferSet([ScriptTransfer(inv.caller, ((payment.amount * 1520) / 100), unit)])) | |
82 | 82 | else ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((player + "_") + timestamp))]), TransferSet(nil)) | |
83 | 83 | } | |
84 | 84 | } | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | @Callable(inv) | |
88 | 88 | func lotto () = startLotto(inv) | |
89 | 89 | ||
90 | 90 |
github/deemru/w8io/026f985 62.61 ms ◑