tx · 3jFCwJFyNzuWnNhnETDo6wH8NdE83YxRWq84c9AcmnEb

3NCnz63Wq3UgikV5jJfQpG5snnibGbfUHR1:  -0.00500000 Waves

2023.03.25 18:26 [2505705] smart account 3NCnz63Wq3UgikV5jJfQpG5snnibGbfUHR1 > SELF 0.00000000 Waves

{ "type": 13, "id": "3jFCwJFyNzuWnNhnETDo6wH8NdE83YxRWq84c9AcmnEb", "fee": 500000, "feeAssetId": null, "timestamp": 1679758087120, "version": 2, "chainId": 84, "sender": "3NCnz63Wq3UgikV5jJfQpG5snnibGbfUHR1", "senderPublicKey": "4aqyXQp8dTe3bcQoReatzejrngYuQvyooFPeNe8925zb", "proofs": [ "2BCezip7tkWyhPuhTVrXtMbBHaK3vJTZMmzPUN3cZmpXYxLMAV4wXRfmCRY3w4cwwnyr6AWJVCdsH7gF8RCriLzV" ], "script": "base64:BgIECAISAAIABXRlYW1zASCFY5Wj84iOsN4MF44ITr+aP5K7Jts66HaOFtwUIipIfgEOYWRkU3RyaW5nRW50cnkCBWFjY3VtCW5leHRWYWx1ZQQJJHQwMjI4MjUxBQVhY2N1bQQGcmVzdWx0CAUJJHQwMjI4MjUxAl8xBAFqCAUJJHQwMjI4MjUxAl8yBAVwcmljZQIBMQkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCQEHQWRkcmVzcwEJANkEAQUJbmV4dFZhbHVlCQENcGFyc2VJbnRWYWx1ZQEFBXByaWNlBQR1bml0CQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgIES2V5XwUJbmV4dFZhbHVlBQluZXh0VmFsdWUFA25pbAEBaQEGYnV5TmZ0AAQGdmFsdWVzCQDMCAICIzNON1N5NFFSZ0xyaGpXQ2hicGl5RnhhUnJZdFROUkd1TlVzCQDMCAICIzNOODVZVzZOWjlwTFl2U2R0MUFTTVFUR3h2bmNuVTF2VU54BQNuaWwEBnJlc3VsdAoAAiRsBQZ2YWx1ZXMKAAIkcwkAkAMBBQIkbAoABSRhY2MwCQCUCgIFA25pbAAACgEFJGYwXzECAiRhAiRpAwkAZwIFAiRpBQIkcwUCJGEJAQ5hZGRTdHJpbmdFbnRyeQIFAiRhCQCRAwIFAiRsBQIkaQoBBSRmMF8yAgIkYQIkaQMJAGcCBQIkaQUCJHMFAiRhCQACAQIUTGlzdCBzaXplIGV4Y2VlZHMgMTAJAQUkZjBfMgIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIFBSRhY2MwAAAAAQACAAMABAAFAAYABwAIAAkACgUDbmlsANPnZmU=", "height": 2505705, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HKuWBqEqxcrVDx1rMyKCq978L2pUUFcrFKGkQvoFKT78 Next: HPvu1dnfPDHiKjFttpBPMQtVKBSEFCjeGxxSAZyFmZVG Diff:
OldNewDifferences
77 let e = c
88 let f = e._1
99 let g = e._2
10-[StringEntry(("Key_" + d), d)]
10+ let h = "1"
11+[ScriptTransfer(Address(fromBase58String(d)), parseIntValue(h), unit), StringEntry(("Key_" + d), d)]
1112 }
1213
1314
14-@Callable(h)
15+@Callable(i)
1516 func buyNft () = {
16- let i = ["3N7Sy4QRgLrhjWChbpiyFxaRrYtTNRGuNUs", "3N85YW6NZ9pLYvSdt1ASMQTGxvncnU1vUNx"]
17+ let j = ["3N7Sy4QRgLrhjWChbpiyFxaRrYtTNRGuNUs", "3N85YW6NZ9pLYvSdt1ASMQTGxvncnU1vUNx"]
1718 let f = {
18- let j = i
19- let k = size(j)
20- let l = $Tuple2(nil, 0)
21- func m (n,o) = if ((o >= k))
22- then n
23- else b(n, j[o])
19+ let k = j
20+ let l = size(k)
21+ let m = $Tuple2(nil, 0)
22+ func n (o,p) = if ((p >= l))
23+ then o
24+ else b(o, k[p])
2425
25- func p (n,o) = if ((o >= k))
26- then n
26+ func q (o,p) = if ((p >= l))
27+ then o
2728 else throw("List size exceeds 10")
2829
29- p(m(m(m(m(m(m(m(m(m(m(l, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
30+ q(n(n(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
3031 }
3132 nil
3233 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'
55
66 func b (c,d) = {
77 let e = c
88 let f = e._1
99 let g = e._2
10-[StringEntry(("Key_" + d), d)]
10+ let h = "1"
11+[ScriptTransfer(Address(fromBase58String(d)), parseIntValue(h), unit), StringEntry(("Key_" + d), d)]
1112 }
1213
1314
14-@Callable(h)
15+@Callable(i)
1516 func buyNft () = {
16- let i = ["3N7Sy4QRgLrhjWChbpiyFxaRrYtTNRGuNUs", "3N85YW6NZ9pLYvSdt1ASMQTGxvncnU1vUNx"]
17+ let j = ["3N7Sy4QRgLrhjWChbpiyFxaRrYtTNRGuNUs", "3N85YW6NZ9pLYvSdt1ASMQTGxvncnU1vUNx"]
1718 let f = {
18- let j = i
19- let k = size(j)
20- let l = $Tuple2(nil, 0)
21- func m (n,o) = if ((o >= k))
22- then n
23- else b(n, j[o])
19+ let k = j
20+ let l = size(k)
21+ let m = $Tuple2(nil, 0)
22+ func n (o,p) = if ((p >= l))
23+ then o
24+ else b(o, k[p])
2425
25- func p (n,o) = if ((o >= k))
26- then n
26+ func q (o,p) = if ((p >= l))
27+ then o
2728 else throw("List size exceeds 10")
2829
29- p(m(m(m(m(m(m(m(m(m(m(l, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
30+ q(n(n(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
3031 }
3132 nil
3233 }
3334
3435

github/deemru/w8io/026f985 
44.06 ms