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 teams = base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'
55
6-func addStringEntry (accum,nextValue) = {
7- let price = "1"
8-[ScriptTransfer(Address(fromBase58String(nextValue)), parseIntValue(price), unit), StringEntry(("Key_" + nextValue), nextValue)]
9- }
10-
11-
126 @Callable(i)
137 func buyNft () = {
148 let values = ["3N7Sy4QRgLrhjWChbpiyFxaRrYtTNRGuNUs", "3N85YW6NZ9pLYvSdt1ASMQTGxvncnU1vUNx"]
9+ func addStringEntry (accum,nextValue) = {
10+ let price = "1"
11+[ScriptTransfer(Address(fromBase58String(nextValue)), parseIntValue(price), unit), StringEntry(("Key_" + nextValue), nextValue), (accum + 1)]
12+ }
13+
1514 let result = {
1615 let $l = values
1716 let $s = size($l)
2221
2322 func $f0_2 ($a,$i) = if (($i >= $s))
2423 then $a
25- else throw("List size exceeds 10")
24+ else throw("List size exceeds 2")
2625
27- $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)
26+ $f0_2($f0_1($f0_1($acc0, 0), 1), 2)
2827 }
2928 nil
3029 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let teams = base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'
55
6-func addStringEntry (accum,nextValue) = {
7- let price = "1"
8-[ScriptTransfer(Address(fromBase58String(nextValue)), parseIntValue(price), unit), StringEntry(("Key_" + nextValue), nextValue)]
9- }
10-
11-
126 @Callable(i)
137 func buyNft () = {
148 let values = ["3N7Sy4QRgLrhjWChbpiyFxaRrYtTNRGuNUs", "3N85YW6NZ9pLYvSdt1ASMQTGxvncnU1vUNx"]
9+ func addStringEntry (accum,nextValue) = {
10+ let price = "1"
11+[ScriptTransfer(Address(fromBase58String(nextValue)), parseIntValue(price), unit), StringEntry(("Key_" + nextValue), nextValue), (accum + 1)]
12+ }
13+
1514 let result = {
1615 let $l = values
1716 let $s = size($l)
1817 let $acc0 = 0
1918 func $f0_1 ($a,$i) = if (($i >= $s))
2019 then $a
2120 else addStringEntry($a, $l[$i])
2221
2322 func $f0_2 ($a,$i) = if (($i >= $s))
2423 then $a
25- else throw("List size exceeds 10")
24+ else throw("List size exceeds 2")
2625
27- $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)
26+ $f0_2($f0_1($f0_1($acc0, 0), 1), 2)
2827 }
2928 nil
3029 }
3130
3231

github/deemru/w8io/026f985 
33.10 ms