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:AAIEAAAAAAAAABMIAhIAEgUKAwgBARIGCgQIAQEBAAAAAQEAAAAKZmlsdGVyU3RlcAAAAAIAAAALYWNjdW11bGF0ZWQAAAABYQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAAaQAAAABBQAAAAFhBQAAAAFhBQAAAAthY2N1bXVsYXRlZAAAAAMAAAABaQEAAAAHZGVwb3NpdAAAAAAEAAAAA2FycgkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAIJAARMAAAAAgAAAAAAAAAAAwkABEwAAAACAAAAAAAAAAAECQAETAAAAAIAAAAAAAAAAAUFAAAAA25pbAQAAAALJGxpc3QyNTEyODAFAAAAA2FycgQAAAALJHNpemUyNTEyODAJAAGQAAAAAQUAAAALJGxpc3QyNTEyODAEAAAACyRhY2MwMjUxMjgwBQAAAANuaWwDCQAAAAAAAAIFAAAACyRzaXplMjUxMjgwAAAAAAAAAAAABQAAAAskYWNjMDI1MTI4MAQAAAALJGFjYzEyNTEyODAJAQAAAApmaWx0ZXJTdGVwAAAAAgUAAAALJGFjYzAy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AAAAWkAAAANdHJhbnNhY3Rpb25JZAIAAAAEX2xhdAUAAAADbGF0CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAJYAAAAAQgFAAAAAWkAAAANdHJhbnNhY3Rpb25JZAIAAAAFX2xvbmcFAAAABGxvbmcFAAAAA25pbAAAAAFpAQAAABVjcmVhdGVCb29raW5nVGltZXNsb3QAAAAEAAAADHBhcmtpblNsb3RJZAAAAARjb3N0AAAACXN0YXJ0VGltZQAAAAdlbmRUaW1lCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACBQAAAAxwYXJraW5TbG90SWQCAAAAAV8JAAGkAAAAAQUAAAAJc3RhcnRUaW1lAgAAAApfc3RhcnRUaW1lBQAAAAlzdGFydFRpbWUJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAADHBhcmtpblNsb3RJZAIAAAABXwkAAaQAAAABBQAAAAlzdGFydFRpbWUCAAAACF9lbmRUaW1lBQAAAAdlbmRUaW1lCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIFAAAADHBhcmtpblNsb3RJZAIAAAAFX2Nvc3QFAAAABGNvc3QFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5L5bH1A==",
"height": 1541413,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: BiUPN3AdFyzRXEH5CxTEdBawNUSnjk7kTfJrmMCeznaU
Next: EtpcrdHaicHV7Q1oKpK2DWL8VP1Lqjg2mMM4FEBuS9EZ
Diff:
Old | New | | Differences |
---|
7 | 7 | | @Callable(i) |
---|
8 | 8 | | func deposit () = { |
---|
9 | 9 | | 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 |
---|
15 | 15 | | 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 |
---|
19 | 19 | | 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 |
---|
23 | 23 | | 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 |
---|
27 | 27 | | 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 |
---|
31 | 31 | | 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 |
---|
35 | 35 | | 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 | + | } |
---|
38 | 63 | | } |
---|
39 | 64 | | } |
---|
40 | 65 | | } |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 4 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | func filterStep (accumulated,a) = IntegerEntry(toString(a), a) :: accumulated |
---|
5 | 5 | | |
---|
6 | 6 | | |
---|
7 | 7 | | @Callable(i) |
---|
8 | 8 | | func deposit () = { |
---|
9 | 9 | | 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 |
---|
15 | 15 | | 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 |
---|
19 | 19 | | 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 |
---|
23 | 23 | | 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 |
---|
27 | 27 | | 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 |
---|
31 | 31 | | 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 |
---|
35 | 35 | | 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 | + | } |
---|
38 | 63 | | } |
---|
39 | 64 | | } |
---|
40 | 65 | | } |
---|
41 | 66 | | } |
---|
42 | 67 | | } |
---|
43 | 68 | | } |
---|
44 | 69 | | } |
---|
45 | 70 | | |
---|
46 | 71 | | |
---|
47 | 72 | | |
---|
48 | 73 | | @Callable(i) |
---|
49 | 74 | | func createParkingSpot (owner,lat,long) = [StringEntry((toBase58String(i.transactionId) + "_owner"), owner), IntegerEntry((toBase58String(i.transactionId) + "_lat"), lat), IntegerEntry((toBase58String(i.transactionId) + "_long"), long)] |
---|
50 | 75 | | |
---|
51 | 76 | | |
---|
52 | 77 | | |
---|
53 | 78 | | @Callable(i) |
---|
54 | 79 | | func createBookingTimeslot (parkinSlotId,cost,startTime,endTime) = [IntegerEntry((((parkinSlotId + "_") + toString(startTime)) + "_startTime"), startTime), IntegerEntry((((parkinSlotId + "_") + toString(startTime)) + "_endTime"), endTime), IntegerEntry((parkinSlotId + "_cost"), cost)] |
---|
55 | 80 | | |
---|
56 | 81 | | |
---|
57 | 82 | | @Verifier(tx) |
---|
58 | 83 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
59 | 84 | | |
---|