tx · 8pjN9uwrC3FatStX2FdQFWQQAfK1jXDaFgz5oZjBE95m

3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx:  -0.01000000 Waves

2023.03.27 12:14 [2508189] smart account 3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx > SELF 0.00000000 Waves

{ "type": 13, "id": "8pjN9uwrC3FatStX2FdQFWQQAfK1jXDaFgz5oZjBE95m", "fee": 1000000, "feeAssetId": null, "timestamp": 1679908618120, "version": 2, "chainId": 84, "sender": "3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx", "senderPublicKey": "DyeDJ3fgwVVux2WRkxpLU9BbVjTM96AyV58b7bRFzCBx", "proofs": [ "4ykfsvUe9v1ak3zcdk7TUwurWjTzZBDFmfW5Pad7vymnDRPhJncn95TcQyamtPdzFaosdfFjYVvHBghwWnKb3pcC" ], "script": "base64:BgIHCAISAwoBGAABAWkBBmJ1eU5mdAEEbmZ0cwQFYnV5ZXIIBQFpBmNhbGxlcgQBYQUEbmZ0cwoBCGZvbGRGdW5jAgNhY2MBZQUBZQQFZmluYWwKAAIkbAUBYQoAAiRzCQCQAwEFAiRsCgAFJGFjYzAAAAoBBSRmMF8xAgIkYQIkaQMJAGcCBQIkaQUCJHMFAiRhCQEIZm9sZEZ1bmMCBQIkYQkAkQMCBQIkbAUCJGkKAQUkZjBfMgICJGECJGkDCQBnAgUCJGkFAiRzBQIkYQkAAgECE0xpc3Qgc2l6ZSBleGNlZWRzIDUJAQUkZjBfMgIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIFBSRhY2MwAAAAAQACAAMABAAFCQDMCAIJAQtTdHJpbmdFbnRyeQICBWZpbmFsCQCkAwEFBWZpbmFsBQNuaWwABuKM2w==", "height": 2508189, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: D3y2GGR67oNVCg2Se978p8pJYXBjBfAPdry3zCr3266V Next: 5Hwyc725iPcw68nQF23TSJiozzApnMPGGiKWm4xGTxNz Diff:
OldNewDifferences
66 @Callable(i)
77 func buyNft (nfts) = {
88 let buyer = i.caller
9- let a = [1, 2, 3, 4, 5]
10- func foldFunc (acc,e) = (acc + e)
9+ let a = nfts
10+ func foldFunc (acc,e) = e
1111
1212 let final = {
1313 let $l = a
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func buyNft (nfts) = {
88 let buyer = i.caller
9- let a = [1, 2, 3, 4, 5]
10- func foldFunc (acc,e) = (acc + e)
9+ let a = nfts
10+ func foldFunc (acc,e) = e
1111
1212 let final = {
1313 let $l = a
1414 let $s = size($l)
1515 let $acc0 = 0
1616 func $f0_1 ($a,$i) = if (($i >= $s))
1717 then $a
1818 else foldFunc($a, $l[$i])
1919
2020 func $f0_2 ($a,$i) = if (($i >= $s))
2121 then $a
2222 else throw("List size exceeds 5")
2323
2424 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
2525 }
2626 [StringEntry("final", toString(final))]
2727 }
2828
2929

github/deemru/w8io/169f3d6 
24.29 ms