tx · EStQtC4qWqHnEesFDheQr1e8GqZKcYSf8pWwJxh6LJtx

3NCnz63Wq3UgikV5jJfQpG5snnibGbfUHR1:  -0.00500000 Waves

2023.03.25 19:46 [2505784] smart account 3NCnz63Wq3UgikV5jJfQpG5snnibGbfUHR1 > SELF 0.00000000 Waves

{ "type": 13, "id": "EStQtC4qWqHnEesFDheQr1e8GqZKcYSf8pWwJxh6LJtx", "fee": 500000, "feeAssetId": null, "timestamp": 1679762864656, "version": 2, "chainId": 84, "sender": "3NCnz63Wq3UgikV5jJfQpG5snnibGbfUHR1", "senderPublicKey": "4aqyXQp8dTe3bcQoReatzejrngYuQvyooFPeNe8925zb", "proofs": [ "2GpJEeUPJhw3sJizifDMuY541NnUfHSb3fof1CfMtPfVnp1WyC6enqPVUNi8YWDUEGWBhgG6KGKuJdCWUEX67BBM" ], "script": "base64:BgIECAISAAEABXRlYW1zASCFY5Wj84iOsN4MF44ITr+aP5K7Jts66HaOFtwUIipIfgEBaQEGYnV5TmZ0AAQGdmFsdWVzCQDMCAICIzNON1N5NFFSZ0xyaGpXQ2hicGl5RnhhUnJZdFROUkd1TlVzCQDMCAICIzNOODVZVzZOWjlwTFl2U2R0MUFTTVFUR3h2bmNuVTF2VU54BQNuaWwKAQ5hZGRTdHJpbmdFbnRyeQIFYWNjdW0JbmV4dFZhbHVlBAVwcmljZQIBMQkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCQEHQWRkcmVzcwEJANkEAQUJbmV4dFZhbHVlCQENcGFyc2VJbnRWYWx1ZQEFBXByaWNlBQR1bml0CQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgIES2V5XwUJbmV4dFZhbHVlBQluZXh0VmFsdWUJAMwIAgkAZAIFBWFjY3VtAAEFA25pbAQGcmVzdWx0CgACJGwFBnZhbHVlcwoAAiRzCQCQAwEFAiRsCgAFJGFjYzAAAAoBBSRmMF8xAgIkYQIkaQMJAGcCBQIkaQUCJHMFAiRhCQEOYWRkU3RyaW5nRW50cnkCBQIkYQkAkQMCBQIkbAUCJGkKAQUkZjBfMgICJGECJGkDCQBnAgUCJGkFAiRzBQIkYQkAAgECE0xpc3Qgc2l6ZSBleGNlZWRzIDIJAQUkZjBfMgIJAQUkZjBfMQIJAQUkZjBfMQIFBSRhY2MwAAAAAQACBQNuaWwAYqeMJQ==", "height": 2505784, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HPvu1dnfPDHiKjFttpBPMQtVKBSEFCjeGxxSAZyFmZVG Next: AXNCTJJVBPr29AxuLRQBdPxgirUfGvk5D3uZY2pPzHCo Diff:
OldNewDifferences
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'
55
6-func b (c,d) = {
7- let e = "1"
8-[ScriptTransfer(Address(fromBase58String(d)), parseIntValue(e), unit), StringEntry(("Key_" + d), d)]
9- }
6+@Callable(b)
7+func buyNft () = {
8+ let c = ["3N7Sy4QRgLrhjWChbpiyFxaRrYtTNRGuNUs", "3N85YW6NZ9pLYvSdt1ASMQTGxvncnU1vUNx"]
9+ func d (e,f) = {
10+ let g = "1"
11+[ScriptTransfer(Address(fromBase58String(f)), parseIntValue(g), unit), StringEntry(("Key_" + f), f), (e + 1)]
12+ }
1013
11-
12-@Callable(f)
13-func buyNft () = {
14- let g = ["3N7Sy4QRgLrhjWChbpiyFxaRrYtTNRGuNUs", "3N85YW6NZ9pLYvSdt1ASMQTGxvncnU1vUNx"]
1514 let h = {
16- let i = g
15+ let i = c
1716 let j = size(i)
1817 let k = 0
1918 func l (m,n) = if ((n >= j))
2019 then m
21- else b(m, i[n])
20+ else d(m, i[n])
2221
2322 func o (m,n) = if ((n >= j))
2423 then m
25- else throw("List size exceeds 10")
24+ else throw("List size exceeds 2")
2625
27- o(l(l(l(l(l(l(l(l(l(l(k, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
26+ o(l(l(k, 0), 1), 2)
2827 }
2928 nil
3029 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'
55
6-func b (c,d) = {
7- let e = "1"
8-[ScriptTransfer(Address(fromBase58String(d)), parseIntValue(e), unit), StringEntry(("Key_" + d), d)]
9- }
6+@Callable(b)
7+func buyNft () = {
8+ let c = ["3N7Sy4QRgLrhjWChbpiyFxaRrYtTNRGuNUs", "3N85YW6NZ9pLYvSdt1ASMQTGxvncnU1vUNx"]
9+ func d (e,f) = {
10+ let g = "1"
11+[ScriptTransfer(Address(fromBase58String(f)), parseIntValue(g), unit), StringEntry(("Key_" + f), f), (e + 1)]
12+ }
1013
11-
12-@Callable(f)
13-func buyNft () = {
14- let g = ["3N7Sy4QRgLrhjWChbpiyFxaRrYtTNRGuNUs", "3N85YW6NZ9pLYvSdt1ASMQTGxvncnU1vUNx"]
1514 let h = {
16- let i = g
15+ let i = c
1716 let j = size(i)
1817 let k = 0
1918 func l (m,n) = if ((n >= j))
2019 then m
21- else b(m, i[n])
20+ else d(m, i[n])
2221
2322 func o (m,n) = if ((n >= j))
2423 then m
25- else throw("List size exceeds 10")
24+ else throw("List size exceeds 2")
2625
27- o(l(l(l(l(l(l(l(l(l(l(k, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
26+ o(l(l(k, 0), 1), 2)
2827 }
2928 nil
3029 }
3130
3231

github/deemru/w8io/169f3d6 
38.87 ms