tx · Hr3oHtKEQJWGZcQ14R16ZqfRnK8YRKCebj3s79A3Wsye

3N3mV2Baor8EY7CYQ7QgAm3tL8KruH1VpKA:  -0.01000000 Waves

2021.07.25 07:30 [1628695] smart account 3N3mV2Baor8EY7CYQ7QgAm3tL8KruH1VpKA > SELF 0.00000000 Waves

{ "type": 13, "id": "Hr3oHtKEQJWGZcQ14R16ZqfRnK8YRKCebj3s79A3Wsye", "fee": 1000000, "feeAssetId": null, "timestamp": 1627187433832, "version": 2, "chainId": 84, "sender": "3N3mV2Baor8EY7CYQ7QgAm3tL8KruH1VpKA", "senderPublicKey": "4P5V3b5K49wXNGa4M6SwDgHAMBa582FxTsF5qjWePQo3", "proofs": [ "3G1F3F12Xt1caDAUv5Fi32pzxRS6T7HzmtKVQvh428A42cYBcBXAg2JkTAotrgMcXEb4N8eTzapYw8CjfbeR3tnz" ], "script": "base64:AAIFAAAAAAAAAAgIAhIECgIICAAAAAAAAAABAAAAA2ludgEAAAAEcGxheQAAAAIAAAAEY2FyZAAAAAVjbGFzcwQAAAANdHJhbnNhY3Rpb25JZAkAAlgAAAABCAUAAAADaW52AAAADXRyYW5zYWN0aW9uSWQEAAAACmN1cnJlbnRLZXkIBQAAAANpbnYAAAAGY2FsbGVyBAAAAAlwYXlBbW91bnQJAQAAAAV2YWx1ZQAAAAEICQABkQAAAAIIBQAAAANpbnYAAAAIcGF5bWVudHMAAAAAAAAAAAAAAAAGYW1vdW50BAAAAA9jdXJyZW50S2V5Qnl0ZXMJAAJYAAAAAQgIBQAAAANpbnYAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAAhjYXJkTmFtZQkAASwAAAACCQABLAAAAAIFAAAABWNsYXNzAgAAAAFfBQAAAARjYXJkBAAAABVjYXJkTmFtZUN1cnJlbnRQbGF5ZXIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgUAAAAFY2xhc3MCAAAAAV8FAAAABGNhcmQCAAAAAV8FAAAAD2N1cnJlbnRLZXlCeX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ABBQAAABxwb2ludHNSZW1haW5pbmdPbldpbm5pbmdDYXJkCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgIAAAAHc3RhdHVzXwUAAAAVY2FyZE5hbWVDdXJyZW50UGxheWVyAgAAAARVc2VkBQAAAANuaWwAAAAAvvcazQ==", "height": 1628695, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 57PrwgLQgHr4sD9ieSF8msmTihd8JJYCoJXcATh7orEr Next: GsWJ9o3vacbzEfdtjck5jQYfMqvvmiLzAngghKMCML4A Diff:
OldNewDifferences
212212 then (currentCardScore - arenaCardScore)
213213 else (arenaCardScore - currentCardScore)
214214 let rewardValue = (((payAmount * 19) / 10) / 2)
215- throw(toString(currentCardScore))
215+[StringEntry("playerIntTheArena", winner), StringEntry("cardInTheArena", cardName), IntegerEntry("arenaCardScore", pointsRemainingOnWinningCard), if ((resultVerifyStatusCards == 9))
216+ then StringEntry(((("status_" + class) + "_01_") + currentKeyBytes), "")
217+ else StringEntry("ElseObrigatorio", ""), if ((resultVerifyStatusCards == 9))
218+ then StringEntry(((("status_" + class) + "_02_") + currentKeyBytes), "")
219+ else StringEntry("ElseObrigatorio", ""), if ((resultVerifyStatusCards == 9))
220+ then StringEntry(((("status_" + class) + "_03_") + currentKeyBytes), "")
221+ else StringEntry("ElseObrigatorio", ""), if ((resultVerifyStatusCards == 9))
222+ then StringEntry(((("status_" + class) + "_04_") + currentKeyBytes), "")
223+ else StringEntry("ElseObrigatorio", ""), if ((resultVerifyStatusCards == 9))
224+ then StringEntry(((("status_" + class) + "_05_") + currentKeyBytes), "")
225+ else StringEntry("ElseObrigatorio", ""), if ((resultVerifyStatusCards == 9))
226+ then StringEntry(((("status_" + class) + "_06_") + currentKeyBytes), "")
227+ else StringEntry("ElseObrigatorio", ""), if ((resultVerifyStatusCards == 9))
228+ then StringEntry(((("status_" + class) + "_07_") + currentKeyBytes), "")
229+ else StringEntry("ElseObrigatorio", ""), if ((resultVerifyStatusCards == 9))
230+ then StringEntry(((("status_" + class) + "_08_") + currentKeyBytes), "")
231+ else StringEntry("ElseObrigatorio", ""), if ((resultVerifyStatusCards == 9))
232+ then StringEntry(((("status_" + class) + "_09_") + currentKeyBytes), "")
233+ else StringEntry("ElseObrigatorio", ""), if ((resultVerifyStatusCards == 9))
234+ then StringEntry(((("status_" + class) + "_10_") + currentKeyBytes), "")
235+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), IntegerEntry(("balance_waves_" + winner), 100), StringEntry(((("history_" + currentKeyBytes) + "_") + transactionId), ((((((((((("usedCard:" + cardName) + "/ cardInTheArena: ") + cardInTheArena) + "/ arenaCardScore:") + toString(arenaCardScore)) + "/ winner:") + winner) + "/ winningCard:") + winningCard) + "/ pointsRemainingOnWinningCard:") + toString(pointsRemainingOnWinningCard))), StringEntry("Resultado da Partida: ", ((((((("usedCard:" + cardName) + "/ winner:") + winner) + "/ winningCard:") + winningCard) + "/ pointsRemainingOnWinningCard:") + toString(pointsRemainingOnWinningCard))), StringEntry(("status_" + cardNameCurrentPlayer), "Used")]
216236 }
217237 }
218238
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(inv)
77 func play (card,class) = {
88 let transactionId = toBase58String(inv.transactionId)
99 let currentKey = inv.caller
1010 let payAmount = value(inv.payments[0].amount)
1111 let currentKeyBytes = toBase58String(inv.caller.bytes)
1212 let cardName = ((class + "_") + card)
1313 let cardNameCurrentPlayer = ((((class + "_") + card) + "_") + currentKeyBytes)
1414 let undead = base58'3btiz2mNkbcFhcAww6Zn6WaRtDY3mLHf2dbJHNNbdUFk'
1515 let cardsGame = ["Undead_01", "Undead_02", "Undead_03", "Undead_04", "Undead_05", "Undead_07", "Undead_08", "Undead_09", "Undead_10"]
1616 let classGame = ["Undead"]
1717 let assetsGame = ["3btiz2mNkbcFhcAww6Zn6WaRtDY3mLHf2dbJHNNbdUFk"]
1818 let currentCardStatus = match getString(this, ("status_" + cardNameCurrentPlayer)) {
1919 case t: String =>
2020 t
2121 case _ =>
2222 ""
2323 }
2424 let currentCardScore = match getInteger(this, cardName) {
2525 case t: Int =>
2626 t
2727 case _ =>
2828 0
2929 }
3030 let playerInTheArena = match getString(this, "playerInTheArena") {
3131 case t: String =>
3232 t
3333 case _ =>
3434 ""
3535 }
3636 let cardInTheArena = match getString(this, "cardInTheArena") {
3737 case t: String =>
3838 t
3939 case _ =>
4040 ""
4141 }
4242 let arenaCardScore = match getInteger(this, "arenaCardScore") {
4343 case t: Int =>
4444 t
4545 case _ =>
4646 0
4747 }
4848 let statusCard01 = if (( match getString(this, ((("status_" + class) + "_01_") + currentKeyBytes)) {
4949 case t: String =>
5050 t
5151 case _ =>
5252 ""
5353 } == "Used"))
5454 then 1
5555 else 0
5656 let statusCard02 = if (( match getString(this, ((("status_" + class) + "_02_") + currentKeyBytes)) {
5757 case t: String =>
5858 t
5959 case _ =>
6060 ""
6161 } == "Used"))
6262 then 1
6363 else 0
6464 let statusCard03 = if (( match getString(this, ((("status_" + class) + "_03_") + currentKeyBytes)) {
6565 case t: String =>
6666 t
6767 case _ =>
6868 ""
6969 } == "Used"))
7070 then 1
7171 else 0
7272 let statusCard04 = if (( match getString(this, ((("status_" + class) + "_04_") + currentKeyBytes)) {
7373 case t: String =>
7474 t
7575 case _ =>
7676 ""
7777 } == "Used"))
7878 then 1
7979 else 0
8080 let statusCard05 = if (( match getString(this, ((("status_" + class) + "_05_") + currentKeyBytes)) {
8181 case t: String =>
8282 t
8383 case _ =>
8484 ""
8585 } == "Used"))
8686 then 1
8787 else 0
8888 let statusCard06 = if (( match getString(this, ((("status_" + class) + "_06_") + currentKeyBytes)) {
8989 case t: String =>
9090 t
9191 case _ =>
9292 ""
9393 } == "Used"))
9494 then 1
9595 else 0
9696 let statusCard07 = if (( match getString(this, ((("status_" + class) + "_07_") + currentKeyBytes)) {
9797 case t: String =>
9898 t
9999 case _ =>
100100 ""
101101 } == "Used"))
102102 then 1
103103 else 0
104104 let statusCard08 = if (( match getString(this, ((("status_" + class) + "_08_") + currentKeyBytes)) {
105105 case t: String =>
106106 t
107107 case _ =>
108108 ""
109109 } == "Used"))
110110 then 1
111111 else 0
112112 let statusCard09 = if (( match getString(this, ((("status_" + class) + "_09_") + currentKeyBytes)) {
113113 case t: String =>
114114 t
115115 case _ =>
116116 ""
117117 } == "Used"))
118118 then 1
119119 else 0
120120 let statusCard10 = if (( match getString(this, ((("status_" + class) + "_10_") + currentKeyBytes)) {
121121 case t: String =>
122122 t
123123 case _ =>
124124 ""
125125 } == "Used"))
126126 then 1
127127 else 0
128128 let statusCards = [statusCard01, statusCard02, statusCard03, statusCard04, statusCard05, statusCard06, statusCard07, statusCard08, statusCard09, statusCard10]
129129 func foldFunc (acc,e) = (acc + e)
130130
131131 let resultVerifyStatusCards = {
132132 let $list43804414 = statusCards
133133 let $size43804414 = size($list43804414)
134134 let $acc043804414 = 0
135135 if (($size43804414 == 0))
136136 then $acc043804414
137137 else {
138138 let $acc143804414 = foldFunc($acc043804414, $list43804414[0])
139139 if (($size43804414 == 1))
140140 then $acc143804414
141141 else {
142142 let $acc243804414 = foldFunc($acc143804414, $list43804414[1])
143143 if (($size43804414 == 2))
144144 then $acc243804414
145145 else {
146146 let $acc343804414 = foldFunc($acc243804414, $list43804414[2])
147147 if (($size43804414 == 3))
148148 then $acc343804414
149149 else {
150150 let $acc443804414 = foldFunc($acc343804414, $list43804414[3])
151151 if (($size43804414 == 4))
152152 then $acc443804414
153153 else {
154154 let $acc543804414 = foldFunc($acc443804414, $list43804414[4])
155155 if (($size43804414 == 5))
156156 then $acc543804414
157157 else {
158158 let $acc643804414 = foldFunc($acc543804414, $list43804414[5])
159159 if (($size43804414 == 6))
160160 then $acc643804414
161161 else {
162162 let $acc743804414 = foldFunc($acc643804414, $list43804414[6])
163163 if (($size43804414 == 7))
164164 then $acc743804414
165165 else {
166166 let $acc843804414 = foldFunc($acc743804414, $list43804414[7])
167167 if (($size43804414 == 8))
168168 then $acc843804414
169169 else {
170170 let $acc943804414 = foldFunc($acc843804414, $list43804414[8])
171171 if (($size43804414 == 9))
172172 then $acc943804414
173173 else {
174174 let $acc1043804414 = foldFunc($acc943804414, $list43804414[9])
175175 if (($size43804414 == 10))
176176 then $acc1043804414
177177 else {
178178 let $acc1143804414 = foldFunc($acc1043804414, $list43804414[10])
179179 throw("List size exceed 10")
180180 }
181181 }
182182 }
183183 }
184184 }
185185 }
186186 }
187187 }
188188 }
189189 }
190190 }
191191 }
192192 if (if (!(containsElement(classGame, class)))
193193 then !(containsElement(cardsGame, card))
194194 else false)
195195 then throw("A classe enviada não existe no game! Por favor contate o suporte!")
196196 else if ((0 > assetBalance(currentKey, undead)))
197197 then throw("E necessário ter o token do deck em sua carteira! Para adquirir, realize a compra em Swap Decks.")
198198 else if (if ((cardInTheArena == ""))
199199 then true
200200 else (playerInTheArena == ""))
201201 then [StringEntry("playerInTheArena", currentKeyBytes), StringEntry("cardInTheArena", cardName), IntegerEntry("arenaCardScore", currentCardScore)]
202202 else if ((currentCardStatus == "Used"))
203203 then throw("Esta carta já foi utilizada! Utilize todas as cartas do deck para esta ser liberada novamente!")
204204 else {
205205 let winner = if ((currentCardScore > arenaCardScore))
206206 then currentKeyBytes
207207 else playerInTheArena
208208 let winningCard = if ((currentCardScore > arenaCardScore))
209209 then cardName
210210 else cardInTheArena
211211 let pointsRemainingOnWinningCard = if ((currentCardScore > arenaCardScore))
212212 then (currentCardScore - arenaCardScore)
213213 else (arenaCardScore - currentCardScore)
214214 let rewardValue = (((payAmount * 19) / 10) / 2)
215- throw(toString(currentCardScore))
215+[StringEntry("playerIntTheArena", winner), StringEntry("cardInTheArena", cardName), IntegerEntry("arenaCardScore", pointsRemainingOnWinningCard), if ((resultVerifyStatusCards == 9))
216+ then StringEntry(((("status_" + class) + "_01_") + currentKeyBytes), "")
217+ else StringEntry("ElseObrigatorio", ""), if ((resultVerifyStatusCards == 9))
218+ then StringEntry(((("status_" + class) + "_02_") + currentKeyBytes), "")
219+ else StringEntry("ElseObrigatorio", ""), if ((resultVerifyStatusCards == 9))
220+ then StringEntry(((("status_" + class) + "_03_") + currentKeyBytes), "")
221+ else StringEntry("ElseObrigatorio", ""), if ((resultVerifyStatusCards == 9))
222+ then StringEntry(((("status_" + class) + "_04_") + currentKeyBytes), "")
223+ else StringEntry("ElseObrigatorio", ""), if ((resultVerifyStatusCards == 9))
224+ then StringEntry(((("status_" + class) + "_05_") + currentKeyBytes), "")
225+ else StringEntry("ElseObrigatorio", ""), if ((resultVerifyStatusCards == 9))
226+ then StringEntry(((("status_" + class) + "_06_") + currentKeyBytes), "")
227+ else StringEntry("ElseObrigatorio", ""), if ((resultVerifyStatusCards == 9))
228+ then StringEntry(((("status_" + class) + "_07_") + currentKeyBytes), "")
229+ else StringEntry("ElseObrigatorio", ""), if ((resultVerifyStatusCards == 9))
230+ then StringEntry(((("status_" + class) + "_08_") + currentKeyBytes), "")
231+ else StringEntry("ElseObrigatorio", ""), if ((resultVerifyStatusCards == 9))
232+ then StringEntry(((("status_" + class) + "_09_") + currentKeyBytes), "")
233+ else StringEntry("ElseObrigatorio", ""), if ((resultVerifyStatusCards == 9))
234+ then StringEntry(((("status_" + class) + "_10_") + currentKeyBytes), "")
235+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), IntegerEntry(("balance_waves_" + winner), 100), StringEntry(((("history_" + currentKeyBytes) + "_") + transactionId), ((((((((((("usedCard:" + cardName) + "/ cardInTheArena: ") + cardInTheArena) + "/ arenaCardScore:") + toString(arenaCardScore)) + "/ winner:") + winner) + "/ winningCard:") + winningCard) + "/ pointsRemainingOnWinningCard:") + toString(pointsRemainingOnWinningCard))), StringEntry("Resultado da Partida: ", ((((((("usedCard:" + cardName) + "/ winner:") + winner) + "/ winningCard:") + winningCard) + "/ pointsRemainingOnWinningCard:") + toString(pointsRemainingOnWinningCard))), StringEntry(("status_" + cardNameCurrentPlayer), "Used")]
216236 }
217237 }
218238
219239

github/deemru/w8io/026f985 
43.84 ms