tx · BiUPN3AdFyzRXEH5CxTEdBawNUSnjk7kTfJrmMCeznaU

3N8nB5XeXcXTUDeiH6657UHa3wHa2rbZfDk:  -0.01400000 Waves

2021.05.25 19:18 [1541409] smart account 3N8nB5XeXcXTUDeiH6657UHa3wHa2rbZfDk > SELF 0.00000000 Waves

{ "type": 13, "id": "BiUPN3AdFyzRXEH5CxTEdBawNUSnjk7kTfJrmMCeznaU", "fee": 1400000, "feeAssetId": null, "timestamp": 1621959549010, "version": 2, "chainId": 84, "sender": "3N8nB5XeXcXTUDeiH6657UHa3wHa2rbZfDk", "senderPublicKey": "BfXK2ez9xjdgWtoFNsnaGPRFjHcFixy3UUrQ2iN8wVfX", "proofs": [ "4qS71LgMJrat8ga1KimxV5ha6TspApJDnLp4hC5mMkgouSevmTJZp4DS9CY1GwmHvhtfzQR1bDD3r9cdaUvdmtfy" ], "script": "base64:AAIEAAAAAAAAABMIAhIAEgUKAwgBARIGCgQIAQEBAAAAAQEAAAAKZmlsdGVyU3RlcAAAAAIAAAALYWNjdW11bGF0ZWQAAAABYQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAAaQAAAABBQAAAAFhBQAAAAFhBQAAAAthY2N1bXVsYXRlZAAAAAMAAAABaQEAAAAHZGVwb3NpdAAAAAAEAAAAA2FycgkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAIJAARMAAAAAgAAAAAAAAAAAwkABEwAAAACAAAAAAAAAAAECQAETAAAAAIAAAAAAAAAAAUFAAAAA25pbAQAAAALJGxpc3QyNTEyNzkFAAAAA2FycgQAAAALJHNpemUyNTEyNzkJAAGQAAAAAQUAAAALJGxpc3QyNTEyNzkEAAAACyRhY2MwMjUxMjc5BQAAAANuaWwDCQAAAAAAAAIFAAAACyRzaXplMjUxMjc5AAAAAAAAAAAABQAAAAskYWNjMDI1MTI3OQQAAAALJGFjYzEyNTEyNzkJAQAAAApmaWx0ZXJTdGVwAAAAAgUAAAALJGFjYzAyNTEy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": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6YVdNeebGgf6agKXuVjpsVwiKga6eER7x744ac4mrBzH Next: F9PCvEfqSrdaULXZtYAC1HzXV2W4Z5KaokaUw6m3pnz Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-func a (b,c) = if (((c % 2) == 0))
5- then c :: b
6- else b
4+func a (b,c) = IntegerEntry(toString(c), c) :: b
75
86
97 @Callable(d)
10-func createParkingSpot (e,f,g) = [StringEntry((toBase58String(d.transactionId) + "_owner"), e), IntegerEntry((toBase58String(d.transactionId) + "_lat"), f), IntegerEntry((toBase58String(d.transactionId) + "_long"), g)]
8+func deposit () = {
9+ let e = [1, 2, 3, 4, 5]
10+ let f = e
11+ let g = size(f)
12+ let h = nil
13+ if ((g == 0))
14+ then h
15+ else {
16+ let i = a(h, f[0])
17+ if ((g == 1))
18+ then i
19+ else {
20+ let j = a(i, f[1])
21+ if ((g == 2))
22+ then j
23+ else {
24+ let k = a(j, f[2])
25+ if ((g == 3))
26+ then k
27+ else {
28+ let l = a(k, f[3])
29+ if ((g == 4))
30+ then l
31+ else {
32+ let m = a(l, f[4])
33+ if ((g == 5))
34+ then m
35+ else {
36+ let n = a(m, f[5])
37+ throw("List size exceed 5")
38+ }
39+ }
40+ }
41+ }
42+ }
43+ }
44+ }
1145
1246
1347
1448 @Callable(d)
15-func createBookingTimeslot (h,i,j,k) = [IntegerEntry((((h + "_") + toString(j)) + "_startTime"), j), IntegerEntry((((h + "_") + toString(j)) + "_endTime"), k), IntegerEntry((h + "_cost"), i)]
49+func createParkingSpot (o,p,q) = [StringEntry((toBase58String(d.transactionId) + "_owner"), o), IntegerEntry((toBase58String(d.transactionId) + "_lat"), p), IntegerEntry((toBase58String(d.transactionId) + "_long"), q)]
1650
1751
18-@Verifier(l)
19-func m () = sigVerify(l.bodyBytes, l.proofs[0], l.senderPublicKey)
52+
53+@Callable(d)
54+func createBookingTimeslot (r,s,t,u) = [IntegerEntry((((r + "_") + toString(t)) + "_startTime"), t), IntegerEntry((((r + "_") + toString(t)) + "_endTime"), u), IntegerEntry((r + "_cost"), s)]
55+
56+
57+@Verifier(v)
58+func w () = sigVerify(v.bodyBytes, v.proofs[0], v.senderPublicKey)
2059

github/deemru/w8io/169f3d6 
42.76 ms