tx · ySQco9c9qWzwmy9tF9jy1itPg7pp47Gm69SdE8hD3ac

3N8WKW33bRoL6j8jhERSykdsxLepdwF4roL:  -0.05000000 Waves

2021.01.20 12:44 [1361588] smart account 3N8WKW33bRoL6j8jhERSykdsxLepdwF4roL > SELF 0.00000000 Waves

{ "type": 13, "id": "ySQco9c9qWzwmy9tF9jy1itPg7pp47Gm69SdE8hD3ac", "fee": 5000000, "feeAssetId": null, "timestamp": 1611135901146, "version": 2, "chainId": 84, "sender": "3N8WKW33bRoL6j8jhERSykdsxLepdwF4roL", "senderPublicKey": "DfBpAEVbFfW1EMhjQ2DgbCDVQCY5L1nwL9NdWEmu4j3P", "proofs": [ "5oFfSKma9dYy3JfeJ4ZeCdek1kY166JoLG6WvDksyUZ7ycPKyZhvC2MVxtBMo5YTF3x4yEU1LMjq7SZq8mVQpJSu" ], "script": "base64:AAIEAAAAAAAAAE8IAhIFCgMICAgSBAoCCAgSBAoCCAgSBAoCCAgSCAoGCAEICAgIEgYKBAgICAESBAoCCAgSBAoCCAgSBgoECAgICBIHCgUICAgIARIDCgEIAAAAIAAAAAAETk9ORQIAAAAETk9ORQAAAAAOcmViaXJ0aEFzc2V0SWQBAAAAIE5SiPQ7HWpJaPwC+8nKRjrQfJdgOfgLUzaZtoFyMAwxAQAAAA5nZXRTdHJpbmdCeUtleQAAAAEAAAADa2V5BAAAAAckbWF0Y2gwCQAEHQAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhBQAAAAROT05FAQAAAA9nZXRCb29sZWFuQnlLZXkAAAABAAAAA2tleQQAAAAHJG1hdGNoMAkABBsAAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAB0Jvb2xlYW4EAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEFAAAABE5PTkUBAAAAD2dldEludGVnZXJCeUtleQ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AAgAAAAECAAAAIENhbGxlciBpcyBub3QgdGhlIENvbnRyYWN0IG93bmVyCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAAA2tleQUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAXSW52b2tlU2NyaXB0VHJhbnNhY3Rpb24JAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAN0dHgFAAAAByRtYXRjaDADAwMJAAAAAAAAAggFAAAAA3R0eAAAAAZhbW91bnQAAAAAABHhowAGCQAAAAAAAAIIBQAAAAN0dHgAAAAGYW1vdW50AAAAAAAX14QABgkAAAAAAAACCAUAAAADdHR4AAAABmFtb3VudAAAAAAAHc1lAAYDCQAAAAAAAAIIBQAAAAN0dHgAAAAGYW1vdW50AAAAAAAjw0YACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQcHJQAIjA==", "height": 1361588, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5UvmJJCUvggSzwgEGgrHE4v5rhtzuVo2zWd5UKFpv8qY Next: Hm6Y3du1HNRjr838WGhxFkPFUY5UWv3cczMmN9eco3Lx Diff:
OldNewDifferences
8686 func F (G) = (G + "_data")
8787
8888
89-func H (E) = (E + "_tokens")
89+func H (I) = (I + "_tokens")
9090
9191
92-func I (t) = c(s(t))
92+func J (t) = c(s(t))
9393
9494
95-func J (E) = g(H(E))
95+func K (E) = g(H(E))
9696
9797
98-func K (t) = c(u(t))
98+func L (t) = c(u(t))
9999
100100
101-func L (t,m,y) = c(x(t, m, y))
101+func M (t,m,y) = c(x(t, m, y))
102102
103103
104-func M (t,m) = c(w(t, m))
104+func N (t,m) = c(w(t, m))
105105
106106
107-func N (t,m,y) = g(z(t, m, y))
107+func O (t,m,y) = g(z(t, m, y))
108108
109109
110-func O (t,m,y) = c(C(t, m, y))
110+func P (t,m,y) = c(C(t, m, y))
111111
112112
113-func P (t,m) = h(v(t, m))
113+func Q (t,m) = h(v(t, m))
114114
115115
116-func Q (t,m) = c(B(t, m))
116+func R (t,m) = c(B(t, m))
117117
118118
119-func R (E) = c(D(E))
119+func S (E) = c(D(E))
120120
121121
122-func S (G) = c(F(G))
122+func T (G) = c(F(G))
123123
124124
125-@Callable(T)
126-func registerRetailer (m,U,V) = if ((this != T.caller))
125+@Callable(U)
126+func registerRetailer (m,V,I) = if ((this != U.caller))
127127 then throw("Caller is not the Contract owner")
128128 else {
129129 let E = p(m)
130- let W = p(V)
131-[BooleanEntry(H(W), true), StringEntry(D(E), U)]
130+[BooleanEntry(H(I), true), StringEntry(D(E), V)]
132131 }
133132
134133
135134
136-@Callable(T)
137-func updateRetailer (m,U) = if ((this != T.caller))
135+@Callable(U)
136+func updateRetailer (m,V) = if ((this != U.caller))
138137 then throw("Caller is not the Contract owner")
139138 else {
140139 let E = p(m)
141- let X = R(m)
142- if ((X == a))
140+ let W = S(m)
141+ if ((W == a))
143142 then throw("Courier does not exist on the Blockchain")
144- else [StringEntry(F(E), U)]
143+ else [StringEntry(F(E), V)]
145144 }
146145
147146
148147
149-@Callable(T)
150-func registerCourier (r,Y) = if ((this != T.caller))
148+@Callable(U)
149+func registerCourier (r,X) = if ((this != U.caller))
151150 then throw("Caller is not the Contract owner")
152151 else {
153152 let G = q(r)
154-[StringEntry(F(G), Y)]
153+[StringEntry(F(G), X)]
155154 }
156155
157156
158157
159-@Callable(T)
160-func updateCourier (r,Y) = if ((this != T.caller))
158+@Callable(U)
159+func updateCourier (r,X) = if ((this != U.caller))
161160 then throw("Caller is not the Contract owner")
162161 else {
163162 let G = q(r)
164- let Z = S(r)
165- if ((Z == a))
163+ let Y = T(r)
164+ if ((Y == a))
166165 then throw("Courier does not exist on the Blockchain")
167- else [StringEntry(F(G), Y)]
166+ else [StringEntry(F(G), X)]
168167 }
169168
170169
171170
172-@Callable(T)
173-func addOrder (n,aa,ab,m,U,j) = if ((this != T.caller))
171+@Callable(U)
172+func addOrder (n,Z,aa,m,V,j) = if ((this != U.caller))
174173 then throw("Caller is not the Contract owner")
175174 else {
176175 let t = l(m, n)
177- let ac = i(j, t)
176+ let ab = i(j, t)
178177 let E = p(m)
179- let ad = (aa * 100000000)
180- if ((0 >= aa))
178+ let ac = (Z * 100000000)
179+ if ((0 >= Z))
181180 then throw("You cannot create an order with shipping costs lower than 0")
182- else if ((K(t) != a))
181+ else if ((L(t) != a))
183182 then throw("An order with the same id already exists")
184- else [StringEntry(D(E), U), StringEntry(s(t), j), StringEntry(u(t), m), IntegerEntry(v(t, m), ad), StringEntry(B(ac, m), ab), StringEntry(x(t, m, ""), "open")]
183+ else [StringEntry(D(E), V), StringEntry(s(t), j), StringEntry(u(t), m), IntegerEntry(v(t, m), ac), StringEntry(B(ab, m), aa), StringEntry(x(t, m, ""), "open")]
185184 }
186185
187186
188187
189-@Callable(T)
190-func setOrderIsAccepted (m,n,y,ae) = if ((this != T.caller))
188+@Callable(U)
189+func setOrderIsAccepted (m,n,y,ad) = if ((this != U.caller))
191190 then throw("Caller is not the Contract owner")
192191 else {
193192 let t = l(m, n)
194- let j = I(t)
195- let ac = i(j, t)
196- let ab = Q(ac, m)
197- if ((K(t) != m))
193+ let j = J(t)
194+ let ab = i(j, t)
195+ let aa = R(ab, m)
196+ if ((L(t) != m))
198197 then throw("The requested order does not exist")
199- else if ((L(t, m, "") != "open"))
198+ else if ((M(t, m, "") != "open"))
200199 then throw("The requested order is no longer available")
201- else [DeleteEntry(B(ac, m)), DeleteEntry(x(t, m, "")), StringEntry(x(t, m, y), ab), BooleanEntry(z(t, m, y), false), IntegerEntry(A(t, m, y), ae), StringEntry(w(t, m), y)]
200+ else [DeleteEntry(B(ab, m)), DeleteEntry(x(t, m, "")), StringEntry(x(t, m, y), aa), BooleanEntry(z(t, m, y), false), IntegerEntry(A(t, m, y), ad), StringEntry(w(t, m), y)]
202201 }
203202
204203
205204
206-@Callable(T)
207-func setOrderIsInDelivery (m,n) = if ((this != T.caller))
205+@Callable(U)
206+func setOrderIsInDelivery (m,n) = if ((this != U.caller))
208207 then throw("Caller is not the Contract owner")
209208 else {
210209 let t = l(m, n)
211- let y = M(t, m)
212- if ((K(t) != m))
210+ let y = N(t, m)
211+ if ((L(t) != m))
213212 then throw("The requested order does not exist")
214213 else if ((y == a))
215214 then throw("The requested order is not accepted yet")
216- else if ((N(t, m, y) != false))
215+ else if ((O(t, m, y) != false))
217216 then throw("The requested order is no longer available")
218217 else [BooleanEntry(z(t, m, y), true), StringEntry(C(t, m, y), "inDelivery")]
219218 }
220219
221220
222221
223-@Callable(T)
224-func setOrderIsDelivered (m,n) = if ((this != T.caller))
222+@Callable(U)
223+func setOrderIsDelivered (m,n) = if ((this != U.caller))
225224 then throw("Caller is not the Contract owner")
226225 else {
227226 let t = l(m, n)
228- let y = M(t, m)
229- let ab = L(t, m, y)
230- let ad = P(t, m)
231- if ((K(t) != m))
227+ let y = N(t, m)
228+ let aa = M(t, m, y)
229+ let ac = Q(t, m)
230+ if ((L(t) != m))
232231 then throw("The requested order does not exist")
233232 else if ((y == a))
234233 then throw("There was no courier set! Something went wrong with the order.")
235- else if ((O(t, m, y) != "inDelivery"))
234+ else if ((P(t, m, y) != "inDelivery"))
236235 then throw("The requested order was already delivered")
237- else [DeleteEntry(x(t, m, y)), DeleteEntry(z(t, m, y)), DeleteEntry(C(t, m, "")), StringEntry(C(t, m, y), ab), ScriptTransfer(addressFromStringValue(y), ad, unit)]
236+ else [DeleteEntry(x(t, m, y)), DeleteEntry(z(t, m, y)), DeleteEntry(C(t, m, "")), StringEntry(C(t, m, y), aa), ScriptTransfer(addressFromStringValue(y), ac, unit)]
238237 }
239238
240239
241240
242-@Callable(T)
243-func cancelAcceptedOrderByCourier (m,n,y,j) = if ((this != T.caller))
241+@Callable(U)
242+func cancelAcceptedOrderByCourier (m,n,y,j) = if ((this != U.caller))
244243 then throw("Caller is not the Contract owner")
245244 else {
246245 let t = l(m, n)
247- let ac = i(j, t)
248- let ab = L(t, m, y)
249- if ((K(t) != m))
246+ let ab = i(j, t)
247+ let aa = M(t, m, y)
248+ if ((L(t) != m))
250249 then throw("The requested order does not exist")
251- else if ((ab == a))
250+ else if ((aa == a))
252251 then throw("The requested order does not exist or is not accepted yet")
253- else if ((N(t, m, y) == a))
252+ else if ((O(t, m, y) == a))
254253 then throw("The requested order is not accepted yet")
255- else [DeleteEntry(x(t, m, y)), DeleteEntry(z(t, m, y)), DeleteEntry(A(t, m, y)), StringEntry(B(ac, m), ab), StringEntry(x(t, m, ""), "open")]
254+ else [DeleteEntry(x(t, m, y)), DeleteEntry(z(t, m, y)), DeleteEntry(A(t, m, y)), StringEntry(B(ab, m), aa), StringEntry(x(t, m, ""), "open")]
256255 }
257256
258257
259258
260-@Callable(T)
261-func cancelOpenOrderByRetailer (m,n,j,W,aa) = if ((this != T.caller))
259+@Callable(U)
260+func cancelOpenOrderByRetailer (m,n,j,ae,Z) = if ((this != U.caller))
262261 then throw("Caller is not the Contract owner")
263262 else {
264263 let t = l(m, n)
265- let ac = i(j, t)
264+ let ab = i(j, t)
266265 let E = p(m)
267- let ad = (aa * 100000000)
268- if ((K(t) != m))
266+ let ac = (Z * 100000000)
267+ if ((L(t) != m))
269268 then throw("The requested order does not exist")
270- else if ((N(t, m, "") == "open"))
269+ else if ((O(t, m, "") == "open"))
271270 then throw("The requested order is already accepted and can no longer be canceled in this way")
272- else [DeleteEntry(s(t)), DeleteEntry(u(t)), DeleteEntry(v(t, m)), DeleteEntry(B(ac, m)), DeleteEntry(x(t, m, "")), ScriptTransfer(addressFromStringValue(W), ad, unit)]
271+ else [DeleteEntry(s(t)), DeleteEntry(u(t)), DeleteEntry(v(t, m)), DeleteEntry(B(ab, m)), DeleteEntry(x(t, m, "")), ScriptTransfer(addressFromStringValue(ae), ac, unit)]
273272 }
274273
275274
276275
277-@Callable(T)
278-func deleteEntry (d) = if ((this != T.caller))
276+@Callable(U)
277+func deleteEntry (d) = if ((this != U.caller))
279278 then throw("Caller is not the Contract owner")
280279 else [DeleteEntry(d)]
281280
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "NONE"
55
66 let b = base58'6Gjo6dZNLzun8w7uzWuH1t6hoGph9KrMcf1qjbEzBsVJ'
77
88 func c (d) = {
99 let e = getString(this, d)
1010 if ($isInstanceOf(e, "String"))
1111 then {
1212 let f = e
1313 f
1414 }
1515 else a
1616 }
1717
1818
1919 func g (d) = {
2020 let e = getBoolean(this, d)
2121 if ($isInstanceOf(e, "Boolean"))
2222 then {
2323 let f = e
2424 f
2525 }
2626 else a
2727 }
2828
2929
3030 func h (d) = {
3131 let e = getInteger(this, d)
3232 if ($isInstanceOf(e, "Int"))
3333 then {
3434 let f = e
3535 f
3636 }
3737 else -1
3838 }
3939
4040
4141 func i (j,k) = ((j + "_") + k)
4242
4343
4444 func l (m,n) = {
4545 let o = (m + n)
4646 ("order_" + toBase58String(sha256(toBytes(o))))
4747 }
4848
4949
5050 func p (m) = ("retailer_" + toBase58String(sha256(toBytes(m))))
5151
5252
5353 func q (r) = ("courier_" + toBase58String(sha256(toBytes(r))))
5454
5555
5656 func s (t) = (t + "_city")
5757
5858
5959 func u (t) = (t + "_retailer")
6060
6161
6262 func v (t,m) = (((m + "_") + t) + "_shipping")
6363
6464
6565 func w (t,m) = (((m + "_") + t) + "_courierId")
6666
6767
6868 func x (t,m,y) = ((((m + "_") + t) + "_data_courier_") + y)
6969
7070
7171 func z (t,m,y) = (((((m + "_") + t) + "_data_courier_") + y) + "_isInDelivery")
7272
7373
7474 func A (t,m,y) = (((((m + "_") + t) + "_data_courier_") + y) + "_acceptedAt")
7575
7676
7777 func B (t,m) = (((m + "_") + t) + "_data_open")
7878
7979
8080 func C (t,m,y) = ((((m + "_") + t) + "_isDelivered_") + y)
8181
8282
8383 func D (E) = (E + "_data")
8484
8585
8686 func F (G) = (G + "_data")
8787
8888
89-func H (E) = (E + "_tokens")
89+func H (I) = (I + "_tokens")
9090
9191
92-func I (t) = c(s(t))
92+func J (t) = c(s(t))
9393
9494
95-func J (E) = g(H(E))
95+func K (E) = g(H(E))
9696
9797
98-func K (t) = c(u(t))
98+func L (t) = c(u(t))
9999
100100
101-func L (t,m,y) = c(x(t, m, y))
101+func M (t,m,y) = c(x(t, m, y))
102102
103103
104-func M (t,m) = c(w(t, m))
104+func N (t,m) = c(w(t, m))
105105
106106
107-func N (t,m,y) = g(z(t, m, y))
107+func O (t,m,y) = g(z(t, m, y))
108108
109109
110-func O (t,m,y) = c(C(t, m, y))
110+func P (t,m,y) = c(C(t, m, y))
111111
112112
113-func P (t,m) = h(v(t, m))
113+func Q (t,m) = h(v(t, m))
114114
115115
116-func Q (t,m) = c(B(t, m))
116+func R (t,m) = c(B(t, m))
117117
118118
119-func R (E) = c(D(E))
119+func S (E) = c(D(E))
120120
121121
122-func S (G) = c(F(G))
122+func T (G) = c(F(G))
123123
124124
125-@Callable(T)
126-func registerRetailer (m,U,V) = if ((this != T.caller))
125+@Callable(U)
126+func registerRetailer (m,V,I) = if ((this != U.caller))
127127 then throw("Caller is not the Contract owner")
128128 else {
129129 let E = p(m)
130- let W = p(V)
131-[BooleanEntry(H(W), true), StringEntry(D(E), U)]
130+[BooleanEntry(H(I), true), StringEntry(D(E), V)]
132131 }
133132
134133
135134
136-@Callable(T)
137-func updateRetailer (m,U) = if ((this != T.caller))
135+@Callable(U)
136+func updateRetailer (m,V) = if ((this != U.caller))
138137 then throw("Caller is not the Contract owner")
139138 else {
140139 let E = p(m)
141- let X = R(m)
142- if ((X == a))
140+ let W = S(m)
141+ if ((W == a))
143142 then throw("Courier does not exist on the Blockchain")
144- else [StringEntry(F(E), U)]
143+ else [StringEntry(F(E), V)]
145144 }
146145
147146
148147
149-@Callable(T)
150-func registerCourier (r,Y) = if ((this != T.caller))
148+@Callable(U)
149+func registerCourier (r,X) = if ((this != U.caller))
151150 then throw("Caller is not the Contract owner")
152151 else {
153152 let G = q(r)
154-[StringEntry(F(G), Y)]
153+[StringEntry(F(G), X)]
155154 }
156155
157156
158157
159-@Callable(T)
160-func updateCourier (r,Y) = if ((this != T.caller))
158+@Callable(U)
159+func updateCourier (r,X) = if ((this != U.caller))
161160 then throw("Caller is not the Contract owner")
162161 else {
163162 let G = q(r)
164- let Z = S(r)
165- if ((Z == a))
163+ let Y = T(r)
164+ if ((Y == a))
166165 then throw("Courier does not exist on the Blockchain")
167- else [StringEntry(F(G), Y)]
166+ else [StringEntry(F(G), X)]
168167 }
169168
170169
171170
172-@Callable(T)
173-func addOrder (n,aa,ab,m,U,j) = if ((this != T.caller))
171+@Callable(U)
172+func addOrder (n,Z,aa,m,V,j) = if ((this != U.caller))
174173 then throw("Caller is not the Contract owner")
175174 else {
176175 let t = l(m, n)
177- let ac = i(j, t)
176+ let ab = i(j, t)
178177 let E = p(m)
179- let ad = (aa * 100000000)
180- if ((0 >= aa))
178+ let ac = (Z * 100000000)
179+ if ((0 >= Z))
181180 then throw("You cannot create an order with shipping costs lower than 0")
182- else if ((K(t) != a))
181+ else if ((L(t) != a))
183182 then throw("An order with the same id already exists")
184- else [StringEntry(D(E), U), StringEntry(s(t), j), StringEntry(u(t), m), IntegerEntry(v(t, m), ad), StringEntry(B(ac, m), ab), StringEntry(x(t, m, ""), "open")]
183+ else [StringEntry(D(E), V), StringEntry(s(t), j), StringEntry(u(t), m), IntegerEntry(v(t, m), ac), StringEntry(B(ab, m), aa), StringEntry(x(t, m, ""), "open")]
185184 }
186185
187186
188187
189-@Callable(T)
190-func setOrderIsAccepted (m,n,y,ae) = if ((this != T.caller))
188+@Callable(U)
189+func setOrderIsAccepted (m,n,y,ad) = if ((this != U.caller))
191190 then throw("Caller is not the Contract owner")
192191 else {
193192 let t = l(m, n)
194- let j = I(t)
195- let ac = i(j, t)
196- let ab = Q(ac, m)
197- if ((K(t) != m))
193+ let j = J(t)
194+ let ab = i(j, t)
195+ let aa = R(ab, m)
196+ if ((L(t) != m))
198197 then throw("The requested order does not exist")
199- else if ((L(t, m, "") != "open"))
198+ else if ((M(t, m, "") != "open"))
200199 then throw("The requested order is no longer available")
201- else [DeleteEntry(B(ac, m)), DeleteEntry(x(t, m, "")), StringEntry(x(t, m, y), ab), BooleanEntry(z(t, m, y), false), IntegerEntry(A(t, m, y), ae), StringEntry(w(t, m), y)]
200+ else [DeleteEntry(B(ab, m)), DeleteEntry(x(t, m, "")), StringEntry(x(t, m, y), aa), BooleanEntry(z(t, m, y), false), IntegerEntry(A(t, m, y), ad), StringEntry(w(t, m), y)]
202201 }
203202
204203
205204
206-@Callable(T)
207-func setOrderIsInDelivery (m,n) = if ((this != T.caller))
205+@Callable(U)
206+func setOrderIsInDelivery (m,n) = if ((this != U.caller))
208207 then throw("Caller is not the Contract owner")
209208 else {
210209 let t = l(m, n)
211- let y = M(t, m)
212- if ((K(t) != m))
210+ let y = N(t, m)
211+ if ((L(t) != m))
213212 then throw("The requested order does not exist")
214213 else if ((y == a))
215214 then throw("The requested order is not accepted yet")
216- else if ((N(t, m, y) != false))
215+ else if ((O(t, m, y) != false))
217216 then throw("The requested order is no longer available")
218217 else [BooleanEntry(z(t, m, y), true), StringEntry(C(t, m, y), "inDelivery")]
219218 }
220219
221220
222221
223-@Callable(T)
224-func setOrderIsDelivered (m,n) = if ((this != T.caller))
222+@Callable(U)
223+func setOrderIsDelivered (m,n) = if ((this != U.caller))
225224 then throw("Caller is not the Contract owner")
226225 else {
227226 let t = l(m, n)
228- let y = M(t, m)
229- let ab = L(t, m, y)
230- let ad = P(t, m)
231- if ((K(t) != m))
227+ let y = N(t, m)
228+ let aa = M(t, m, y)
229+ let ac = Q(t, m)
230+ if ((L(t) != m))
232231 then throw("The requested order does not exist")
233232 else if ((y == a))
234233 then throw("There was no courier set! Something went wrong with the order.")
235- else if ((O(t, m, y) != "inDelivery"))
234+ else if ((P(t, m, y) != "inDelivery"))
236235 then throw("The requested order was already delivered")
237- else [DeleteEntry(x(t, m, y)), DeleteEntry(z(t, m, y)), DeleteEntry(C(t, m, "")), StringEntry(C(t, m, y), ab), ScriptTransfer(addressFromStringValue(y), ad, unit)]
236+ else [DeleteEntry(x(t, m, y)), DeleteEntry(z(t, m, y)), DeleteEntry(C(t, m, "")), StringEntry(C(t, m, y), aa), ScriptTransfer(addressFromStringValue(y), ac, unit)]
238237 }
239238
240239
241240
242-@Callable(T)
243-func cancelAcceptedOrderByCourier (m,n,y,j) = if ((this != T.caller))
241+@Callable(U)
242+func cancelAcceptedOrderByCourier (m,n,y,j) = if ((this != U.caller))
244243 then throw("Caller is not the Contract owner")
245244 else {
246245 let t = l(m, n)
247- let ac = i(j, t)
248- let ab = L(t, m, y)
249- if ((K(t) != m))
246+ let ab = i(j, t)
247+ let aa = M(t, m, y)
248+ if ((L(t) != m))
250249 then throw("The requested order does not exist")
251- else if ((ab == a))
250+ else if ((aa == a))
252251 then throw("The requested order does not exist or is not accepted yet")
253- else if ((N(t, m, y) == a))
252+ else if ((O(t, m, y) == a))
254253 then throw("The requested order is not accepted yet")
255- else [DeleteEntry(x(t, m, y)), DeleteEntry(z(t, m, y)), DeleteEntry(A(t, m, y)), StringEntry(B(ac, m), ab), StringEntry(x(t, m, ""), "open")]
254+ else [DeleteEntry(x(t, m, y)), DeleteEntry(z(t, m, y)), DeleteEntry(A(t, m, y)), StringEntry(B(ab, m), aa), StringEntry(x(t, m, ""), "open")]
256255 }
257256
258257
259258
260-@Callable(T)
261-func cancelOpenOrderByRetailer (m,n,j,W,aa) = if ((this != T.caller))
259+@Callable(U)
260+func cancelOpenOrderByRetailer (m,n,j,ae,Z) = if ((this != U.caller))
262261 then throw("Caller is not the Contract owner")
263262 else {
264263 let t = l(m, n)
265- let ac = i(j, t)
264+ let ab = i(j, t)
266265 let E = p(m)
267- let ad = (aa * 100000000)
268- if ((K(t) != m))
266+ let ac = (Z * 100000000)
267+ if ((L(t) != m))
269268 then throw("The requested order does not exist")
270- else if ((N(t, m, "") == "open"))
269+ else if ((O(t, m, "") == "open"))
271270 then throw("The requested order is already accepted and can no longer be canceled in this way")
272- else [DeleteEntry(s(t)), DeleteEntry(u(t)), DeleteEntry(v(t, m)), DeleteEntry(B(ac, m)), DeleteEntry(x(t, m, "")), ScriptTransfer(addressFromStringValue(W), ad, unit)]
271+ else [DeleteEntry(s(t)), DeleteEntry(u(t)), DeleteEntry(v(t, m)), DeleteEntry(B(ab, m)), DeleteEntry(x(t, m, "")), ScriptTransfer(addressFromStringValue(ae), ac, unit)]
273272 }
274273
275274
276275
277-@Callable(T)
278-func deleteEntry (d) = if ((this != T.caller))
276+@Callable(U)
277+func deleteEntry (d) = if ((this != U.caller))
279278 then throw("Caller is not the Contract owner")
280279 else [DeleteEntry(d)]
281280
282281
283282 @Verifier(af)
284283 func ag () = {
285284 let e = af
286285 if ($isInstanceOf(e, "SetScriptTransaction"))
287286 then sigVerify(af.bodyBytes, af.proofs[0], af.senderPublicKey)
288287 else if ($isInstanceOf(e, "InvokeScriptTransaction"))
289288 then sigVerify(af.bodyBytes, af.proofs[0], af.senderPublicKey)
290289 else if ($isInstanceOf(e, "TransferTransaction"))
291290 then {
292291 let ah = e
293292 if (if (if ((ah.amount == 300000000))
294293 then true
295294 else (ah.amount == 400000000))
296295 then true
297296 else (ah.amount == 500000000))
298297 then true
299298 else if ((ah.amount == 600000000))
300299 then sigVerify(af.bodyBytes, af.proofs[0], af.senderPublicKey)
301300 else false
302301 }
303302 else false
304303 }
305304

github/deemru/w8io/026f985 
83.54 ms