tx · C5CwGsJGEoESrm6nrsX25xQU89McSLhZUrHxXMQffaXp 3N4vtgpXkE68DqQchkdVCSoaSNxMJ8Xuctx: -0.01400000 Waves 2021.03.02 10:13 [1419713] smart account 3N4vtgpXkE68DqQchkdVCSoaSNxMJ8Xuctx > SELF 0.00000000 Waves
{ "type": 13, "id": "C5CwGsJGEoESrm6nrsX25xQU89McSLhZUrHxXMQffaXp", "fee": 1400000, "feeAssetId": null, "timestamp": 1614669193586, "version": 2, "chainId": 84, "sender": "3N4vtgpXkE68DqQchkdVCSoaSNxMJ8Xuctx", "senderPublicKey": "8Q6AAquTkqKK6raBKopy9WX83aDSeQEnLGrL5nbh7Z4V", "proofs": [ "3yyHAf6GFuUfuyTffYhgyNoqiHSfhLaGD6wnz7ohM3nk1QKufmudguVDBqEs2ER5Pu6rAWaNxgahKU4TRBFcQuMk" ], "script": "base64:AAIDAAAAAAAAAA4IARIAEgASBgoECAgICAAAACEAAAAADWdhbWVQdWJsaWNLZXkBAAAAIG3r/9b0drXS9/W+WmgUI+R1SnxxBMUXyavGR/b2CyA6AAAAAAtnYW1lQWRkcmVzcwkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQUAAAANZ2FtZVB1YmxpY0tleQAAAAAOYWRtaW5QdWJsaWNLZXkBAAAAIBCc8P4C+ug52UoR5PdOxWZFZY5dwEkPBsV1I9mopBdrAAAAAAxhZG1pbkFkZHJlc3MJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEFAAAADmFkbWluUHVibGljS2V5AAAAAA1yc2FQdWJsaWNLZXkxCQACWwAAAAECAAABiE1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQkNnS0NBUUVBcTZGak9tVnRQY0xQS0xWUkFqL0k1Tzg3azFFZDFDNitLSHNyc1RtVHJ4ZGc4YTN2dUZRYnRNdHliUCtjUHVUaUJFT1R2QlFBcG5HeGRMOThMRk9idTNmKzI3djZoaWE4d2VKUmhxQ0R0az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UaUJFT1R2QlFBcG5HeGRMOThMRk9idTNmKzI3djZoaWE4d2VKUmhxQ0R0azVxbFcvVkp1bWQrWXY2N0wzRmxxbUpRWGJGYkxPMVJtVnA0VWRVMlZGRmtkMnBoTXVUdWduWmgvTXNtaHlpTXRXaWhPQysvZElyKzVvWWk2TGtyUmg5NTdyam5lSU14Q3Naa0pYbVdoeGFRQmYzRHJlc0U0NDdNTkoxQUNHTkgrK2owdXA1K0JBUlorMHBHYk9Ob2tJSlYveTh6djByRHIzZUl6MHBUcU5uWkM5UWVwamZrY3dPN2Q4OUNOTmlkUGlxYit0V25yckJSNGREd3lqUEZXbjR4ZDlES3pjVWtSNHJHM0dlUU1IejFRSURBUUFCAAAAAAVkcnVtMQkABEwAAAACAgAAAAE2CQAETAAAAAICAAAAATEJAARMAAAAAgIAAAABNQkABEwAAAACAgAAAAE0CQAETAAAAAICAAAAATMJAARMAAAAAgIAAAABMgkABEwAAAACAgAAAAExCQAETAAAAAICAAAAATMJAARMAAAAAgIAAAABNQkABEwAAAACAgAAAAEyCQAETAAAAAICAAAAATQJAARMAAAAAgIAAAABMQkABEwAAAACAgAAAAE3CQAETAAAAAICAAAAATMJAARMAAAAAgIAAAABMgkABEwAAAACAgAAAAEzCQAETAAAAAICAAAAATEJAARMAAAAAgIAAAABNAkABEwAAAACAgAAAAExCQAETAAAAAICAAAAATMJAARMAAAAAgIAAAABNQkABEwAAAACAgAAAAEyCQAETAAAAAICAAAAATEJAARMAAAAAgIAAAABNAkABEwAAAACAgAAAAEyCQAETAAAAAICAAAAATYJAARMAAAAAgIAAAABNQkABEwAAAACAgAAAAEyCQAETAAAAAICAAAAATEJAARMAAAAAgIAAAABNAUAAAADbmlsAAAAAAVkcnVtMgkABEwAAAACAgAAAAExCQAETAAAAAICAAAAATMJAARMAAAAAgIAAAABNAkABEwAAAACAgAAAAEyCQAETAAAAAICAAAAATMJAARMAAAAAgIAAAABNQkABEwAAAACAgAAAAExCQAETAAAAAICAAAAATYJAARMAAAAAgIAAAABNAkABEwAAAACAgAAAAEyCQAETAAAAAICAAAAATEJAARMAAAAAgIAAAABMQkABEwAAAACAgAAAAE0CQAETAAAAAICAAAAATIJAARMAAAAAgIAAAABMQkABEwAAAACAgAAAAE2CQAETAAAAAICAAAAATMJAARMAAAAAgIAAAABNAkABEwAAAACAgAAAAExCQAETAAAAAICAAAAATIJAARMAAAAAgIAAAABNQkABEwAAAACAgAAAAE0CQAETAAAAAICAAAAATEJAARMAAAAAgIAAAABNQkABEwAAAACAgAAAAEzCQAETAAAAAICAAAAATIJAARMAAAAAgIAAAABNwkABEwAAAACAgAAAAE1CQAETAAAAAICAAAAATEJAARMAAAAAgIAAAABMwUAAAADbmlsAAAAAAVkcnVtMwkABEwAAAACAgAAAAEzCQAETAAAAAICAAAAATIJAARMAAAAAgIAAAABNQkABEwAAAACAgAAAAEyCQAETAAAAAICAAAAATcJAARMAAAAAgIAAAABNAkABEwAAAACAgAAAAExCQAETAAAAAICAAAAATMJAARMAAAAAgIAAAABNgkABEwAAAACAgAAAAE0CQAETAAAAAICAAAAATIJAARMAAAAAgIAAAABMwkABEwAAAACAgAAAAExCQAETAAAAAICAAAAATYJAARMAAAAAgIAAAABNAkABEwAAAACAgAAAAEyCQAETAAAAAICAAAAATEJAARMAAAAAgIAAAABNQkABEwAAAACAgAAAAEyCQAETAAAAAICAAAAATUJAARMAAAAAgIAAAABMQkABEwAAAACAgAAAAEzCQAETAAAAAICAAAAATcJAARMAAAAAgIAAAABMQkABEwAAAACAgAAAAEyCQAETAAAAAICAAAAATYJAARMAAAAAgIAAAABNAkABEwAAAACAgAAAAExCQAETAAAAAICAAAAATMJAARMAAAAAgIAAAABMQUAAAADbmlsAAAAAAhzdGF0ZUFjYwIAAAAGQUNUSVZFAAAAAAd3YXZlc0lkBQAAAAR1bml0AAAAAAtuTGlmZU1pbkFtdAAAAAAAAJiWgAAAAAALbkxpZmVNYXhBbXQAAAAAAAL68IAAAAAAEGdhbWVMYWJlbENvdW50ZXICA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JYmV0QW1vdW50AgAAAAFfCQABpAAAAAEFAAAACWFtb3VudFdvbgIAAAAHX05MSUZFXwkAAaQAAAABBQAAAAZoZWlnaHQCAAAAAV8FAAAADndpbnNJbjIwMFRpbWVzAgAAAANfMF8JAAGkAAAAAQkAAGQAAAACBQAAAANyb3cAAAAAAAAAAAECAAAAAV8FAAAAC3RocmVlSW5BUm93AgAAAAFfBQAAAA1pbmRleFBvc2l0aW9uCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAABBnYW1lTGFiZWw1SW5BUm93CQABLAAAAAIJAAEsAAAAAgkAAaQAAAABCQAAZAAAAAIFAAAAA3JvdwAAAAAAAAAAAQIAAAABXwUAAAAKcGxheWVyQWRkcgUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAA1nYW1lUHVibGljS2V5BAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAnR4BQAAAAckbWF0Y2gwBgcHBirFbQ==", "height": 1419713, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HBKhQ46iQnvw63gLyDJRtdmScBziuE5LGaNQ3YiJ9Xdn Next: B985mjAuTXvgzjaLQfA2QNNrshDjgR3iugb3i2Qc8qMi Diff:
Old | New | Differences | |
---|---|---|---|
338 | 338 | case WINS: Int => | |
339 | 339 | let newWin = (WINS + 1) | |
340 | 340 | if ((threeInARow == "444")) | |
341 | - | then ScriptResult(WriteSet([DataEntry(gameLabelBet(toString(i.caller)), (((((((((((((((("PLAYED" + "_") + playerAddr) + "_") + betAmount) + "_") + toString(amountWon)) + "_NLIFE_") + toString(height)) + "_") + toString(newWin)) + "_") + win5TimesInARow) + "_ | |
341 | + | then ScriptResult(WriteSet([DataEntry(gameLabelBet(toString(i.caller)), (((((((((((((((((("PLAYED" + "_") + playerAddr) + "_") + betAmount) + "_") + toString(amountWon)) + "_NLIFE_") + toString(height)) + "_") + toString(newWin)) + "_") + win5TimesInARow) + "_") + lose5TimesInARow) + "_") + threeInARow) + "_") + indexPosition)), DataEntry(addressLabelNFT(toString(i.caller)), "GIVE_NFT"), DataEntry(addressLabelIn200Wins(toString(i.caller)), newWin), DataEntry(gameLabel5InARow, ((toString(0) + "_") + playerAddr))]), TransferSet([ScriptTransfer(addressFromStringValue(playerAddr), amountWon, unit)])) | |
342 | 342 | else if ((WINS == 200)) | |
343 | - | then ScriptResult(WriteSet([DataEntry(gameLabelBet(toString(i.caller)), (((((((((((((("PLAYED" + "_") + playerAddr) + "_") + betAmount) + "_") + toString(amountWon)) + "_NLIFE_") + toString(height)) + "_0_") + win5TimesInARow) + "_ | |
343 | + | then ScriptResult(WriteSet([DataEntry(gameLabelBet(toString(i.caller)), (((((((((((((((("PLAYED" + "_") + playerAddr) + "_") + betAmount) + "_") + toString(amountWon)) + "_NLIFE_") + toString(height)) + "_0_") + win5TimesInARow) + "_") + lose5TimesInARow) + "_") + threeInARow) + "_") + indexPosition)), DataEntry(addressLabelIn200Wins(toString(i.caller)), 0), DataEntry(gameLabel5InARow, ((toString(0) + "_") + playerAddr))]), TransferSet([ScriptTransfer(addressFromStringValue(playerAddr), amountWon, unit)])) | |
344 | 344 | else if (if ((playerAddr == rowPlayer)) | |
345 | 345 | then (row == 5) | |
346 | 346 | else false) | |
347 | - | then ScriptResult(WriteSet([DataEntry(gameLabelBet(playerAddr), (((((((((((((((("PLAYED" + "_") + playerAddr) + "_") + betAmount) + "_") + toString(amountWon)) + "_NLIFE_") + toString(height)) + "_") + toString(newWin)) + "_") + | |
347 | + | then ScriptResult(WriteSet([DataEntry(gameLabelBet(playerAddr), (((((((((((((((("PLAYED" + "_") + playerAddr) + "_") + betAmount) + "_") + toString(amountWon)) + "_NLIFE_") + toString(height)) + "_") + toString(newWin)) + "_0_") + lose5TimesInARow) + "_0_") + threeInARow) + "_") + indexPosition)), DataEntry(addressLabelIn200Wins(toString(i.caller)), newWin), DataEntry(gameLabel5InARow, ((toString(0) + "_") + playerAddr))]), TransferSet([ScriptTransfer(addressFromStringValue(playerAddr), amountWon, unit)])) | |
348 | 348 | else if ((playerAddr != rowPlayer)) | |
349 | - | then ScriptResult(WriteSet([DataEntry(gameLabelBet(playerAddr), (((((((((((((((("PLAYED" + "_") + playerAddr) + "_") + betAmount) + "_") + toString(amountWon)) + "_NLIFE_") + toString(height)) + "_") + toString(newWin)) + "_") + toString(newWin)) + "_ | |
349 | + | then ScriptResult(WriteSet([DataEntry(gameLabelBet(playerAddr), (((((((((((((((((("PLAYED" + "_") + playerAddr) + "_") + betAmount) + "_") + toString(amountWon)) + "_NLIFE_") + toString(height)) + "_") + toString(newWin)) + "_") + toString(newWin)) + "_") + lose5TimesInARow) + "_") + threeInARow) + "_") + indexPosition)), DataEntry(addressLabelIn200Wins(toString(i.caller)), newWin), DataEntry(gameLabel5InARow, ((toString(0) + "_") + playerAddr))]), TransferSet([ScriptTransfer(addressFromStringValue(playerAddr), amountWon, unit)])) | |
350 | 350 | else ScriptResult(WriteSet([DataEntry(gameLabelBet(playerAddr), (((((((((((((((((("PLAYED" + "_") + playerAddr) + "_") + betAmount) + "_") + toString(amountWon)) + "_NLIFE_") + toString(height)) + "_") + toString(newWin)) + "_") + toString(newWin)) + "_") + lose5TimesInARow) + "_") + threeInARow) + "_") + indexPosition)), DataEntry(addressLabelIn200Wins(toString(i.caller)), newWin), DataEntry(gameLabel5InARow, ((toString((row + 1)) + "_") + playerAddr))]), TransferSet([ScriptTransfer(addressFromStringValue(playerAddr), amountWon, unit)])) | |
351 | 351 | case _ => | |
352 | 352 | throw("WORNG_INIT_FOR_200WINS") |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let gamePublicKey = base58'8Q6AAquTkqKK6raBKopy9WX83aDSeQEnLGrL5nbh7Z4V' | |
5 | 5 | ||
6 | 6 | let gameAddress = addressFromPublicKey(gamePublicKey) | |
7 | 7 | ||
8 | 8 | let adminPublicKey = base58'27rKjH8VMRkHYCQw1SELCkPNTH39L7xgx9zVSGFkrgCS' | |
9 | 9 | ||
10 | 10 | let adminAddress = addressFromPublicKey(adminPublicKey) | |
11 | 11 | ||
12 | 12 | let rsaPublicKey1 = fromBase64String("MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAq6FjOmVtPcLPKLVRAj/I5O87k1Ed1C6+KHsrsTmTrxdg8a3vuFQbtMtybP+cPuTiBEOTvBQApnGxdL98LFObu3f+27v6hia8weJRhqCDtk5qlW/VJumd+Yv67L3FlqmJQXbFbLO1RmVp4UdU2VFFkd2phMuTugnZh/MsmhyiMtWihOC+/dIr+5oYi6LkrRh957rjneIMxCsZkJXmWhxaQBf3DresE447MNJ1ACGNH++j0up5+BARZ+0pGbONokIJV/y8zv0rDr3eIz0pTqNnZC9QepjfkcwO7d89CNNidPiqb+tWnrrBR4dDwyjPFWn4xd9DKzcUkR4rG3GeQMHz1QIDAQAB") | |
13 | 13 | ||
14 | 14 | let rsaPublicKey2 = fromBase64String("MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAq6FjOmVtPcLPKLVRAj/I5O87k1Ed1C6+KHsrsTmTrxdg8a3vuFQbtMtybP+cPuTiBEOTvBQApnGxdL98LFObu3f+27v6hia8weJRhqCDtk5qlW/VJumd+Yv67L3FlqmJQXbFbLO1RmVp4UdU2VFFkd2phMuTugnZh/MsmhyiMtWihOC+/dIr+5oYi6LkrRh957rjneIMxCsZkJXmWhxaQBf3DresE447MNJ1ACGNH++j0up5+BARZ+0pGbONokIJV/y8zv0rDr3eIz0pTqNnZC9QepjfkcwO7d89CNNidPiqb+tWnrrBR4dDwyjPFWn4xd9DKzcUkR4rG3GeQMHz1QIDAQAB") | |
15 | 15 | ||
16 | 16 | let rsaPublicKey3 = fromBase64String("MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAq6FjOmVtPcLPKLVRAj/I5O87k1Ed1C6+KHsrsTmTrxdg8a3vuFQbtMtybP+cPuTiBEOTvBQApnGxdL98LFObu3f+27v6hia8weJRhqCDtk5qlW/VJumd+Yv67L3FlqmJQXbFbLO1RmVp4UdU2VFFkd2phMuTugnZh/MsmhyiMtWihOC+/dIr+5oYi6LkrRh957rjneIMxCsZkJXmWhxaQBf3DresE447MNJ1ACGNH++j0up5+BARZ+0pGbONokIJV/y8zv0rDr3eIz0pTqNnZC9QepjfkcwO7d89CNNidPiqb+tWnrrBR4dDwyjPFWn4xd9DKzcUkR4rG3GeQMHz1QIDAQAB") | |
17 | 17 | ||
18 | 18 | let drum1 = ["6", "1", "5", "4", "3", "2", "1", "3", "5", "2", "4", "1", "7", "3", "2", "3", "1", "4", "1", "3", "5", "2", "1", "4", "2", "6", "5", "2", "1", "4"] | |
19 | 19 | ||
20 | 20 | let drum2 = ["1", "3", "4", "2", "3", "5", "1", "6", "4", "2", "1", "1", "4", "2", "1", "6", "3", "4", "1", "2", "5", "4", "1", "5", "3", "2", "7", "5", "1", "3"] | |
21 | 21 | ||
22 | 22 | let drum3 = ["3", "2", "5", "2", "7", "4", "1", "3", "6", "4", "2", "3", "1", "6", "4", "2", "1", "5", "2", "5", "1", "3", "7", "1", "2", "6", "4", "1", "3", "1"] | |
23 | 23 | ||
24 | 24 | let stateAcc = "ACTIVE" | |
25 | 25 | ||
26 | 26 | let wavesId = unit | |
27 | 27 | ||
28 | 28 | let nLifeMinAmt = 10000000 | |
29 | 29 | ||
30 | 30 | let nLifeMaxAmt = 50000000 | |
31 | 31 | ||
32 | 32 | let gameLabelCounter = "GAMESCOUNTER" | |
33 | 33 | ||
34 | 34 | let gameLabel = (toString(gameAddress) + "_GAME_ADDRESS") | |
35 | 35 | ||
36 | 36 | let gameLabel5InARow = (toString(gameAddress) + "_ROW_WIN/LOSE") | |
37 | 37 | ||
38 | 38 | func gameGetCounter () = getInteger(this, gameLabelCounter) | |
39 | 39 | ||
40 | 40 | ||
41 | 41 | func gameGetLabel () = getString(this, gameLabel) | |
42 | 42 | ||
43 | 43 | ||
44 | 44 | func gameGetRow () = getString(this, gameLabel5InARow) | |
45 | 45 | ||
46 | 46 | ||
47 | 47 | func gameLabelBet (playerAddr) = (playerAddr + "_BETDATA") | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | func gameGetBet (playerAddr) = getString(this, gameLabelBet(playerAddr)) | |
51 | 51 | ||
52 | 52 | ||
53 | 53 | func addressLabelIn200Wins (addr) = (addr + "_IN200WINS") | |
54 | 54 | ||
55 | 55 | ||
56 | 56 | func addressLabelNFT (addr) = (addr + "_NFT") | |
57 | 57 | ||
58 | 58 | ||
59 | 59 | func addressGet200Wins (addr) = getInteger(this, addressLabelIn200Wins(addr)) | |
60 | 60 | ||
61 | 61 | ||
62 | 62 | func addressGetNFT (addr) = getInteger(this, addressLabelNFT(addr)) | |
63 | 63 | ||
64 | 64 | ||
65 | 65 | func gameGetData () = { | |
66 | 66 | let gameData = gameGetLabel() | |
67 | 67 | let a = match gameData { | |
68 | 68 | case a: String => | |
69 | 69 | a | |
70 | 70 | case _ => | |
71 | 71 | throw("GAME_DATA_ERROR") | |
72 | 72 | } | |
73 | 73 | split(a, "_") | |
74 | 74 | } | |
75 | 75 | ||
76 | 76 | ||
77 | 77 | func gameGetRowData () = { | |
78 | 78 | let gameRowData = gameGetRow() | |
79 | 79 | let a = match gameRowData { | |
80 | 80 | case a: String => | |
81 | 81 | a | |
82 | 82 | case _ => | |
83 | 83 | throw("GAME_ROW_DATA_ERROR") | |
84 | 84 | } | |
85 | 85 | split(a, "_") | |
86 | 86 | } | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func gameGetBetData (playerAddr) = { | |
90 | 90 | let gameBetData = gameGetBet(playerAddr) | |
91 | 91 | let a = match gameBetData { | |
92 | 92 | case a: String => | |
93 | 93 | a | |
94 | 94 | case _ => | |
95 | 95 | "0" | |
96 | 96 | } | |
97 | 97 | split(a, "_") | |
98 | 98 | } | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func pmtAmtCheck (betAmount) = if (if ((betAmount >= nLifeMinAmt)) | |
102 | 102 | then (nLifeMaxAmt >= betAmount) | |
103 | 103 | else false) | |
104 | 104 | then true | |
105 | 105 | else throw("AMOUNT_NOT_IN_RANGE") | |
106 | 106 | ||
107 | 107 | ||
108 | 108 | func drumIntToString (drumInt) = if ((10 > drumInt)) | |
109 | 109 | then ("0" + toString(drumInt)) | |
110 | 110 | else toString(drumInt) | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func defineMultiplier (threeInARow) = if ((threeInARow == "777")) | |
114 | 114 | then 1199 | |
115 | 115 | else if ((threeInARow == "666")) | |
116 | 116 | then 200 | |
117 | 117 | else if ((threeInARow == "555")) | |
118 | 118 | then 150 | |
119 | 119 | else if ((threeInARow == "667")) | |
120 | 120 | then 80 | |
121 | 121 | else if ((threeInARow == "665")) | |
122 | 122 | then 80 | |
123 | 123 | else if ((threeInARow == "677")) | |
124 | 124 | then 80 | |
125 | 125 | else if ((threeInARow == "655")) | |
126 | 126 | then 80 | |
127 | 127 | else if ((threeInARow == "675")) | |
128 | 128 | then 80 | |
129 | 129 | else if ((threeInARow == "657")) | |
130 | 130 | then 80 | |
131 | 131 | else if ((threeInARow == "776")) | |
132 | 132 | then 80 | |
133 | 133 | else if ((threeInARow == "775")) | |
134 | 134 | then 80 | |
135 | 135 | else if ((threeInARow == "766")) | |
136 | 136 | then 80 | |
137 | 137 | else if ((threeInARow == "755")) | |
138 | 138 | then 80 | |
139 | 139 | else if ((threeInARow == "756")) | |
140 | 140 | then 80 | |
141 | 141 | else if ((threeInARow == "765")) | |
142 | 142 | then 80 | |
143 | 143 | else if ((threeInARow == "556")) | |
144 | 144 | then 80 | |
145 | 145 | else if ((threeInARow == "557")) | |
146 | 146 | then 80 | |
147 | 147 | else if ((threeInARow == "566")) | |
148 | 148 | then 80 | |
149 | 149 | else if ((threeInARow == "577")) | |
150 | 150 | then 80 | |
151 | 151 | else if ((threeInARow == "576")) | |
152 | 152 | then 80 | |
153 | 153 | else if ((threeInARow == "567")) | |
154 | 154 | then 80 | |
155 | 155 | else if ((threeInARow == "234")) | |
156 | 156 | then 50 | |
157 | 157 | else if ((threeInARow == "444")) | |
158 | 158 | then 40 | |
159 | 159 | else if ((threeInARow == "333")) | |
160 | 160 | then 25 | |
161 | 161 | else if ((threeInARow == "564")) | |
162 | 162 | then 20 | |
163 | 163 | else if ((threeInARow == "534")) | |
164 | 164 | then 20 | |
165 | 165 | else if ((threeInARow == "537")) | |
166 | 166 | then 20 | |
167 | 167 | else if ((threeInARow == "264")) | |
168 | 168 | then 20 | |
169 | 169 | else if ((threeInARow == "267")) | |
170 | 170 | then 20 | |
171 | 171 | else if ((threeInARow == "237")) | |
172 | 172 | then 20 | |
173 | 173 | else if ((threeInARow == "222")) | |
174 | 174 | then 10 | |
175 | 175 | else if ((threeInARow == "443")) | |
176 | 176 | then 5 | |
177 | 177 | else if ((threeInARow == "442")) | |
178 | 178 | then 5 | |
179 | 179 | else if ((threeInARow == "433")) | |
180 | 180 | then 5 | |
181 | 181 | else if ((threeInARow == "334")) | |
182 | 182 | then 5 | |
183 | 183 | else if ((threeInARow == "332")) | |
184 | 184 | then 5 | |
185 | 185 | else if ((threeInARow == "344")) | |
186 | 186 | then 5 | |
187 | 187 | else if ((threeInARow == "322")) | |
188 | 188 | then 5 | |
189 | 189 | else if ((threeInARow == "224")) | |
190 | 190 | then 5 | |
191 | 191 | else if ((threeInARow == "223")) | |
192 | 192 | then 5 | |
193 | 193 | else if ((threeInARow == "244")) | |
194 | 194 | then 5 | |
195 | 195 | else if ((threeInARow == "233")) | |
196 | 196 | then 5 | |
197 | 197 | else if ((threeInARow == "342")) | |
198 | 198 | then 5 | |
199 | 199 | else if ((threeInARow == "324")) | |
200 | 200 | then 5 | |
201 | 201 | else if ((threeInARow == "423")) | |
202 | 202 | then 5 | |
203 | 203 | else if ((threeInARow == "432")) | |
204 | 204 | then 5 | |
205 | 205 | else if ((threeInARow == "243")) | |
206 | 206 | then 5 | |
207 | 207 | else if ((threeInARow == "474")) | |
208 | 208 | then 2 | |
209 | 209 | else if ((threeInARow == "747")) | |
210 | 210 | then 2 | |
211 | 211 | else if ((threeInARow == "774")) | |
212 | 212 | then 2 | |
213 | 213 | else if ((threeInARow == "744")) | |
214 | 214 | then 2 | |
215 | 215 | else if ((threeInARow == "477")) | |
216 | 216 | then 2 | |
217 | 217 | else if ((threeInARow == "447")) | |
218 | 218 | then 2 | |
219 | 219 | else if ((threeInARow == "636")) | |
220 | 220 | then 2 | |
221 | 221 | else if ((threeInARow == "363")) | |
222 | 222 | then 2 | |
223 | 223 | else if ((threeInARow == "663")) | |
224 | 224 | then 2 | |
225 | 225 | else if ((threeInARow == "633")) | |
226 | 226 | then 2 | |
227 | 227 | else if ((threeInARow == "366")) | |
228 | 228 | then 2 | |
229 | 229 | else if ((threeInARow == "336")) | |
230 | 230 | then 2 | |
231 | 231 | else if ((threeInARow == "252")) | |
232 | 232 | then 2 | |
233 | 233 | else if ((threeInARow == "525")) | |
234 | 234 | then 2 | |
235 | 235 | else if ((threeInARow == "522")) | |
236 | 236 | then 2 | |
237 | 237 | else if ((threeInARow == "552")) | |
238 | 238 | then 2 | |
239 | 239 | else if ((threeInARow == "255")) | |
240 | 240 | then 2 | |
241 | 241 | else if ((threeInARow == "225")) | |
242 | 242 | then 2 | |
243 | 243 | else if ((threeInARow == "111")) | |
244 | 244 | then 1 | |
245 | 245 | else 0 | |
246 | 246 | ||
247 | 247 | ||
248 | 248 | func randomizer (message,rsaSign,rsaPublicKey) = { | |
249 | 249 | let rsaCheck = rsaVerify(SHA256, toBytes(message), fromBase64String(rsaSign), rsaPublicKey) | |
250 | 250 | if (!(rsaCheck)) | |
251 | 251 | then throw("RSA_SIGNATURE_IS_INVALID") | |
252 | 252 | else (toInt(sha256(fromBase64String(rsaSign))) % 39) | |
253 | 253 | } | |
254 | 254 | ||
255 | 255 | ||
256 | 256 | @Callable(i) | |
257 | 257 | func initSlotGame () = if ((i.callerPublicKey != adminPublicKey)) | |
258 | 258 | then throw("initGame_FORBBIDEN") | |
259 | 259 | else match gameGetCounter() { | |
260 | 260 | case GAMESCOUNTER: Int => | |
261 | 261 | throw("INIT_ALREADY_DONE") | |
262 | 262 | case _ => | |
263 | 263 | WriteSet([DataEntry(gameLabelCounter, 0), DataEntry(gameLabel, ((((stateAcc + "_") + toString(gameAddress)) + "_") + toString(height))), DataEntry(gameLabel5InARow, ("0_" + toString(gameAddress)))]) | |
264 | 264 | } | |
265 | 265 | ||
266 | 266 | ||
267 | 267 | ||
268 | 268 | @Callable(i) | |
269 | 269 | func placeBet () = { | |
270 | 270 | let playerAddress = extract(i.caller) | |
271 | 271 | let pmt = extract(i.payment) | |
272 | 272 | let betAmount = pmt.amount | |
273 | 273 | let labelDataList = gameGetData() | |
274 | 274 | let gameStatus = labelDataList[0] | |
275 | 275 | let betDataList = gameGetBetData(toString(playerAddress)) | |
276 | 276 | let betStatus = betDataList[0] | |
277 | 277 | let amountToWin = betDataList[3] | |
278 | 278 | let winsIn200Times = betDataList[6] | |
279 | 279 | let win5TimesInARow = betDataList[7] | |
280 | 280 | let lose5TimesInARow = betDataList[8] | |
281 | 281 | let threeInARow = betDataList[9] | |
282 | 282 | let indexElement = betDataList[10] | |
283 | 283 | if ((gameStatus != "ACTIVE")) | |
284 | 284 | then throw("SLOT_GAME_NOT_INITIALIZED") | |
285 | 285 | else match gameGetCounter() { | |
286 | 286 | case GAMESCOUNTER: Int => | |
287 | 287 | let newGameCounter = (GAMESCOUNTER + 1) | |
288 | 288 | if (!(pmtAmtCheck(betAmount))) | |
289 | 289 | then throw("WRONG_BET_AMOUNT") | |
290 | 290 | else if ((betStatus == "0")) | |
291 | 291 | then WriteSet([DataEntry(gameLabelCounter, newGameCounter), DataEntry(gameLabelBet(toString(playerAddress)), (((((((("BET" + "_") + toString(playerAddress)) + "_") + toString(betAmount)) + "_0_") + "_NLIFE_") + toString(height)) + "_0_0_0_0_0")), DataEntry(addressLabelIn200Wins(toString(playerAddress)), 0)]) | |
292 | 292 | else if ((betStatus == "PLAYED")) | |
293 | 293 | then match addressGet200Wins(toString(playerAddress)) { | |
294 | 294 | case WINS: Int => | |
295 | 295 | if ((WINS >= 0)) | |
296 | 296 | then WriteSet([DataEntry(gameLabelCounter, newGameCounter), DataEntry(gameLabelBet(toString(playerAddress)), ((((((((((((((((("BET" + "_") + toString(playerAddress)) + "_") + toString(betAmount)) + amountToWin) + "_NLIFE_") + toString(height)) + "_") + toString(WINS)) + "_") + win5TimesInARow) + "_") + lose5TimesInARow) + "_") + threeInARow) + "_") + indexElement))]) | |
297 | 297 | else throw("WRONG_GETWINS") | |
298 | 298 | case _ => | |
299 | 299 | throw("ERROR_PLACE_BET") | |
300 | 300 | } | |
301 | 301 | else throw("COMPLETE_ PREVIOUS_GAME") | |
302 | 302 | case _ => | |
303 | 303 | throw("INIT_NEEDED_FOR_COUNT") | |
304 | 304 | } | |
305 | 305 | } | |
306 | 306 | ||
307 | 307 | ||
308 | 308 | ||
309 | 309 | @Callable(i) | |
310 | 310 | func playGame (message,rsaSign1,rsaSign2,rsaSign3) = { | |
311 | 311 | let labelDataList = gameGetData() | |
312 | 312 | let gameStatus = labelDataList[0] | |
313 | 313 | let rowDatatList = gameGetRowData() | |
314 | 314 | let row = parseIntValue(rowDatatList[0]) | |
315 | 315 | let rowPlayer = rowDatatList[1] | |
316 | 316 | let betDataList = gameGetBetData(toString(i.caller)) | |
317 | 317 | let betStatus = betDataList[0] | |
318 | 318 | let playerAddr = betDataList[1] | |
319 | 319 | let betAmount = betDataList[2] | |
320 | 320 | let blockHeight = betDataList[5] | |
321 | 321 | let winsIn200Times = betDataList[6] | |
322 | 322 | let win5TimesInARow = betDataList[7] | |
323 | 323 | let lose5TimesInARow = betDataList[8] | |
324 | 324 | let drum1Int = randomizer(message, rsaSign1, rsaPublicKey1) | |
325 | 325 | let drum2Int = randomizer(message, rsaSign2, rsaPublicKey2) | |
326 | 326 | let drum3Int = randomizer(message, rsaSign3, rsaPublicKey3) | |
327 | 327 | let indexPosition = ((drumIntToString(drum1Int) + drumIntToString(drum2Int)) + drumIntToString(drum3Int)) | |
328 | 328 | let threeInARow = ((drum1[drum1Int] + drum2[drum2Int]) + drum3[drum3Int]) | |
329 | 329 | let amountWon = ((defineMultiplier(threeInARow) + parseIntValue(betAmount)) / parseIntValue(betAmount)) | |
330 | 330 | if ((gameStatus != "ACTIVE")) | |
331 | 331 | then throw("SLOT_GAME_NOT_INITIALIZED") | |
332 | 332 | else if ((betStatus != "BET")) | |
333 | 333 | then throw("PLACE_BET_BEFORE_YOU_PLAY") | |
334 | 334 | else if ((i.caller != addressFromStringValue(playerAddr))) | |
335 | 335 | then throw("NOT_CURRENT_PLAYER") | |
336 | 336 | else if ((amountWon != 0)) | |
337 | 337 | then match addressGet200Wins(playerAddr) { | |
338 | 338 | case WINS: Int => | |
339 | 339 | let newWin = (WINS + 1) | |
340 | 340 | if ((threeInARow == "444")) | |
341 | - | then ScriptResult(WriteSet([DataEntry(gameLabelBet(toString(i.caller)), (((((((((((((((("PLAYED" + "_") + playerAddr) + "_") + betAmount) + "_") + toString(amountWon)) + "_NLIFE_") + toString(height)) + "_") + toString(newWin)) + "_") + win5TimesInARow) + "_ | |
341 | + | then ScriptResult(WriteSet([DataEntry(gameLabelBet(toString(i.caller)), (((((((((((((((((("PLAYED" + "_") + playerAddr) + "_") + betAmount) + "_") + toString(amountWon)) + "_NLIFE_") + toString(height)) + "_") + toString(newWin)) + "_") + win5TimesInARow) + "_") + lose5TimesInARow) + "_") + threeInARow) + "_") + indexPosition)), DataEntry(addressLabelNFT(toString(i.caller)), "GIVE_NFT"), DataEntry(addressLabelIn200Wins(toString(i.caller)), newWin), DataEntry(gameLabel5InARow, ((toString(0) + "_") + playerAddr))]), TransferSet([ScriptTransfer(addressFromStringValue(playerAddr), amountWon, unit)])) | |
342 | 342 | else if ((WINS == 200)) | |
343 | - | then ScriptResult(WriteSet([DataEntry(gameLabelBet(toString(i.caller)), (((((((((((((("PLAYED" + "_") + playerAddr) + "_") + betAmount) + "_") + toString(amountWon)) + "_NLIFE_") + toString(height)) + "_0_") + win5TimesInARow) + "_ | |
343 | + | then ScriptResult(WriteSet([DataEntry(gameLabelBet(toString(i.caller)), (((((((((((((((("PLAYED" + "_") + playerAddr) + "_") + betAmount) + "_") + toString(amountWon)) + "_NLIFE_") + toString(height)) + "_0_") + win5TimesInARow) + "_") + lose5TimesInARow) + "_") + threeInARow) + "_") + indexPosition)), DataEntry(addressLabelIn200Wins(toString(i.caller)), 0), DataEntry(gameLabel5InARow, ((toString(0) + "_") + playerAddr))]), TransferSet([ScriptTransfer(addressFromStringValue(playerAddr), amountWon, unit)])) | |
344 | 344 | else if (if ((playerAddr == rowPlayer)) | |
345 | 345 | then (row == 5) | |
346 | 346 | else false) | |
347 | - | then ScriptResult(WriteSet([DataEntry(gameLabelBet(playerAddr), (((((((((((((((("PLAYED" + "_") + playerAddr) + "_") + betAmount) + "_") + toString(amountWon)) + "_NLIFE_") + toString(height)) + "_") + toString(newWin)) + "_") + | |
347 | + | then ScriptResult(WriteSet([DataEntry(gameLabelBet(playerAddr), (((((((((((((((("PLAYED" + "_") + playerAddr) + "_") + betAmount) + "_") + toString(amountWon)) + "_NLIFE_") + toString(height)) + "_") + toString(newWin)) + "_0_") + lose5TimesInARow) + "_0_") + threeInARow) + "_") + indexPosition)), DataEntry(addressLabelIn200Wins(toString(i.caller)), newWin), DataEntry(gameLabel5InARow, ((toString(0) + "_") + playerAddr))]), TransferSet([ScriptTransfer(addressFromStringValue(playerAddr), amountWon, unit)])) | |
348 | 348 | else if ((playerAddr != rowPlayer)) | |
349 | - | then ScriptResult(WriteSet([DataEntry(gameLabelBet(playerAddr), (((((((((((((((("PLAYED" + "_") + playerAddr) + "_") + betAmount) + "_") + toString(amountWon)) + "_NLIFE_") + toString(height)) + "_") + toString(newWin)) + "_") + toString(newWin)) + "_ | |
349 | + | then ScriptResult(WriteSet([DataEntry(gameLabelBet(playerAddr), (((((((((((((((((("PLAYED" + "_") + playerAddr) + "_") + betAmount) + "_") + toString(amountWon)) + "_NLIFE_") + toString(height)) + "_") + toString(newWin)) + "_") + toString(newWin)) + "_") + lose5TimesInARow) + "_") + threeInARow) + "_") + indexPosition)), DataEntry(addressLabelIn200Wins(toString(i.caller)), newWin), DataEntry(gameLabel5InARow, ((toString(0) + "_") + playerAddr))]), TransferSet([ScriptTransfer(addressFromStringValue(playerAddr), amountWon, unit)])) | |
350 | 350 | else ScriptResult(WriteSet([DataEntry(gameLabelBet(playerAddr), (((((((((((((((((("PLAYED" + "_") + playerAddr) + "_") + betAmount) + "_") + toString(amountWon)) + "_NLIFE_") + toString(height)) + "_") + toString(newWin)) + "_") + toString(newWin)) + "_") + lose5TimesInARow) + "_") + threeInARow) + "_") + indexPosition)), DataEntry(addressLabelIn200Wins(toString(i.caller)), newWin), DataEntry(gameLabel5InARow, ((toString((row + 1)) + "_") + playerAddr))]), TransferSet([ScriptTransfer(addressFromStringValue(playerAddr), amountWon, unit)])) | |
351 | 351 | case _ => | |
352 | 352 | throw("WORNG_INIT_FOR_200WINS") | |
353 | 353 | } | |
354 | 354 | else if (if ((playerAddr == rowPlayer)) | |
355 | 355 | then (row == 5) | |
356 | 356 | else false) | |
357 | 357 | then WriteSet([DataEntry(gameLabelBet(toString(i.caller)), (((((((((((((("PLAYED" + "_") + playerAddr) + "_") + betAmount) + "_") + toString(amountWon)) + "_NLIFE_") + toString(height)) + "_") + winsIn200Times) + "_0_0_") + threeInARow) + "_") + indexPosition)), DataEntry(gameLabel5InARow, ((toString(0) + "_") + playerAddr))]) | |
358 | 358 | else WriteSet([DataEntry(gameLabelBet(toString(i.caller)), (((((((((((((((("PLAYED" + "_") + playerAddr) + "_") + betAmount) + "_") + toString(amountWon)) + "_NLIFE_") + toString(height)) + "_") + winsIn200Times) + "_0_") + toString((row + 1))) + "_") + threeInARow) + "_") + indexPosition)), DataEntry(gameLabel5InARow, ((toString((row + 1)) + "_") + playerAddr))]) | |
359 | 359 | } | |
360 | 360 | ||
361 | 361 | ||
362 | 362 | @Verifier(tx) | |
363 | 363 | func verify () = if (sigVerify(tx.bodyBytes, tx.proofs[0], gamePublicKey)) | |
364 | 364 | then match tx { | |
365 | 365 | case tx: SetScriptTransaction => | |
366 | 366 | true | |
367 | 367 | case _ => | |
368 | 368 | false | |
369 | 369 | } | |
370 | 370 | else false | |
371 | 371 |
github/deemru/w8io/169f3d6 91.72 ms ◑