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//////////8FAAAACnRvY2tGcmFjaHQBAAAAE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TmV1X2Jlc29uZGVyaGVpdGVuX01lbmdlBQAAAA5iZXNvbmRlcmhlaXRlbgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACBQAAAAlwdWJsaWNLZXkCAAAAIl9BQkFTX05ldV9zb25kZXJWZXJlaW5iYXJ1bmdfTWVuZ2UFAAAAEnNvbmRlclZlcmVpbmJhcnVuZwkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACBQAAAAlwdWJsaWNLZXkCAAAAEF9BQkFTX05ldV9FS09TVEwFAAAADGtvc3RlblN0ZWxsZQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACBQAAAAlwdWJsaWNLZXkCAAAAEV9BQkFTX05ldV9EZWJpdG9yBQAAAAtrdW5kZU51bW1lcgkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIFAAAACXB1YmxpY0tleQIAAAASX0FCQVNfTmV1X2xhbmdUZXh0BQAAAAhsYW5nVGV4dAUAAAADbmlsCQAAAgAAAAECAAAAFUZlbGRlciB1bnZvbGxzdMOkbmRpZwAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAGBkvgMRI=", "height": 1192860, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8T3YxW3k13wQqZUuyA31Q5muT5EFq5ejMu9MTCWjJjVd Next: 5ECX6ynncJDzYcmEebHMVHiHQsNnFYV4ELkBJmVL1yVN Diff:
OldNewDifferences
179179
180180
181181 func getLangText (publicKey) = {
182- let langText = match getInteger(this, (publicKey + "_Betriebs-Bezeichnung")) {
183- case a: Int =>
182+ let langText = match getString(this, (publicKey + "_Betriebs-Bezeichnung")) {
183+ case a: String =>
184184 a
185185 case _ =>
186- -1
186+ ""
187187 }
188188 langText
189189 }
219219 else false)
220220 then (kostenStelle >= 0)
221221 else false)
222- then (langText >= 0)
222+ then (langText != "")
223223 else false)
224- 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"), kostenStelle), IntegerEntry((publicKey + "_ABAS_Neu_Debitor"), kundeNummer), IntegerEntry((publicKey + "_ABAS_Neu_langText"), langText)]
224+ 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"), kostenStelle), IntegerEntry((publicKey + "_ABAS_Neu_Debitor"), kundeNummer), StringEntry((publicKey + "_ABAS_Neu_langText"), langText)]
225225 else throw("Felder unvollständig")
226226 }
227227
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func getAbwasserMengeHydraulik (publicKey) = {
55 let AbwasserMengeHydraulik = match getInteger(this, (publicKey + "_wassermenge")) {
66 case a: Int =>
77 a
88 case _ =>
99 -1
1010 }
1111 AbwasserMengeHydraulik
1212 }
1313
1414
1515 func getTockFracht (publicKey) = {
1616 let tockFracht = match getInteger(this, (publicKey + "_TOCfracht")) {
1717 case a: Int =>
1818 a
1919 case _ =>
2020 -1
2121 }
2222 tockFracht
2323 }
2424
2525
2626 func getStickStoffFracht (publicKey) = {
2727 let stickStoffFracht = match getInteger(this, (publicKey + "_Nfracht")) {
2828 case a: Int =>
2929 a
3030 case _ =>
3131 -1
3232 }
3333 stickStoffFracht
3434 }
3535
3636
3737 func getSonstigeFrachten (publicKey) = {
3838 let AOXfracht = match getInteger(this, (publicKey + "_AOXfracht")) {
3939 case a: Int =>
4040 a
4141 case _ =>
4242 -1
4343 }
4444 let Kupferfracht = match getInteger(this, (publicKey + "_Kupferfracht")) {
4545 case a: Int =>
4646 a
4747 case _ =>
4848 -1
4949 }
5050 let Zinkfracht = match getInteger(this, (publicKey + "_Zinkfracht")) {
5151 case a: Int =>
5252 a
5353 case _ =>
5454 -1
5555 }
5656 let Nickelfracht = match getInteger(this, (publicKey + "_Nickelfracht")) {
5757 case a: Int =>
5858 a
5959 case _ =>
6060 -1
6161 }
6262 let Aromatenfracht = match getInteger(this, (publicKey + "_Aromatenfracht")) {
6363 case a: Int =>
6464 a
6565 case _ =>
6666 -1
6767 }
6868 let Chromfracht = match getInteger(this, (publicKey + "_Chromfracht")) {
6969 case a: Int =>
7070 a
7171 case _ =>
7272 -1
7373 }
7474 let Feststofffracht = match getInteger(this, (publicKey + "_Feststofffracht")) {
7575 case a: Int =>
7676 a
7777 case _ =>
7878 -1
7979 }
8080 let formaldehydfracht = match getInteger(this, (publicKey + "_formaldehydfracht")) {
8181 case a: Int =>
8282 a
8383 case _ =>
8484 -1
8585 }
8686 let quecksilberfracht = match getInteger(this, (publicKey + "_quecksilberfracht")) {
8787 case a: Int =>
8888 a
8989 case _ =>
9090 -1
9191 }
9292 let phosohorfracht = match getInteger(this, (publicKey + "_phosohorfracht")) {
9393 case a: Int =>
9494 a
9595 case _ =>
9696 -1
9797 }
9898 let cadmiumfracht = match getInteger(this, (publicKey + "_cadmiumfracht")) {
9999 case a: Int =>
100100 a
101101 case _ =>
102102 -1
103103 }
104104 let flourfracht = match getInteger(this, (publicKey + "_flourfracht")) {
105105 case a: Int =>
106106 a
107107 case _ =>
108108 -1
109109 }
110110 let bleifracht = match getInteger(this, (publicKey + "_bleifracht")) {
111111 case a: Int =>
112112 a
113113 case _ =>
114114 -1
115115 }
116116 ((((((((((((AOXfracht + Kupferfracht) + Zinkfracht) + Nickelfracht) + Aromatenfracht) + Chromfracht) + Feststofffracht) + formaldehydfracht) + quecksilberfracht) + phosohorfracht) + cadmiumfracht) + flourfracht) + bleifracht)
117117 }
118118
119119
120120 func getAbwasserAnalytik (publicKey) = {
121121 let laborSonderLeistungen = match getInteger(this, (publicKey + "_labor-sonder-leistungen")) {
122122 case a: Int =>
123123 a
124124 case _ =>
125125 -1
126126 }
127127 let standardAnalytik = match getInteger(this, (publicKey + "_standard-analytik")) {
128128 case a: Int =>
129129 a
130130 case _ =>
131131 -1
132132 }
133133 (laborSonderLeistungen + standardAnalytik)
134134 }
135135
136136
137137 func getBesonderHeiten (publicKey) = {
138138 let besonderHeiten = match getInteger(this, (publicKey + "_kosten-abwasser-reinigung")) {
139139 case a: Int =>
140140 a
141141 case _ =>
142142 -1
143143 }
144144 besonderHeiten
145145 }
146146
147147
148148 func getSonderVereinbarung (publicKey) = {
149149 let FestStofffracht = match getInteger(this, (publicKey + "_Feststofffracht")) {
150150 case a: Int =>
151151 a
152152 case _ =>
153153 -1
154154 }
155155 ((FestStofffracht * 8318) / 500)
156156 }
157157
158158
159159 func getKostenStelle (publicKey) = {
160160 let kostenStelle = match getInteger(this, (publicKey + "_kostenstelle")) {
161161 case a: Int =>
162162 a
163163 case _ =>
164164 -1
165165 }
166166 kostenStelle
167167 }
168168
169169
170170 func getKundeNummer (publicKey) = {
171171 let kundeNummer = match getInteger(this, (publicKey + "_kundeNr")) {
172172 case a: Int =>
173173 a
174174 case _ =>
175175 -1
176176 }
177177 kundeNummer
178178 }
179179
180180
181181 func getLangText (publicKey) = {
182- let langText = match getInteger(this, (publicKey + "_Betriebs-Bezeichnung")) {
183- case a: Int =>
182+ let langText = match getString(this, (publicKey + "_Betriebs-Bezeichnung")) {
183+ case a: String =>
184184 a
185185 case _ =>
186- -1
186+ ""
187187 }
188188 langText
189189 }
190190
191191
192192 @Callable(i)
193193 func abasNeu () = {
194194 let publicKey = toBase58String(i.callerPublicKey)
195195 let abwasserMengeHydraulik = getAbwasserMengeHydraulik(publicKey)
196196 let tocFracht = getTockFracht(publicKey)
197197 let stickStoffFracht = getStickStoffFracht(publicKey)
198198 let sonstigeFrachten = getSonstigeFrachten(publicKey)
199199 let abwasserAnalytikSonstLeistungen = getAbwasserAnalytik(publicKey)
200200 let besonderheiten = getBesonderHeiten(publicKey)
201201 let sonderVereinbarung = getSonderVereinbarung(publicKey)
202202 let kostenStelle = getKostenStelle(publicKey)
203203 let kundeNummer = getKundeNummer(publicKey)
204204 let langText = getLangText(publicKey)
205205 if (if (if (if (if (if (if (if (if (if ((abwasserMengeHydraulik >= 0))
206206 then (tocFracht >= 0)
207207 else false)
208208 then (stickStoffFracht >= 0)
209209 else false)
210210 then (sonstigeFrachten >= 0)
211211 else false)
212212 then (abwasserAnalytikSonstLeistungen >= 0)
213213 else false)
214214 then (besonderheiten >= 0)
215215 else false)
216216 then (sonderVereinbarung >= 0)
217217 else false)
218218 then (kundeNummer >= 0)
219219 else false)
220220 then (kostenStelle >= 0)
221221 else false)
222- then (langText >= 0)
222+ then (langText != "")
223223 else false)
224- 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"), kostenStelle), IntegerEntry((publicKey + "_ABAS_Neu_Debitor"), kundeNummer), IntegerEntry((publicKey + "_ABAS_Neu_langText"), langText)]
224+ 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"), kostenStelle), IntegerEntry((publicKey + "_ABAS_Neu_Debitor"), kundeNummer), StringEntry((publicKey + "_ABAS_Neu_langText"), langText)]
225225 else throw("Felder unvollständig")
226226 }
227227
228228
229229 @Verifier(tx)
230230 func verify () = match tx {
231231 case tx: SetScriptTransaction =>
232232 true
233233 case _ =>
234234 true
235235 }
236236

github/deemru/w8io/169f3d6 
48.30 ms