tx · HyHnr9g5aytmoAdt1Lm3hBScRe7C1XKtQeG1jgUA69H3

3N8GJgmMBsrwhn6uQstYAmqZBLuupZEGXr9:  -0.01400000 Waves

2019.07.30 08:43 [608419] smart account 3N8GJgmMBsrwhn6uQstYAmqZBLuupZEGXr9 > SELF 0.00000000 Waves

{ "type": 13, "id": "HyHnr9g5aytmoAdt1Lm3hBScRe7C1XKtQeG1jgUA69H3", "fee": 1400000, "feeAssetId": null, "timestamp": 1564465501206, "version": 1, "sender": "3N8GJgmMBsrwhn6uQstYAmqZBLuupZEGXr9", "senderPublicKey": "BUuYfkh9hHixwVUQvqzkLkLbWrQYnWpJ8FXVjZUPxBcm", "proofs": [ "2NmGgAsWsBKnCA9cDmLQPAkT58GmzmGZpUXe1ZxSXDGTAn7e526Huzw1LdBffNLQ2rdu7tqoP6AbtoricQXffdF1" ], "script": "base64:AAIDAAAAAAAAAAAAAAAJAAAAAAlzbG90Q291bnQAAAAAAAAAAGQAAAAABnNsb3RzMQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACA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uaWwJAQAAAAtUcmFuc2ZlclNldAAAAAEJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAA2ludgAAAAZjYWxsZXIJAABpAAAAAgkAAGgAAAACCAUAAAAHcGF5bWVudAAAAAZhbW91bnQAAAAAAAAABfAAAAAAAAAAAGQFAAAABHVuaXQFAAAAA25pbAkBAAAADFNjcmlwdFJlc3VsdAAAAAIJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgUAAAAFc2xvdDECAAAAAV8FAAAABXNsb3QyAgAAAAFfBQAAAAVzbG90MwkAASwAAAACCQABLAAAAAIFAAAABnBsYXllcgIAAAABXwUAAAAJdGltZXN0YW1wBQAAAANuaWwJAQAAAAtUcmFuc2ZlclNldAAAAAEFAAAAA25pbAAAAAEAAAADaW52AQAAAAVsb3R0bwAAAAAJAQAAAApzdGFydExvdHRvAAAAAQUAAAADaW52AAAAAOTvCH8=", "chainId": 84, "height": 608419, "spentComplexity": 0 } View: original | compacted Prev: 41CrAp4GGaqxQ6DuY9GAmDqNMvD9cra6m1Q97uztQ2cG Next: 8vj3sY4AkvgftPR3MqVNfEnTFLFffRE53BAvUhbU5gRQ Diff:
OldNewDifferences
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
8-let slots2 = [1, 1, 1, 1, 1, 1,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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]
1111
1212 func randomizer (inv) = {
1313 let rand = ((((inv.transactionId + inv.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height))
1414 sha256(rand)
1515 }
1616
1717
1818 func getSlot1 (inv) = {
1919 let hash = sha256(((((inv.transactionId + inv.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height)))
2020 let index = toInt(hash)
2121 slots1[(index % slotCount)]
2222 }
2323
2424
2525 func getSlot2 (inv) = {
2626 let hash = sha256(((((inv.transactionId + lastBlock.generationSignature) + inv.callerPublicKey) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height)))
2727 let index = toInt(hash)
2828 slots2[(index % slotCount)]
2929 }
3030
3131
3232 func getSlot3 (inv) = {
3333 let hash = sha256(((((inv.callerPublicKey + inv.transactionId) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height)))
3434 let index = toInt(hash)
3535 slots3[(index % slotCount)]
3636 }
3737
3838
3939 func startLotto (inv) = {
4040 let MaxBet = (wavesBalance(this) / 100)
4141 let payment = extract(inv.payment)
4242 let slot1 = toString(getSlot1(inv))
4343 let slot2 = toString(getSlot2(inv))
4444 let slot3 = toString(getSlot3(inv))
4545 let smt1 = getSlot1(inv)
4646 let smt2 = getSlot2(inv)
4747 let smt3 = getSlot3(inv)
4848 if (!(isDefined(inv.payment)))
4949 then throw("Should be with Payment in Waves")
5050 else if (isDefined(payment.assetId))
5151 then throw("Payment should be in Waves")
5252 else if ((payment.amount > MaxBet))
5353 then throw(("Payment should be less than " + toString(MaxBet)))
5454 else {
5555 let player = toBase58String(inv.caller.bytes)
5656 let randhash = randomizer(inv)
5757 let timestamp = toString(lastBlock.timestamp)
5858 if (if (if ((smt1 == 1))
5959 then (smt2 == 1)
6060 else false)
6161 then (smt3 == 1)
6262 else false)
6363 then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((player + "_") + timestamp))]), TransferSet([ScriptTransfer(inv.caller, ((payment.amount * 190) / 100), unit)]))
6464 else if (if (if ((smt1 == 2))
6565 then (smt2 == 2)
6666 else false)
6767 then (smt3 == 2)
6868 else false)
6969 then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((player + "_") + timestamp))]), TransferSet([ScriptTransfer(inv.caller, ((payment.amount * 380) / 100), unit)]))
7070 else if (if (if ((smt1 == 3))
7171 then (smt2 == 3)
7272 else false)
7373 then (smt3 == 3)
7474 else false)
7575 then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((player + "_") + timestamp))]), TransferSet([ScriptTransfer(inv.caller, ((payment.amount * 760) / 100), unit)]))
7676 else if (if (if ((smt1 == 4))
7777 then (smt2 == 4)
7878 else false)
7979 then (smt3 == 4)
8080 else false)
8181 then ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((player + "_") + timestamp))]), TransferSet([ScriptTransfer(inv.caller, ((payment.amount * 1520) / 100), unit)]))
8282 else ScriptResult(WriteSet([DataEntry(((((slot1 + "_") + slot2) + "_") + slot3), ((player + "_") + timestamp))]), TransferSet(nil))
8383 }
8484 }
8585
8686
8787 @Callable(inv)
8888 func lotto () = startLotto(inv)
8989
9090

github/deemru/w8io/026f985 
45.83 ms