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