tx · HJJiaqQdhQy9DsyRkF4uBp8gVthdgMtNH9SFRbY32pjA

3NC3ZeZYDpDR72ngL6CoC19ygSD9uGBW3fX:  -0.01000000 Waves

2023.06.02 00:56 [2604175] smart account 3NC3ZeZYDpDR72ngL6CoC19ygSD9uGBW3fX > SELF 0.00000000 Waves

{ "type": 13, "id": "HJJiaqQdhQy9DsyRkF4uBp8gVthdgMtNH9SFRbY32pjA", "fee": 1000000, "feeAssetId": null, "timestamp": 1685656674579, "version": 2, "chainId": 84, "sender": "3NC3ZeZYDpDR72ngL6CoC19ygSD9uGBW3fX", "senderPublicKey": "8jH62ceUHZbFsEBSPohAjv3Rzc8mw3QhZaUKhGHngY2J", "proofs": [ "2g4fLpUc631r4V173P5ddWNibvT9adokoNA4HsooW7QvfE4vcUCk5uH5nmbEdSqQ71Xxu2VVYGNAqtxX13Ajfzg3" ], "script": "base64:BgIQCAISABIAEgASBgoEEQEICAMADnRvdGFsTWF0Y2hzS2V5Ag50b3RhbE1hdGNoc0tleQEQdHJ5R2V0SW50ZWdlckV4dAIHYWRkcmVzcwNrZXkEByRtYXRjaDAJAJoIAgUHYWRkcmVzcwUDa2V5AwkAAQIFByRtYXRjaDACA0ludAQBYQUHJG1hdGNoMAUBYQAAAQl0cnlHZXRJbnQBA2tleQkBEHRyeUdldEludGVnZXJFeHQCBQR0aGlzBQNrZXkEAWkBB215VG9rZW4ACQCUCgIJAMwIAgkAwggFCQCsAgICBlRfdGNjXwkArwICCQDYBAEICAUBaQZjYWxsZXIFYnl0ZXMABgIAAKCNBgACBgUDbmlsBQR1bml0AWkBCmNsYWltVG9rZW4ABAlyZWNpcGllbnQIBQFpBmNhbGxlcgQFdG9rZW4JANkEAQIsQlRQaUNlQUVkNEVLa0N5eVJUakROdzNmeW1EN1B2b3I2UFFBeVZQTjMyWlMJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwUJcmVjaXBpZW50AOgHBQV0b2tlbgUDbmlsAWkBDGRlcG9zaXRUb2tlbgAECX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uaWwA3Q7xkA==", "height": 2604175, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9tvqPyhuvUsrztQEqQKzAXJLPv99BjTg64XzoS1yipVb Next: GuehQb4KtHnTumtjEpqVsN2hcT5zSywkU2aCZiCwoB2H Diff:
OldNewDifferences
2626 func claimToken () = {
2727 let i = h.caller
2828 let j = fromBase58String("BTPiCeAEd4EKkCyyRTjDNw3fymD7Pvor6PQAyVPN32ZS")
29-[ScriptTransfer(i, 200, j)]
29+[ScriptTransfer(i, 1000, j)]
3030 }
3131
3232
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")
29-[ScriptTransfer(i, 200, j)]
29+[ScriptTransfer(i, 1000, 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,m,n) = {
4545 let i = h.caller
4646 let j = fromBase58String("BTPiCeAEd4EKkCyyRTjDNw3fymD7Pvor6PQAyVPN32ZS")
4747 if (containsElement(k, (3 * (l + 1))))
4848 then {
4949 let o = (g(a) + 1)
5050 let p = ("Partida-" + toString(o))
5151 let q = (((((("Vencedor: " + toBase58String(h.caller.bytes)) + " ; ") + "Oponente: ") + m) + "Tabuleiro: ") + n)
5252 [IntegerEntry(a, o), StringEntry(p, q), ScriptTransfer(i, 400, j)]
5353 }
5454 else if (if (containsElement(k, 3))
5555 then true
5656 else containsElement(k, 6))
5757 then [StringEntry("Jogador", "Perdeu")]
5858 else [StringEntry("Ambos", "Empate")]
5959 }
6060
6161

github/deemru/w8io/169f3d6 
36.39 ms