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 getAbwasserMengeHydraulik (publicKey) = { | |
5 | - | let AbwasserMengeHydraulik = match getInteger(this, (publicKey + "_wassermenge")) { | |
4 | + | func getAbwasserMengeHydraulik (publicKey,monat,jahr) = { | |
5 | + | let AbwasserMengeHydraulik = match getInteger(this, ((((publicKey + "_wassermenge_") + toString(monat)) + "_") + toString(jahr))) { | |
6 | 6 | case a: Int => | |
7 | 7 | a | |
8 | 8 | case _ => | |
12 | 12 | } | |
13 | 13 | ||
14 | 14 | ||
15 | - | func getTockFracht (publicKey) = { | |
16 | - | let tockFracht = match getInteger(this, (publicKey + "_TOCfracht")) { | |
15 | + | func getTockFracht (publicKey,monat,jahr) = { | |
16 | + | let tockFracht = match getInteger(this, ((((publicKey + "_TOCfracht") + toString(monat)) + "_") + toString(jahr))) { | |
17 | 17 | case a: Int => | |
18 | 18 | a | |
19 | 19 | case _ => | |
23 | 23 | } | |
24 | 24 | ||
25 | 25 | ||
26 | - | func getStickStoffFracht (publicKey) = { | |
27 | - | let stickStoffFracht = match getInteger(this, (publicKey + "_Nfracht")) { | |
26 | + | func getStickStoffFracht (publicKey,monat,jahr) = { | |
27 | + | let stickStoffFracht = match getInteger(this, ((((publicKey + "_Nfracht") + toString(monat)) + "_") + toString(jahr))) { | |
28 | 28 | case a: Int => | |
29 | 29 | a | |
30 | 30 | case _ => | |
34 | 34 | } | |
35 | 35 | ||
36 | 36 | ||
37 | - | func getSonstigeFrachten (publicKey) = { | |
38 | - | let AOXfracht = match getInteger(this, (publicKey + "_AOXfracht")) { | |
37 | + | func getSonstigeFrachten (publicKey,monat,jahr) = { | |
38 | + | let AOXfracht = match getInteger(this, ((((publicKey + "_AOXfracht") + toString(monat)) + "_") + toString(jahr))) { | |
39 | 39 | case a: Int => | |
40 | 40 | a | |
41 | 41 | case _ => | |
42 | 42 | -1 | |
43 | 43 | } | |
44 | - | let Kupferfracht = match getInteger(this, (publicKey + "_Kupferfracht")) { | |
44 | + | let Kupferfracht = match getInteger(this, ((((publicKey + "_Kupferfracht") + toString(monat)) + "_") + toString(jahr))) { | |
45 | 45 | case a: Int => | |
46 | 46 | a | |
47 | 47 | case _ => | |
48 | 48 | -1 | |
49 | 49 | } | |
50 | - | let Zinkfracht = match getInteger(this, (publicKey + "_Zinkfracht")) { | |
50 | + | let Zinkfracht = match getInteger(this, ((((publicKey + "_Zinkfracht") + toString(monat)) + "_") + toString(jahr))) { | |
51 | 51 | case a: Int => | |
52 | 52 | a | |
53 | 53 | case _ => | |
54 | 54 | -1 | |
55 | 55 | } | |
56 | - | let Nickelfracht = match getInteger(this, (publicKey + "_Nickelfracht")) { | |
56 | + | let Nickelfracht = match getInteger(this, ((((publicKey + "_Nickelfracht") + toString(monat)) + "_") + toString(jahr))) { | |
57 | 57 | case a: Int => | |
58 | 58 | a | |
59 | 59 | case _ => | |
60 | 60 | -1 | |
61 | 61 | } | |
62 | - | let Aromatenfracht = match getInteger(this, (publicKey + "_Aromatenfracht")) { | |
62 | + | let Aromatenfracht = match getInteger(this, ((((publicKey + "_Aromatenfracht") + toString(monat)) + "_") + toString(jahr))) { | |
63 | 63 | case a: Int => | |
64 | 64 | a | |
65 | 65 | case _ => | |
66 | 66 | -1 | |
67 | 67 | } | |
68 | - | let Chromfracht = match getInteger(this, (publicKey + "_Chromfracht")) { | |
68 | + | let Chromfracht = match getInteger(this, ((((publicKey + "_Chromfracht") + toString(monat)) + "_") + toString(jahr))) { | |
69 | 69 | case a: Int => | |
70 | 70 | a | |
71 | 71 | case _ => | |
72 | 72 | -1 | |
73 | 73 | } | |
74 | - | let Feststofffracht = match getInteger(this, (publicKey + "_Feststofffracht")) { | |
74 | + | let Feststofffracht = match getInteger(this, ((((publicKey + "_Feststofffracht") + toString(monat)) + "_") + toString(jahr))) { | |
75 | 75 | case a: Int => | |
76 | 76 | a | |
77 | 77 | case _ => | |
78 | 78 | -1 | |
79 | 79 | } | |
80 | - | let formaldehydfracht = match getInteger(this, (publicKey + "_formaldehydfracht")) { | |
80 | + | let formaldehydfracht = match getInteger(this, ((((publicKey + "_formaldehydfracht") + toString(monat)) + "_") + toString(jahr))) { | |
81 | 81 | case a: Int => | |
82 | 82 | a | |
83 | 83 | case _ => | |
84 | 84 | -1 | |
85 | 85 | } | |
86 | - | let quecksilberfracht = match getInteger(this, (publicKey + "_quecksilberfracht")) { | |
86 | + | let quecksilberfracht = match getInteger(this, ((((publicKey + "_quecksilberfracht") + toString(monat)) + "_") + toString(jahr))) { | |
87 | 87 | case a: Int => | |
88 | 88 | a | |
89 | 89 | case _ => | |
90 | 90 | -1 | |
91 | 91 | } | |
92 | - | let phosohorfracht = match getInteger(this, (publicKey + "_phosohorfracht")) { | |
92 | + | let phosohorfracht = match getInteger(this, ((((publicKey + "_phosohorfracht") + toString(monat)) + "_") + toString(jahr))) { | |
93 | 93 | case a: Int => | |
94 | 94 | a | |
95 | 95 | case _ => | |
96 | 96 | -1 | |
97 | 97 | } | |
98 | - | let cadmiumfracht = match getInteger(this, (publicKey + "_cadmiumfracht")) { | |
98 | + | let cadmiumfracht = match getInteger(this, ((((publicKey + "_cadmiumfracht") + toString(monat)) + "_") + toString(jahr))) { | |
99 | 99 | case a: Int => | |
100 | 100 | a | |
101 | 101 | case _ => | |
102 | 102 | -1 | |
103 | 103 | } | |
104 | - | let flourfracht = match getInteger(this, (publicKey + "_flourfracht")) { | |
104 | + | let flourfracht = match getInteger(this, ((((publicKey + "_flourfracht") + toString(monat)) + "_") + toString(jahr))) { | |
105 | 105 | case a: Int => | |
106 | 106 | a | |
107 | 107 | case _ => | |
108 | 108 | -1 | |
109 | 109 | } | |
110 | - | let bleifracht = match getInteger(this, (publicKey + "_bleifracht")) { | |
110 | + | let bleifracht = match getInteger(this, ((((publicKey + "_bleifracht") + toString(monat)) + "_") + toString(jahr))) { | |
111 | 111 | case a: Int => | |
112 | 112 | a | |
113 | 113 | case _ => | |
117 | 117 | } | |
118 | 118 | ||
119 | 119 | ||
120 | - | func getAbwasserAnalytik (publicKey) = { | |
121 | - | let laborSonderLeistungen = match getInteger(this, (publicKey + "_labor-sonder-leistungen")) { | |
120 | + | func getAbwasserAnalytik (publicKey,monat,jahr) = { | |
121 | + | let laborSonderLeistungen = match getInteger(this, ((((publicKey + "_labor-sonder-leistungen") + toString(monat)) + "_") + toString(jahr))) { | |
122 | 122 | case a: Int => | |
123 | 123 | a | |
124 | 124 | case _ => | |
125 | 125 | -1 | |
126 | 126 | } | |
127 | - | let standardAnalytik = match getInteger(this, (publicKey + "_standard-analytik")) { | |
127 | + | let standardAnalytik = match getInteger(this, ((((publicKey + "_standard-analytik") + toString(monat)) + "_") + toString(jahr))) { | |
128 | 128 | case a: Int => | |
129 | 129 | a | |
130 | 130 | case _ => | |
134 | 134 | } | |
135 | 135 | ||
136 | 136 | ||
137 | - | func getBesonderHeiten (publicKey) = { | |
138 | - | let besonderHeiten = match getInteger(this, (publicKey + "_kosten-abwasser-reinigung")) { | |
137 | + | func getBesonderHeiten (publicKey,monat,jahr) = { | |
138 | + | let besonderHeiten = match getInteger(this, ((((publicKey + "_kosten-abwasser-reinigung") + toString(monat)) + "_") + toString(jahr))) { | |
139 | 139 | case a: Int => | |
140 | 140 | a | |
141 | 141 | case _ => | |
145 | 145 | } | |
146 | 146 | ||
147 | 147 | ||
148 | - | func getSonderVereinbarung (publicKey) = { | |
149 | - | let FestStofffracht = match getInteger(this, (publicKey + "_Feststofffracht")) { | |
148 | + | func getSonderVereinbarung (publicKey,monat,jahr) = { | |
149 | + | let FestStofffracht = match getInteger(this, ((((publicKey + "_Feststofffracht") + toString(monat)) + "_") + toString(jahr))) { | |
150 | 150 | case a: Int => | |
151 | 151 | a | |
152 | 152 | case _ => | |
201 | 201 | ||
202 | 202 | ||
203 | 203 | @Callable(i) | |
204 | - | func abasNeu () = { | |
204 | + | func abasNeu (monat,jahr) = { | |
205 | 205 | let publicKey = toBase58String(i.callerPublicKey) | |
206 | - | let abwasserMengeHydraulik = getAbwasserMengeHydraulik(publicKey) | |
207 | - | let tocFracht = getTockFracht(publicKey) | |
208 | - | let stickStoffFracht = getStickStoffFracht(publicKey) | |
209 | - | let sonstigeFrachten = getSonstigeFrachten(publicKey) | |
210 | - | let abwasserAnalytikSonstLeistungen = getAbwasserAnalytik(publicKey) | |
211 | - | let besonderheiten = getBesonderHeiten(publicKey) | |
212 | - | let sonderVereinbarung = getSonderVereinbarung(publicKey) | |
206 | + | let abwasserMengeHydraulik = getAbwasserMengeHydraulik(publicKey, monat, jahr) | |
207 | + | let tocFracht = getTockFracht(publicKey, monat, jahr) | |
208 | + | let stickStoffFracht = getStickStoffFracht(publicKey, monat, jahr) | |
209 | + | let sonstigeFrachten = getSonstigeFrachten(publicKey, monat, jahr) | |
210 | + | let abwasserAnalytikSonstLeistungen = getAbwasserAnalytik(publicKey, monat, jahr) | |
211 | + | let besonderheiten = getBesonderHeiten(publicKey, monat, jahr) | |
212 | + | let sonderVereinbarung = getSonderVereinbarung(publicKey, monat, jahr) | |
213 | 213 | let EKOSTL = getKostenStelle(publicKey) | |
214 | 214 | let kundeNummer = getKundeNummer(publicKey) | |
215 | 215 | let langText = getLangText(publicKey) | |
221 | 221 | else false) | |
222 | 222 | then (sonstigeFrachten >= 0) | |
223 | 223 | else false) | |
224 | + | then (sonstigeFrachten >= 0) | |
225 | + | else false) | |
224 | 226 | then (abwasserAnalytikSonstLeistungen >= 0) | |
225 | 227 | else false) | |
226 | 228 | then (besonderheiten >= 0) | |
229 | 231 | else false) | |
230 | 232 | then (kundeNummer >= 0) | |
231 | 233 | else false) | |
232 | - | then (EKOSTL >= 0) | |
233 | - | else false) | |
234 | 234 | then (langText != "") | |
235 | 235 | else false) | |
236 | - | then (SKOSTL | |
236 | + | then (SKOSTL != 0) | |
237 | 237 | else false) | |
238 | - | then [IntegerEntry((publicKey + "_ABAS_Neu_abwasserMengeHydraulik_Menge"), abwasserMengeHydraulik), IntegerEntry((publicKey + "_ABAS_Neu_tocFracht_Menge"), tocFracht), IntegerEntry((publicKey + "_ABAS_Neu_stickStoffFracht_Menge"), stickStoffFracht), IntegerEntry((publicKey + "_ABAS_Neu_sonstigeFrachten_Menge"), sonstigeFrachten), IntegerEntry((publicKey + "_ABAS_Neu_abwasserAnalytikSonstLeistungen_Menge"), abwasserAnalytikSonstLeistungen), IntegerEntry((publicKey + "_ABAS_Neu_besonderheiten_Menge"), besonderheiten), IntegerEntry((publicKey + "_ABAS_Neu_sonderVereinbarung_Menge"), sonderVereinbarung), IntegerEntry((publicKey + "_ABAS_Neu_EKOSTL"), EKOSTL), IntegerEntry((publicKey + "_ABAS_Neu_Debitor"), kundeNummer), StringEntry((publicKey + "_ABAS_Neu_langText"), langText), IntegerEntry((publicKey + "_ABAS_Neu_SKOSTL"), SKOSTL)] | |
238 | + | then [IntegerEntry(((((publicKey + "_ABAS_Neu_abwasserMengeHydraulik_Menge") + toString(monat)) + "_") + toString(jahr)), abwasserMengeHydraulik), IntegerEntry(((((publicKey + "_ABAS_Neu_tocFracht_Menge") + toString(monat)) + "_") + toString(jahr)), tocFracht), IntegerEntry(((((publicKey + "_ABAS_Neu_stickStoffFracht_Menge") + toString(monat)) + "_") + toString(jahr)), stickStoffFracht), IntegerEntry(((((publicKey + "_ABAS_Neu_sonstigeFrachten_Menge") + toString(monat)) + "_") + toString(jahr)), sonstigeFrachten), IntegerEntry(((((publicKey + "_ABAS_Neu_abwasserAnalytikSonstLeistungen_Menge") + toString(monat)) + "_") + toString(jahr)), abwasserAnalytikSonstLeistungen), IntegerEntry(((((publicKey + "_ABAS_Neu_besonderheiten_Menge") + toString(monat)) + "_") + toString(jahr)), besonderheiten), IntegerEntry(((((publicKey + "_ABAS_Neu_sonderVereinbarung_Menge") + toString(monat)) + "_") + toString(jahr)), sonderVereinbarung), IntegerEntry((publicKey + "_ABAS_Neu_EKOSTL"), EKOSTL), IntegerEntry((publicKey + "_ABAS_Neu_Debitor"), kundeNummer), StringEntry((publicKey + "_ABAS_Neu_langText"), langText), IntegerEntry((publicKey + "_ABAS_Neu_SKOSTL"), SKOSTL)] | |
239 | 239 | else throw("Felder unvollständig") | |
240 | 240 | } | |
241 | 241 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | func getAbwasserMengeHydraulik (publicKey) = { | |
5 | - | let AbwasserMengeHydraulik = match getInteger(this, (publicKey + "_wassermenge")) { | |
4 | + | func getAbwasserMengeHydraulik (publicKey,monat,jahr) = { | |
5 | + | let AbwasserMengeHydraulik = match getInteger(this, ((((publicKey + "_wassermenge_") + toString(monat)) + "_") + toString(jahr))) { | |
6 | 6 | case a: Int => | |
7 | 7 | a | |
8 | 8 | case _ => | |
9 | 9 | -1 | |
10 | 10 | } | |
11 | 11 | AbwasserMengeHydraulik | |
12 | 12 | } | |
13 | 13 | ||
14 | 14 | ||
15 | - | func getTockFracht (publicKey) = { | |
16 | - | let tockFracht = match getInteger(this, (publicKey + "_TOCfracht")) { | |
15 | + | func getTockFracht (publicKey,monat,jahr) = { | |
16 | + | let tockFracht = match getInteger(this, ((((publicKey + "_TOCfracht") + toString(monat)) + "_") + toString(jahr))) { | |
17 | 17 | case a: Int => | |
18 | 18 | a | |
19 | 19 | case _ => | |
20 | 20 | -1 | |
21 | 21 | } | |
22 | 22 | tockFracht | |
23 | 23 | } | |
24 | 24 | ||
25 | 25 | ||
26 | - | func getStickStoffFracht (publicKey) = { | |
27 | - | let stickStoffFracht = match getInteger(this, (publicKey + "_Nfracht")) { | |
26 | + | func getStickStoffFracht (publicKey,monat,jahr) = { | |
27 | + | let stickStoffFracht = match getInteger(this, ((((publicKey + "_Nfracht") + toString(monat)) + "_") + toString(jahr))) { | |
28 | 28 | case a: Int => | |
29 | 29 | a | |
30 | 30 | case _ => | |
31 | 31 | -1 | |
32 | 32 | } | |
33 | 33 | stickStoffFracht | |
34 | 34 | } | |
35 | 35 | ||
36 | 36 | ||
37 | - | func getSonstigeFrachten (publicKey) = { | |
38 | - | let AOXfracht = match getInteger(this, (publicKey + "_AOXfracht")) { | |
37 | + | func getSonstigeFrachten (publicKey,monat,jahr) = { | |
38 | + | let AOXfracht = match getInteger(this, ((((publicKey + "_AOXfracht") + toString(monat)) + "_") + toString(jahr))) { | |
39 | 39 | case a: Int => | |
40 | 40 | a | |
41 | 41 | case _ => | |
42 | 42 | -1 | |
43 | 43 | } | |
44 | - | let Kupferfracht = match getInteger(this, (publicKey + "_Kupferfracht")) { | |
44 | + | let Kupferfracht = match getInteger(this, ((((publicKey + "_Kupferfracht") + toString(monat)) + "_") + toString(jahr))) { | |
45 | 45 | case a: Int => | |
46 | 46 | a | |
47 | 47 | case _ => | |
48 | 48 | -1 | |
49 | 49 | } | |
50 | - | let Zinkfracht = match getInteger(this, (publicKey + "_Zinkfracht")) { | |
50 | + | let Zinkfracht = match getInteger(this, ((((publicKey + "_Zinkfracht") + toString(monat)) + "_") + toString(jahr))) { | |
51 | 51 | case a: Int => | |
52 | 52 | a | |
53 | 53 | case _ => | |
54 | 54 | -1 | |
55 | 55 | } | |
56 | - | let Nickelfracht = match getInteger(this, (publicKey + "_Nickelfracht")) { | |
56 | + | let Nickelfracht = match getInteger(this, ((((publicKey + "_Nickelfracht") + toString(monat)) + "_") + toString(jahr))) { | |
57 | 57 | case a: Int => | |
58 | 58 | a | |
59 | 59 | case _ => | |
60 | 60 | -1 | |
61 | 61 | } | |
62 | - | let Aromatenfracht = match getInteger(this, (publicKey + "_Aromatenfracht")) { | |
62 | + | let Aromatenfracht = match getInteger(this, ((((publicKey + "_Aromatenfracht") + toString(monat)) + "_") + toString(jahr))) { | |
63 | 63 | case a: Int => | |
64 | 64 | a | |
65 | 65 | case _ => | |
66 | 66 | -1 | |
67 | 67 | } | |
68 | - | let Chromfracht = match getInteger(this, (publicKey + "_Chromfracht")) { | |
68 | + | let Chromfracht = match getInteger(this, ((((publicKey + "_Chromfracht") + toString(monat)) + "_") + toString(jahr))) { | |
69 | 69 | case a: Int => | |
70 | 70 | a | |
71 | 71 | case _ => | |
72 | 72 | -1 | |
73 | 73 | } | |
74 | - | let Feststofffracht = match getInteger(this, (publicKey + "_Feststofffracht")) { | |
74 | + | let Feststofffracht = match getInteger(this, ((((publicKey + "_Feststofffracht") + toString(monat)) + "_") + toString(jahr))) { | |
75 | 75 | case a: Int => | |
76 | 76 | a | |
77 | 77 | case _ => | |
78 | 78 | -1 | |
79 | 79 | } | |
80 | - | let formaldehydfracht = match getInteger(this, (publicKey + "_formaldehydfracht")) { | |
80 | + | let formaldehydfracht = match getInteger(this, ((((publicKey + "_formaldehydfracht") + toString(monat)) + "_") + toString(jahr))) { | |
81 | 81 | case a: Int => | |
82 | 82 | a | |
83 | 83 | case _ => | |
84 | 84 | -1 | |
85 | 85 | } | |
86 | - | let quecksilberfracht = match getInteger(this, (publicKey + "_quecksilberfracht")) { | |
86 | + | let quecksilberfracht = match getInteger(this, ((((publicKey + "_quecksilberfracht") + toString(monat)) + "_") + toString(jahr))) { | |
87 | 87 | case a: Int => | |
88 | 88 | a | |
89 | 89 | case _ => | |
90 | 90 | -1 | |
91 | 91 | } | |
92 | - | let phosohorfracht = match getInteger(this, (publicKey + "_phosohorfracht")) { | |
92 | + | let phosohorfracht = match getInteger(this, ((((publicKey + "_phosohorfracht") + toString(monat)) + "_") + toString(jahr))) { | |
93 | 93 | case a: Int => | |
94 | 94 | a | |
95 | 95 | case _ => | |
96 | 96 | -1 | |
97 | 97 | } | |
98 | - | let cadmiumfracht = match getInteger(this, (publicKey + "_cadmiumfracht")) { | |
98 | + | let cadmiumfracht = match getInteger(this, ((((publicKey + "_cadmiumfracht") + toString(monat)) + "_") + toString(jahr))) { | |
99 | 99 | case a: Int => | |
100 | 100 | a | |
101 | 101 | case _ => | |
102 | 102 | -1 | |
103 | 103 | } | |
104 | - | let flourfracht = match getInteger(this, (publicKey + "_flourfracht")) { | |
104 | + | let flourfracht = match getInteger(this, ((((publicKey + "_flourfracht") + toString(monat)) + "_") + toString(jahr))) { | |
105 | 105 | case a: Int => | |
106 | 106 | a | |
107 | 107 | case _ => | |
108 | 108 | -1 | |
109 | 109 | } | |
110 | - | let bleifracht = match getInteger(this, (publicKey + "_bleifracht")) { | |
110 | + | let bleifracht = match getInteger(this, ((((publicKey + "_bleifracht") + toString(monat)) + "_") + toString(jahr))) { | |
111 | 111 | case a: Int => | |
112 | 112 | a | |
113 | 113 | case _ => | |
114 | 114 | -1 | |
115 | 115 | } | |
116 | 116 | ((((((((((((AOXfracht + Kupferfracht) + Zinkfracht) + Nickelfracht) + Aromatenfracht) + Chromfracht) + Feststofffracht) + formaldehydfracht) + quecksilberfracht) + phosohorfracht) + cadmiumfracht) + flourfracht) + bleifracht) | |
117 | 117 | } | |
118 | 118 | ||
119 | 119 | ||
120 | - | func getAbwasserAnalytik (publicKey) = { | |
121 | - | let laborSonderLeistungen = match getInteger(this, (publicKey + "_labor-sonder-leistungen")) { | |
120 | + | func getAbwasserAnalytik (publicKey,monat,jahr) = { | |
121 | + | let laborSonderLeistungen = match getInteger(this, ((((publicKey + "_labor-sonder-leistungen") + toString(monat)) + "_") + toString(jahr))) { | |
122 | 122 | case a: Int => | |
123 | 123 | a | |
124 | 124 | case _ => | |
125 | 125 | -1 | |
126 | 126 | } | |
127 | - | let standardAnalytik = match getInteger(this, (publicKey + "_standard-analytik")) { | |
127 | + | let standardAnalytik = match getInteger(this, ((((publicKey + "_standard-analytik") + toString(monat)) + "_") + toString(jahr))) { | |
128 | 128 | case a: Int => | |
129 | 129 | a | |
130 | 130 | case _ => | |
131 | 131 | -1 | |
132 | 132 | } | |
133 | 133 | (laborSonderLeistungen + standardAnalytik) | |
134 | 134 | } | |
135 | 135 | ||
136 | 136 | ||
137 | - | func getBesonderHeiten (publicKey) = { | |
138 | - | let besonderHeiten = match getInteger(this, (publicKey + "_kosten-abwasser-reinigung")) { | |
137 | + | func getBesonderHeiten (publicKey,monat,jahr) = { | |
138 | + | let besonderHeiten = match getInteger(this, ((((publicKey + "_kosten-abwasser-reinigung") + toString(monat)) + "_") + toString(jahr))) { | |
139 | 139 | case a: Int => | |
140 | 140 | a | |
141 | 141 | case _ => | |
142 | 142 | -1 | |
143 | 143 | } | |
144 | 144 | besonderHeiten | |
145 | 145 | } | |
146 | 146 | ||
147 | 147 | ||
148 | - | func getSonderVereinbarung (publicKey) = { | |
149 | - | let FestStofffracht = match getInteger(this, (publicKey + "_Feststofffracht")) { | |
148 | + | func getSonderVereinbarung (publicKey,monat,jahr) = { | |
149 | + | let FestStofffracht = match getInteger(this, ((((publicKey + "_Feststofffracht") + toString(monat)) + "_") + toString(jahr))) { | |
150 | 150 | case a: Int => | |
151 | 151 | a | |
152 | 152 | case _ => | |
153 | 153 | -1 | |
154 | 154 | } | |
155 | 155 | ((FestStofffracht * 8318) / 500) | |
156 | 156 | } | |
157 | 157 | ||
158 | 158 | ||
159 | 159 | func getKostenStelle (publicKey) = { | |
160 | 160 | let kostenStelle = match getInteger(this, (publicKey + "_kostenstelle")) { | |
161 | 161 | case a: Int => | |
162 | 162 | a | |
163 | 163 | case _ => | |
164 | 164 | -1 | |
165 | 165 | } | |
166 | 166 | kostenStelle | |
167 | 167 | } | |
168 | 168 | ||
169 | 169 | ||
170 | 170 | func getKundeNummer (publicKey) = { | |
171 | 171 | let kundeNummer = match getInteger(this, (publicKey + "_kundeNr")) { | |
172 | 172 | case a: Int => | |
173 | 173 | a | |
174 | 174 | case _ => | |
175 | 175 | -1 | |
176 | 176 | } | |
177 | 177 | kundeNummer | |
178 | 178 | } | |
179 | 179 | ||
180 | 180 | ||
181 | 181 | func getSenderKostenStelle (publicKey) = { | |
182 | 182 | let SKOSTL = match getInteger(this, (publicKey + "_SenderKostenStelle")) { | |
183 | 183 | case a: Int => | |
184 | 184 | a | |
185 | 185 | case _ => | |
186 | 186 | -1 | |
187 | 187 | } | |
188 | 188 | SKOSTL | |
189 | 189 | } | |
190 | 190 | ||
191 | 191 | ||
192 | 192 | func getLangText (publicKey) = { | |
193 | 193 | let langText = match getString(this, (publicKey + "_Betriebs-Bezeichnung")) { | |
194 | 194 | case a: String => | |
195 | 195 | a | |
196 | 196 | case _ => | |
197 | 197 | "" | |
198 | 198 | } | |
199 | 199 | langText | |
200 | 200 | } | |
201 | 201 | ||
202 | 202 | ||
203 | 203 | @Callable(i) | |
204 | - | func abasNeu () = { | |
204 | + | func abasNeu (monat,jahr) = { | |
205 | 205 | let publicKey = toBase58String(i.callerPublicKey) | |
206 | - | let abwasserMengeHydraulik = getAbwasserMengeHydraulik(publicKey) | |
207 | - | let tocFracht = getTockFracht(publicKey) | |
208 | - | let stickStoffFracht = getStickStoffFracht(publicKey) | |
209 | - | let sonstigeFrachten = getSonstigeFrachten(publicKey) | |
210 | - | let abwasserAnalytikSonstLeistungen = getAbwasserAnalytik(publicKey) | |
211 | - | let besonderheiten = getBesonderHeiten(publicKey) | |
212 | - | let sonderVereinbarung = getSonderVereinbarung(publicKey) | |
206 | + | let abwasserMengeHydraulik = getAbwasserMengeHydraulik(publicKey, monat, jahr) | |
207 | + | let tocFracht = getTockFracht(publicKey, monat, jahr) | |
208 | + | let stickStoffFracht = getStickStoffFracht(publicKey, monat, jahr) | |
209 | + | let sonstigeFrachten = getSonstigeFrachten(publicKey, monat, jahr) | |
210 | + | let abwasserAnalytikSonstLeistungen = getAbwasserAnalytik(publicKey, monat, jahr) | |
211 | + | let besonderheiten = getBesonderHeiten(publicKey, monat, jahr) | |
212 | + | let sonderVereinbarung = getSonderVereinbarung(publicKey, monat, jahr) | |
213 | 213 | let EKOSTL = getKostenStelle(publicKey) | |
214 | 214 | let kundeNummer = getKundeNummer(publicKey) | |
215 | 215 | let langText = getLangText(publicKey) | |
216 | 216 | let SKOSTL = getSenderKostenStelle(publicKey) | |
217 | 217 | if (if (if (if (if (if (if (if (if (if (if ((abwasserMengeHydraulik >= 0)) | |
218 | 218 | then (tocFracht >= 0) | |
219 | 219 | else false) | |
220 | 220 | then (stickStoffFracht >= 0) | |
221 | 221 | else false) | |
222 | 222 | then (sonstigeFrachten >= 0) | |
223 | 223 | else false) | |
224 | + | then (sonstigeFrachten >= 0) | |
225 | + | else false) | |
224 | 226 | then (abwasserAnalytikSonstLeistungen >= 0) | |
225 | 227 | else false) | |
226 | 228 | then (besonderheiten >= 0) | |
227 | 229 | else false) | |
228 | 230 | then (sonderVereinbarung >= 0) | |
229 | 231 | else false) | |
230 | 232 | then (kundeNummer >= 0) | |
231 | 233 | else false) | |
232 | - | then (EKOSTL >= 0) | |
233 | - | else false) | |
234 | 234 | then (langText != "") | |
235 | 235 | else false) | |
236 | - | then (SKOSTL | |
236 | + | then (SKOSTL != 0) | |
237 | 237 | else false) | |
238 | - | then [IntegerEntry((publicKey + "_ABAS_Neu_abwasserMengeHydraulik_Menge"), abwasserMengeHydraulik), IntegerEntry((publicKey + "_ABAS_Neu_tocFracht_Menge"), tocFracht), IntegerEntry((publicKey + "_ABAS_Neu_stickStoffFracht_Menge"), stickStoffFracht), IntegerEntry((publicKey + "_ABAS_Neu_sonstigeFrachten_Menge"), sonstigeFrachten), IntegerEntry((publicKey + "_ABAS_Neu_abwasserAnalytikSonstLeistungen_Menge"), abwasserAnalytikSonstLeistungen), IntegerEntry((publicKey + "_ABAS_Neu_besonderheiten_Menge"), besonderheiten), IntegerEntry((publicKey + "_ABAS_Neu_sonderVereinbarung_Menge"), sonderVereinbarung), IntegerEntry((publicKey + "_ABAS_Neu_EKOSTL"), EKOSTL), IntegerEntry((publicKey + "_ABAS_Neu_Debitor"), kundeNummer), StringEntry((publicKey + "_ABAS_Neu_langText"), langText), IntegerEntry((publicKey + "_ABAS_Neu_SKOSTL"), SKOSTL)] | |
238 | + | then [IntegerEntry(((((publicKey + "_ABAS_Neu_abwasserMengeHydraulik_Menge") + toString(monat)) + "_") + toString(jahr)), abwasserMengeHydraulik), IntegerEntry(((((publicKey + "_ABAS_Neu_tocFracht_Menge") + toString(monat)) + "_") + toString(jahr)), tocFracht), IntegerEntry(((((publicKey + "_ABAS_Neu_stickStoffFracht_Menge") + toString(monat)) + "_") + toString(jahr)), stickStoffFracht), IntegerEntry(((((publicKey + "_ABAS_Neu_sonstigeFrachten_Menge") + toString(monat)) + "_") + toString(jahr)), sonstigeFrachten), IntegerEntry(((((publicKey + "_ABAS_Neu_abwasserAnalytikSonstLeistungen_Menge") + toString(monat)) + "_") + toString(jahr)), abwasserAnalytikSonstLeistungen), IntegerEntry(((((publicKey + "_ABAS_Neu_besonderheiten_Menge") + toString(monat)) + "_") + toString(jahr)), besonderheiten), IntegerEntry(((((publicKey + "_ABAS_Neu_sonderVereinbarung_Menge") + toString(monat)) + "_") + toString(jahr)), sonderVereinbarung), IntegerEntry((publicKey + "_ABAS_Neu_EKOSTL"), EKOSTL), IntegerEntry((publicKey + "_ABAS_Neu_Debitor"), kundeNummer), StringEntry((publicKey + "_ABAS_Neu_langText"), langText), IntegerEntry((publicKey + "_ABAS_Neu_SKOSTL"), SKOSTL)] | |
239 | 239 | else throw("Felder unvollständig") | |
240 | 240 | } | |
241 | 241 | ||
242 | 242 | ||
243 | 243 | @Verifier(tx) | |
244 | 244 | func verify () = match tx { | |
245 | 245 | case tx: SetScriptTransaction => | |
246 | 246 | true | |
247 | 247 | case _ => | |
248 | 248 | true | |
249 | 249 | } | |
250 | 250 |
github/deemru/w8io/169f3d6 66.02 ms ◑