tx · HPvu1dnfPDHiKjFttpBPMQtVKBSEFCjeGxxSAZyFmZVG

3NCnz63Wq3UgikV5jJfQpG5snnibGbfUHR1:  -0.00500000 Waves

2023.03.25 19:33 [2505771] smart account 3NCnz63Wq3UgikV5jJfQpG5snnibGbfUHR1 > SELF 0.00000000 Waves

{ "type": 13, "id": "HPvu1dnfPDHiKjFttpBPMQtVKBSEFCjeGxxSAZyFmZVG", "fee": 500000, "feeAssetId": null, "timestamp": 1679762025486, "version": 2, "chainId": 84, "sender": "3NCnz63Wq3UgikV5jJfQpG5snnibGbfUHR1", "senderPublicKey": "4aqyXQp8dTe3bcQoReatzejrngYuQvyooFPeNe8925zb", "proofs": [ "LWfKpMyUx47DiQvt3Rqyovkk2XmhgudFFmP7LDJgJRxphBMUNy8FRdN35Jr1Ev3eeNDCwMyFXE6CwvLMmmhpToV" ], "script": "base64:BgIECAISAAIABXRlYW1zASCFY5Wj84iOsN4MF44ITr+aP5K7Jts66HaOFtwUIipIfgEOYWRkU3RyaW5nRW50cnkCBWFjY3VtCW5leHRWYWx1ZQQFcHJpY2UCATEJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwkBB0FkZHJlc3MBCQDZBAEFCW5leHRWYWx1ZQkBDXBhcnNlSW50VmFsdWUBBQVwcmljZQUEdW5pdAkAzAgCCQELU3RyaW5nRW50cnkCCQCsAgICBEtleV8FCW5leHRWYWx1ZQUJbmV4dFZhbHVlBQNuaWwBAWkBBmJ1eU5mdAAEBnZhbHVlcwkAzAgCAiMzTjdTeTRRUmdMcmhqV0NoYnBpeUZ4YVJyWXRUTlJHdU5VcwkAzAgCAiMzTjg1WVc2Tlo5cExZdlNkdDFBU01RVEd4dm5jblUxdlVOeAUDbmlsBAZyZXN1bHQKAAIkbAUGdmFsdWVzCgACJHMJAJADAQUCJGwKAAUkYWNjMAAACgEFJGYwXzECAiRhAiRpAwkAZwIFAiRpBQIkcwUCJGEJAQ5hZGRTdHJpbmdFbnRyeQIFAiRhCQCRAwIFAiRsBQIkaQoBBSRmMF8yAgIkYQIkaQMJAGcCBQIkaQUCJHMFAiRhCQACAQIUTGlzdCBzaXplIGV4Y2VlZHMgMTAJAQUkZjBfMgIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIFBSRhY2MwAAAAAQACAAMABAAFAAYABwAIAAkACgUDbmlsAOAkGNM=", "height": 2505771, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3jFCwJFyNzuWnNhnETDo6wH8NdE83YxRWq84c9AcmnEb Next: EStQtC4qWqHnEesFDheQr1e8GqZKcYSf8pWwJxh6LJtx Diff:
OldNewDifferences
44 let teams = base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'
55
66 func addStringEntry (accum,nextValue) = {
7- let $t0228251 = accum
8- let result = $t0228251._1
9- let j = $t0228251._2
107 let price = "1"
118 [ScriptTransfer(Address(fromBase58String(nextValue)), parseIntValue(price), unit), StringEntry(("Key_" + nextValue), nextValue)]
129 }
1815 let result = {
1916 let $l = values
2017 let $s = size($l)
21- let $acc0 = $Tuple2(nil, 0)
18+ let $acc0 = 0
2219 func $f0_1 ($a,$i) = if (($i >= $s))
2320 then $a
2421 else addStringEntry($a, $l[$i])
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) = {
7- let $t0228251 = accum
8- let result = $t0228251._1
9- let j = $t0228251._2
107 let price = "1"
118 [ScriptTransfer(Address(fromBase58String(nextValue)), parseIntValue(price), unit), StringEntry(("Key_" + nextValue), nextValue)]
129 }
1310
1411
1512 @Callable(i)
1613 func buyNft () = {
1714 let values = ["3N7Sy4QRgLrhjWChbpiyFxaRrYtTNRGuNUs", "3N85YW6NZ9pLYvSdt1ASMQTGxvncnU1vUNx"]
1815 let result = {
1916 let $l = values
2017 let $s = size($l)
21- let $acc0 = $Tuple2(nil, 0)
18+ let $acc0 = 0
2219 func $f0_1 ($a,$i) = if (($i >= $s))
2320 then $a
2421 else addStringEntry($a, $l[$i])
2522
2623 func $f0_2 ($a,$i) = if (($i >= $s))
2724 then $a
2825 else throw("List size exceeds 10")
2926
3027 $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)
3128 }
3229 nil
3330 }
3431
3532

github/deemru/w8io/026f985 
22.75 ms