tx · 7SMVkFJjSib5nYyzbw1pUppjpaN9abX2EyVPUSKcMVEk
3NBLhM7i817HXNmUfMtuSmXNn67FvCrZqXw: -0.01400000 Waves
2019.01.16 16:47 [452643] smart account 3NBLhM7i817HXNmUfMtuSmXNn67FvCrZqXw > SELF 0.00000000 Waves
{
"type": 13,
"id": "7SMVkFJjSib5nYyzbw1pUppjpaN9abX2EyVPUSKcMVEk",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1547646457529,
"version": 1,
"sender": "3NBLhM7i817HXNmUfMtuSmXNn67FvCrZqXw",
"senderPublicKey": "CraQbwqtaZQENZfzqHN11a2iqMjHnDRpw58iLLTYbdCC",
"proofs": [
"45ccE4eoihZpSoV2J4GhiWKyLPBNVGTn9k5YAz4VzWzrx8YxeKN5QpWkATYPfkRVfnEKYA7PyVWgLc2zqQ54ChUX"
],
"script": null,
"chainId": 84,
"height": 452643,
"spentComplexity": 0
}
View: original | compacted
Prev: 8eN4X56aKLjpFpsUuwssuNhj1QLYoLeWbA6gVhf66ccb
Next: BgPBnxbszV7GjLJAiw89otZLtFsRxZmzKzDQtKymMaTr
Full:
Old | New | | Differences |
---|
1 | | - | {-# STDLIB_VERSION 1 #-} |
---|
2 | | - | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | | - | let lotto = extract(tx.senderPublicKey) |
---|
4 | | - | let lottoTicket = base58'HdsJ9SFENUBseSk7gEQuwNL9QbPvV63AEiLnMLiSbFQL' |
---|
5 | | - | let txSig = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
6 | | - | match tx { |
---|
7 | | - | case o: Order => |
---|
8 | | - | if (if (!(isDefined(o.assetPair.priceAsset))) |
---|
9 | | - | then (o.assetPair.amountAsset == lottoTicket) |
---|
10 | | - | else false) |
---|
11 | | - | then if ((o.price == 100000000)) |
---|
12 | | - | then (txSig == true) |
---|
13 | | - | else { |
---|
14 | | - | let randomByte = take(o.proofs[0], 1) |
---|
15 | | - | let rbs = toBase58String(randomByte) |
---|
16 | | - | let luck = if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((rbs == "1")) |
---|
17 | | - | then true |
---|
18 | | - | else (rbs == "2")) |
---|
19 | | - | then true |
---|
20 | | - | else (rbs == "3")) |
---|
21 | | - | then true |
---|
22 | | - | else (rbs == "4")) |
---|
23 | | - | then true |
---|
24 | | - | else (rbs == "5")) |
---|
25 | | - | then true |
---|
26 | | - | else (rbs == "6")) |
---|
27 | | - | then true |
---|
28 | | - | else (rbs == "7")) |
---|
29 | | - | then true |
---|
30 | | - | else (rbs == "8")) |
---|
31 | | - | then true |
---|
32 | | - | else (rbs == "9")) |
---|
33 | | - | then true |
---|
34 | | - | else (rbs == "A")) |
---|
35 | | - | then true |
---|
36 | | - | else (rbs == "B")) |
---|
37 | | - | then true |
---|
38 | | - | else (rbs == "C")) |
---|
39 | | - | then true |
---|
40 | | - | else (rbs == "D")) |
---|
41 | | - | then true |
---|
42 | | - | else (rbs == "E")) |
---|
43 | | - | then true |
---|
44 | | - | else (rbs == "F")) |
---|
45 | | - | then true |
---|
46 | | - | else (rbs == "G")) |
---|
47 | | - | then true |
---|
48 | | - | else (rbs == "H")) |
---|
49 | | - | then true |
---|
50 | | - | else (rbs == "J")) |
---|
51 | | - | then true |
---|
52 | | - | else (rbs == "K")) |
---|
53 | | - | then true |
---|
54 | | - | else (rbs == "L")) |
---|
55 | | - | then true |
---|
56 | | - | else (rbs == "M")) |
---|
57 | | - | then true |
---|
58 | | - | else (rbs == "N")) |
---|
59 | | - | then true |
---|
60 | | - | else (rbs == "P")) |
---|
61 | | - | then true |
---|
62 | | - | else (rbs == "Q")) |
---|
63 | | - | then true |
---|
64 | | - | else (rbs == "R")) |
---|
65 | | - | then true |
---|
66 | | - | else (rbs == "S")) |
---|
67 | | - | then true |
---|
68 | | - | else (rbs == "T")) |
---|
69 | | - | then true |
---|
70 | | - | else (rbs == "U")) |
---|
71 | | - | then true |
---|
72 | | - | else (rbs == "V")) |
---|
73 | | - | then true |
---|
74 | | - | else (rbs == "W")) |
---|
75 | | - | then true |
---|
76 | | - | else (rbs == "X")) |
---|
77 | | - | then true |
---|
78 | | - | else (rbs == "Y")) |
---|
79 | | - | then true |
---|
80 | | - | else (rbs == "Z")) |
---|
81 | | - | then true |
---|
82 | | - | else (rbs == "a")) |
---|
83 | | - | then true |
---|
84 | | - | else (rbs == "b")) |
---|
85 | | - | then true |
---|
86 | | - | else (rbs == "c")) |
---|
87 | | - | then true |
---|
88 | | - | else (rbs == "d")) |
---|
89 | | - | then true |
---|
90 | | - | else (rbs == "e")) |
---|
91 | | - | then true |
---|
92 | | - | else (rbs == "f")) |
---|
93 | | - | then true |
---|
94 | | - | else (rbs == "g")) |
---|
95 | | - | then true |
---|
96 | | - | else (rbs == "h")) |
---|
97 | | - | then true |
---|
98 | | - | else (rbs == "i")) |
---|
99 | | - | then true |
---|
100 | | - | else (rbs == "j")) |
---|
101 | | - | then true |
---|
102 | | - | else (rbs == "k")) |
---|
103 | | - | then true |
---|
104 | | - | else (rbs == "m")) |
---|
105 | | - | then true |
---|
106 | | - | else (rbs == "n")) |
---|
107 | | - | then true |
---|
108 | | - | else (rbs == "o")) |
---|
109 | | - | then true |
---|
110 | | - | else (rbs == "p")) |
---|
111 | | - | then true |
---|
112 | | - | else (rbs == "q")) |
---|
113 | | - | then true |
---|
114 | | - | else (rbs == "r")) |
---|
115 | | - | then true |
---|
116 | | - | else (rbs == "s")) |
---|
117 | | - | then true |
---|
118 | | - | else (rbs == "t")) |
---|
119 | | - | then true |
---|
120 | | - | else (rbs == "u")) |
---|
121 | | - | then true |
---|
122 | | - | else (rbs == "v")) |
---|
123 | | - | then true |
---|
124 | | - | else (rbs == "w")) |
---|
125 | | - | then true |
---|
126 | | - | else (rbs == "x")) |
---|
127 | | - | then true |
---|
128 | | - | else (rbs == "y")) |
---|
129 | | - | then true |
---|
130 | | - | else (rbs == "z")) |
---|
131 | | - | then true |
---|
132 | | - | else (rbs == "21")) |
---|
133 | | - | then true |
---|
134 | | - | else (rbs == "22")) |
---|
135 | | - | then true |
---|
136 | | - | else (rbs == "23")) |
---|
137 | | - | then true |
---|
138 | | - | else (rbs == "24")) |
---|
139 | | - | then true |
---|
140 | | - | else (rbs == "25")) |
---|
141 | | - | then true |
---|
142 | | - | else (rbs == "26")) |
---|
143 | | - | then true |
---|
144 | | - | else (rbs == "27")) |
---|
145 | | - | then true |
---|
146 | | - | else (rbs == "28")) |
---|
147 | | - | then true |
---|
148 | | - | else (rbs == "29")) |
---|
149 | | - | then true |
---|
150 | | - | else (rbs == "2A")) |
---|
151 | | - | then true |
---|
152 | | - | else (rbs == "2B")) |
---|
153 | | - | then true |
---|
154 | | - | else (rbs == "2C")) |
---|
155 | | - | then true |
---|
156 | | - | else (rbs == "2D")) |
---|
157 | | - | then true |
---|
158 | | - | else (rbs == "2E")) |
---|
159 | | - | then true |
---|
160 | | - | else (rbs == "2F")) |
---|
161 | | - | then true |
---|
162 | | - | else (rbs == "2G")) |
---|
163 | | - | then true |
---|
164 | | - | else (rbs == "2H")) |
---|
165 | | - | then true |
---|
166 | | - | else (rbs == "2J")) |
---|
167 | | - | then true |
---|
168 | | - | else (rbs == "2K")) |
---|
169 | | - | then true |
---|
170 | | - | else (rbs == "2L")) |
---|
171 | | - | then true |
---|
172 | | - | else (rbs == "2M")) |
---|
173 | | - | then true |
---|
174 | | - | else (rbs == "2N")) |
---|
175 | | - | then true |
---|
176 | | - | else (rbs == "2P")) |
---|
177 | | - | then true |
---|
178 | | - | else (rbs == "2Q")) |
---|
179 | | - | then true |
---|
180 | | - | else (rbs == "2R")) |
---|
181 | | - | then true |
---|
182 | | - | else (rbs == "2S")) |
---|
183 | | - | then true |
---|
184 | | - | else (rbs == "2T")) |
---|
185 | | - | then true |
---|
186 | | - | else (rbs == "2U")) |
---|
187 | | - | then true |
---|
188 | | - | else (rbs == "2V")) |
---|
189 | | - | then true |
---|
190 | | - | else (rbs == "2W")) |
---|
191 | | - | then true |
---|
192 | | - | else (rbs == "2X")) |
---|
193 | | - | then true |
---|
194 | | - | else (rbs == "2Y")) |
---|
195 | | - | then true |
---|
196 | | - | else (rbs == "2Z")) |
---|
197 | | - | then true |
---|
198 | | - | else (rbs == "2a")) |
---|
199 | | - | then true |
---|
200 | | - | else (rbs == "2b")) |
---|
201 | | - | then true |
---|
202 | | - | else (rbs == "2c")) |
---|
203 | | - | then true |
---|
204 | | - | else (rbs == "2d")) |
---|
205 | | - | then true |
---|
206 | | - | else (rbs == "2e")) |
---|
207 | | - | then true |
---|
208 | | - | else (rbs == "2f")) |
---|
209 | | - | then true |
---|
210 | | - | else (rbs == "2g")) |
---|
211 | | - | then true |
---|
212 | | - | else (rbs == "2h")) |
---|
213 | | - | then true |
---|
214 | | - | else (rbs == "2i")) |
---|
215 | | - | then true |
---|
216 | | - | else (rbs == "2j")) |
---|
217 | | - | then true |
---|
218 | | - | else (rbs == "2k")) |
---|
219 | | - | then true |
---|
220 | | - | else (rbs == "2m")) |
---|
221 | | - | then true |
---|
222 | | - | else (rbs == "2n")) |
---|
223 | | - | then true |
---|
224 | | - | else (rbs == "2o")) |
---|
225 | | - | then true |
---|
226 | | - | else (rbs == "2p")) |
---|
227 | | - | then true |
---|
228 | | - | else (rbs == "2q")) |
---|
229 | | - | then true |
---|
230 | | - | else (rbs == "2r")) |
---|
231 | | - | then true |
---|
232 | | - | else (rbs == "2s")) |
---|
233 | | - | then true |
---|
234 | | - | else (rbs == "2t")) |
---|
235 | | - | then true |
---|
236 | | - | else (rbs == "2u")) |
---|
237 | | - | then true |
---|
238 | | - | else (rbs == "2v")) |
---|
239 | | - | then true |
---|
240 | | - | else (rbs == "2w")) |
---|
241 | | - | then true |
---|
242 | | - | else (rbs == "2x")) |
---|
243 | | - | then true |
---|
244 | | - | else (rbs == "2y")) |
---|
245 | | - | then true |
---|
246 | | - | else (rbs == "2z")) |
---|
247 | | - | then true |
---|
248 | | - | else (rbs == "31")) |
---|
249 | | - | then true |
---|
250 | | - | else (rbs == "32")) |
---|
251 | | - | then true |
---|
252 | | - | else (rbs == "33")) |
---|
253 | | - | then true |
---|
254 | | - | else (rbs == "34") |
---|
255 | | - | (luck == true) |
---|
256 | | - | } |
---|
257 | | - | else (txSig == true) |
---|
258 | | - | case _ => |
---|
259 | | - | (txSig == true) |
---|
260 | | - | } |
---|
| 1 | + | # no script |
---|