tx · FCy3TUerdTAnccVPyVum3C8xZzs1TPMomxhWoTzAtjh5 3MxJx6npysQdoyyxLsCCb3Yg8fTeH3gEQQd: -0.01100000 Waves 2023.12.10 03:33 [2879849] smart account 3MxJx6npysQdoyyxLsCCb3Yg8fTeH3gEQQd > SELF 0.00000000 Waves
{ "type": 13, "id": "FCy3TUerdTAnccVPyVum3C8xZzs1TPMomxhWoTzAtjh5", "fee": 1100000, "feeAssetId": null, "timestamp": 1702168446032, "version": 2, "chainId": 84, "sender": "3MxJx6npysQdoyyxLsCCb3Yg8fTeH3gEQQd", "senderPublicKey": "EEhsp9Jd5MwVmYJMGAZJL3tTb5KcurTz8Aw7wksZuw3e", "proofs": [ "3zg8UPvcXxWfvAYGntV4n4WV5zSDKHYjMgvKr3xU5PGWGVsTBTwyRP3ZMZGzseGHLBBjD1hodhHGhEE1ZYTokPwY" ], "script": "base64:AAIDAAAAAAAAACYIARIDCgEIEgASBQoDCAEIEgQKAggIEgUKAwgICBIAEgASAwoBAQAAACEAAAAACmFjYzFQdWJLZXkBAAAAINoqzDs5WpVhYDTUvUDFMunBHoYto6DfGaP0KadDFYl5AAAAAAphY2MyUHViS2V5AQAAACDEqrME/jjBGs4Mrxcvf2rYimlLp6n4e/JFPZGNpxSDUQAAAAAKYWNjM1B1YktleQEAAAAgUNvEPKDCChp09z9n6F1NbPXldSbE9+5rrmMBqTTu7wMAAAAABE5PTkUCAAAABG5vbmUAAAAAB0JBTEFOQ0UCAAAACGJhbGFuY2VfAAAAAAZWT1RFUlMAAAAAAAAAAAMAAAAABlFVT1JVTQAAAAAAAAAAAgAAAAAGVk9USU5HAgAAAAZ2b3RpbmcAAAAABlJFVkVBTAIAAAAGcmV2ZWFsAAAAAAhGRUFUVVJFRAIAAAAIZmVhdHVyZWQAAAAACERFTElTVEVEAgAAAAhkZWxpc3RlZAEAAAAOZ2V0TnVtYmVyQnlLZXkAAAABAAAAA2tleQQAAAADbnVtBAAAAAckbWF0Y2gwCQAEGgAAAAIF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52b2tlU2NyaXB0VHJhbnNhY3Rpb24EAAAAAWQFAAAAByRtYXRjaDAGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABBJc3N1ZVRyYW5zYWN0aW9uBAAAAAFkBQAAAAckbWF0Y2gwCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAASUmVpc3N1ZVRyYW5zYWN0aW9uBAAAAAFkBQAAAAckbWF0Y2gwCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQc10Cp7", "height": 2879849, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BJxjXbAay3qtauBrTbnWVQHvBHTALdoWYcVcsSBAG1j9 Next: 49WRt7adAnCwahufxzZaRqU5cYcC6gbpw7CeybRXHGKc Diff:
Old | New | Differences | |
---|---|---|---|
356 | 356 | true | |
357 | 357 | case d: IssueTransaction => | |
358 | 358 | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
359 | + | case d: ReissueTransaction => | |
360 | + | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
359 | 361 | case _ => | |
360 | 362 | false | |
361 | 363 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let acc1PubKey = base58'FgdjGJ4tLFiavKEKf4WkWwkgvU8ARWP1WYZfmUrXo4CY' | |
5 | 5 | ||
6 | 6 | let acc2PubKey = base58'EEhsp9Jd5MwVmYJMGAZJL3tTb5KcurTz8Aw7wksZuw3e' | |
7 | 7 | ||
8 | 8 | let acc3PubKey = base58'6SdykacJeMCbeNvVJY71gWMJeXt9ZT44X4KexwZxHEYz' | |
9 | 9 | ||
10 | 10 | let NONE = "none" | |
11 | 11 | ||
12 | 12 | let BALANCE = "balance_" | |
13 | 13 | ||
14 | 14 | let VOTERS = 3 | |
15 | 15 | ||
16 | 16 | let QUORUM = 2 | |
17 | 17 | ||
18 | 18 | let VOTING = "voting" | |
19 | 19 | ||
20 | 20 | let REVEAL = "reveal" | |
21 | 21 | ||
22 | 22 | let FEATURED = "featured" | |
23 | 23 | ||
24 | 24 | let DELISTED = "delisted" | |
25 | 25 | ||
26 | 26 | func getNumberByKey (key) = { | |
27 | 27 | let num = match getInteger(this, key) { | |
28 | 28 | case a: Int => | |
29 | 29 | a | |
30 | 30 | case _ => | |
31 | 31 | 0 | |
32 | 32 | } | |
33 | 33 | num | |
34 | 34 | } | |
35 | 35 | ||
36 | 36 | ||
37 | 37 | func getStrByKey (key) = { | |
38 | 38 | let str = match getString(this, key) { | |
39 | 39 | case a: String => | |
40 | 40 | a | |
41 | 41 | case _ => | |
42 | 42 | NONE | |
43 | 43 | } | |
44 | 44 | str | |
45 | 45 | } | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | func getKeyItemPrice (item) = (item + "_price") | |
49 | 49 | ||
50 | 50 | ||
51 | 51 | func getValueItemPrice (item) = getNumberByKey(getKeyItemPrice(item)) | |
52 | 52 | ||
53 | 53 | ||
54 | 54 | func getKeyUserItemCounter (user,item) = (((item + "_") + user) + "_cnt") | |
55 | 55 | ||
56 | 56 | ||
57 | 57 | func getValueUserItemCounter (user,item) = getNumberByKey(getKeyUserItemCounter(user, item)) | |
58 | 58 | ||
59 | 59 | ||
60 | 60 | func getKeyItem (supplier,title) = ("item_" + toBase58String(sha256(toBytes((supplier + title))))) | |
61 | 61 | ||
62 | 62 | ||
63 | 63 | func getKeyItemData (item) = (item + "_data") | |
64 | 64 | ||
65 | 65 | ||
66 | 66 | func getKeyItemSupplier (item) = (item + "_owner") | |
67 | 67 | ||
68 | 68 | ||
69 | 69 | func getValueItemSupplier (item) = getStrByKey(getKeyItemSupplier(item)) | |
70 | 70 | ||
71 | 71 | ||
72 | 72 | func getKeyBalanceSupplier (account) = (account + "_balance") | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | func getValueBalanceSupplier (account) = getNumberByKey(getKeyBalanceSupplier(account)) | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | func getKeyCommit (item,user) = (((item + "_") + user) + "_commit") | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | func getValueCommit (item,user) = getStrByKey(getKeyCommit(item, user)) | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | func getKeyCommitsCount (item) = (item + "_comcnt") | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | func getValueCommitsCount (item) = getNumberByKey(getKeyCommitsCount(item)) | |
88 | 88 | ||
89 | 89 | ||
90 | 90 | func getKeyReveal (item,user) = (((item + "_") + user) + "_reveal") | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | func getValueReveal (item,user) = getStrByKey(getKeyReveal(item, user)) | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | func getKeyItemStatus (item) = (item + "_status") | |
97 | 97 | ||
98 | 98 | ||
99 | 99 | func getValueItemStatus (item) = getStrByKey(getKeyItemStatus(item)) | |
100 | 100 | ||
101 | 101 | ||
102 | 102 | func getKeyVoteCount (item,vote) = ((item + "_res:") + vote) | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | func getValueVoteCount (item,vote) = getNumberByKey(getKeyVoteCount(item, vote)) | |
106 | 106 | ||
107 | 107 | ||
108 | 108 | @Callable(i) | |
109 | 109 | func purchase (item) = { | |
110 | 110 | let pmt = extract(i.payment) | |
111 | 111 | if (isDefined(pmt.assetId)) | |
112 | 112 | then throw("WAVES tokens only at the moment") | |
113 | 113 | else { | |
114 | 114 | let userAddress = toBase58String(i.caller.bytes) | |
115 | 115 | let price = getValueItemPrice(item) | |
116 | 116 | let supplierAddrss = getValueItemSupplier(item) | |
117 | 117 | if ((price > pmt.amount)) | |
118 | 118 | then throw("purchase amount cannot be less than item price") | |
119 | 119 | else if ((pmt.amount > price)) | |
120 | 120 | then throw("purchase amount cannot be higher than item price") | |
121 | 121 | else if ((supplierAddrss == NONE)) | |
122 | 122 | then throw("supplier does not exist") | |
123 | 123 | else WriteSet([DataEntry(getKeyUserItemCounter(userAddress, item), (getValueUserItemCounter(userAddress, item) + 1)), DataEntry(getKeyBalanceSupplier(supplierAddrss), (getValueBalanceSupplier(supplierAddrss) + pmt.amount))]) | |
124 | 124 | } | |
125 | 125 | } | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | ||
129 | 129 | @Callable(i) | |
130 | 130 | func withdraw () = { | |
131 | 131 | let supplierAddress = toBase58String(i.caller.bytes) | |
132 | 132 | let balance = getValueBalanceSupplier(supplierAddress) | |
133 | 133 | if ((0 >= balance)) | |
134 | 134 | then throw("insufficient balance") | |
135 | 135 | else ScriptResult(WriteSet([DataEntry(getKeyBalanceSupplier(supplierAddress), 0)]), TransferSet([ScriptTransfer(addressFromStringValue(supplierAddress), balance, unit)])) | |
136 | 136 | } | |
137 | 137 | ||
138 | 138 | ||
139 | 139 | ||
140 | 140 | @Callable(i) | |
141 | 141 | func addItem (title,price,data) = { | |
142 | 142 | let supplierAddress = toBase58String(i.caller.bytes) | |
143 | 143 | let item = getKeyItem(supplierAddress, title) | |
144 | 144 | if ((0 >= price)) | |
145 | 145 | then throw("purchase amount cannot be less than item price") | |
146 | 146 | else if ((getValueItemSupplier(item) != NONE)) | |
147 | 147 | then throw("an item is already exist") | |
148 | 148 | else WriteSet([DataEntry(getKeyItemSupplier(item), supplierAddress), DataEntry(getKeyItemPrice(item), price), DataEntry(getKeyItemData(item), data)]) | |
149 | 149 | } | |
150 | 150 | ||
151 | 151 | ||
152 | 152 | ||
153 | 153 | @Callable(i) | |
154 | 154 | func voteCommit (item,hash) = { | |
155 | 155 | let user = toBase58String(i.caller.bytes) | |
156 | 156 | let commits = getValueCommitsCount(item) | |
157 | 157 | let status = getValueItemStatus(item) | |
158 | 158 | if ((commits >= VOTERS)) | |
159 | 159 | then throw("reached max num of voters") | |
160 | 160 | else if ((getValueCommit(item, user) != NONE)) | |
161 | 161 | then throw("user has already uch") | |
162 | 162 | else if ((getKeyItemSupplier(item) == NONE)) | |
163 | 163 | then throw("item does not exist") | |
164 | 164 | else if (if ((status != NONE)) | |
165 | 165 | then (status != VOTING) | |
166 | 166 | else false) | |
167 | 167 | then throw("voting is not possible") | |
168 | 168 | else WriteSet([DataEntry(getKeyCommit(item, user), hash), DataEntry(getKeyCommitsCount(item), (commits + 1)), DataEntry(getKeyItemStatus(item), if ((commits == VOTERS)) | |
169 | 169 | then REVEAL | |
170 | 170 | else VOTING)]) | |
171 | 171 | } | |
172 | 172 | ||
173 | 173 | ||
174 | 174 | ||
175 | 175 | @Callable(i) | |
176 | 176 | func voteReveal (item,vote,salt) = { | |
177 | 177 | let user = toBase58String(i.caller.bytes) | |
178 | 178 | let status = getValueItemStatus(item) | |
179 | 179 | let newVoteCount = (getValueVoteCount(item, vote) + 1) | |
180 | 180 | if ((toBase58String(sha256(toBytes((vote + salt)))) != getValueCommit(item, user))) | |
181 | 181 | then throw("reveal data is not valid") | |
182 | 182 | else if ((VOTERS > getValueCommitsCount(item))) | |
183 | 183 | then throw("max num of voters hasn't reached yet") | |
184 | 184 | else if ((getValueReveal(item, user) != NONE)) | |
185 | 185 | then throw("user has already participated") | |
186 | 186 | else if (if ((status != VOTING)) | |
187 | 187 | then (status != REVEAL) | |
188 | 188 | else false) | |
189 | 189 | then throw("wrong status") | |
190 | 190 | else if (if ((vote != FEATURED)) | |
191 | 191 | then (vote != DELISTED) | |
192 | 192 | else false) | |
193 | 193 | then throw("vote has finished") | |
194 | 194 | else WriteSet([DataEntry(getKeyReveal(item, user), vote), DataEntry(getKeyVoteCount(item, vote), newVoteCount), DataEntry(getKeyItemStatus(item), if ((newVoteCount >= QUORUM)) | |
195 | 195 | then vote | |
196 | 196 | else REVEAL)]) | |
197 | 197 | } | |
198 | 198 | ||
199 | 199 | ||
200 | 200 | ||
201 | 201 | @Callable(i) | |
202 | 202 | func x_purchase () = { | |
203 | 203 | let pmt = extract(i.payment) | |
204 | 204 | if (isDefined(pmt.assetId)) | |
205 | 205 | then throw("can use WAVES only at the moment") | |
206 | 206 | else { | |
207 | 207 | let customerAddress = toBase58String(i.caller.bytes) | |
208 | 208 | let price = match getInteger(this, "item_A_coupon_price") { | |
209 | 209 | case a: Int => | |
210 | 210 | a | |
211 | 211 | case _ => | |
212 | 212 | 0 | |
213 | 213 | } | |
214 | 214 | if ((price > pmt.amount)) | |
215 | 215 | then throw("purchase amount cannot be less than item price") | |
216 | 216 | else if ((pmt.amount > price)) | |
217 | 217 | then throw("purchase amount cannot be higher than item price") | |
218 | 218 | else WriteSet([DataEntry(("status:purchase_item_A_customer_" + customerAddress), "confirmed"), DataEntry(("price:purchase_item_A_customer_" + customerAddress), price)]) | |
219 | 219 | } | |
220 | 220 | } | |
221 | 221 | ||
222 | 222 | ||
223 | 223 | ||
224 | 224 | @Callable(i) | |
225 | 225 | func deposit () = { | |
226 | 226 | let pmt = extract(i.payment) | |
227 | 227 | if (isDefined(pmt.assetId)) | |
228 | 228 | then throw("can hodl waves only at the moment") | |
229 | 229 | else { | |
230 | 230 | let currentKey = toBase58String(i.caller.bytes) | |
231 | 231 | let currentAmount = match getInteger(this, currentKey) { | |
232 | 232 | case a: Int => | |
233 | 233 | a | |
234 | 234 | case _ => | |
235 | 235 | 0 | |
236 | 236 | } | |
237 | 237 | let wlStsCurr = match getString(this, ("wl_sts_" + currentKey)) { | |
238 | 238 | case a: String => | |
239 | 239 | a | |
240 | 240 | case _ => | |
241 | 241 | throw("User has not deen waitlisted") | |
242 | 242 | } | |
243 | 243 | let newAmount = (currentAmount + pmt.amount) | |
244 | 244 | WriteSet([DataEntry((BALANCE + currentKey), newAmount)]) | |
245 | 245 | } | |
246 | 246 | } | |
247 | 247 | ||
248 | 248 | ||
249 | 249 | ||
250 | 250 | @Callable(i) | |
251 | 251 | func x_withdraw (amount) = { | |
252 | 252 | let currentKey = toBase58String(i.caller.bytes) | |
253 | 253 | let currentAmount = match getInteger(this, (BALANCE + currentKey)) { | |
254 | 254 | case a: Int => | |
255 | 255 | a | |
256 | 256 | case _ => | |
257 | 257 | 0 | |
258 | 258 | } | |
259 | 259 | let newAmount = (currentAmount - amount) | |
260 | 260 | if ((0 > amount)) | |
261 | 261 | then throw("Can't withdraw negative amount") | |
262 | 262 | else if ((0 > newAmount)) | |
263 | 263 | then throw("Not enough balance") | |
264 | 264 | else ScriptResult(WriteSet([DataEntry((BALANCE + currentKey), newAmount)]), TransferSet([ScriptTransfer(i.caller, amount, unit)])) | |
265 | 265 | } | |
266 | 266 | ||
267 | 267 | ||
268 | 268 | @Verifier(tx) | |
269 | 269 | func verify () = { | |
270 | 270 | let acc1_1 = sigVerify(tx.bodyBytes, tx.proofs[0], acc1PubKey) | |
271 | 271 | let acc1_2 = sigVerify(tx.bodyBytes, tx.proofs[1], acc1PubKey) | |
272 | 272 | let acc1_3 = sigVerify(tx.bodyBytes, tx.proofs[2], acc1PubKey) | |
273 | 273 | let acc2_1 = sigVerify(tx.bodyBytes, tx.proofs[0], acc2PubKey) | |
274 | 274 | let acc2_2 = sigVerify(tx.bodyBytes, tx.proofs[1], acc2PubKey) | |
275 | 275 | let acc2_3 = sigVerify(tx.bodyBytes, tx.proofs[2], acc2PubKey) | |
276 | 276 | let acc3_1 = sigVerify(tx.bodyBytes, tx.proofs[0], acc3PubKey) | |
277 | 277 | let acc3_2 = sigVerify(tx.bodyBytes, tx.proofs[1], acc3PubKey) | |
278 | 278 | let acc3_3 = sigVerify(tx.bodyBytes, tx.proofs[2], acc3PubKey) | |
279 | 279 | let acc1acc2 = if (if (if (if (if (if (acc1_1) | |
280 | 280 | then acc2_2 | |
281 | 281 | else false) | |
282 | 282 | then true | |
283 | 283 | else if (acc1_1) | |
284 | 284 | then acc2_3 | |
285 | 285 | else false) | |
286 | 286 | then true | |
287 | 287 | else if (acc1_2) | |
288 | 288 | then acc2_1 | |
289 | 289 | else false) | |
290 | 290 | then true | |
291 | 291 | else if (acc1_2) | |
292 | 292 | then acc2_3 | |
293 | 293 | else false) | |
294 | 294 | then true | |
295 | 295 | else if (acc1_3) | |
296 | 296 | then acc2_1 | |
297 | 297 | else false) | |
298 | 298 | then true | |
299 | 299 | else if (acc1_3) | |
300 | 300 | then acc2_2 | |
301 | 301 | else false | |
302 | 302 | let acc1acc3 = if (if (if (if (if (if (acc1_1) | |
303 | 303 | then acc3_2 | |
304 | 304 | else false) | |
305 | 305 | then true | |
306 | 306 | else if (acc1_1) | |
307 | 307 | then acc3_3 | |
308 | 308 | else false) | |
309 | 309 | then true | |
310 | 310 | else if (acc1_2) | |
311 | 311 | then acc3_1 | |
312 | 312 | else false) | |
313 | 313 | then true | |
314 | 314 | else if (acc1_2) | |
315 | 315 | then acc3_3 | |
316 | 316 | else false) | |
317 | 317 | then true | |
318 | 318 | else if (acc1_3) | |
319 | 319 | then acc3_1 | |
320 | 320 | else false) | |
321 | 321 | then true | |
322 | 322 | else if (acc1_3) | |
323 | 323 | then acc3_2 | |
324 | 324 | else false | |
325 | 325 | let acc2acc3 = if (if (if (if (if (if (acc3_1) | |
326 | 326 | then acc2_2 | |
327 | 327 | else false) | |
328 | 328 | then true | |
329 | 329 | else if (acc3_1) | |
330 | 330 | then acc2_3 | |
331 | 331 | else false) | |
332 | 332 | then true | |
333 | 333 | else if (acc3_2) | |
334 | 334 | then acc2_1 | |
335 | 335 | else false) | |
336 | 336 | then true | |
337 | 337 | else if (acc3_2) | |
338 | 338 | then acc2_3 | |
339 | 339 | else false) | |
340 | 340 | then true | |
341 | 341 | else if (acc3_3) | |
342 | 342 | then acc2_1 | |
343 | 343 | else false) | |
344 | 344 | then true | |
345 | 345 | else if (acc3_3) | |
346 | 346 | then acc2_2 | |
347 | 347 | else false | |
348 | 348 | match tx { | |
349 | 349 | case d: SetScriptTransaction => | |
350 | 350 | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
351 | 351 | case d: DataTransaction => | |
352 | 352 | true | |
353 | 353 | case d: TransferTransaction => | |
354 | 354 | true | |
355 | 355 | case d: InvokeScriptTransaction => | |
356 | 356 | true | |
357 | 357 | case d: IssueTransaction => | |
358 | 358 | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
359 | + | case d: ReissueTransaction => | |
360 | + | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
359 | 361 | case _ => | |
360 | 362 | false | |
361 | 363 | } | |
362 | 364 | } | |
363 | 365 |
github/deemru/w8io/169f3d6 353.82 ms ◑