tx · 6XBvUsVb6FHMzsP4qb6ei66sJr5sajhEULUVj7Tw2Tg8 3MvebeGZYw4DzztAuqcdxyT22s6rB3yMNj7: -0.01000000 Waves 2022.03.31 12:21 [1987903] smart account 3MvebeGZYw4DzztAuqcdxyT22s6rB3yMNj7 > SELF 0.00000000 Waves
{ "type": 13, "id": "6XBvUsVb6FHMzsP4qb6ei66sJr5sajhEULUVj7Tw2Tg8", "fee": 1000000, "feeAssetId": null, "timestamp": 1648718167365, "version": 2, "chainId": 84, "sender": "3MvebeGZYw4DzztAuqcdxyT22s6rB3yMNj7", "senderPublicKey": "J283pC8bzRfJ3j1oxPrgDH8hjUVhFZS2CiRcPTmzQukz", "proofs": [ "3GeSknNLJaAboRHRcBZFDLSnkC52xPRG5AeJ6U35yKu5LDff9JLCPoCCEvbpCc7ttABTd4Qb7d21ZKsmez8PKueA" ], "script": "base64:AAIFAAAAAAAAAA4IAhIFCgMIAQESAwoBCAAAAB0AAAAACmRlbGF5QmxvY2sAAAAAAAAAAAoAAAAACm1pblBheW1lbnQAAAAAAAAAAGQAAAAADG1pblBheW1lbnRVTQIAAAAXIGNlbnRlc2ltaSBkaSBibXNDb2luLiAAAAAAEWFjY2VwdGFibGVBc3NldElkAQAAACDk+kZ1aj0nUdt+IJrshSPy02znm1EpK4+A9oKgpa32ygAAAAAMbXNnUGFnYW1lbnRvCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAAIERldmkgZWZmZXR0dWFyZSB1biBwYWdhbWVudG8gaW4gCQACWAAAAAEFAAAAEWFjY2VwdGFibGVBc3NldElkAgAAAAsgZGkgYWxtZW5vIAkAAaQAAAABBQAAAAptaW5QYXltZW50BQAAAAxtaW5QYXltZW50VU0AAAAAEmZpZWxkTmFtZVJpc3VsdGF0bwIAAAANc2VtZV9lc3RyYXR0bwAAAAANZmllbGROYW1lU2VlZAIAAAAEc2VlZAAAAAAQZmllbGROYW1lU2VlZEIxNgIAAAAIc2VlZF9iMTYAAAAAG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lc3RyYXppb25pBQAAAAplc2NsdXNpb25pBQAAAAFpCQAAAgAAAAEFAAAADG1zZ1BhZ2FtZW50bwAAAAFpAQAAAA9lc3RyYXppb25lX3NlbWUAAAABAAAAB2hhc2hfaWQEAAAABm51bWVybwAAAAAAAAAAAAkBAAAAB2VzdHJhaTEAAAADBQAAAAdoYXNoX2lkBQAAAAZudW1lcm8FAAAAAWkAAAAAlcekKw==", "height": 1987903, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: EVW51DXZVMFA3L2SvD6LNkBSFYakLpH9GzpMF4ui5Tys Next: yqWmRE6rAJWebRyNbPJcpzYEP3qGudLro438JACjbEU Diff:
Old | New | Differences | |
---|---|---|---|
225 | 225 | ||
226 | 226 | ||
227 | 227 | @Callable(t) | |
228 | - | func estrazione_seme (au) = { | |
229 | - | let T = 0 | |
230 | - | S(au, T, t) | |
231 | - | } | |
232 | - | ||
233 | - | ||
234 | - | ||
235 | - | @Callable(t) | |
236 | 228 | func dichiarazione_intenti (au,av,aw) = { | |
237 | 229 | let al = "[]" | |
238 | 230 | if (s(t)) | |
241 | 233 | } | |
242 | 234 | ||
243 | 235 | ||
236 | + | ||
237 | + | @Callable(t) | |
238 | + | func estrazione_seme (au) = { | |
239 | + | let T = 0 | |
240 | + | S(au, T, t) | |
241 | + | } | |
242 | + | ||
243 | + |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 10 | |
5 | 5 | ||
6 | 6 | let b = 100 | |
7 | 7 | ||
8 | 8 | let c = " centesimi di bmsCoin. " | |
9 | 9 | ||
10 | 10 | let d = base58'GQqJPRuXvxoyz22DeLqquGcx3cdbYpWi6QdqfQUMbLuf' | |
11 | 11 | ||
12 | 12 | let e = (((("Devi effettuare un pagamento in " + toBase58String(d)) + " di almeno ") + toString(b)) + c) | |
13 | 13 | ||
14 | 14 | let f = "seme_estratto" | |
15 | 15 | ||
16 | 16 | let g = "seed" | |
17 | 17 | ||
18 | 18 | let h = "seed_b16" | |
19 | 19 | ||
20 | 20 | let i = "height_extraction" | |
21 | 21 | ||
22 | 22 | let j = "json" | |
23 | 23 | ||
24 | 24 | let k = "cardinalita" | |
25 | 25 | ||
26 | 26 | let l = "data_richiesta" | |
27 | 27 | ||
28 | 28 | let m = "estrazioni" | |
29 | 29 | ||
30 | 30 | let n = "richiesta" | |
31 | 31 | ||
32 | 32 | let o = "esclusioni" | |
33 | 33 | ||
34 | 34 | let p = "counter" | |
35 | 35 | ||
36 | 36 | let q = "id_richiesta" | |
37 | 37 | ||
38 | 38 | let r = "provider" | |
39 | 39 | ||
40 | 40 | func s (t) = if ((size(t.payments) == 0)) | |
41 | 41 | then throw(e) | |
42 | 42 | else { | |
43 | 43 | let u = t.payments[0] | |
44 | 44 | let v = u.assetId | |
45 | 45 | if ($isInstanceOf(v, "ByteVector")) | |
46 | 46 | then { | |
47 | 47 | let w = v | |
48 | 48 | if ((w == d)) | |
49 | 49 | then (u.amount >= (b * 1000000)) | |
50 | 50 | else false | |
51 | 51 | } | |
52 | 52 | else false | |
53 | 53 | } | |
54 | 54 | ||
55 | 55 | ||
56 | 56 | func x (y,z) = ((("{\"" + y) + "\": \"") + z) | |
57 | 57 | ||
58 | 58 | ||
59 | 59 | func A (y,z) = ((("\", \"" + y) + "\": \"") + z) | |
60 | 60 | ||
61 | 61 | ||
62 | 62 | func B (y,z) = (((("\", \"" + y) + "\": \"") + z) + "\"}") | |
63 | 63 | ||
64 | 64 | ||
65 | 65 | func C (y,D) = { | |
66 | 66 | let E = { | |
67 | 67 | let v = getInteger(this, y) | |
68 | 68 | if ($isInstanceOf(v, "Int")) | |
69 | 69 | then { | |
70 | 70 | let F = v | |
71 | 71 | F | |
72 | 72 | } | |
73 | 73 | else throw(D) | |
74 | 74 | } | |
75 | 75 | E | |
76 | 76 | } | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func G () = { | |
80 | 80 | let H = { | |
81 | 81 | let v = blockInfoByHeight(height) | |
82 | 82 | if ($isInstanceOf(v, "BlockInfo")) | |
83 | 83 | then { | |
84 | 84 | let I = v | |
85 | 85 | I | |
86 | 86 | } | |
87 | 87 | else throw("Alla ricerca del blocco corrente: Blocco non trovato!") | |
88 | 88 | } | |
89 | 89 | H | |
90 | 90 | } | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | func J () = { | |
94 | 94 | let H = { | |
95 | 95 | let v = blockInfoByHeight(height) | |
96 | 96 | if ($isInstanceOf(v, "BlockInfo")) | |
97 | 97 | then { | |
98 | 98 | let I = v | |
99 | 99 | I.timestamp | |
100 | 100 | } | |
101 | 101 | else throw("Alla ricerca del `timestamp`: Blocco non trovato!") | |
102 | 102 | } | |
103 | 103 | H | |
104 | 104 | } | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func K (L) = { | |
108 | 108 | let M = { | |
109 | 109 | let v = L.vrf | |
110 | 110 | if ($isInstanceOf(v, "ByteVector")) | |
111 | 111 | then { | |
112 | 112 | let F = v | |
113 | 113 | F | |
114 | 114 | } | |
115 | 115 | else throw("Alla ricerca del `vrf`: Blocco non trovato o blocco non in versione 5 ritenta.") | |
116 | 116 | } | |
117 | 117 | M | |
118 | 118 | } | |
119 | 119 | ||
120 | 120 | ||
121 | 121 | func N (O,P) = { | |
122 | 122 | let Q = G() | |
123 | 123 | let R = K(Q) | |
124 | 124 | if ((size(R) > 16000)) | |
125 | 125 | then throw(((((("Dimensione di " + toBase16String(R)) + " vale ") + toString(size(R))) + " HASH: ") + toBase16String(sha256_16Kb(sha256_16Kb(R))))) | |
126 | 126 | else sha256_16Kb(sha256_16Kb(R)) | |
127 | 127 | } | |
128 | 128 | ||
129 | 129 | ||
130 | 130 | func S (P,T,t) = { | |
131 | 131 | let U = toString(t.caller) | |
132 | 132 | let V = (((U + "_") + P) + "_") | |
133 | 133 | let W = (V + p) | |
134 | 134 | let X = C(W, "La richiesta fatta non è stata ancora registrata") | |
135 | 135 | let Y = if ((0 >= T)) | |
136 | 136 | then X | |
137 | 137 | else if ((X >= T)) | |
138 | 138 | then T | |
139 | 139 | else throw("Non esiste una richiesta con questo numero") | |
140 | 140 | let Z = ((V + toString(Y)) + "_") | |
141 | 141 | let aa = (Z + f) | |
142 | 142 | let ab = { | |
143 | 143 | let v = getString(this, aa) | |
144 | 144 | if ($isInstanceOf(v, "String")) | |
145 | 145 | then { | |
146 | 146 | let F = v | |
147 | 147 | throw(((("Risultato già presente in blockchain: " + aa) + ": ") + F)) | |
148 | 148 | } | |
149 | 149 | else false | |
150 | 150 | } | |
151 | 151 | if (!(ab)) | |
152 | 152 | then { | |
153 | 153 | let ac = C((Z + i), "Errore generico su dati della richiesta") | |
154 | 154 | if ((ac > height)) | |
155 | 155 | then throw(((("Devi aspettare il blocco " + toString(ac)) + ". siamo al blocco ") + toString(height))) | |
156 | 156 | else { | |
157 | 157 | let ad = (Z + g) | |
158 | 158 | let ae = { | |
159 | 159 | let v = getBinary(this, ad) | |
160 | 160 | if ($isInstanceOf(v, "ByteVector")) | |
161 | 161 | then { | |
162 | 162 | let F = v | |
163 | 163 | F | |
164 | 164 | } | |
165 | 165 | else throw("Seme non trovato. Qualcosa è andata storta!") | |
166 | 166 | } | |
167 | 167 | let af = { | |
168 | 168 | let v = blockInfoByHeight(ac) | |
169 | 169 | if ($isInstanceOf(v, "BlockInfo")) | |
170 | 170 | then { | |
171 | 171 | let H = v | |
172 | 172 | H | |
173 | 173 | } | |
174 | 174 | else throw("Errore: Il blocco di estrazione non esiste") | |
175 | 175 | } | |
176 | 176 | let ag = { | |
177 | 177 | let v = af.vrf | |
178 | 178 | if ($isInstanceOf(v, "ByteVector")) | |
179 | 179 | then { | |
180 | 180 | let F = v | |
181 | 181 | F | |
182 | 182 | } | |
183 | 183 | else throw("Blocco non in versione 5 ritenta.") | |
184 | 184 | } | |
185 | 185 | let R = (((ae + af.generationSignature) + af.generatorPublicKey) + K(af)) | |
186 | 186 | let ah = toBase16String(sha256_16Kb(sha256_16Kb(R))) | |
187 | 187 | let ai = toString(C((Z + k), "Errore lettura cardinalità")) | |
188 | 188 | let aj = toString(C((Z + l), "Errore lettura DataRichiesta")) | |
189 | 189 | let ak = toString(C((Z + m), "Errore lettura Estrazioni")) | |
190 | 190 | let al = { | |
191 | 191 | let v = getString(this, (Z + o)) | |
192 | 192 | if ($isInstanceOf(v, "String")) | |
193 | 193 | then { | |
194 | 194 | let F = v | |
195 | 195 | F | |
196 | 196 | } | |
197 | 197 | else throw("Errore: elenco esclusioni non presente") | |
198 | 198 | } | |
199 | 199 | let am = ((((((((((x(q, toString(Y)) + A(p, toString(X))) + A(r, U)) + A(n, P)) + A(k, ai)) + A(m, ak)) + A(o, al)) + A(l, aj)) + A(h, toBase16String(ae))) + A(i, toString(ac))) + B(f, ah)) | |
200 | 200 | [StringEntry((Z + j), am), StringEntry(aa, ah)] | |
201 | 201 | } | |
202 | 202 | } | |
203 | 203 | else throw("Errore: non dovresti passare da quì") | |
204 | 204 | } | |
205 | 205 | ||
206 | 206 | ||
207 | 207 | func an (P,ao,ap,al,t) = { | |
208 | 208 | let V = (((toString(t.caller) + "_") + P) + "_") | |
209 | 209 | let W = (V + p) | |
210 | 210 | let aq = { | |
211 | 211 | let v = getInteger(this, W) | |
212 | 212 | if ($isInstanceOf(v, "Int")) | |
213 | 213 | then { | |
214 | 214 | let ar = v | |
215 | 215 | (ar + 1) | |
216 | 216 | } | |
217 | 217 | else 1 | |
218 | 218 | } | |
219 | 219 | let Z = ((V + toString(aq)) + "_") | |
220 | 220 | let ae = N(t, (((P + toString(ao)) + toString(ap)) + al)) | |
221 | 221 | let as = J() | |
222 | 222 | let at = (height + a) | |
223 | 223 | [IntegerEntry(W, aq), IntegerEntry((Z + i), at), IntegerEntry((Z + k), ao), IntegerEntry((Z + m), ap), IntegerEntry((Z + l), as), BinaryEntry((Z + g), ae), StringEntry((Z + h), toBase16String(ae)), StringEntry((Z + o), al), StringEntry((Z + n), P)] | |
224 | 224 | } | |
225 | 225 | ||
226 | 226 | ||
227 | 227 | @Callable(t) | |
228 | - | func estrazione_seme (au) = { | |
229 | - | let T = 0 | |
230 | - | S(au, T, t) | |
231 | - | } | |
232 | - | ||
233 | - | ||
234 | - | ||
235 | - | @Callable(t) | |
236 | 228 | func dichiarazione_intenti (au,av,aw) = { | |
237 | 229 | let al = "[]" | |
238 | 230 | if (s(t)) | |
239 | 231 | then an(au, av, aw, al, t) | |
240 | 232 | else throw(e) | |
241 | 233 | } | |
242 | 234 | ||
243 | 235 | ||
236 | + | ||
237 | + | @Callable(t) | |
238 | + | func estrazione_seme (au) = { | |
239 | + | let T = 0 | |
240 | + | S(au, T, t) | |
241 | + | } | |
242 | + | ||
243 | + |
github/deemru/w8io/169f3d6 42.21 ms ◑