tx · F9PCvEfqSrdaULXZtYAC1HzXV2W4Z5KaokaUw6m3pnz

3N8nB5XeXcXTUDeiH6657UHa3wHa2rbZfDk:  -0.01400000 Waves

2021.05.25 19:21 [1541413] smart account 3N8nB5XeXcXTUDeiH6657UHa3wHa2rbZfDk > SELF 0.00000000 Waves

{ "type": 13, "id": "F9PCvEfqSrdaULXZtYAC1HzXV2W4Z5KaokaUw6m3pnz", "fee": 1400000, "feeAssetId": null, "timestamp": 1621959697104, "version": 2, "chainId": 84, "sender": "3N8nB5XeXcXTUDeiH6657UHa3wHa2rbZfDk", "senderPublicKey": "BfXK2ez9xjdgWtoFNsnaGPRFjHcFixy3UUrQ2iN8wVfX", "proofs": [ "2MYsBE4cXK5H2X5MnzvX5sNMwENMUtNEJHewAescsVe9EQRR5gg97QYrQyt9iDu648mUmoRm1ATwueFhKKTZ2ket" ], "script": "base64:AAIEAAAAAAAAABMIAhIAEgUKAwgBARIGCgQIAQEBAAAAAQEAAAAKZmlsdGVyU3RlcAAAAAIAAAALYWNjdW11bGF0ZWQAAAABYQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAAaQAAAABBQAAAAFhBQAAAAFhBQAAAAthY2N1bXVsYXRlZAAAAAMAAAABaQEAAAAHZGVwb3NpdAAAAAAEAAAAA2FycgkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAIJAARMAAAAAgAAAAAAAAAAAwkABEwAAAACAAAAAAAAAAAECQAETAAAAAIAAAAAAAAAAAUFAAAAA25pbAQAAAALJGxpc3QyNTEyODAFAAAAA2FycgQAAAALJHNpemUyNTEyODAJAAGQAAAAAQUAAAALJGxpc3QyNTEyODAEAAAACyRhY2MwMjUxMjgwBQAAAANuaWwDCQAAAAAAAAIFAAAACyRzaXplMjUxMjgwAAAAAAAAAAAABQAAAAskYWNjMDI1MTI4MAQAAAALJGFjYzEyNTEyODAJAQAAAApmaWx0ZXJTdGVwAAAAAgUAAAALJGFjYzAyNTEyODAJAA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ANdHJhbnNhY3Rpb25JZAIAAAAEX2xhdAUAAAADbGF0CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAJYAAAAAQgFAAAAAWkAAAANdHJhbnNhY3Rpb25JZAIAAAAFX2xvbmcFAAAABGxvbmcFAAAAA25pbAAAAAFpAQAAABVjcmVhdGVCb29raW5nVGltZXNsb3QAAAAEAAAADHBhcmtpblNsb3RJZAAAAARjb3N0AAAACXN0YXJ0VGltZQAAAAdlbmRUaW1lCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACBQAAAAxwYXJraW5TbG90SWQCAAAAAV8JAAGkAAAAAQUAAAAJc3RhcnRUaW1lAgAAAApfc3RhcnRUaW1lBQAAAAlzdGFydFRpbWUJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAADHBhcmtpblNsb3RJZAIAAAABXwkAAaQAAAABBQAAAAlzdGFydFRpbWUCAAAACF9lbmRUaW1lBQAAAAdlbmRUaW1lCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIFAAAADHBhcmtpblNsb3RJZAIAAAAFX2Nvc3QFAAAABGNvc3QFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5L5bH1A==", "height": 1541413, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BiUPN3AdFyzRXEH5CxTEdBawNUSnjk7kTfJrmMCeznaU Next: EtpcrdHaicHV7Q1oKpK2DWL8VP1Lqjg2mMM4FEBuS9EZ Diff:
OldNewDifferences
77 @Callable(i)
88 func deposit () = {
99 let arr = [1, 2, 3, 4, 5]
10- let $list251279 = arr
11- let $size251279 = size($list251279)
12- let $acc0251279 = nil
13- if (($size251279 == 0))
14- then $acc0251279
10+ let $list251280 = arr
11+ let $size251280 = size($list251280)
12+ let $acc0251280 = nil
13+ if (($size251280 == 0))
14+ then $acc0251280
1515 else {
16- let $acc1251279 = filterStep($acc0251279, $list251279[0])
17- if (($size251279 == 1))
18- then $acc1251279
16+ let $acc1251280 = filterStep($acc0251280, $list251280[0])
17+ if (($size251280 == 1))
18+ then $acc1251280
1919 else {
20- let $acc2251279 = filterStep($acc1251279, $list251279[1])
21- if (($size251279 == 2))
22- then $acc2251279
20+ let $acc2251280 = filterStep($acc1251280, $list251280[1])
21+ if (($size251280 == 2))
22+ then $acc2251280
2323 else {
24- let $acc3251279 = filterStep($acc2251279, $list251279[2])
25- if (($size251279 == 3))
26- then $acc3251279
24+ let $acc3251280 = filterStep($acc2251280, $list251280[2])
25+ if (($size251280 == 3))
26+ then $acc3251280
2727 else {
28- let $acc4251279 = filterStep($acc3251279, $list251279[3])
29- if (($size251279 == 4))
30- then $acc4251279
28+ let $acc4251280 = filterStep($acc3251280, $list251280[3])
29+ if (($size251280 == 4))
30+ then $acc4251280
3131 else {
32- let $acc5251279 = filterStep($acc4251279, $list251279[4])
33- if (($size251279 == 5))
34- then $acc5251279
32+ let $acc5251280 = filterStep($acc4251280, $list251280[4])
33+ if (($size251280 == 5))
34+ then $acc5251280
3535 else {
36- let $acc6251279 = filterStep($acc5251279, $list251279[5])
37- throw("List size exceed 5")
36+ let $acc6251280 = filterStep($acc5251280, $list251280[5])
37+ if (($size251280 == 6))
38+ then $acc6251280
39+ else {
40+ let $acc7251280 = filterStep($acc6251280, $list251280[6])
41+ if (($size251280 == 7))
42+ then $acc7251280
43+ else {
44+ let $acc8251280 = filterStep($acc7251280, $list251280[7])
45+ if (($size251280 == 8))
46+ then $acc8251280
47+ else {
48+ let $acc9251280 = filterStep($acc8251280, $list251280[8])
49+ if (($size251280 == 9))
50+ then $acc9251280
51+ else {
52+ let $acc10251280 = filterStep($acc9251280, $list251280[9])
53+ if (($size251280 == 10))
54+ then $acc10251280
55+ else {
56+ let $acc11251280 = filterStep($acc10251280, $list251280[10])
57+ throw("List size exceed 10")
58+ }
59+ }
60+ }
61+ }
62+ }
3863 }
3964 }
4065 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func filterStep (accumulated,a) = IntegerEntry(toString(a), a) :: accumulated
55
66
77 @Callable(i)
88 func deposit () = {
99 let arr = [1, 2, 3, 4, 5]
10- let $list251279 = arr
11- let $size251279 = size($list251279)
12- let $acc0251279 = nil
13- if (($size251279 == 0))
14- then $acc0251279
10+ let $list251280 = arr
11+ let $size251280 = size($list251280)
12+ let $acc0251280 = nil
13+ if (($size251280 == 0))
14+ then $acc0251280
1515 else {
16- let $acc1251279 = filterStep($acc0251279, $list251279[0])
17- if (($size251279 == 1))
18- then $acc1251279
16+ let $acc1251280 = filterStep($acc0251280, $list251280[0])
17+ if (($size251280 == 1))
18+ then $acc1251280
1919 else {
20- let $acc2251279 = filterStep($acc1251279, $list251279[1])
21- if (($size251279 == 2))
22- then $acc2251279
20+ let $acc2251280 = filterStep($acc1251280, $list251280[1])
21+ if (($size251280 == 2))
22+ then $acc2251280
2323 else {
24- let $acc3251279 = filterStep($acc2251279, $list251279[2])
25- if (($size251279 == 3))
26- then $acc3251279
24+ let $acc3251280 = filterStep($acc2251280, $list251280[2])
25+ if (($size251280 == 3))
26+ then $acc3251280
2727 else {
28- let $acc4251279 = filterStep($acc3251279, $list251279[3])
29- if (($size251279 == 4))
30- then $acc4251279
28+ let $acc4251280 = filterStep($acc3251280, $list251280[3])
29+ if (($size251280 == 4))
30+ then $acc4251280
3131 else {
32- let $acc5251279 = filterStep($acc4251279, $list251279[4])
33- if (($size251279 == 5))
34- then $acc5251279
32+ let $acc5251280 = filterStep($acc4251280, $list251280[4])
33+ if (($size251280 == 5))
34+ then $acc5251280
3535 else {
36- let $acc6251279 = filterStep($acc5251279, $list251279[5])
37- throw("List size exceed 5")
36+ let $acc6251280 = filterStep($acc5251280, $list251280[5])
37+ if (($size251280 == 6))
38+ then $acc6251280
39+ else {
40+ let $acc7251280 = filterStep($acc6251280, $list251280[6])
41+ if (($size251280 == 7))
42+ then $acc7251280
43+ else {
44+ let $acc8251280 = filterStep($acc7251280, $list251280[7])
45+ if (($size251280 == 8))
46+ then $acc8251280
47+ else {
48+ let $acc9251280 = filterStep($acc8251280, $list251280[8])
49+ if (($size251280 == 9))
50+ then $acc9251280
51+ else {
52+ let $acc10251280 = filterStep($acc9251280, $list251280[9])
53+ if (($size251280 == 10))
54+ then $acc10251280
55+ else {
56+ let $acc11251280 = filterStep($acc10251280, $list251280[10])
57+ throw("List size exceed 10")
58+ }
59+ }
60+ }
61+ }
62+ }
3863 }
3964 }
4065 }
4166 }
4267 }
4368 }
4469 }
4570
4671
4772
4873 @Callable(i)
4974 func createParkingSpot (owner,lat,long) = [StringEntry((toBase58String(i.transactionId) + "_owner"), owner), IntegerEntry((toBase58String(i.transactionId) + "_lat"), lat), IntegerEntry((toBase58String(i.transactionId) + "_long"), long)]
5075
5176
5277
5378 @Callable(i)
5479 func createBookingTimeslot (parkinSlotId,cost,startTime,endTime) = [IntegerEntry((((parkinSlotId + "_") + toString(startTime)) + "_startTime"), startTime), IntegerEntry((((parkinSlotId + "_") + toString(startTime)) + "_endTime"), endTime), IntegerEntry((parkinSlotId + "_cost"), cost)]
5580
5681
5782 @Verifier(tx)
5883 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
5984

github/deemru/w8io/169f3d6 
58.46 ms