tx · 3NLR6gw8YsiqffCDEQcKxM4CFxk8K8sAgRFfiQvfCJro 3N8GJgmMBsrwhn6uQstYAmqZBLuupZEGXr9: -0.01400000 Waves 2019.08.04 09:32 [615777] smart account 3N8GJgmMBsrwhn6uQstYAmqZBLuupZEGXr9 > SELF 0.00000000 Waves
{ "type": 13, "id": "3NLR6gw8YsiqffCDEQcKxM4CFxk8K8sAgRFfiQvfCJro", "fee": 1400000, "feeAssetId": null, "timestamp": 1564900353136, "version": 1, "sender": "3N8GJgmMBsrwhn6uQstYAmqZBLuupZEGXr9", "senderPublicKey": "BUuYfkh9hHixwVUQvqzkLkLbWrQYnWpJ8FXVjZUPxBcm", "proofs": [ "6548WayvAFLo9qJAxHNhSgAzkwsB3bmZ1DNkXBnYRUfizqaRvxC5KoUh6KoTUwrcQvAM4GYYhY3EkbNdUkB6e2pf" ], "script": "base64:AAIDAAAAAAAAAAAAAAAJAAAAAAlzbG90Q291bnQAAAAAAAAAAGQAAAAABnNsb3RzMQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAA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AMDAwkAAAAAAAACBQAAAARzbXQxAAAAAAAAAAAFCQAAAAAAAAIFAAAABHNtdDIAAAAAAAAAAAUHCQAAAAAAAAIFAAAABHNtdDMAAAAAAAAAAAUHCQEAAAAMU2NyaXB0UmVzdWx0AAAAAgkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACBQAAAAVzbG90MQIAAAABXwUAAAAFc2xvdDICAAAAAV8FAAAABXNsb3QzBQAAAAR0eGlkBQAAAANuaWwJAQAAAAtUcmFuc2ZlclNldAAAAAEJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAA2ludgAAAAZjYWxsZXIJAABpAAAAAgkAAGgAAAACCAUAAAAHcGF5bWVudAAAAAZhbW91bnQAAAAAAAAADHYAAAAAAAAAAGQFAAAABHVuaXQFAAAAA25pbAkBAAAADFNjcmlwdFJlc3VsdAAAAAIJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgUAAAAFc2xvdDECAAAAAV8FAAAABXNsb3QyAgAAAAFfBQAAAAVzbG90MwUAAAAEdHhpZAUAAAADbmlsCQEAAAALVHJhbnNmZXJTZXQAAAABBQAAAANuaWwAAAABAAAAA2ludgEAAAAEc3BpbgAAAAAJAQAAAAlzdGFydFNwaW4AAAABBQAAAANpbnYAAAAAHhk3YA==", "chainId": 84, "height": 615777, "spentComplexity": 0 } View: original | compacted Prev: EoFS9MNvbuKXitH5ctjvUEiRc3XWtKo7e7YyHwUYtMLU Next: 8o9uYrwWGgxHNybGqXfTyv72jU8pJF6gAQULA38RXbmM Diff:
Old | New | Differences | |
---|---|---|---|
54 | 54 | else { | |
55 | 55 | let player = toBase58String(inv.caller.bytes) | |
56 | 56 | let randhash = randomizer(inv) | |
57 | - | let | |
57 | + | let txid = inv.transactionId | |
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 | - | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), | |
63 | + | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), txid)]), 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 | - | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), | |
69 | + | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), txid)]), TransferSet([ScriptTransfer(inv.caller, ((payment.amount * 390) / 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 | - | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), | |
75 | + | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), txid)]), TransferSet([ScriptTransfer(inv.caller, ((payment.amount * 790) / 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 | - | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), | |
81 | + | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), txid)]), TransferSet([ScriptTransfer(inv.caller, ((payment.amount * 1590) / 100), unit)])) | |
82 | 82 | else if (if (if ((smt1 == 5)) | |
83 | 83 | then (smt2 == 5) | |
84 | 84 | else false) | |
85 | 85 | then (smt3 == 5) | |
86 | 86 | else false) | |
87 | - | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), | |
88 | - | else ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), | |
87 | + | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), txid)]), TransferSet([ScriptTransfer(inv.caller, ((payment.amount * 3190) / 100), unit)])) | |
88 | + | else ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), txid)]), TransferSet(nil)) | |
89 | 89 | } | |
90 | 90 | } | |
91 | 91 |
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, 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] | |
9 | 9 | ||
10 | 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 startSpin (inv) = { | |
40 | 40 | let MaxBet = (wavesBalance(this) / 35) | |
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 | - | let | |
57 | + | let txid = inv.transactionId | |
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 | - | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), | |
63 | + | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), txid)]), 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 | - | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), | |
69 | + | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), txid)]), TransferSet([ScriptTransfer(inv.caller, ((payment.amount * 390) / 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 | - | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), | |
75 | + | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), txid)]), TransferSet([ScriptTransfer(inv.caller, ((payment.amount * 790) / 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 | - | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), | |
81 | + | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), txid)]), TransferSet([ScriptTransfer(inv.caller, ((payment.amount * 1590) / 100), unit)])) | |
82 | 82 | else if (if (if ((smt1 == 5)) | |
83 | 83 | then (smt2 == 5) | |
84 | 84 | else false) | |
85 | 85 | then (smt3 == 5) | |
86 | 86 | else false) | |
87 | - | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), | |
88 | - | else ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), | |
87 | + | then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), txid)]), TransferSet([ScriptTransfer(inv.caller, ((payment.amount * 3190) / 100), unit)])) | |
88 | + | else ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), txid)]), TransferSet(nil)) | |
89 | 89 | } | |
90 | 90 | } | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | @Callable(inv) | |
94 | 94 | func spin () = startSpin(inv) | |
95 | 95 | ||
96 | 96 |
github/deemru/w8io/026f985 49.57 ms ◑