tx · 5AyrVjmRLNTsLZSfNq5H95J2EtyctqAEzz8boKqNbNme

3NC3ZeZYDpDR72ngL6CoC19ygSD9uGBW3fX:  -0.01000000 Waves

2023.05.01 00:04 [2557796] smart account 3NC3ZeZYDpDR72ngL6CoC19ygSD9uGBW3fX > SELF 0.00000000 Waves

{ "type": 13, "id": "5AyrVjmRLNTsLZSfNq5H95J2EtyctqAEzz8boKqNbNme", "fee": 1000000, "feeAssetId": null, "timestamp": 1682888790192, "version": 2, "chainId": 84, "sender": "3NC3ZeZYDpDR72ngL6CoC19ygSD9uGBW3fX", "senderPublicKey": "8jH62ceUHZbFsEBSPohAjv3Rzc8mw3QhZaUKhGHngY2J", "proofs": [ "2eRjWP1C3HQwsnLjFQTVEyqq1PxnY4R8wHdtiN26GT3gCkrTPaK52fETctGNdt6eYpkNf5QDu6DoGUuCfnrBDCjT" ], "script": "base64:BgIOCAISABIAEgASBAoCEQEDAA50b3RhbE1hdGNoc0tleQIOdG90YWxNYXRjaHNLZXkBEHRyeUdldEludGVnZXJFeHQCB2FkZHJlc3MDa2V5BAckbWF0Y2gwCQCaCAIFB2FkZHJlc3MFA2tleQMJAAECBQckbWF0Y2gwAgNJbnQEAWEFByRtYXRjaDAFAWEAAAEJdHJ5R2V0SW50AQNrZXkJARB0cnlHZXRJbnRlZ2VyRXh0AgUEdGhpcwUDa2V5BAFpAQdteVRva2VuAAkAlAoCCQDMCAIJAMIIBQkArAICAgZUX3RjY18JAK8CAgkA2AQBCAgFAWkGY2FsbGVyBWJ5dGVzAAYCAACgjQYAAgYFA25pbAUEdW5pdAFpAQpjbGFpbVRva2VuAAQJcmVjaXBpZW50CAUBaQZjYWxsZXIEBXRva2VuCQDZBAECLEJUUGlDZUFFZDRFS2tDeXlSVGpETnczZnltRDdQdm9yNlBRQXlWUE4zMlpTCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMFCXJlY2lwaWVudADIAQUFdG9rZW4FA25pbAFpAQxkZXBvc2l0VG9rZW4ABAlyZWNpcGllbnQJANgEAQgIBQFpBmNhbGxlcgVieXRlcwQFdG9rZW4JANkEAQIsQlRQaUNlQUVkNEVLa0N5eVJUakROdzNmeW1EN1B2b3I2UFFBeVZQTjMyWlMJAMwIAgkBC1N0cmluZ0VudHJ5AgUJcmVjaXBpZW50AgMxMDAFA25pbAFpARF2ZXJpZmljYXJWZW5jZWRvcgIIc29sdWNvZXMJbnVtUGxheWVyBAlyZWNpcGllbnQIBQFpBmNhbGxlcgQFdG9rZW4JANkEAQIsQlRQaUNlQUVkNEVLa0N5eVJUakROdzNmeW1EN1B2b3I2UFFBeVZQTjMyWlMDCQEPY29udGFpbnNFbGVtZW50AgUIc29sdWNvZXMJAGgCAAMJAGQCBQludW1QbGF5ZXIAAQQDcXRkCQBkAgkBCXRyeUdldEludAEFDnRvdGFsTWF0Y2hzS2V5AAEEDWFtb3VudE1hdGNoZXMJAKwCAgIIUGFydGlkYS0JAKQDAQUDcXRkCQDMCAIJAQxJbnRlZ2VyRW50cnkCBQ50b3RhbE1hdGNoc0tleQUDcXRkCQDMCAIJAQtTdHJpbmdFbnRyeQIFDWFtb3VudE1hdGNoZXMCEEpvZ2Fkb3IgY2FydGVpcmEJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwUJcmVjaXBpZW50AJADBQV0b2tlbgUDbmlsAwMJAQ9jb250YWluc0VsZW1lbnQCBQhzb2x1Y29lcwADBgkBD2NvbnRhaW5zRWxlbWVudAIFCHNvbHVjb2VzAAYJAMwIAgkBC1N0cmluZ0VudHJ5AgIHSm9nYWRvcgIGUGVyZGV1BQNuaWwJAMwIAgkBC1N0cmluZ0VudHJ5AgIFQW1ib3MCBkVtcGF0ZQUDbmlsAPOv9AA=", "height": 2557796, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8vroTRaTeoUx6g8r6E17Lzb9GAPtNzXWT49xDDSVxmgV Next: 9tvqPyhuvUsrztQEqQKzAXJLPv99BjTg64XzoS1yipVb Diff:
OldNewDifferences
4848 then {
4949 let m = (g(a) + 1)
5050 let n = ("Partida-" + toString(m))
51-[StringEntry(n, "Jogador carteira"), ScriptTransfer(i, 400, j)]
51+[IntegerEntry(a, m), StringEntry(n, "Jogador carteira"), ScriptTransfer(i, 400, j)]
5252 }
5353 else if (if (containsElement(k, 3))
5454 then true
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "totalMatchsKey"
55
66 func b (c,d) = {
77 let e = getInteger(c, d)
88 if ($isInstanceOf(e, "Int"))
99 then {
1010 let f = e
1111 f
1212 }
1313 else 0
1414 }
1515
1616
1717 func g (d) = b(this, d)
1818
1919
2020 @Callable(h)
2121 func myToken () = $Tuple2([Issue(("T_tcc_" + take(toBase58String(h.caller.bytes), 6)), "", 100000, 2, true)], unit)
2222
2323
2424
2525 @Callable(h)
2626 func claimToken () = {
2727 let i = h.caller
2828 let j = fromBase58String("BTPiCeAEd4EKkCyyRTjDNw3fymD7Pvor6PQAyVPN32ZS")
2929 [ScriptTransfer(i, 200, j)]
3030 }
3131
3232
3333
3434 @Callable(h)
3535 func depositToken () = {
3636 let i = toBase58String(h.caller.bytes)
3737 let j = fromBase58String("BTPiCeAEd4EKkCyyRTjDNw3fymD7Pvor6PQAyVPN32ZS")
3838 [StringEntry(i, "100")]
3939 }
4040
4141
4242
4343 @Callable(h)
4444 func verificarVencedor (k,l) = {
4545 let i = h.caller
4646 let j = fromBase58String("BTPiCeAEd4EKkCyyRTjDNw3fymD7Pvor6PQAyVPN32ZS")
4747 if (containsElement(k, (3 * (l + 1))))
4848 then {
4949 let m = (g(a) + 1)
5050 let n = ("Partida-" + toString(m))
51-[StringEntry(n, "Jogador carteira"), ScriptTransfer(i, 400, j)]
51+[IntegerEntry(a, m), StringEntry(n, "Jogador carteira"), ScriptTransfer(i, 400, j)]
5252 }
5353 else if (if (containsElement(k, 3))
5454 then true
5555 else containsElement(k, 6))
5656 then [StringEntry("Jogador", "Perdeu")]
5757 else [StringEntry("Ambos", "Empate")]
5858 }
5959
6060

github/deemru/w8io/026f985 
34.42 ms