tx · 7SX6x1KgLcMbregFvebrHdfymHe5ZuNR9hbJ6JW9EFUW 3MyhFh2hSze8zf3w3oi3yeUGJ9DcG3ZtSJU: -0.04000000 Waves 2020.11.16 19:09 [1268134] smart account 3MyhFh2hSze8zf3w3oi3yeUGJ9DcG3ZtSJU > SELF 0.00000000 Waves
{ "type": 13, "id": "7SX6x1KgLcMbregFvebrHdfymHe5ZuNR9hbJ6JW9EFUW", "fee": 4000000, "feeAssetId": null, "timestamp": 1605543062358, "version": 2, "chainId": 84, "sender": "3MyhFh2hSze8zf3w3oi3yeUGJ9DcG3ZtSJU", "senderPublicKey": "28D83CzZK1cuqxneGZ6Da53FJCNdtCVupah94P8aS3fm", "proofs": [ "5skakqQ7HFMhtYnhRt52xS4rApm9bjribE4w9oLnduXAskogtmPfGjJNhiq7bavtmJWiRHMULUfQnaKxSizwcjnv" ], "script": "base64:AAIEAAAAAAAAAAgIAhIECgIBAQAAAAsBAAAAGWdldEFid2Fzc2VyTWVuZ2VIeWRyYXVsaWsAAAADAAAACXB1YmxpY0tleQAAAAVtb25hdAAAAARqYWhyBAAAABZBYndhc3Nlck1lbmdlSHlkcmF1bGlrBAAAAAckbWF0Y2gwCQAEGgAAAAIFAAAABHRoaXMJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgUAAAAJcHVibGljS2V5AgAAAA1fd2Fzc2VybWVuZ2VfCQABpAAAAAEFAAAABW1vbmF0AgAAAAFfCQABpAAAAAEFAAAABGphaHIDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQD//////////wUAAAAWQWJ3YXNzZXJNZW5nZUh5ZHJhdWxpawEAAAANZ2V0VG9ja0ZyYWNodAAAAAMAAAAJcHVibGljS2V5AAAABW1vbmF0AAAABGphaHIEAAAACnRvY2tGcmFjaHQEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwkAASwAAAACCQABLAAAAAIJAAEsAAAAAg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5AAAAAgkAASwAAAACBQAAAAlwdWJsaWNLZXkCAAAAEF9BQkFTX05ldV9FS09TVEwFAAAABkVLT1NUTAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACBQAAAAlwdWJsaWNLZXkCAAAAEV9BQkFTX05ldV9EZWJpdG9yBQAAAAtrdW5kZU51bW1lcgkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIFAAAACXB1YmxpY0tleQIAAAASX0FCQVNfTmV1X2xhbmdUZXh0BQAAAAhsYW5nVGV4dAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACBQAAAAlwdWJsaWNLZXkCAAAAEF9BQkFTX05ldV9TS09TVEwFAAAABlNLT1NUTAUAAAADbmlsCQAAAgAAAAECAAAAFUZlbGRlciB1bnZvbGxzdMOkbmRpZwAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAGBpeTBE8=", "height": 1268134, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5ECX6ynncJDzYcmEebHMVHiHQsNnFYV4ELkBJmVL1yVN Next: Aa5JeFZ9aE6dDV62YdLeq8RwBfKrweNB7KqtWDypdfQc Diff:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | func a (b) = { | |
5 | - | let | |
6 | - | let | |
7 | - | if ($isInstanceOf( | |
4 | + | func a (b,c,d) = { | |
5 | + | let e = { | |
6 | + | let f = getInteger(this, ((((b + "_wassermenge_") + toString(c)) + "_") + toString(d))) | |
7 | + | if ($isInstanceOf(f, "Int")) | |
8 | 8 | then { | |
9 | - | let | |
10 | - | | |
9 | + | let g = f | |
10 | + | g | |
11 | 11 | } | |
12 | 12 | else -1 | |
13 | 13 | } | |
14 | - | | |
14 | + | e | |
15 | 15 | } | |
16 | 16 | ||
17 | 17 | ||
18 | - | func | |
19 | - | let | |
20 | - | let | |
21 | - | if ($isInstanceOf( | |
18 | + | func h (b,c,d) = { | |
19 | + | let i = { | |
20 | + | let f = getInteger(this, ((((b + "_TOCfracht") + toString(c)) + "_") + toString(d))) | |
21 | + | if ($isInstanceOf(f, "Int")) | |
22 | 22 | then { | |
23 | - | let e = d | |
24 | - | e | |
25 | - | } | |
26 | - | else -1 | |
27 | - | } | |
28 | - | g | |
29 | - | } | |
30 | - | ||
31 | - | ||
32 | - | func h (b) = { | |
33 | - | let i = { | |
34 | - | let d = getInteger(this, (b + "_Nfracht")) | |
35 | - | if ($isInstanceOf(d, "Int")) | |
36 | - | then { | |
37 | - | let e = d | |
38 | - | e | |
23 | + | let g = f | |
24 | + | g | |
39 | 25 | } | |
40 | 26 | else -1 | |
41 | 27 | } | |
43 | 29 | } | |
44 | 30 | ||
45 | 31 | ||
46 | - | func j (b) = { | |
32 | + | func j (b,c,d) = { | |
47 | 33 | let k = { | |
48 | - | let | |
49 | - | if ($isInstanceOf( | |
34 | + | let f = getInteger(this, ((((b + "_Nfracht") + toString(c)) + "_") + toString(d))) | |
35 | + | if ($isInstanceOf(f, "Int")) | |
50 | 36 | then { | |
51 | - | let | |
52 | - | | |
37 | + | let g = f | |
38 | + | g | |
53 | 39 | } | |
54 | 40 | else -1 | |
55 | 41 | } | |
56 | - | let l = { | |
57 | - | let d = getInteger(this, (b + "_Kupferfracht")) | |
58 | - | if ($isInstanceOf(d, "Int")) | |
42 | + | k | |
43 | + | } | |
44 | + | ||
45 | + | ||
46 | + | func l (b,c,d) = { | |
47 | + | let m = { | |
48 | + | let f = getInteger(this, ((((b + "_AOXfracht") + toString(c)) + "_") + toString(d))) | |
49 | + | if ($isInstanceOf(f, "Int")) | |
59 | 50 | then { | |
60 | - | let e = d | |
61 | - | e | |
62 | - | } | |
63 | - | else -1 | |
64 | - | } | |
65 | - | let m = { | |
66 | - | let d = getInteger(this, (b + "_Zinkfracht")) | |
67 | - | if ($isInstanceOf(d, "Int")) | |
68 | - | then { | |
69 | - | let e = d | |
70 | - | e | |
51 | + | let g = f | |
52 | + | g | |
71 | 53 | } | |
72 | 54 | else -1 | |
73 | 55 | } | |
74 | 56 | let n = { | |
75 | - | let | |
76 | - | if ($isInstanceOf( | |
57 | + | let f = getInteger(this, ((((b + "_Kupferfracht") + toString(c)) + "_") + toString(d))) | |
58 | + | if ($isInstanceOf(f, "Int")) | |
77 | 59 | then { | |
78 | - | let | |
79 | - | | |
60 | + | let g = f | |
61 | + | g | |
80 | 62 | } | |
81 | 63 | else -1 | |
82 | 64 | } | |
83 | 65 | let o = { | |
84 | - | let | |
85 | - | if ($isInstanceOf( | |
66 | + | let f = getInteger(this, ((((b + "_Zinkfracht") + toString(c)) + "_") + toString(d))) | |
67 | + | if ($isInstanceOf(f, "Int")) | |
86 | 68 | then { | |
87 | - | let | |
88 | - | | |
69 | + | let g = f | |
70 | + | g | |
89 | 71 | } | |
90 | 72 | else -1 | |
91 | 73 | } | |
92 | 74 | let p = { | |
93 | - | let | |
94 | - | if ($isInstanceOf( | |
75 | + | let f = getInteger(this, ((((b + "_Nickelfracht") + toString(c)) + "_") + toString(d))) | |
76 | + | if ($isInstanceOf(f, "Int")) | |
95 | 77 | then { | |
96 | - | let | |
97 | - | | |
78 | + | let g = f | |
79 | + | g | |
98 | 80 | } | |
99 | 81 | else -1 | |
100 | 82 | } | |
101 | 83 | let q = { | |
102 | - | let | |
103 | - | if ($isInstanceOf( | |
84 | + | let f = getInteger(this, ((((b + "_Aromatenfracht") + toString(c)) + "_") + toString(d))) | |
85 | + | if ($isInstanceOf(f, "Int")) | |
104 | 86 | then { | |
105 | - | let | |
106 | - | | |
87 | + | let g = f | |
88 | + | g | |
107 | 89 | } | |
108 | 90 | else -1 | |
109 | 91 | } | |
110 | 92 | let r = { | |
111 | - | let | |
112 | - | if ($isInstanceOf( | |
93 | + | let f = getInteger(this, ((((b + "_Chromfracht") + toString(c)) + "_") + toString(d))) | |
94 | + | if ($isInstanceOf(f, "Int")) | |
113 | 95 | then { | |
114 | - | let | |
115 | - | | |
96 | + | let g = f | |
97 | + | g | |
116 | 98 | } | |
117 | 99 | else -1 | |
118 | 100 | } | |
119 | 101 | let s = { | |
120 | - | let | |
121 | - | if ($isInstanceOf( | |
102 | + | let f = getInteger(this, ((((b + "_Feststofffracht") + toString(c)) + "_") + toString(d))) | |
103 | + | if ($isInstanceOf(f, "Int")) | |
122 | 104 | then { | |
123 | - | let | |
124 | - | | |
105 | + | let g = f | |
106 | + | g | |
125 | 107 | } | |
126 | 108 | else -1 | |
127 | 109 | } | |
128 | 110 | let t = { | |
129 | - | let | |
130 | - | if ($isInstanceOf( | |
111 | + | let f = getInteger(this, ((((b + "_formaldehydfracht") + toString(c)) + "_") + toString(d))) | |
112 | + | if ($isInstanceOf(f, "Int")) | |
131 | 113 | then { | |
132 | - | let | |
133 | - | | |
114 | + | let g = f | |
115 | + | g | |
134 | 116 | } | |
135 | 117 | else -1 | |
136 | 118 | } | |
137 | 119 | let u = { | |
138 | - | let | |
139 | - | if ($isInstanceOf( | |
120 | + | let f = getInteger(this, ((((b + "_quecksilberfracht") + toString(c)) + "_") + toString(d))) | |
121 | + | if ($isInstanceOf(f, "Int")) | |
140 | 122 | then { | |
141 | - | let | |
142 | - | | |
123 | + | let g = f | |
124 | + | g | |
143 | 125 | } | |
144 | 126 | else -1 | |
145 | 127 | } | |
146 | 128 | let v = { | |
147 | - | let | |
148 | - | if ($isInstanceOf( | |
129 | + | let f = getInteger(this, ((((b + "_phosohorfracht") + toString(c)) + "_") + toString(d))) | |
130 | + | if ($isInstanceOf(f, "Int")) | |
149 | 131 | then { | |
150 | - | let | |
151 | - | | |
132 | + | let g = f | |
133 | + | g | |
152 | 134 | } | |
153 | 135 | else -1 | |
154 | 136 | } | |
155 | 137 | let w = { | |
156 | - | let | |
157 | - | if ($isInstanceOf( | |
138 | + | let f = getInteger(this, ((((b + "_cadmiumfracht") + toString(c)) + "_") + toString(d))) | |
139 | + | if ($isInstanceOf(f, "Int")) | |
158 | 140 | then { | |
159 | - | let | |
160 | - | | |
141 | + | let g = f | |
142 | + | g | |
161 | 143 | } | |
162 | 144 | else -1 | |
163 | 145 | } | |
164 | - | ((((((((((((k + l) + m) + n) + o) + p) + q) + r) + s) + t) + u) + v) + w) | |
146 | + | let x = { | |
147 | + | let f = getInteger(this, ((((b + "_flourfracht") + toString(c)) + "_") + toString(d))) | |
148 | + | if ($isInstanceOf(f, "Int")) | |
149 | + | then { | |
150 | + | let g = f | |
151 | + | g | |
152 | + | } | |
153 | + | else -1 | |
154 | + | } | |
155 | + | let y = { | |
156 | + | let f = getInteger(this, ((((b + "_bleifracht") + toString(c)) + "_") + toString(d))) | |
157 | + | if ($isInstanceOf(f, "Int")) | |
158 | + | then { | |
159 | + | let g = f | |
160 | + | g | |
161 | + | } | |
162 | + | else -1 | |
163 | + | } | |
164 | + | ((((((((((((m + n) + o) + p) + q) + r) + s) + t) + u) + v) + w) + x) + y) | |
165 | 165 | } | |
166 | 166 | ||
167 | 167 | ||
168 | - | func | |
169 | - | let | |
170 | - | let | |
171 | - | if ($isInstanceOf( | |
168 | + | func z (b,c,d) = { | |
169 | + | let A = { | |
170 | + | let f = getInteger(this, ((((b + "_labor-sonder-leistungen") + toString(c)) + "_") + toString(d))) | |
171 | + | if ($isInstanceOf(f, "Int")) | |
172 | 172 | then { | |
173 | - | let | |
174 | - | | |
173 | + | let g = f | |
174 | + | g | |
175 | 175 | } | |
176 | 176 | else -1 | |
177 | 177 | } | |
178 | - | let | |
179 | - | let | |
180 | - | if ($isInstanceOf( | |
178 | + | let B = { | |
179 | + | let f = getInteger(this, ((((b + "_standard-analytik") + toString(c)) + "_") + toString(d))) | |
180 | + | if ($isInstanceOf(f, "Int")) | |
181 | 181 | then { | |
182 | - | let | |
183 | - | | |
182 | + | let g = f | |
183 | + | g | |
184 | 184 | } | |
185 | 185 | else -1 | |
186 | 186 | } | |
187 | - | ( | |
187 | + | (A + B) | |
188 | 188 | } | |
189 | 189 | ||
190 | 190 | ||
191 | - | func | |
192 | - | let | |
193 | - | let | |
194 | - | if ($isInstanceOf( | |
191 | + | func C (b,c,d) = { | |
192 | + | let D = { | |
193 | + | let f = getInteger(this, ((((b + "_kosten-abwasser-reinigung") + toString(c)) + "_") + toString(d))) | |
194 | + | if ($isInstanceOf(f, "Int")) | |
195 | 195 | then { | |
196 | - | let | |
197 | - | | |
196 | + | let g = f | |
197 | + | g | |
198 | 198 | } | |
199 | 199 | else -1 | |
200 | 200 | } | |
201 | - | | |
201 | + | D | |
202 | 202 | } | |
203 | 203 | ||
204 | 204 | ||
205 | - | func | |
206 | - | let | |
207 | - | let | |
208 | - | if ($isInstanceOf( | |
205 | + | func E (b,c,d) = { | |
206 | + | let F = { | |
207 | + | let f = getInteger(this, ((((b + "_Feststofffracht") + toString(c)) + "_") + toString(d))) | |
208 | + | if ($isInstanceOf(f, "Int")) | |
209 | 209 | then { | |
210 | - | let | |
211 | - | | |
210 | + | let g = f | |
211 | + | g | |
212 | 212 | } | |
213 | 213 | else -1 | |
214 | 214 | } | |
215 | - | ((D * 8318) / 500) | |
216 | - | } | |
217 | - | ||
218 | - | ||
219 | - | func E (b) = { | |
220 | - | let F = { | |
221 | - | let d = getInteger(this, (b + "_kostenstelle")) | |
222 | - | if ($isInstanceOf(d, "Int")) | |
223 | - | then { | |
224 | - | let e = d | |
225 | - | e | |
226 | - | } | |
227 | - | else -1 | |
228 | - | } | |
229 | - | F | |
215 | + | ((F * 8318) / 500) | |
230 | 216 | } | |
231 | 217 | ||
232 | 218 | ||
233 | 219 | func G (b) = { | |
234 | 220 | let H = { | |
235 | - | let | |
236 | - | if ($isInstanceOf( | |
221 | + | let f = getInteger(this, (b + "_kostenstelle")) | |
222 | + | if ($isInstanceOf(f, "Int")) | |
237 | 223 | then { | |
238 | - | let | |
239 | - | | |
224 | + | let g = f | |
225 | + | g | |
240 | 226 | } | |
241 | 227 | else -1 | |
242 | 228 | } | |
246 | 232 | ||
247 | 233 | func I (b) = { | |
248 | 234 | let J = { | |
249 | - | let | |
250 | - | if ($isInstanceOf( | |
235 | + | let f = getInteger(this, (b + "_kundeNr")) | |
236 | + | if ($isInstanceOf(f, "Int")) | |
251 | 237 | then { | |
252 | - | let | |
253 | - | | |
238 | + | let g = f | |
239 | + | g | |
254 | 240 | } | |
255 | 241 | else -1 | |
256 | 242 | } | |
260 | 246 | ||
261 | 247 | func K (b) = { | |
262 | 248 | let L = { | |
263 | - | let | |
264 | - | if ($isInstanceOf( | |
249 | + | let f = getInteger(this, (b + "_SenderKostenStelle")) | |
250 | + | if ($isInstanceOf(f, "Int")) | |
265 | 251 | then { | |
266 | - | let | |
267 | - | | |
252 | + | let g = f | |
253 | + | g | |
268 | 254 | } | |
269 | - | else | |
255 | + | else -1 | |
270 | 256 | } | |
271 | 257 | L | |
272 | 258 | } | |
273 | 259 | ||
274 | 260 | ||
275 | - | @Callable(M) | |
276 | - | func abasNeu () = { | |
277 | - | let b = toBase58String(M.callerPublicKey) | |
278 | - | let N = a(b) | |
279 | - | let O = f(b) | |
280 | - | let i = h(b) | |
281 | - | let P = j(b) | |
282 | - | let Q = x(b) | |
283 | - | let R = A(b) | |
284 | - | let S = C(b) | |
285 | - | let T = E(b) | |
286 | - | let H = G(b) | |
261 | + | func M (b) = { | |
262 | + | let N = { | |
263 | + | let f = getString(this, (b + "_Betriebs-Bezeichnung")) | |
264 | + | if ($isInstanceOf(f, "String")) | |
265 | + | then { | |
266 | + | let g = f | |
267 | + | g | |
268 | + | } | |
269 | + | else "" | |
270 | + | } | |
271 | + | N | |
272 | + | } | |
273 | + | ||
274 | + | ||
275 | + | @Callable(O) | |
276 | + | func abasNeu (c,d) = { | |
277 | + | let b = toBase58String(O.callerPublicKey) | |
278 | + | let P = a(b, c, d) | |
279 | + | let Q = h(b, c, d) | |
280 | + | let k = j(b, c, d) | |
281 | + | let R = l(b, c, d) | |
282 | + | let S = z(b, c, d) | |
283 | + | let T = C(b, c, d) | |
284 | + | let U = E(b, c, d) | |
285 | + | let V = G(b) | |
286 | + | let J = I(b) | |
287 | + | let N = M(b) | |
287 | 288 | let L = K(b) | |
288 | - | let J = I(b) | |
289 | - | if (if (if (if (if (if (if (if (if (if (if ((N >= 0)) | |
290 | - | then (O >= 0) | |
289 | + | if (if (if (if (if (if (if (if (if (if (if ((P >= 0)) | |
290 | + | then (Q >= 0) | |
291 | 291 | else false) | |
292 | - | then ( | |
292 | + | then (k >= 0) | |
293 | 293 | else false) | |
294 | - | then (P >= 0) | |
295 | - | else false) | |
296 | - | then (Q >= 0) | |
294 | + | then (R >= 0) | |
297 | 295 | else false) | |
298 | 296 | then (R >= 0) | |
299 | 297 | else false) | |
300 | 298 | then (S >= 0) | |
301 | 299 | else false) | |
302 | - | then (H >= 0) | |
303 | - | else false) | |
304 | 300 | then (T >= 0) | |
305 | 301 | else false) | |
306 | - | then ( | |
302 | + | then (U >= 0) | |
307 | 303 | else false) | |
308 | 304 | then (J >= 0) | |
309 | 305 | else false) | |
310 | - | then [IntegerEntry((b + "_ABAS_Neu_abwasserMengeHydraulik_Menge"), N), IntegerEntry((b + "_ABAS_Neu_tocFracht_Menge"), O), IntegerEntry((b + "_ABAS_Neu_stickStoffFracht_Menge"), i), IntegerEntry((b + "_ABAS_Neu_sonstigeFrachten_Menge"), P), IntegerEntry((b + "_ABAS_Neu_abwasserAnalytikSonstLeistungen_Menge"), Q), IntegerEntry((b + "_ABAS_Neu_besonderheiten_Menge"), R), IntegerEntry((b + "_ABAS_Neu_sonderVereinbarung_Menge"), S), IntegerEntry((b + "_ABAS_Neu_EKOSTL"), T), IntegerEntry((b + "_ABAS_Neu_Debitor"), H), StringEntry((b + "_ABAS_Neu_langText"), L), IntegerEntry((b + "_ABAS_Neu_SKOSTL"), J)] | |
306 | + | then (N != "") | |
307 | + | else false) | |
308 | + | then (L != 0) | |
309 | + | else false) | |
310 | + | then [IntegerEntry(((((b + "_ABAS_Neu_abwasserMengeHydraulik_Menge") + toString(c)) + "_") + toString(d)), P), IntegerEntry(((((b + "_ABAS_Neu_tocFracht_Menge") + toString(c)) + "_") + toString(d)), Q), IntegerEntry(((((b + "_ABAS_Neu_stickStoffFracht_Menge") + toString(c)) + "_") + toString(d)), k), IntegerEntry(((((b + "_ABAS_Neu_sonstigeFrachten_Menge") + toString(c)) + "_") + toString(d)), R), IntegerEntry(((((b + "_ABAS_Neu_abwasserAnalytikSonstLeistungen_Menge") + toString(c)) + "_") + toString(d)), S), IntegerEntry(((((b + "_ABAS_Neu_besonderheiten_Menge") + toString(c)) + "_") + toString(d)), T), IntegerEntry(((((b + "_ABAS_Neu_sonderVereinbarung_Menge") + toString(c)) + "_") + toString(d)), U), IntegerEntry((b + "_ABAS_Neu_EKOSTL"), V), IntegerEntry((b + "_ABAS_Neu_Debitor"), J), StringEntry((b + "_ABAS_Neu_langText"), N), IntegerEntry((b + "_ABAS_Neu_SKOSTL"), L)] | |
311 | 311 | else throw("Felder unvollständig") | |
312 | 312 | } | |
313 | 313 | ||
314 | 314 | ||
315 | - | @Verifier( | |
316 | - | func | |
317 | - | let | |
318 | - | if ($isInstanceOf( | |
315 | + | @Verifier(W) | |
316 | + | func X () = { | |
317 | + | let f = W | |
318 | + | if ($isInstanceOf(f, "SetScriptTransaction")) | |
319 | 319 | then { | |
320 | - | let | |
320 | + | let W = f | |
321 | 321 | true | |
322 | 322 | } | |
323 | 323 | else true |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | func a (b) = { | |
5 | - | let | |
6 | - | let | |
7 | - | if ($isInstanceOf( | |
4 | + | func a (b,c,d) = { | |
5 | + | let e = { | |
6 | + | let f = getInteger(this, ((((b + "_wassermenge_") + toString(c)) + "_") + toString(d))) | |
7 | + | if ($isInstanceOf(f, "Int")) | |
8 | 8 | then { | |
9 | - | let | |
10 | - | | |
9 | + | let g = f | |
10 | + | g | |
11 | 11 | } | |
12 | 12 | else -1 | |
13 | 13 | } | |
14 | - | | |
14 | + | e | |
15 | 15 | } | |
16 | 16 | ||
17 | 17 | ||
18 | - | func | |
19 | - | let | |
20 | - | let | |
21 | - | if ($isInstanceOf( | |
18 | + | func h (b,c,d) = { | |
19 | + | let i = { | |
20 | + | let f = getInteger(this, ((((b + "_TOCfracht") + toString(c)) + "_") + toString(d))) | |
21 | + | if ($isInstanceOf(f, "Int")) | |
22 | 22 | then { | |
23 | - | let e = d | |
24 | - | e | |
25 | - | } | |
26 | - | else -1 | |
27 | - | } | |
28 | - | g | |
29 | - | } | |
30 | - | ||
31 | - | ||
32 | - | func h (b) = { | |
33 | - | let i = { | |
34 | - | let d = getInteger(this, (b + "_Nfracht")) | |
35 | - | if ($isInstanceOf(d, "Int")) | |
36 | - | then { | |
37 | - | let e = d | |
38 | - | e | |
23 | + | let g = f | |
24 | + | g | |
39 | 25 | } | |
40 | 26 | else -1 | |
41 | 27 | } | |
42 | 28 | i | |
43 | 29 | } | |
44 | 30 | ||
45 | 31 | ||
46 | - | func j (b) = { | |
32 | + | func j (b,c,d) = { | |
47 | 33 | let k = { | |
48 | - | let | |
49 | - | if ($isInstanceOf( | |
34 | + | let f = getInteger(this, ((((b + "_Nfracht") + toString(c)) + "_") + toString(d))) | |
35 | + | if ($isInstanceOf(f, "Int")) | |
50 | 36 | then { | |
51 | - | let | |
52 | - | | |
37 | + | let g = f | |
38 | + | g | |
53 | 39 | } | |
54 | 40 | else -1 | |
55 | 41 | } | |
56 | - | let l = { | |
57 | - | let d = getInteger(this, (b + "_Kupferfracht")) | |
58 | - | if ($isInstanceOf(d, "Int")) | |
42 | + | k | |
43 | + | } | |
44 | + | ||
45 | + | ||
46 | + | func l (b,c,d) = { | |
47 | + | let m = { | |
48 | + | let f = getInteger(this, ((((b + "_AOXfracht") + toString(c)) + "_") + toString(d))) | |
49 | + | if ($isInstanceOf(f, "Int")) | |
59 | 50 | then { | |
60 | - | let e = d | |
61 | - | e | |
62 | - | } | |
63 | - | else -1 | |
64 | - | } | |
65 | - | let m = { | |
66 | - | let d = getInteger(this, (b + "_Zinkfracht")) | |
67 | - | if ($isInstanceOf(d, "Int")) | |
68 | - | then { | |
69 | - | let e = d | |
70 | - | e | |
51 | + | let g = f | |
52 | + | g | |
71 | 53 | } | |
72 | 54 | else -1 | |
73 | 55 | } | |
74 | 56 | let n = { | |
75 | - | let | |
76 | - | if ($isInstanceOf( | |
57 | + | let f = getInteger(this, ((((b + "_Kupferfracht") + toString(c)) + "_") + toString(d))) | |
58 | + | if ($isInstanceOf(f, "Int")) | |
77 | 59 | then { | |
78 | - | let | |
79 | - | | |
60 | + | let g = f | |
61 | + | g | |
80 | 62 | } | |
81 | 63 | else -1 | |
82 | 64 | } | |
83 | 65 | let o = { | |
84 | - | let | |
85 | - | if ($isInstanceOf( | |
66 | + | let f = getInteger(this, ((((b + "_Zinkfracht") + toString(c)) + "_") + toString(d))) | |
67 | + | if ($isInstanceOf(f, "Int")) | |
86 | 68 | then { | |
87 | - | let | |
88 | - | | |
69 | + | let g = f | |
70 | + | g | |
89 | 71 | } | |
90 | 72 | else -1 | |
91 | 73 | } | |
92 | 74 | let p = { | |
93 | - | let | |
94 | - | if ($isInstanceOf( | |
75 | + | let f = getInteger(this, ((((b + "_Nickelfracht") + toString(c)) + "_") + toString(d))) | |
76 | + | if ($isInstanceOf(f, "Int")) | |
95 | 77 | then { | |
96 | - | let | |
97 | - | | |
78 | + | let g = f | |
79 | + | g | |
98 | 80 | } | |
99 | 81 | else -1 | |
100 | 82 | } | |
101 | 83 | let q = { | |
102 | - | let | |
103 | - | if ($isInstanceOf( | |
84 | + | let f = getInteger(this, ((((b + "_Aromatenfracht") + toString(c)) + "_") + toString(d))) | |
85 | + | if ($isInstanceOf(f, "Int")) | |
104 | 86 | then { | |
105 | - | let | |
106 | - | | |
87 | + | let g = f | |
88 | + | g | |
107 | 89 | } | |
108 | 90 | else -1 | |
109 | 91 | } | |
110 | 92 | let r = { | |
111 | - | let | |
112 | - | if ($isInstanceOf( | |
93 | + | let f = getInteger(this, ((((b + "_Chromfracht") + toString(c)) + "_") + toString(d))) | |
94 | + | if ($isInstanceOf(f, "Int")) | |
113 | 95 | then { | |
114 | - | let | |
115 | - | | |
96 | + | let g = f | |
97 | + | g | |
116 | 98 | } | |
117 | 99 | else -1 | |
118 | 100 | } | |
119 | 101 | let s = { | |
120 | - | let | |
121 | - | if ($isInstanceOf( | |
102 | + | let f = getInteger(this, ((((b + "_Feststofffracht") + toString(c)) + "_") + toString(d))) | |
103 | + | if ($isInstanceOf(f, "Int")) | |
122 | 104 | then { | |
123 | - | let | |
124 | - | | |
105 | + | let g = f | |
106 | + | g | |
125 | 107 | } | |
126 | 108 | else -1 | |
127 | 109 | } | |
128 | 110 | let t = { | |
129 | - | let | |
130 | - | if ($isInstanceOf( | |
111 | + | let f = getInteger(this, ((((b + "_formaldehydfracht") + toString(c)) + "_") + toString(d))) | |
112 | + | if ($isInstanceOf(f, "Int")) | |
131 | 113 | then { | |
132 | - | let | |
133 | - | | |
114 | + | let g = f | |
115 | + | g | |
134 | 116 | } | |
135 | 117 | else -1 | |
136 | 118 | } | |
137 | 119 | let u = { | |
138 | - | let | |
139 | - | if ($isInstanceOf( | |
120 | + | let f = getInteger(this, ((((b + "_quecksilberfracht") + toString(c)) + "_") + toString(d))) | |
121 | + | if ($isInstanceOf(f, "Int")) | |
140 | 122 | then { | |
141 | - | let | |
142 | - | | |
123 | + | let g = f | |
124 | + | g | |
143 | 125 | } | |
144 | 126 | else -1 | |
145 | 127 | } | |
146 | 128 | let v = { | |
147 | - | let | |
148 | - | if ($isInstanceOf( | |
129 | + | let f = getInteger(this, ((((b + "_phosohorfracht") + toString(c)) + "_") + toString(d))) | |
130 | + | if ($isInstanceOf(f, "Int")) | |
149 | 131 | then { | |
150 | - | let | |
151 | - | | |
132 | + | let g = f | |
133 | + | g | |
152 | 134 | } | |
153 | 135 | else -1 | |
154 | 136 | } | |
155 | 137 | let w = { | |
156 | - | let | |
157 | - | if ($isInstanceOf( | |
138 | + | let f = getInteger(this, ((((b + "_cadmiumfracht") + toString(c)) + "_") + toString(d))) | |
139 | + | if ($isInstanceOf(f, "Int")) | |
158 | 140 | then { | |
159 | - | let | |
160 | - | | |
141 | + | let g = f | |
142 | + | g | |
161 | 143 | } | |
162 | 144 | else -1 | |
163 | 145 | } | |
164 | - | ((((((((((((k + l) + m) + n) + o) + p) + q) + r) + s) + t) + u) + v) + w) | |
146 | + | let x = { | |
147 | + | let f = getInteger(this, ((((b + "_flourfracht") + toString(c)) + "_") + toString(d))) | |
148 | + | if ($isInstanceOf(f, "Int")) | |
149 | + | then { | |
150 | + | let g = f | |
151 | + | g | |
152 | + | } | |
153 | + | else -1 | |
154 | + | } | |
155 | + | let y = { | |
156 | + | let f = getInteger(this, ((((b + "_bleifracht") + toString(c)) + "_") + toString(d))) | |
157 | + | if ($isInstanceOf(f, "Int")) | |
158 | + | then { | |
159 | + | let g = f | |
160 | + | g | |
161 | + | } | |
162 | + | else -1 | |
163 | + | } | |
164 | + | ((((((((((((m + n) + o) + p) + q) + r) + s) + t) + u) + v) + w) + x) + y) | |
165 | 165 | } | |
166 | 166 | ||
167 | 167 | ||
168 | - | func | |
169 | - | let | |
170 | - | let | |
171 | - | if ($isInstanceOf( | |
168 | + | func z (b,c,d) = { | |
169 | + | let A = { | |
170 | + | let f = getInteger(this, ((((b + "_labor-sonder-leistungen") + toString(c)) + "_") + toString(d))) | |
171 | + | if ($isInstanceOf(f, "Int")) | |
172 | 172 | then { | |
173 | - | let | |
174 | - | | |
173 | + | let g = f | |
174 | + | g | |
175 | 175 | } | |
176 | 176 | else -1 | |
177 | 177 | } | |
178 | - | let | |
179 | - | let | |
180 | - | if ($isInstanceOf( | |
178 | + | let B = { | |
179 | + | let f = getInteger(this, ((((b + "_standard-analytik") + toString(c)) + "_") + toString(d))) | |
180 | + | if ($isInstanceOf(f, "Int")) | |
181 | 181 | then { | |
182 | - | let | |
183 | - | | |
182 | + | let g = f | |
183 | + | g | |
184 | 184 | } | |
185 | 185 | else -1 | |
186 | 186 | } | |
187 | - | ( | |
187 | + | (A + B) | |
188 | 188 | } | |
189 | 189 | ||
190 | 190 | ||
191 | - | func | |
192 | - | let | |
193 | - | let | |
194 | - | if ($isInstanceOf( | |
191 | + | func C (b,c,d) = { | |
192 | + | let D = { | |
193 | + | let f = getInteger(this, ((((b + "_kosten-abwasser-reinigung") + toString(c)) + "_") + toString(d))) | |
194 | + | if ($isInstanceOf(f, "Int")) | |
195 | 195 | then { | |
196 | - | let | |
197 | - | | |
196 | + | let g = f | |
197 | + | g | |
198 | 198 | } | |
199 | 199 | else -1 | |
200 | 200 | } | |
201 | - | | |
201 | + | D | |
202 | 202 | } | |
203 | 203 | ||
204 | 204 | ||
205 | - | func | |
206 | - | let | |
207 | - | let | |
208 | - | if ($isInstanceOf( | |
205 | + | func E (b,c,d) = { | |
206 | + | let F = { | |
207 | + | let f = getInteger(this, ((((b + "_Feststofffracht") + toString(c)) + "_") + toString(d))) | |
208 | + | if ($isInstanceOf(f, "Int")) | |
209 | 209 | then { | |
210 | - | let | |
211 | - | | |
210 | + | let g = f | |
211 | + | g | |
212 | 212 | } | |
213 | 213 | else -1 | |
214 | 214 | } | |
215 | - | ((D * 8318) / 500) | |
216 | - | } | |
217 | - | ||
218 | - | ||
219 | - | func E (b) = { | |
220 | - | let F = { | |
221 | - | let d = getInteger(this, (b + "_kostenstelle")) | |
222 | - | if ($isInstanceOf(d, "Int")) | |
223 | - | then { | |
224 | - | let e = d | |
225 | - | e | |
226 | - | } | |
227 | - | else -1 | |
228 | - | } | |
229 | - | F | |
215 | + | ((F * 8318) / 500) | |
230 | 216 | } | |
231 | 217 | ||
232 | 218 | ||
233 | 219 | func G (b) = { | |
234 | 220 | let H = { | |
235 | - | let | |
236 | - | if ($isInstanceOf( | |
221 | + | let f = getInteger(this, (b + "_kostenstelle")) | |
222 | + | if ($isInstanceOf(f, "Int")) | |
237 | 223 | then { | |
238 | - | let | |
239 | - | | |
224 | + | let g = f | |
225 | + | g | |
240 | 226 | } | |
241 | 227 | else -1 | |
242 | 228 | } | |
243 | 229 | H | |
244 | 230 | } | |
245 | 231 | ||
246 | 232 | ||
247 | 233 | func I (b) = { | |
248 | 234 | let J = { | |
249 | - | let | |
250 | - | if ($isInstanceOf( | |
235 | + | let f = getInteger(this, (b + "_kundeNr")) | |
236 | + | if ($isInstanceOf(f, "Int")) | |
251 | 237 | then { | |
252 | - | let | |
253 | - | | |
238 | + | let g = f | |
239 | + | g | |
254 | 240 | } | |
255 | 241 | else -1 | |
256 | 242 | } | |
257 | 243 | J | |
258 | 244 | } | |
259 | 245 | ||
260 | 246 | ||
261 | 247 | func K (b) = { | |
262 | 248 | let L = { | |
263 | - | let | |
264 | - | if ($isInstanceOf( | |
249 | + | let f = getInteger(this, (b + "_SenderKostenStelle")) | |
250 | + | if ($isInstanceOf(f, "Int")) | |
265 | 251 | then { | |
266 | - | let | |
267 | - | | |
252 | + | let g = f | |
253 | + | g | |
268 | 254 | } | |
269 | - | else | |
255 | + | else -1 | |
270 | 256 | } | |
271 | 257 | L | |
272 | 258 | } | |
273 | 259 | ||
274 | 260 | ||
275 | - | @Callable(M) | |
276 | - | func abasNeu () = { | |
277 | - | let b = toBase58String(M.callerPublicKey) | |
278 | - | let N = a(b) | |
279 | - | let O = f(b) | |
280 | - | let i = h(b) | |
281 | - | let P = j(b) | |
282 | - | let Q = x(b) | |
283 | - | let R = A(b) | |
284 | - | let S = C(b) | |
285 | - | let T = E(b) | |
286 | - | let H = G(b) | |
261 | + | func M (b) = { | |
262 | + | let N = { | |
263 | + | let f = getString(this, (b + "_Betriebs-Bezeichnung")) | |
264 | + | if ($isInstanceOf(f, "String")) | |
265 | + | then { | |
266 | + | let g = f | |
267 | + | g | |
268 | + | } | |
269 | + | else "" | |
270 | + | } | |
271 | + | N | |
272 | + | } | |
273 | + | ||
274 | + | ||
275 | + | @Callable(O) | |
276 | + | func abasNeu (c,d) = { | |
277 | + | let b = toBase58String(O.callerPublicKey) | |
278 | + | let P = a(b, c, d) | |
279 | + | let Q = h(b, c, d) | |
280 | + | let k = j(b, c, d) | |
281 | + | let R = l(b, c, d) | |
282 | + | let S = z(b, c, d) | |
283 | + | let T = C(b, c, d) | |
284 | + | let U = E(b, c, d) | |
285 | + | let V = G(b) | |
286 | + | let J = I(b) | |
287 | + | let N = M(b) | |
287 | 288 | let L = K(b) | |
288 | - | let J = I(b) | |
289 | - | if (if (if (if (if (if (if (if (if (if (if ((N >= 0)) | |
290 | - | then (O >= 0) | |
289 | + | if (if (if (if (if (if (if (if (if (if (if ((P >= 0)) | |
290 | + | then (Q >= 0) | |
291 | 291 | else false) | |
292 | - | then ( | |
292 | + | then (k >= 0) | |
293 | 293 | else false) | |
294 | - | then (P >= 0) | |
295 | - | else false) | |
296 | - | then (Q >= 0) | |
294 | + | then (R >= 0) | |
297 | 295 | else false) | |
298 | 296 | then (R >= 0) | |
299 | 297 | else false) | |
300 | 298 | then (S >= 0) | |
301 | 299 | else false) | |
302 | - | then (H >= 0) | |
303 | - | else false) | |
304 | 300 | then (T >= 0) | |
305 | 301 | else false) | |
306 | - | then ( | |
302 | + | then (U >= 0) | |
307 | 303 | else false) | |
308 | 304 | then (J >= 0) | |
309 | 305 | else false) | |
310 | - | then [IntegerEntry((b + "_ABAS_Neu_abwasserMengeHydraulik_Menge"), N), IntegerEntry((b + "_ABAS_Neu_tocFracht_Menge"), O), IntegerEntry((b + "_ABAS_Neu_stickStoffFracht_Menge"), i), IntegerEntry((b + "_ABAS_Neu_sonstigeFrachten_Menge"), P), IntegerEntry((b + "_ABAS_Neu_abwasserAnalytikSonstLeistungen_Menge"), Q), IntegerEntry((b + "_ABAS_Neu_besonderheiten_Menge"), R), IntegerEntry((b + "_ABAS_Neu_sonderVereinbarung_Menge"), S), IntegerEntry((b + "_ABAS_Neu_EKOSTL"), T), IntegerEntry((b + "_ABAS_Neu_Debitor"), H), StringEntry((b + "_ABAS_Neu_langText"), L), IntegerEntry((b + "_ABAS_Neu_SKOSTL"), J)] | |
306 | + | then (N != "") | |
307 | + | else false) | |
308 | + | then (L != 0) | |
309 | + | else false) | |
310 | + | then [IntegerEntry(((((b + "_ABAS_Neu_abwasserMengeHydraulik_Menge") + toString(c)) + "_") + toString(d)), P), IntegerEntry(((((b + "_ABAS_Neu_tocFracht_Menge") + toString(c)) + "_") + toString(d)), Q), IntegerEntry(((((b + "_ABAS_Neu_stickStoffFracht_Menge") + toString(c)) + "_") + toString(d)), k), IntegerEntry(((((b + "_ABAS_Neu_sonstigeFrachten_Menge") + toString(c)) + "_") + toString(d)), R), IntegerEntry(((((b + "_ABAS_Neu_abwasserAnalytikSonstLeistungen_Menge") + toString(c)) + "_") + toString(d)), S), IntegerEntry(((((b + "_ABAS_Neu_besonderheiten_Menge") + toString(c)) + "_") + toString(d)), T), IntegerEntry(((((b + "_ABAS_Neu_sonderVereinbarung_Menge") + toString(c)) + "_") + toString(d)), U), IntegerEntry((b + "_ABAS_Neu_EKOSTL"), V), IntegerEntry((b + "_ABAS_Neu_Debitor"), J), StringEntry((b + "_ABAS_Neu_langText"), N), IntegerEntry((b + "_ABAS_Neu_SKOSTL"), L)] | |
311 | 311 | else throw("Felder unvollständig") | |
312 | 312 | } | |
313 | 313 | ||
314 | 314 | ||
315 | - | @Verifier( | |
316 | - | func | |
317 | - | let | |
318 | - | if ($isInstanceOf( | |
315 | + | @Verifier(W) | |
316 | + | func X () = { | |
317 | + | let f = W | |
318 | + | if ($isInstanceOf(f, "SetScriptTransaction")) | |
319 | 319 | then { | |
320 | - | let | |
320 | + | let W = f | |
321 | 321 | true | |
322 | 322 | } | |
323 | 323 | else true | |
324 | 324 | } | |
325 | 325 |
github/deemru/w8io/169f3d6 83.67 ms ◑