tx · 4TDsf9kDbuMBGTegnjQnTm3GChj5vgX8r9JiTmHffSdb

3NC3ZeZYDpDR72ngL6CoC19ygSD9uGBW3fX:  -0.01000000 Waves

2023.04.27 02:22 [2552166] smart account 3NC3ZeZYDpDR72ngL6CoC19ygSD9uGBW3fX > SELF 0.00000000 Waves

{ "type": 13, "id": "4TDsf9kDbuMBGTegnjQnTm3GChj5vgX8r9JiTmHffSdb", "fee": 1000000, "feeAssetId": null, "timestamp": 1682551356196, "version": 2, "chainId": 84, "sender": "3NC3ZeZYDpDR72ngL6CoC19ygSD9uGBW3fX", "senderPublicKey": "8jH62ceUHZbFsEBSPohAjv3Rzc8mw3QhZaUKhGHngY2J", "proofs": [ "3TVqezozCPdTChFFFuvkREMkaDsvs9A72SzvAK41APPJjKtrh4x1UirPVHodPZ2m1sYvGXRKSK4R43BdUq6jigsB" ], "script": "base64:BgIOCAISABIAEgASBAoCEQEABAFpAQdteVRva2VuAAkAlAoCCQDMCAIJAMIIBQkArAICAgZUX3RjY18JAK8CAgkA2AQBCAgFAWkGY2FsbGVyBWJ5dGVzAAYCAACgjQYAAgYFA25pbAUEdW5pdAFpAQpjbGFpbVRva2VuAAQJcmVjaXBpZW50CAUBaQZjYWxsZXIEBXRva2VuCQDZBAECLEJUUGlDZUFFZDRFS2tDeXlSVGpETnczZnltRDdQdm9yNlBRQXlWUE4zMlpTCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMFCXJlY2lwaWVudADIAQUFdG9rZW4FA25pbAFpAQxkZXBvc2l0VG9rZW4ABAlyZWNpcGllbnQJANgEAQgIBQFpBmNhbGxlcgVieXRlcwQFdG9rZW4JANkEAQIsQlRQaUNlQUVkNEVLa0N5eVJUakROdzNmeW1EN1B2b3I2UFFBeVZQTjMyWlMJAMwIAgkBC1N0cmluZ0VudHJ5AgUJcmVjaXBpZW50AgMxMDAFA25pbAFpARF2ZXJpZmljYXJWZW5jZWRvcgIIc29sdWNvZXMJbnVtUGxheWVyBAlyZWNpcGllbnQIBQFpBmNhbGxlcgQFdG9rZW4JANkEAQIsQlRQaUNlQUVkNEVLa0N5eVJUakROdzNmeW1EN1B2b3I2UFFBeVZQTjMyWlMDCQEPY29udGFpbnNFbGVtZW50AgUIc29sdWNvZXMJAGgCAAMJAGQCBQludW1QbGF5ZXIAAQkAzAgCCQELU3RyaW5nRW50cnkCAgdKb2dhZG9yAgZHYW5ob3UJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwUJcmVjaXBpZW50AJADBQV0b2tlbgUDbmlsAwMJAQ9jb250YWluc0VsZW1lbnQCBQhzb2x1Y29lcwADBgkBD2NvbnRhaW5zRWxlbWVudAIFCHNvbHVjb2VzAAYJAMwIAgkBC1N0cmluZ0VudHJ5AgIHSm9nYWRvcgIGUGVyZGV1BQNuaWwJAMwIAgkBC1N0cmluZ0VudHJ5AgIFQW1ib3MCBkVtcGF0ZQUDbmlsAPtZoGc=", "height": 2552166, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2CKNAe4kSfH1T7PGMQjEcdmCe65yYQaBfrGJcUfH7G6y Next: 5vXxXUK2uV9qFytkrghcaGHYUHnMPb8g1PxiyaV4Y35j Diff:
OldNewDifferences
3131 let recipient = i.caller
3232 let token = fromBase58String("BTPiCeAEd4EKkCyyRTjDNw3fymD7Pvor6PQAyVPN32ZS")
3333 if (containsElement(solucoes, (3 * (numPlayer + 1))))
34- then [StringEntry("Jogador", "Ganhou"), ScriptTransfer(recipient, 200, token)]
34+ then [StringEntry("Jogador", "Ganhou"), ScriptTransfer(recipient, 400, token)]
3535 else if (if (containsElement(solucoes, 3))
3636 then true
3737 else containsElement(solucoes, 6))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func myToken () = $Tuple2([Issue(("T_tcc_" + take(toBase58String(i.caller.bytes), 6)), "", 100000, 2, true)], unit)
88
99
1010
1111 @Callable(i)
1212 func claimToken () = {
1313 let recipient = i.caller
1414 let token = fromBase58String("BTPiCeAEd4EKkCyyRTjDNw3fymD7Pvor6PQAyVPN32ZS")
1515 [ScriptTransfer(recipient, 200, token)]
1616 }
1717
1818
1919
2020 @Callable(i)
2121 func depositToken () = {
2222 let recipient = toBase58String(i.caller.bytes)
2323 let token = fromBase58String("BTPiCeAEd4EKkCyyRTjDNw3fymD7Pvor6PQAyVPN32ZS")
2424 [StringEntry(recipient, "100")]
2525 }
2626
2727
2828
2929 @Callable(i)
3030 func verificarVencedor (solucoes,numPlayer) = {
3131 let recipient = i.caller
3232 let token = fromBase58String("BTPiCeAEd4EKkCyyRTjDNw3fymD7Pvor6PQAyVPN32ZS")
3333 if (containsElement(solucoes, (3 * (numPlayer + 1))))
34- then [StringEntry("Jogador", "Ganhou"), ScriptTransfer(recipient, 200, token)]
34+ then [StringEntry("Jogador", "Ganhou"), ScriptTransfer(recipient, 400, token)]
3535 else if (if (containsElement(solucoes, 3))
3636 then true
3737 else containsElement(solucoes, 6))
3838 then [StringEntry("Jogador", "Perdeu")]
3939 else [StringEntry("Ambos", "Empate")]
4040 }
4141
4242

github/deemru/w8io/169f3d6 
33.54 ms