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
3434 then m
3535 else {
3636 let n = a(m, f[5])
37- throw("List size exceed 5")
37+ if ((g == 6))
38+ then n
39+ else {
40+ let o = a(n, f[6])
41+ if ((g == 7))
42+ then o
43+ else {
44+ let p = a(o, f[7])
45+ if ((g == 8))
46+ then p
47+ else {
48+ let q = a(p, f[8])
49+ if ((g == 9))
50+ then q
51+ else {
52+ let r = a(q, f[9])
53+ if ((g == 10))
54+ then r
55+ else {
56+ let s = a(r, f[10])
57+ throw("List size exceed 10")
58+ }
59+ }
60+ }
61+ }
62+ }
3863 }
3964 }
4065 }
4671
4772
4873 @Callable(d)
49-func createParkingSpot (o,p,q) = [StringEntry((toBase58String(d.transactionId) + "_owner"), o), IntegerEntry((toBase58String(d.transactionId) + "_lat"), p), IntegerEntry((toBase58String(d.transactionId) + "_long"), q)]
74+func createParkingSpot (t,u,v) = [StringEntry((toBase58String(d.transactionId) + "_owner"), t), IntegerEntry((toBase58String(d.transactionId) + "_lat"), u), IntegerEntry((toBase58String(d.transactionId) + "_long"), v)]
5075
5176
5277
5378 @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)]
79+func createBookingTimeslot (w,x,y,z) = [IntegerEntry((((w + "_") + toString(y)) + "_startTime"), y), IntegerEntry((((w + "_") + toString(y)) + "_endTime"), z), IntegerEntry((w + "_cost"), x)]
5580
5681
57-@Verifier(v)
58-func w () = sigVerify(v.bodyBytes, v.proofs[0], v.senderPublicKey)
82+@Verifier(A)
83+func B () = sigVerify(A.bodyBytes, A.proofs[0], A.senderPublicKey)
5984
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b,c) = IntegerEntry(toString(c), c) :: b
55
66
77 @Callable(d)
88 func deposit () = {
99 let e = [1, 2, 3, 4, 5]
1010 let f = e
1111 let g = size(f)
1212 let h = nil
1313 if ((g == 0))
1414 then h
1515 else {
1616 let i = a(h, f[0])
1717 if ((g == 1))
1818 then i
1919 else {
2020 let j = a(i, f[1])
2121 if ((g == 2))
2222 then j
2323 else {
2424 let k = a(j, f[2])
2525 if ((g == 3))
2626 then k
2727 else {
2828 let l = a(k, f[3])
2929 if ((g == 4))
3030 then l
3131 else {
3232 let m = a(l, f[4])
3333 if ((g == 5))
3434 then m
3535 else {
3636 let n = a(m, f[5])
37- throw("List size exceed 5")
37+ if ((g == 6))
38+ then n
39+ else {
40+ let o = a(n, f[6])
41+ if ((g == 7))
42+ then o
43+ else {
44+ let p = a(o, f[7])
45+ if ((g == 8))
46+ then p
47+ else {
48+ let q = a(p, f[8])
49+ if ((g == 9))
50+ then q
51+ else {
52+ let r = a(q, f[9])
53+ if ((g == 10))
54+ then r
55+ else {
56+ let s = a(r, f[10])
57+ throw("List size exceed 10")
58+ }
59+ }
60+ }
61+ }
62+ }
3863 }
3964 }
4065 }
4166 }
4267 }
4368 }
4469 }
4570
4671
4772
4873 @Callable(d)
49-func createParkingSpot (o,p,q) = [StringEntry((toBase58String(d.transactionId) + "_owner"), o), IntegerEntry((toBase58String(d.transactionId) + "_lat"), p), IntegerEntry((toBase58String(d.transactionId) + "_long"), q)]
74+func createParkingSpot (t,u,v) = [StringEntry((toBase58String(d.transactionId) + "_owner"), t), IntegerEntry((toBase58String(d.transactionId) + "_lat"), u), IntegerEntry((toBase58String(d.transactionId) + "_long"), v)]
5075
5176
5277
5378 @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)]
79+func createBookingTimeslot (w,x,y,z) = [IntegerEntry((((w + "_") + toString(y)) + "_startTime"), y), IntegerEntry((((w + "_") + toString(y)) + "_endTime"), z), IntegerEntry((w + "_cost"), x)]
5580
5681
57-@Verifier(v)
58-func w () = sigVerify(v.bodyBytes, v.proofs[0], v.senderPublicKey)
82+@Verifier(A)
83+func B () = sigVerify(A.bodyBytes, A.proofs[0], A.senderPublicKey)
5984

github/deemru/w8io/169f3d6 
35.72 ms