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 $t0228251 = accum
88 let result = $t0228251._1
99 let j = $t0228251._2
10-[StringEntry(("Key_" + nextValue), nextValue)]
10+ let price = "1"
11+[ScriptTransfer(Address(fromBase58String(nextValue)), parseIntValue(price), unit), StringEntry(("Key_" + nextValue), nextValue)]
1112 }
1213
1314
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let teams = base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'
55
66 func addStringEntry (accum,nextValue) = {
77 let $t0228251 = accum
88 let result = $t0228251._1
99 let j = $t0228251._2
10-[StringEntry(("Key_" + nextValue), nextValue)]
10+ let price = "1"
11+[ScriptTransfer(Address(fromBase58String(nextValue)), parseIntValue(price), unit), StringEntry(("Key_" + nextValue), nextValue)]
1112 }
1213
1314
1415 @Callable(i)
1516 func buyNft () = {
1617 let values = ["3N7Sy4QRgLrhjWChbpiyFxaRrYtTNRGuNUs", "3N85YW6NZ9pLYvSdt1ASMQTGxvncnU1vUNx"]
1718 let result = {
1819 let $l = values
1920 let $s = size($l)
2021 let $acc0 = $Tuple2(nil, 0)
2122 func $f0_1 ($a,$i) = if (($i >= $s))
2223 then $a
2324 else addStringEntry($a, $l[$i])
2425
2526 func $f0_2 ($a,$i) = if (($i >= $s))
2627 then $a
2728 else throw("List size exceeds 10")
2829
2930 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
3031 }
3132 nil
3233 }
3334
3435

github/deemru/w8io/026f985 
34.52 ms