tx · FatyWDzPd2qMCMinBxzhepp789WFCHHS9Xe2GFTAofPH

3MvebeGZYw4DzztAuqcdxyT22s6rB3yMNj7:  -0.01000000 Waves

2022.03.17 01:53 [1967134] smart account 3MvebeGZYw4DzztAuqcdxyT22s6rB3yMNj7 > SELF 0.00000000 Waves

{ "type": 13, "id": "FatyWDzPd2qMCMinBxzhepp789WFCHHS9Xe2GFTAofPH", "fee": 1000000, "feeAssetId": null, "timestamp": 1647471061411, "version": 2, "chainId": 84, "sender": "3MvebeGZYw4DzztAuqcdxyT22s6rB3yMNj7", "senderPublicKey": "J283pC8bzRfJ3j1oxPrgDH8hjUVhFZS2CiRcPTmzQukz", "proofs": [ "4dBzEAd95KgE1s3ZPciqcqNZTz1BHt4PZsJZEo1uaNHu5VELEEwF5dMX5sKuG1R8MoaqdEPWHmSGoWX9wVMc7Viu" ], "script": "base64:AAIFAAAAAAAAAA8IAhIECgIIARIFCgMIAQEAAAAbAAAAAApkZWxheUJsb2NrAAAAAAAAAAABAAAAAAptaW5QYXltZW50AAAAAAAF9eEAAAAAABFhY2NlcHRhYmxlQXNzZXRJZAEAAAAg5PpGdWo9J1HbfiCa7IUj8tNs55tRKSuPgPaCoKWt9soAAAAADG1zZ1BhZ2FtZW50bwkAASwAAAACCQABLAAAAAIJAAEsAAAAAgIAAAAgRGV2aSBlZmZldHR1YXJlIHVuIHBhZ2FtZW50byBpbiAJAAJYAAAAAQUAAAARYWNjZXB0YWJsZUFzc2V0SWQCAAAACyBkaSBhbG1lbm8gCQABpAAAAAEFAAAACm1pblBheW1lbnQAAAAAEmZpZWxkTmFtZVJpc3VsdGF0bwIAAAANc2VtZV9lc3RyYXR0bwAAAAANZmllbGROYW1lU2VlZAIAAAAEc2VlZAAAAAAQZmllbGROYW1lU2VlZEIxNgIAAAAIc2VlZF9iMTYAAAAAGWZpZWxkTmFtZUhlaWdodEV4dHJhY3Rpb24CAAAAEWhlaWdodF9leHRyYWN0aW9uAAAAAA1maWVsZE5hbWVKc29u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AACXJpY2hpZXN0YQUAAAADbmlsAAAAAgAAAAFpAQAAAAZlc3RyYWkAAAACAAAACXJpY2hpZXN0YQAAAAZudW1lcm8JAQAAAAdlc3RyYWkxAAAAAwUAAAAJcmljaGllc3RhBQAAAAZudW1lcm8FAAAAAWkAAAABaQEAAAAIcmVnaXN0cmEAAAADAAAACXJpY2hpZXN0YQAAAAtjYXJkaW5hbGl0YQAAAAplc3RyYXppb25pAwkBAAAAC2lzUGF5bWVudE9rAAAAAQUAAAABaQkBAAAACXJlZ2lzdHJhMQAAAAQFAAAACXJpY2hpZXN0YQUAAAALY2FyZGluYWxpdGEFAAAACmVzdHJhemlvbmkFAAAAAWkJAAACAAAAAQUAAAAMbXNnUGFnYW1lbnRvAAAAAKghYNY=", "height": 1967134, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8gwAVCQHrmC8bwBmBWXBzSvSc4GT8b1K392r6DUxkygQ Next: Dvf51PW6mkNaHTtXSpRgUTmqLE2HYQy9zyakZXzpTntz Diff:
OldNewDifferences
33 {-# CONTENT_TYPE DAPP #-}
44 let a = 1
55
6-let b = 500000000
6+let b = 100000000
77
88 let c = base58'GQqJPRuXvxoyz22DeLqquGcx3cdbYpWi6QdqfQUMbLuf'
99
10-let d = "seme_estratto"
10+let d = ((("Devi effettuare un pagamento in " + toBase58String(c)) + " di almeno ") + toString(b))
1111
12-let e = "seed"
12+let e = "seme_estratto"
1313
14-let f = "seed_b16"
14+let f = "seed"
1515
16-let g = "height_extraction"
16+let g = "seed_b16"
1717
18-let h = "json"
18+let h = "height_extraction"
1919
20-let i = "cardinalita"
20+let i = "json"
2121
22-let j = "data_richiesta"
22+let j = "cardinalita"
2323
24-let k = "estrazioni"
24+let k = "data_richiesta"
2525
26-let l = "richiesta"
26+let l = "estrazioni"
2727
28-let m = "counter"
28+let m = "richiesta"
2929
30-let n = "id_richiesta"
30+let n = "counter"
3131
32-let o = "provider"
32+let o = "id_richiesta"
3333
34-func p (q) = if ((size(q.payments) == 0))
35- then throw(((("Devi effettuare un pagamento in " + toBase58String(c)) + " di almeno ") + toString(b)))
34+let p = "provider"
35+
36+func q (r) = if ((size(r.payments) == 0))
37+ then throw(d)
3638 else {
37- let r = q.payments[0]
38- let s = r.assetId
39- if ($isInstanceOf(s, "ByteVector"))
39+ let s = r.payments[0]
40+ let t = s.assetId
41+ if ($isInstanceOf(t, "ByteVector"))
4042 then {
41- let t = s
42- if ((t == c))
43- then (r.amount >= b)
43+ let u = t
44+ if ((u == c))
45+ then (s.amount >= b)
4446 else false
4547 }
4648 else false
4749 }
4850
4951
50-func u (v,w) = ((("{\"" + v) + "\":\"") + w)
52+func v (w,x) = ((("{\"" + w) + "\":\"") + x)
5153
5254
53-func x (v,w) = ((("\", \"" + v) + "\":\" ") + w)
55+func y (w,x) = ((("\", \"" + w) + "\":\" ") + x)
5456
5557
56-func y (v,w) = (((("\", \"" + v) + "\":\" ") + w) + "\"}")
58+func z (w,x) = (((("\", \"" + w) + "\":\" ") + x) + "\"}")
5759
5860
59-func z (v,A) = {
60- let B = {
61- let s = getInteger(this, v)
62- if ($isInstanceOf(s, "Int"))
61+func A (w,B) = {
62+ let C = {
63+ let t = getInteger(this, w)
64+ if ($isInstanceOf(t, "Int"))
6365 then {
64- let C = s
65- C
66+ let D = t
67+ D
6668 }
67- else throw(A)
69+ else throw(B)
6870 }
69- B
71+ C
7072 }
7173
7274
73-func D () = {
74- let E = {
75- let s = blockInfoByHeight(height)
76- if ($isInstanceOf(s, "BlockInfo"))
75+func E () = {
76+ let F = {
77+ let t = blockInfoByHeight(height)
78+ if ($isInstanceOf(t, "BlockInfo"))
7779 then {
78- let F = s
79- F
80+ let G = t
81+ G
8082 }
8183 else throw("Alla ricerca del blocco corrente: Blocco non trovato!")
8284 }
83- E
85+ F
8486 }
8587
8688
87-func G () = {
88- let E = {
89- let s = blockInfoByHeight(height)
90- if ($isInstanceOf(s, "BlockInfo"))
89+func H () = {
90+ let F = {
91+ let t = blockInfoByHeight(height)
92+ if ($isInstanceOf(t, "BlockInfo"))
9193 then {
92- let F = s
93- F.timestamp
94+ let G = t
95+ G.timestamp
9496 }
9597 else throw("Alla ricerca del `timestamp`: Blocco non trovato!")
9698 }
97- E
99+ F
98100 }
99101
100102
101-func H (I) = {
102- let J = {
103- let s = I.vrf
104- if ($isInstanceOf(s, "ByteVector"))
103+func I (J) = {
104+ let K = {
105+ let t = J.vrf
106+ if ($isInstanceOf(t, "ByteVector"))
105107 then {
106- let C = s
107- C
108+ let D = t
109+ D
108110 }
109111 else throw("Alla ricerca del `vrf`: Blocco non trovato o blocco non in versione 5 ritenta.")
110112 }
111- J
113+ K
112114 }
113115
114116
115-func K (L) = {
116- let M = D()
117- let N = (((((L.transactionId + L.callerPublicKey) + H(M)) + M.generationSignature) + toBytes(M.timestamp)) + toBytes(M.height))
118- sha256_16Kb(sha256_16Kb(N))
117+func L (M) = {
118+ let N = E()
119+ let O = (((((M.transactionId + M.callerPublicKey) + I(N)) + N.generationSignature) + toBytes(N.timestamp)) + toBytes(N.height))
120+ sha256_16Kb(sha256_16Kb(O))
119121 }
120122
121123
122-func O (P,Q,q) = {
123- let R = toString(q.caller)
124- let S = (((R + "_") + P) + "_")
125- let T = (S + m)
126- let U = z(T, "La richiesta fatta non è stata ancora registrata")
127- let V = if ((0 >= Q))
128- then U
129- else if ((U >= Q))
130- then Q
124+func P (Q,R,r) = {
125+ let S = toString(r.caller)
126+ let T = (((S + "_") + Q) + "_")
127+ let U = (T + n)
128+ let V = A(U, "La richiesta fatta non è stata ancora registrata")
129+ let W = if ((0 >= R))
130+ then V
131+ else if ((V >= R))
132+ then R
131133 else throw("Non esiste una richiesta con questo numero")
132- let W = ((S + toString(V)) + "_")
133- let X = (W + d)
134- let Y = {
135- let s = getString(this, X)
136- if ($isInstanceOf(s, "String"))
134+ let X = ((T + toString(W)) + "_")
135+ let Y = (X + e)
136+ let Z = {
137+ let t = getString(this, Y)
138+ if ($isInstanceOf(t, "String"))
137139 then {
138- let C = s
139- throw(((("Risultato già presente in blockchain: " + X) + ": ") + C))
140+ let D = t
141+ throw(((("Risultato già presente in blockchain: " + Y) + ": ") + D))
140142 }
141143 else false
142144 }
143- if (!(Y))
145+ if (!(Z))
144146 then {
145- let Z = z((W + g), "Errore generico su dati della richiesta")
146- if ((Z > height))
147- then throw(((("Devi aspettare il blocco " + toString(Z)) + ". siamo al blocco ") + toString(height)))
147+ let aa = A((X + h), "Errore generico su dati della richiesta")
148+ if ((aa > height))
149+ then throw(((("Devi aspettare il blocco " + toString(aa)) + ". siamo al blocco ") + toString(height)))
148150 else {
149- let aa = (W + e)
150- let ab = {
151- let s = getBinary(this, aa)
152- if ($isInstanceOf(s, "ByteVector"))
151+ let ab = (X + f)
152+ let ac = {
153+ let t = getBinary(this, ab)
154+ if ($isInstanceOf(t, "ByteVector"))
153155 then {
154- let C = s
155- C
156+ let D = t
157+ D
156158 }
157159 else throw("Seme non trovato. Qualcosa è andata storta!")
158160 }
159- let ac = {
160- let s = blockInfoByHeight(Z)
161- if ($isInstanceOf(s, "BlockInfo"))
161+ let ad = {
162+ let t = blockInfoByHeight(aa)
163+ if ($isInstanceOf(t, "BlockInfo"))
162164 then {
163- let E = s
164- E
165+ let F = t
166+ F
165167 }
166168 else throw("Errore: Il blocco di estrazione non esiste")
167169 }
168- let ad = {
169- let s = ac.vrf
170- if ($isInstanceOf(s, "ByteVector"))
170+ let ae = {
171+ let t = ad.vrf
172+ if ($isInstanceOf(t, "ByteVector"))
171173 then {
172- let C = s
173- C
174+ let D = t
175+ D
174176 }
175177 else throw("Blocco non in versione 5 ritenta.")
176178 }
177- let N = (((ab + ac.generationSignature) + ac.generatorPublicKey) + H(ac))
178- let ae = toBase16String(sha256_16Kb(sha256_16Kb(N)))
179- let af = toString(z((W + i), "Errore lettura cardinalità"))
180- let ag = toString(z((W + j), "Errore lettura DataRichiesta"))
181- let ah = toString(z((W + k), "Errore lettura Estrazioni"))
182- let ai = (((((((((u(n, toString(V)) + x(m, toString(U))) + x(o, R)) + x(l, P)) + x(i, af)) + x(k, ah)) + x(j, ag)) + x(f, toBase16String(ab))) + x(g, toString(Z))) + y(d, ae))
183-[StringEntry((W + h), ai), StringEntry(X, ae)]
179+ let O = (((ac + ad.generationSignature) + ad.generatorPublicKey) + I(ad))
180+ let af = toBase16String(sha256_16Kb(sha256_16Kb(O)))
181+ let ag = toString(A((X + j), "Errore lettura cardinalità"))
182+ let ah = toString(A((X + k), "Errore lettura DataRichiesta"))
183+ let ai = toString(A((X + l), "Errore lettura Estrazioni"))
184+ let aj = (((((((((v(o, toString(W)) + y(n, toString(V))) + y(p, S)) + y(m, Q)) + y(j, ag)) + y(l, ai)) + y(k, ah)) + y(g, toBase16String(ac))) + y(h, toString(aa))) + z(e, af))
185+[StringEntry((X + i), aj), StringEntry(Y, af)]
184186 }
185187 }
186188 else throw("Errore: non dovresti passare da quì")
187189 }
188190
189191
190-func aj (P,ak,al,q) = {
191- let S = (((toString(q.caller) + "_") + P) + "_")
192- let T = (S + m)
193- let am = {
194- let s = getInteger(this, T)
195- if ($isInstanceOf(s, "Int"))
192+func ak (Q,al,am,r) = {
193+ let T = (((toString(r.caller) + "_") + Q) + "_")
194+ let U = (T + n)
195+ let an = {
196+ let t = getInteger(this, U)
197+ if ($isInstanceOf(t, "Int"))
196198 then {
197- let an = s
198- (an + 1)
199+ let ao = t
200+ (ao + 1)
199201 }
200202 else 1
201203 }
202- let W = ((S + toString(am)) + "_")
203- let ab = K(q)
204- let ao = G()
205- let ap = (height + a)
206-[IntegerEntry(T, am), IntegerEntry((W + g), ap), IntegerEntry((W + i), ak), IntegerEntry((W + k), al), IntegerEntry((W + j), ao), BinaryEntry((W + e), ab), StringEntry((W + f), toBase16String(ab)), StringEntry((W + l), P)]
204+ let X = ((T + toString(an)) + "_")
205+ let ac = L(r)
206+ let ap = H()
207+ let aq = (height + a)
208+[IntegerEntry(U, an), IntegerEntry((X + h), aq), IntegerEntry((X + j), al), IntegerEntry((X + l), am), IntegerEntry((X + k), ap), BinaryEntry((X + f), ac), StringEntry((X + g), toBase16String(ac)), StringEntry((X + m), Q)]
207209 }
208210
209211
210-@Callable(q)
211-func estrai (P,Q) = O(P, Q, q)
212+@Callable(r)
213+func estrai (Q,R) = P(Q, R, r)
212214
213215
214216
215-@Callable(q)
216-func registra (P,ak,al) = if (p(q))
217- then aj(P, ak, al, q)
218- else throw("Devi inserire un pagamento")
217+@Callable(r)
218+func registra (Q,al,am) = if (q(r))
219+ then ak(Q, al, am, r)
220+ else throw(d)
219221
220222
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = 1
55
6-let b = 500000000
6+let b = 100000000
77
88 let c = base58'GQqJPRuXvxoyz22DeLqquGcx3cdbYpWi6QdqfQUMbLuf'
99
10-let d = "seme_estratto"
10+let d = ((("Devi effettuare un pagamento in " + toBase58String(c)) + " di almeno ") + toString(b))
1111
12-let e = "seed"
12+let e = "seme_estratto"
1313
14-let f = "seed_b16"
14+let f = "seed"
1515
16-let g = "height_extraction"
16+let g = "seed_b16"
1717
18-let h = "json"
18+let h = "height_extraction"
1919
20-let i = "cardinalita"
20+let i = "json"
2121
22-let j = "data_richiesta"
22+let j = "cardinalita"
2323
24-let k = "estrazioni"
24+let k = "data_richiesta"
2525
26-let l = "richiesta"
26+let l = "estrazioni"
2727
28-let m = "counter"
28+let m = "richiesta"
2929
30-let n = "id_richiesta"
30+let n = "counter"
3131
32-let o = "provider"
32+let o = "id_richiesta"
3333
34-func p (q) = if ((size(q.payments) == 0))
35- then throw(((("Devi effettuare un pagamento in " + toBase58String(c)) + " di almeno ") + toString(b)))
34+let p = "provider"
35+
36+func q (r) = if ((size(r.payments) == 0))
37+ then throw(d)
3638 else {
37- let r = q.payments[0]
38- let s = r.assetId
39- if ($isInstanceOf(s, "ByteVector"))
39+ let s = r.payments[0]
40+ let t = s.assetId
41+ if ($isInstanceOf(t, "ByteVector"))
4042 then {
41- let t = s
42- if ((t == c))
43- then (r.amount >= b)
43+ let u = t
44+ if ((u == c))
45+ then (s.amount >= b)
4446 else false
4547 }
4648 else false
4749 }
4850
4951
50-func u (v,w) = ((("{\"" + v) + "\":\"") + w)
52+func v (w,x) = ((("{\"" + w) + "\":\"") + x)
5153
5254
53-func x (v,w) = ((("\", \"" + v) + "\":\" ") + w)
55+func y (w,x) = ((("\", \"" + w) + "\":\" ") + x)
5456
5557
56-func y (v,w) = (((("\", \"" + v) + "\":\" ") + w) + "\"}")
58+func z (w,x) = (((("\", \"" + w) + "\":\" ") + x) + "\"}")
5759
5860
59-func z (v,A) = {
60- let B = {
61- let s = getInteger(this, v)
62- if ($isInstanceOf(s, "Int"))
61+func A (w,B) = {
62+ let C = {
63+ let t = getInteger(this, w)
64+ if ($isInstanceOf(t, "Int"))
6365 then {
64- let C = s
65- C
66+ let D = t
67+ D
6668 }
67- else throw(A)
69+ else throw(B)
6870 }
69- B
71+ C
7072 }
7173
7274
73-func D () = {
74- let E = {
75- let s = blockInfoByHeight(height)
76- if ($isInstanceOf(s, "BlockInfo"))
75+func E () = {
76+ let F = {
77+ let t = blockInfoByHeight(height)
78+ if ($isInstanceOf(t, "BlockInfo"))
7779 then {
78- let F = s
79- F
80+ let G = t
81+ G
8082 }
8183 else throw("Alla ricerca del blocco corrente: Blocco non trovato!")
8284 }
83- E
85+ F
8486 }
8587
8688
87-func G () = {
88- let E = {
89- let s = blockInfoByHeight(height)
90- if ($isInstanceOf(s, "BlockInfo"))
89+func H () = {
90+ let F = {
91+ let t = blockInfoByHeight(height)
92+ if ($isInstanceOf(t, "BlockInfo"))
9193 then {
92- let F = s
93- F.timestamp
94+ let G = t
95+ G.timestamp
9496 }
9597 else throw("Alla ricerca del `timestamp`: Blocco non trovato!")
9698 }
97- E
99+ F
98100 }
99101
100102
101-func H (I) = {
102- let J = {
103- let s = I.vrf
104- if ($isInstanceOf(s, "ByteVector"))
103+func I (J) = {
104+ let K = {
105+ let t = J.vrf
106+ if ($isInstanceOf(t, "ByteVector"))
105107 then {
106- let C = s
107- C
108+ let D = t
109+ D
108110 }
109111 else throw("Alla ricerca del `vrf`: Blocco non trovato o blocco non in versione 5 ritenta.")
110112 }
111- J
113+ K
112114 }
113115
114116
115-func K (L) = {
116- let M = D()
117- let N = (((((L.transactionId + L.callerPublicKey) + H(M)) + M.generationSignature) + toBytes(M.timestamp)) + toBytes(M.height))
118- sha256_16Kb(sha256_16Kb(N))
117+func L (M) = {
118+ let N = E()
119+ let O = (((((M.transactionId + M.callerPublicKey) + I(N)) + N.generationSignature) + toBytes(N.timestamp)) + toBytes(N.height))
120+ sha256_16Kb(sha256_16Kb(O))
119121 }
120122
121123
122-func O (P,Q,q) = {
123- let R = toString(q.caller)
124- let S = (((R + "_") + P) + "_")
125- let T = (S + m)
126- let U = z(T, "La richiesta fatta non è stata ancora registrata")
127- let V = if ((0 >= Q))
128- then U
129- else if ((U >= Q))
130- then Q
124+func P (Q,R,r) = {
125+ let S = toString(r.caller)
126+ let T = (((S + "_") + Q) + "_")
127+ let U = (T + n)
128+ let V = A(U, "La richiesta fatta non è stata ancora registrata")
129+ let W = if ((0 >= R))
130+ then V
131+ else if ((V >= R))
132+ then R
131133 else throw("Non esiste una richiesta con questo numero")
132- let W = ((S + toString(V)) + "_")
133- let X = (W + d)
134- let Y = {
135- let s = getString(this, X)
136- if ($isInstanceOf(s, "String"))
134+ let X = ((T + toString(W)) + "_")
135+ let Y = (X + e)
136+ let Z = {
137+ let t = getString(this, Y)
138+ if ($isInstanceOf(t, "String"))
137139 then {
138- let C = s
139- throw(((("Risultato già presente in blockchain: " + X) + ": ") + C))
140+ let D = t
141+ throw(((("Risultato già presente in blockchain: " + Y) + ": ") + D))
140142 }
141143 else false
142144 }
143- if (!(Y))
145+ if (!(Z))
144146 then {
145- let Z = z((W + g), "Errore generico su dati della richiesta")
146- if ((Z > height))
147- then throw(((("Devi aspettare il blocco " + toString(Z)) + ". siamo al blocco ") + toString(height)))
147+ let aa = A((X + h), "Errore generico su dati della richiesta")
148+ if ((aa > height))
149+ then throw(((("Devi aspettare il blocco " + toString(aa)) + ". siamo al blocco ") + toString(height)))
148150 else {
149- let aa = (W + e)
150- let ab = {
151- let s = getBinary(this, aa)
152- if ($isInstanceOf(s, "ByteVector"))
151+ let ab = (X + f)
152+ let ac = {
153+ let t = getBinary(this, ab)
154+ if ($isInstanceOf(t, "ByteVector"))
153155 then {
154- let C = s
155- C
156+ let D = t
157+ D
156158 }
157159 else throw("Seme non trovato. Qualcosa è andata storta!")
158160 }
159- let ac = {
160- let s = blockInfoByHeight(Z)
161- if ($isInstanceOf(s, "BlockInfo"))
161+ let ad = {
162+ let t = blockInfoByHeight(aa)
163+ if ($isInstanceOf(t, "BlockInfo"))
162164 then {
163- let E = s
164- E
165+ let F = t
166+ F
165167 }
166168 else throw("Errore: Il blocco di estrazione non esiste")
167169 }
168- let ad = {
169- let s = ac.vrf
170- if ($isInstanceOf(s, "ByteVector"))
170+ let ae = {
171+ let t = ad.vrf
172+ if ($isInstanceOf(t, "ByteVector"))
171173 then {
172- let C = s
173- C
174+ let D = t
175+ D
174176 }
175177 else throw("Blocco non in versione 5 ritenta.")
176178 }
177- let N = (((ab + ac.generationSignature) + ac.generatorPublicKey) + H(ac))
178- let ae = toBase16String(sha256_16Kb(sha256_16Kb(N)))
179- let af = toString(z((W + i), "Errore lettura cardinalità"))
180- let ag = toString(z((W + j), "Errore lettura DataRichiesta"))
181- let ah = toString(z((W + k), "Errore lettura Estrazioni"))
182- let ai = (((((((((u(n, toString(V)) + x(m, toString(U))) + x(o, R)) + x(l, P)) + x(i, af)) + x(k, ah)) + x(j, ag)) + x(f, toBase16String(ab))) + x(g, toString(Z))) + y(d, ae))
183-[StringEntry((W + h), ai), StringEntry(X, ae)]
179+ let O = (((ac + ad.generationSignature) + ad.generatorPublicKey) + I(ad))
180+ let af = toBase16String(sha256_16Kb(sha256_16Kb(O)))
181+ let ag = toString(A((X + j), "Errore lettura cardinalità"))
182+ let ah = toString(A((X + k), "Errore lettura DataRichiesta"))
183+ let ai = toString(A((X + l), "Errore lettura Estrazioni"))
184+ let aj = (((((((((v(o, toString(W)) + y(n, toString(V))) + y(p, S)) + y(m, Q)) + y(j, ag)) + y(l, ai)) + y(k, ah)) + y(g, toBase16String(ac))) + y(h, toString(aa))) + z(e, af))
185+[StringEntry((X + i), aj), StringEntry(Y, af)]
184186 }
185187 }
186188 else throw("Errore: non dovresti passare da quì")
187189 }
188190
189191
190-func aj (P,ak,al,q) = {
191- let S = (((toString(q.caller) + "_") + P) + "_")
192- let T = (S + m)
193- let am = {
194- let s = getInteger(this, T)
195- if ($isInstanceOf(s, "Int"))
192+func ak (Q,al,am,r) = {
193+ let T = (((toString(r.caller) + "_") + Q) + "_")
194+ let U = (T + n)
195+ let an = {
196+ let t = getInteger(this, U)
197+ if ($isInstanceOf(t, "Int"))
196198 then {
197- let an = s
198- (an + 1)
199+ let ao = t
200+ (ao + 1)
199201 }
200202 else 1
201203 }
202- let W = ((S + toString(am)) + "_")
203- let ab = K(q)
204- let ao = G()
205- let ap = (height + a)
206-[IntegerEntry(T, am), IntegerEntry((W + g), ap), IntegerEntry((W + i), ak), IntegerEntry((W + k), al), IntegerEntry((W + j), ao), BinaryEntry((W + e), ab), StringEntry((W + f), toBase16String(ab)), StringEntry((W + l), P)]
204+ let X = ((T + toString(an)) + "_")
205+ let ac = L(r)
206+ let ap = H()
207+ let aq = (height + a)
208+[IntegerEntry(U, an), IntegerEntry((X + h), aq), IntegerEntry((X + j), al), IntegerEntry((X + l), am), IntegerEntry((X + k), ap), BinaryEntry((X + f), ac), StringEntry((X + g), toBase16String(ac)), StringEntry((X + m), Q)]
207209 }
208210
209211
210-@Callable(q)
211-func estrai (P,Q) = O(P, Q, q)
212+@Callable(r)
213+func estrai (Q,R) = P(Q, R, r)
212214
213215
214216
215-@Callable(q)
216-func registra (P,ak,al) = if (p(q))
217- then aj(P, ak, al, q)
218- else throw("Devi inserire un pagamento")
217+@Callable(r)
218+func registra (Q,al,am) = if (q(r))
219+ then ak(Q, al, am, r)
220+ else throw(d)
219221
220222

github/deemru/w8io/169f3d6 
87.99 ms