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