tx · 6sDjuS2KxGc5vN1a1cLRP33wMk7stgq3sAvBtgTT2kef 3N2EM5HFgf6UMBnvcJX3Cegmozwdv1iDeq2: -0.01500000 Waves 2019.10.12 12:11 [716475] smart account 3N2EM5HFgf6UMBnvcJX3Cegmozwdv1iDeq2 > SELF 0.00000000 Waves
{ "type": 13, "id": "6sDjuS2KxGc5vN1a1cLRP33wMk7stgq3sAvBtgTT2kef", "fee": 1500000, "feeAssetId": null, "timestamp": 1570871543498, "version": 1, "sender": "3N2EM5HFgf6UMBnvcJX3Cegmozwdv1iDeq2", "senderPublicKey": "8y2Uc9uYf5gRD6Dzm1aC73zYe3LZvtVDUVAnAhNdN2mg", "proofs": [ "E1Fwox2JYsbnBDMZkRZym9eAAaNhy7ZAKWUGqWvzKYwfYCjTqFWqyw5e1PJeUzYBfMnoLErDFnMzfCuWKrT3RjM" ], "script": "base64:AAIDAAAAAAAAAD8IARIDCgEIEgMKAQgSBQoDAQEIEgQKAggBEgQKAggIEgQKAggBEgMKAQgSAwoBCBIECgIICBIDCgEIEgMKAQgAAAAlAAAAAANkYXkAAAAAAAAABaAAAAAABVdBVkVTBQAAAAR1bml0AAAAAAR3QlRDAQAAACBs+mr/xe2qjAt/tSqT0qIML4KC23R6BIxT+/0TH3Og/wAAAAAEd0VVUgEAAAAg7BZhBF97kSFBBjs38+fX1Pjz08YOqoCX85C/0PoVupkAAAAABHdVU0QBAAAAIN0cvQHwz3UFMHgHsqi2OJjRRd1cH7ozWuNAb/pmWXD9AAAAAAlzdGF0ZU9wZW4CAAAABk9wZW5lZAAAAAAOc3RhdGVTdWdnZXN0ZWQCAAAACVN1Z2dlc3RlZAAAAAALc3RhdGVDYW5jZWwCAAAACENhbmNlbGVkAAAAAA9zdGF0ZUluUHJvZ3Jlc3MCAAAACkluUHJvZ3Jlc3MAAAAAEXN0YXRlV2FpdDRDb25maXJtAgAAABNXYWl0Rm9yQ29uZmlybWF0aW9uAAAAAA1zdGF0ZUNvbXBsZXRlAgAAAAl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5BAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAADdHR4BQAAAAckbWF0Y2gwBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAA3N0eAUAAAAHJG1hdGNoMAYHB3O/7Ho=", "chainId": 84, "height": 716475, "spentComplexity": 0 } View: original | compacted Prev: DQF1ckC5oYxqfejNucHLwk5vZAuAbVyYaf6zeFwWZo8o Next: DUKzfnHFRiBkK3G387TYM1CBqqwEZrdejkfsmiM9Us7q Diff:
Old | New | Differences | |
---|---|---|---|
31 | 31 | ||
32 | 32 | let o = "FL" | |
33 | 33 | ||
34 | - | let p = base58' | |
34 | + | let p = base58'FneCJqM5BP2eAuyteMiuEEHYALrE4axhEfcpHVGbdr5s' | |
35 | 35 | ||
36 | - | let q = base58' | |
36 | + | let q = base58'6QAMdssb1GJjpQVQQcnx8fKU8WhtcF9ZsQhifdThAEK8' | |
37 | 37 | ||
38 | - | let r = base58' | |
38 | + | let r = base58'2ituwW7DSRsLP3Vcbnpr98QUQMGFRWKmyYPFqsUKRDoP' | |
39 | 39 | ||
40 | - | let s = base58' | |
40 | + | let s = base58'ANsPQocEESyLb3yQqk2pwCdoK7PJQxLoZVpYvsm3SxUG' | |
41 | 41 | ||
42 | - | let t = base58' | |
42 | + | let t = base58'13VixwQin1MzZCyY69NSWMSBNEV27Rzc159o7uZXR9VS' | |
43 | 43 | ||
44 | 44 | func u (v) = (v + "_AuctionData") | |
45 | 45 | ||
500 | 500 | let aq = V(v) | |
501 | 501 | let be = ai(v) | |
502 | 502 | let bf = w((toBase58String(aq) + "_JobsInDispute")) | |
503 | - | if (if ((ay == | |
503 | + | if (if ((ay == i)) | |
504 | 504 | then true | |
505 | - | else (ay == g)) | |
506 | - | then throw("Incorrect auction state for dispute opening") | |
507 | - | else if (if ((ba == aq)) | |
505 | + | else (ay == j)) | |
506 | + | then if (if ((ba == aq)) | |
508 | 507 | then true | |
509 | 508 | else (ba == be)) | |
510 | 509 | then WriteSet([DataEntry((v + "_State"), l), DataEntry((v + "_DisputeVotes"), 0), DataEntry((toBase58String(aq) + "_JobInDispute"), (bf + 1))]) | |
511 | 510 | else throw("Only Client and Freelancer can open dispute") | |
511 | + | else throw("Incorrect auction state for dispute opening") | |
512 | 512 | } | |
513 | 513 | ||
514 | 514 | ||
524 | 524 | let bh = ((J * 3) / 100) | |
525 | 525 | let aB = B(C) | |
526 | 526 | let bf = w((toBase58String(aq) + "_JobsInDispute")) | |
527 | + | let aS = w((toBase58String(be) + "_PendingEarnings")) | |
527 | 528 | let bi = if (if (if (if (if ((Q == p)) | |
528 | 529 | then true | |
529 | 530 | else (Q == q)) | |
597 | 598 | then (J - bh) | |
598 | 599 | else (J - (bh * 2)) | |
599 | 600 | let aw = O(C, J) | |
600 | - | ScriptResult(WriteSet([DataEntry((v + "_DisputeVotes"), (bn + 1)), DataEntry((v + "_State"), m), DataEntry(((v + "_DiputeVote_") + bi), bj), DataEntry((C + "_Freezed"), aw), DataEntry((toBase58String(aq) + "_JobInDispute"), (bf - 1))]), TransferSet([ScriptTransfer(addressFromPublicKey(bp), bC, aB)])) | |
601 | + | ScriptResult(WriteSet([DataEntry((v + "_DisputeVotes"), (bn + 1)), DataEntry((v + "_State"), m), DataEntry(((v + "_DiputeVote_") + bi), bj), DataEntry((C + "_Freezed"), aw), DataEntry((toBase58String(aq) + "_JobInDispute"), (bf - 1)), DataEntry((toBase58String(be) + "_PendingEarnings"), (aS - J))]), TransferSet([ScriptTransfer(addressFromPublicKey(bp), bC, aB)])) | |
601 | 602 | } | |
602 | 603 | else WriteSet([DataEntry((v + "_DisputeVotes"), (bn + 1)), DataEntry(((v + "_DiputeVote_") + bi), bj)]) | |
603 | 604 | else throw(("Incorrect state. Must be: " + l)) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 1440 | |
5 | 5 | ||
6 | 6 | let b = unit | |
7 | 7 | ||
8 | 8 | let c = base58'8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS' | |
9 | 9 | ||
10 | 10 | let d = base58'Gtb1WRznfchDnTh37ezoDTJ4wcoKaRsKqKjJjy7nm2zU' | |
11 | 11 | ||
12 | 12 | let e = base58'Ft8X1v1LTa1ABafufpaCWyVj8KkaxUWE6xBhW6sNFJck' | |
13 | 13 | ||
14 | 14 | let f = "Opened" | |
15 | 15 | ||
16 | 16 | let g = "Suggested" | |
17 | 17 | ||
18 | 18 | let h = "Canceled" | |
19 | 19 | ||
20 | 20 | let i = "InProgress" | |
21 | 21 | ||
22 | 22 | let j = "WaitForConfirmation" | |
23 | 23 | ||
24 | 24 | let k = "Completed" | |
25 | 25 | ||
26 | 26 | let l = "Dispute" | |
27 | 27 | ||
28 | 28 | let m = "DisputeResolved" | |
29 | 29 | ||
30 | 30 | let n = "CMR" | |
31 | 31 | ||
32 | 32 | let o = "FL" | |
33 | 33 | ||
34 | - | let p = base58' | |
34 | + | let p = base58'FneCJqM5BP2eAuyteMiuEEHYALrE4axhEfcpHVGbdr5s' | |
35 | 35 | ||
36 | - | let q = base58' | |
36 | + | let q = base58'6QAMdssb1GJjpQVQQcnx8fKU8WhtcF9ZsQhifdThAEK8' | |
37 | 37 | ||
38 | - | let r = base58' | |
38 | + | let r = base58'2ituwW7DSRsLP3Vcbnpr98QUQMGFRWKmyYPFqsUKRDoP' | |
39 | 39 | ||
40 | - | let s = base58' | |
40 | + | let s = base58'ANsPQocEESyLb3yQqk2pwCdoK7PJQxLoZVpYvsm3SxUG' | |
41 | 41 | ||
42 | - | let t = base58' | |
42 | + | let t = base58'13VixwQin1MzZCyY69NSWMSBNEV27Rzc159o7uZXR9VS' | |
43 | 43 | ||
44 | 44 | func u (v) = (v + "_AuctionData") | |
45 | 45 | ||
46 | 46 | ||
47 | 47 | func w (x) = { | |
48 | 48 | let y = getInteger(this, x) | |
49 | 49 | let z = y | |
50 | 50 | if ($isInstanceOf(z, "Int")) | |
51 | 51 | then { | |
52 | 52 | let A = z | |
53 | 53 | A | |
54 | 54 | } | |
55 | 55 | else 0 | |
56 | 56 | } | |
57 | 57 | ||
58 | 58 | ||
59 | 59 | func B (C) = if ((C == "WAVES")) | |
60 | 60 | then b | |
61 | 61 | else if ((C == "BTC")) | |
62 | 62 | then c | |
63 | 63 | else if ((C == "EUR")) | |
64 | 64 | then d | |
65 | 65 | else if ((C == "USD")) | |
66 | 66 | then e | |
67 | 67 | else throw("Incorrect Asset Id") | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | func D (E,F,G) = ((E - F) > G) | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | func H (I,J) = if ((I > J)) | |
74 | 74 | then throw("Bid amount must be lower or equal than auctionPrice") | |
75 | 75 | else I | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | func K (L,J) = { | |
79 | 79 | let M = getInteger(this, (L + "_Freezed")) | |
80 | 80 | let N = { | |
81 | 81 | let z = M | |
82 | 82 | if ($isInstanceOf(z, "Int")) | |
83 | 83 | then { | |
84 | 84 | let A = z | |
85 | 85 | A | |
86 | 86 | } | |
87 | 87 | else 0 | |
88 | 88 | } | |
89 | 89 | (N + J) | |
90 | 90 | } | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | func O (L,J) = { | |
94 | 94 | let M = getInteger(this, (L + "_Freezed")) | |
95 | 95 | let N = { | |
96 | 96 | let z = M | |
97 | 97 | if ($isInstanceOf(z, "Int")) | |
98 | 98 | then { | |
99 | 99 | let A = z | |
100 | 100 | A | |
101 | 101 | } | |
102 | 102 | else 0 | |
103 | 103 | } | |
104 | 104 | let A = (N - J) | |
105 | 105 | if ((A >= 0)) | |
106 | 106 | then A | |
107 | 107 | else throw("Freezed amount couldn't be less than 0") | |
108 | 108 | } | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | func P (Q) = { | |
112 | 112 | let P = getString(this, (Q + "_Freelancer")) | |
113 | 113 | let z = P | |
114 | 114 | if ($isInstanceOf(z, "String")) | |
115 | 115 | then { | |
116 | 116 | let A = z | |
117 | 117 | Q | |
118 | 118 | } | |
119 | 119 | else throw("Only registered users can make bets") | |
120 | 120 | } | |
121 | 121 | ||
122 | 122 | ||
123 | 123 | func R (S) = if ((S > 0)) | |
124 | 124 | then S | |
125 | 125 | else throw("Amount must be higher then 0") | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | func T (v) = { | |
129 | 129 | let U = getString(this, (v + "_State")) | |
130 | 130 | let z = U | |
131 | 131 | if ($isInstanceOf(z, "String")) | |
132 | 132 | then { | |
133 | 133 | let A = z | |
134 | 134 | A | |
135 | 135 | } | |
136 | 136 | else throw("Auction State was not found") | |
137 | 137 | } | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | func V (v) = { | |
141 | 141 | let W = getString(this, (v + "_AuctionClient")) | |
142 | 142 | let X = { | |
143 | 143 | let z = W | |
144 | 144 | if ($isInstanceOf(z, "String")) | |
145 | 145 | then { | |
146 | 146 | let A = z | |
147 | 147 | A | |
148 | 148 | } | |
149 | 149 | else throw("Auction Client was not found") | |
150 | 150 | } | |
151 | 151 | fromBase58String(X) | |
152 | 152 | } | |
153 | 153 | ||
154 | 154 | ||
155 | 155 | func Y (v) = { | |
156 | 156 | let Z = getInteger(this, (v + "_AuctionStart")) | |
157 | 157 | let z = Z | |
158 | 158 | if ($isInstanceOf(z, "Int")) | |
159 | 159 | then { | |
160 | 160 | let A = z | |
161 | 161 | A | |
162 | 162 | } | |
163 | 163 | else throw("Auction Start time was not found") | |
164 | 164 | } | |
165 | 165 | ||
166 | 166 | ||
167 | 167 | func aa (v) = { | |
168 | 168 | let ab = getInteger(this, (v + "_AuctionDuration")) | |
169 | 169 | let z = ab | |
170 | 170 | if ($isInstanceOf(z, "Int")) | |
171 | 171 | then { | |
172 | 172 | let A = z | |
173 | 173 | A | |
174 | 174 | } | |
175 | 175 | else throw("Auction duration time was not found") | |
176 | 176 | } | |
177 | 177 | ||
178 | 178 | ||
179 | 179 | func ac (v) = { | |
180 | 180 | let ad = getInteger(this, (v + "_JobPerformance")) | |
181 | 181 | let z = ad | |
182 | 182 | if ($isInstanceOf(z, "Int")) | |
183 | 183 | then { | |
184 | 184 | let A = z | |
185 | 185 | A | |
186 | 186 | } | |
187 | 187 | else throw("Auction job performance time was not found") | |
188 | 188 | } | |
189 | 189 | ||
190 | 190 | ||
191 | 191 | func ae (v) = { | |
192 | 192 | let af = getString(this, (v + "_AssetName")) | |
193 | 193 | let z = af | |
194 | 194 | if ($isInstanceOf(z, "String")) | |
195 | 195 | then { | |
196 | 196 | let A = z | |
197 | 197 | A | |
198 | 198 | } | |
199 | 199 | else throw("Auction asset name was not found") | |
200 | 200 | } | |
201 | 201 | ||
202 | 202 | ||
203 | 203 | func ag (v) = { | |
204 | 204 | let ah = getInteger(this, (v + "_Price")) | |
205 | 205 | let z = ah | |
206 | 206 | if ($isInstanceOf(z, "Int")) | |
207 | 207 | then { | |
208 | 208 | let A = z | |
209 | 209 | A | |
210 | 210 | } | |
211 | 211 | else throw("Auction price was not found") | |
212 | 212 | } | |
213 | 213 | ||
214 | 214 | ||
215 | 215 | func ai (v) = { | |
216 | 216 | let W = getString(this, (v + "_HiredFreelancer")) | |
217 | 217 | let A = { | |
218 | 218 | let z = W | |
219 | 219 | if ($isInstanceOf(z, "String")) | |
220 | 220 | then { | |
221 | 221 | let A = z | |
222 | 222 | A | |
223 | 223 | } | |
224 | 224 | else throw("Auction Client was not found") | |
225 | 225 | } | |
226 | 226 | fromBase58String(A) | |
227 | 227 | } | |
228 | 228 | ||
229 | 229 | ||
230 | 230 | @Callable(aj) | |
231 | 231 | func freelancerSignUp (ak) = { | |
232 | 232 | let al = toBase58String(aj.callerPublicKey) | |
233 | 233 | let am = getString(this, (al + "_Freelancer")) | |
234 | 234 | if (isDefined(am)) | |
235 | 235 | then throw("User already registered") | |
236 | 236 | else WriteSet([DataEntry((al + "_Freelancer"), ak), DataEntry((al + "_PendingEarnings"), 0), DataEntry((al + "_PaidEarnings"), 0), DataEntry((al + "_TotalEarnings"), 0), DataEntry((al + "_JobsPending"), 0), DataEntry((al + "_JobsCompleted"), 0), DataEntry((al + "_JobsTotal"), 0)]) | |
237 | 237 | } | |
238 | 238 | ||
239 | 239 | ||
240 | 240 | ||
241 | 241 | @Callable(aj) | |
242 | 242 | func clientSignUp (ak) = { | |
243 | 243 | let al = toBase58String(aj.callerPublicKey) | |
244 | 244 | let am = getString(this, (al + "_Client")) | |
245 | 245 | if (isDefined(am)) | |
246 | 246 | then throw("User already registered") | |
247 | 247 | else WriteSet([DataEntry((al + "_Client"), ak), DataEntry((al + "_JobsCreated"), 0), DataEntry((al + "_JobsOnGoing"), 0), DataEntry((al + "_JobInDispute"), 0)]) | |
248 | 248 | } | |
249 | 249 | ||
250 | 250 | ||
251 | 251 | ||
252 | 252 | @Callable(aj) | |
253 | 253 | func createAuction (an,ao,ap) = { | |
254 | 254 | let v = toBase58String(aj.transactionId) | |
255 | 255 | let aq = toBase58String(aj.callerPublicKey) | |
256 | 256 | let ar = extract(aj.payment) | |
257 | 257 | let S = ar.amount | |
258 | 258 | let J = R(S) | |
259 | 259 | let as = height | |
260 | 260 | let at = (ao * a) | |
261 | 261 | let au = (an * a) | |
262 | 262 | let L = if (!(isDefined(ar.assetId))) | |
263 | 263 | then "WAVES" | |
264 | 264 | else if ((ar.assetId == c)) | |
265 | 265 | then "BTC" | |
266 | 266 | else if ((ar.assetId == d)) | |
267 | 267 | then "EUR" | |
268 | 268 | else if ((ar.assetId == e)) | |
269 | 269 | then "USD" | |
270 | 270 | else throw("AssetId is incorrect") | |
271 | 271 | let av = w((aq + "_JobsCreated")) | |
272 | 272 | let aw = K(L, J) | |
273 | 273 | WriteSet([DataEntry((v + "_State"), f), DataEntry((v + "_Info"), ap), DataEntry((v + "_AuctionClient"), aq), DataEntry((v + "_AuctionStart"), as), DataEntry((v + "_AuctionDuration"), at), DataEntry((v + "_JobPerformance"), au), DataEntry((v + "_AssetName"), L), DataEntry((v + "_Price"), J), DataEntry((L + "_Freezed"), aw), DataEntry((aq + "_JobsCreated"), (av + 1))]) | |
274 | 274 | } | |
275 | 275 | ||
276 | 276 | ||
277 | 277 | ||
278 | 278 | @Callable(aj) | |
279 | 279 | func makeBid (v,I) = { | |
280 | 280 | let Q = toBase58String(aj.callerPublicKey) | |
281 | 281 | let ax = height | |
282 | 282 | let ay = T(v) | |
283 | 283 | let aq = V(v) | |
284 | 284 | let as = Y(v) | |
285 | 285 | let az = aa(v) | |
286 | 286 | let aA = ac(v) | |
287 | 287 | let C = ae(v) | |
288 | 288 | let J = ag(v) | |
289 | 289 | let aB = B(C) | |
290 | 290 | let aC = P(Q) | |
291 | 291 | let aD = ((J * 3) / 100) | |
292 | 292 | let aw = O(C, J) | |
293 | 293 | let aE = H(I, J) | |
294 | 294 | let aF = D(ax, as, az) | |
295 | 295 | if (aF) | |
296 | 296 | then if ((ay == f)) | |
297 | 297 | then ScriptResult(WriteSet([DataEntry((v + "_State"), h), DataEntry((C + "_Freezed"), aw)]), TransferSet([ScriptTransfer(addressFromPublicKey(aq), (J - aD), aB)])) | |
298 | 298 | else if ((ay == g)) | |
299 | 299 | then { | |
300 | 300 | let aG = { | |
301 | 301 | let aH = getString(this, (v + "_LowestBidderPub")) | |
302 | 302 | let z = aH | |
303 | 303 | if ($isInstanceOf(z, "String")) | |
304 | 304 | then { | |
305 | 305 | let A = z | |
306 | 306 | A | |
307 | 307 | } | |
308 | 308 | else throw("Auction lowest bidder was not found") | |
309 | 309 | } | |
310 | 310 | let aI = { | |
311 | 311 | let aJ = getInteger(this, ((v + "_Bid_") + aG)) | |
312 | 312 | let z = aJ | |
313 | 313 | if ($isInstanceOf(z, "Int")) | |
314 | 314 | then { | |
315 | 315 | let A = z | |
316 | 316 | A | |
317 | 317 | } | |
318 | 318 | else throw("Auction lowest bid was not found") | |
319 | 319 | } | |
320 | 320 | let aK = ((J - aI) - aD) | |
321 | 321 | ScriptResult(WriteSet([DataEntry((v + "_State"), i), DataEntry((v + "_HiredFreelancer"), aG), DataEntry((v + "_Price"), aI)]), TransferSet([ScriptTransfer(addressFromPublicKey(aq), aK, aB)])) | |
322 | 322 | } | |
323 | 323 | else throw("Incorrect auction state") | |
324 | 324 | else if ((ay == f)) | |
325 | 325 | then WriteSet([DataEntry(((v + "_Bid_") + aC), aE), DataEntry((v + "_State"), g), DataEntry((v + "_LowestBidderPub"), Q)]) | |
326 | 326 | else if ((ay == g)) | |
327 | 327 | then { | |
328 | 328 | let aL = { | |
329 | 329 | let aM = getString(this, (v + "_LowestBidderPub")) | |
330 | 330 | let z = aM | |
331 | 331 | if ($isInstanceOf(z, "String")) | |
332 | 332 | then { | |
333 | 333 | let A = z | |
334 | 334 | A | |
335 | 335 | } | |
336 | 336 | else throw("Auction lowest bidder was not found") | |
337 | 337 | } | |
338 | 338 | let aN = { | |
339 | 339 | let aO = getInteger(this, ((v + "_Bid_") + aL)) | |
340 | 340 | let aP = { | |
341 | 341 | let z = aO | |
342 | 342 | if ($isInstanceOf(z, "Int")) | |
343 | 343 | then { | |
344 | 344 | let A = z | |
345 | 345 | A | |
346 | 346 | } | |
347 | 347 | else throw("Auction lowest bid was not found") | |
348 | 348 | } | |
349 | 349 | if ((aP > aE)) | |
350 | 350 | then aC | |
351 | 351 | else aL | |
352 | 352 | } | |
353 | 353 | WriteSet([DataEntry((v + "_LowestBidderPub"), aN), DataEntry(((v + "_Bid_") + aC), aE)]) | |
354 | 354 | } | |
355 | 355 | else throw(((((("Incorrect jobId state. Now: " + ay) + ", must be: ") + f) + " or ") + g)) | |
356 | 356 | } | |
357 | 357 | ||
358 | 358 | ||
359 | 359 | ||
360 | 360 | @Callable(aj) | |
361 | 361 | func chooseFreelancer (v,aQ) = { | |
362 | 362 | let Q = extract(aj.callerPublicKey) | |
363 | 363 | let ax = height | |
364 | 364 | let ay = T(v) | |
365 | 365 | let aq = V(v) | |
366 | 366 | let as = Y(v) | |
367 | 367 | let az = aa(v) | |
368 | 368 | let C = ae(v) | |
369 | 369 | let J = ag(v) | |
370 | 370 | let aB = B(C) | |
371 | 371 | let aR = w((toBase58String(aq) + "_JobsOnGoing")) | |
372 | 372 | let aS = w((aQ + "_PendingEarnings")) | |
373 | 373 | let aT = w((aQ + "_TotalEarnings")) | |
374 | 374 | let aU = { | |
375 | 375 | let aV = ((v + "_Bid_") + aQ) | |
376 | 376 | let aW = getInteger(this, aV) | |
377 | 377 | let z = aW | |
378 | 378 | if ($isInstanceOf(z, "Int")) | |
379 | 379 | then { | |
380 | 380 | let A = z | |
381 | 381 | A | |
382 | 382 | } | |
383 | 383 | else throw("Freelancer's bet was not found") | |
384 | 384 | } | |
385 | 385 | let aF = D(ax, as, az) | |
386 | 386 | if ((Q == aq)) | |
387 | 387 | then if (aF) | |
388 | 388 | then if ((ay == f)) | |
389 | 389 | then { | |
390 | 390 | let aw = O(C, J) | |
391 | 391 | let aD = ((J * 3) / 100) | |
392 | 392 | ScriptResult(WriteSet([DataEntry((v + "_State"), h), DataEntry((C + "_Freezed"), aw)]), TransferSet([ScriptTransfer(addressFromPublicKey(aq), (J - aD), aB)])) | |
393 | 393 | } | |
394 | 394 | else if ((ay == g)) | |
395 | 395 | then { | |
396 | 396 | let aG = { | |
397 | 397 | let aH = getString(this, (v + "_LowestBidderPub")) | |
398 | 398 | let z = aH | |
399 | 399 | if ($isInstanceOf(z, "String")) | |
400 | 400 | then { | |
401 | 401 | let A = z | |
402 | 402 | A | |
403 | 403 | } | |
404 | 404 | else throw("Auction lowest bidder was not found") | |
405 | 405 | } | |
406 | 406 | let aI = { | |
407 | 407 | let aJ = getInteger(this, ((v + "_Bid_") + aG)) | |
408 | 408 | let z = aJ | |
409 | 409 | if ($isInstanceOf(z, "Int")) | |
410 | 410 | then { | |
411 | 411 | let A = z | |
412 | 412 | A | |
413 | 413 | } | |
414 | 414 | else throw("Auction lowest bid was not found") | |
415 | 415 | } | |
416 | 416 | let aK = (J - aI) | |
417 | 417 | let aw = O(C, aK) | |
418 | 418 | ScriptResult(WriteSet([DataEntry((v + "_State"), i), DataEntry((v + "_HiredFreelancer"), aG), DataEntry((v + "_Price"), aI), DataEntry((C + "_Freezed"), aw), DataEntry((toBase58String(aq) + "_JobsOnGoing"), (aR + 1)), DataEntry((aQ + "_PendingEarnings"), (aS + aI)), DataEntry((aQ + "_TotalEarnings"), (aT + aI))]), TransferSet([ScriptTransfer(addressFromPublicKey(aq), aK, aB)])) | |
419 | 419 | } | |
420 | 420 | else throw("Incorrect auction state") | |
421 | 421 | else { | |
422 | 422 | let aX = { | |
423 | 423 | let aC = getInteger(this, ((v + "_Bid_") + aQ)) | |
424 | 424 | let z = aC | |
425 | 425 | if ($isInstanceOf(z, "Int")) | |
426 | 426 | then { | |
427 | 427 | let A = z | |
428 | 428 | aQ | |
429 | 429 | } | |
430 | 430 | else throw("Error: Incorrect freelancerPub") | |
431 | 431 | } | |
432 | 432 | let aI = { | |
433 | 433 | let aY = getInteger(this, ((v + "_Bid_") + aQ)) | |
434 | 434 | let z = aY | |
435 | 435 | if ($isInstanceOf(z, "Int")) | |
436 | 436 | then { | |
437 | 437 | let A = z | |
438 | 438 | A | |
439 | 439 | } | |
440 | 440 | else throw("Auction lowest bidder was not found") | |
441 | 441 | } | |
442 | 442 | let aK = (J - aU) | |
443 | 443 | let aw = O(C, aK) | |
444 | 444 | ScriptResult(WriteSet([DataEntry((v + "_State"), i), DataEntry((v + "_HiredFreelancer"), aX), DataEntry((v + "_Price"), aI), DataEntry((C + "_Freezed"), aw), DataEntry((toBase58String(aq) + "_JobsOnGoing"), (aR + 1)), DataEntry((aQ + "_PendingEarnings"), (aS + aI)), DataEntry((aQ + "_TotalEarnings"), (aT + aI))]), TransferSet([ScriptTransfer(addressFromPublicKey(aq), (aK + 1), aB)])) | |
445 | 445 | } | |
446 | 446 | else throw("Only auction customer can choose a freelancer") | |
447 | 447 | } | |
448 | 448 | ||
449 | 449 | ||
450 | 450 | ||
451 | 451 | @Callable(aj) | |
452 | 452 | func increaseExecutionTime (v,aZ) = { | |
453 | 453 | let ba = extract(aj.callerPublicKey) | |
454 | 454 | let ay = T(v) | |
455 | 455 | let aq = V(v) | |
456 | 456 | let aA = ac(v) | |
457 | 457 | let bb = { | |
458 | 458 | let bc = (aZ * a) | |
459 | 459 | if ((bc > aA)) | |
460 | 460 | then bc | |
461 | 461 | else throw("New execution time must more than current execution time") | |
462 | 462 | } | |
463 | 463 | if ((ba == aq)) | |
464 | 464 | then if (if (if ((ay == f)) | |
465 | 465 | then true | |
466 | 466 | else (ay == g)) | |
467 | 467 | then true | |
468 | 468 | else (ay == i)) | |
469 | 469 | then WriteSet([DataEntry((v + "_JobPerformance"), bb)]) | |
470 | 470 | else throw("Incorrect state") | |
471 | 471 | else throw("Only Client can increase execution time") | |
472 | 472 | } | |
473 | 473 | ||
474 | 474 | ||
475 | 475 | ||
476 | 476 | @Callable(aj) | |
477 | 477 | func cancelAuction (v) = { | |
478 | 478 | let Q = extract(aj.callerPublicKey) | |
479 | 479 | let ay = T(v) | |
480 | 480 | let aq = V(v) | |
481 | 481 | let C = ae(v) | |
482 | 482 | let J = ag(v) | |
483 | 483 | let aB = B(C) | |
484 | 484 | let aD = ((J * 3) / 100) | |
485 | 485 | let bd = (J - aD) | |
486 | 486 | let aw = O(C, J) | |
487 | 487 | if ((Q == aq)) | |
488 | 488 | then if ((ay == f)) | |
489 | 489 | then ScriptResult(WriteSet([DataEntry((v + "_State"), h), DataEntry((C + "_Freezed"), aw)]), TransferSet([ScriptTransfer(addressFromPublicKey(aq), bd, aB)])) | |
490 | 490 | else throw("Auction can be canceled only by auction owner.") | |
491 | 491 | else throw("Only Client can cancel auction") | |
492 | 492 | } | |
493 | 493 | ||
494 | 494 | ||
495 | 495 | ||
496 | 496 | @Callable(aj) | |
497 | 497 | func openDispute (v) = { | |
498 | 498 | let ba = extract(aj.callerPublicKey) | |
499 | 499 | let ay = T(v) | |
500 | 500 | let aq = V(v) | |
501 | 501 | let be = ai(v) | |
502 | 502 | let bf = w((toBase58String(aq) + "_JobsInDispute")) | |
503 | - | if (if ((ay == | |
503 | + | if (if ((ay == i)) | |
504 | 504 | then true | |
505 | - | else (ay == g)) | |
506 | - | then throw("Incorrect auction state for dispute opening") | |
507 | - | else if (if ((ba == aq)) | |
505 | + | else (ay == j)) | |
506 | + | then if (if ((ba == aq)) | |
508 | 507 | then true | |
509 | 508 | else (ba == be)) | |
510 | 509 | then WriteSet([DataEntry((v + "_State"), l), DataEntry((v + "_DisputeVotes"), 0), DataEntry((toBase58String(aq) + "_JobInDispute"), (bf + 1))]) | |
511 | 510 | else throw("Only Client and Freelancer can open dispute") | |
511 | + | else throw("Incorrect auction state for dispute opening") | |
512 | 512 | } | |
513 | 513 | ||
514 | 514 | ||
515 | 515 | ||
516 | 516 | @Callable(aj) | |
517 | 517 | func voteDispute (v,bg) = { | |
518 | 518 | let Q = extract(aj.callerPublicKey) | |
519 | 519 | let ay = T(v) | |
520 | 520 | let aq = V(v) | |
521 | 521 | let C = ae(v) | |
522 | 522 | let J = ag(v) | |
523 | 523 | let be = ai(v) | |
524 | 524 | let bh = ((J * 3) / 100) | |
525 | 525 | let aB = B(C) | |
526 | 526 | let bf = w((toBase58String(aq) + "_JobsInDispute")) | |
527 | + | let aS = w((toBase58String(be) + "_PendingEarnings")) | |
527 | 528 | let bi = if (if (if (if (if ((Q == p)) | |
528 | 529 | then true | |
529 | 530 | else (Q == q)) | |
530 | 531 | then true | |
531 | 532 | else (Q == r)) | |
532 | 533 | then true | |
533 | 534 | else (Q == s)) | |
534 | 535 | then true | |
535 | 536 | else (Q == t)) | |
536 | 537 | then toBase58String(Q) | |
537 | 538 | else throw("Only defined ambassadors can vote in disputes") | |
538 | 539 | let bj = if (if ((bg == n)) | |
539 | 540 | then true | |
540 | 541 | else (bg == o)) | |
541 | 542 | then bg | |
542 | 543 | else throw(((("Vote is incorrect. Must be: " + n) + " or ") + o)) | |
543 | 544 | let bk = { | |
544 | 545 | let bl = ((v + "_DiputeVote_") + bi) | |
545 | 546 | let bm = getString(this, bl) | |
546 | 547 | let z = bm | |
547 | 548 | if ($isInstanceOf(z, "String")) | |
548 | 549 | then { | |
549 | 550 | let A = z | |
550 | 551 | throw("User already voted") | |
551 | 552 | } | |
552 | 553 | else bi | |
553 | 554 | } | |
554 | 555 | let bn = { | |
555 | 556 | let bo = getInteger(this, (v + "_DisputeVotes")) | |
556 | 557 | let z = bo | |
557 | 558 | if ($isInstanceOf(z, "Int")) | |
558 | 559 | then { | |
559 | 560 | let A = z | |
560 | 561 | A | |
561 | 562 | } | |
562 | 563 | else throw("VotesNumber was not found") | |
563 | 564 | } | |
564 | 565 | if ((ay == l)) | |
565 | 566 | then if ((bn == 4)) | |
566 | 567 | then { | |
567 | 568 | let bp = { | |
568 | 569 | let bq = getString(this, ((v + "_DiputeVote_") + toBase58String(p))) | |
569 | 570 | let br = getString(this, ((v + "_DiputeVote_") + toBase58String(q))) | |
570 | 571 | let bs = getString(this, ((v + "_DiputeVote_") + toBase58String(r))) | |
571 | 572 | let bt = getString(this, ((v + "_DiputeVote_") + toBase58String(s))) | |
572 | 573 | let bu = getString(this, ((v + "_DiputeVote_") + toBase58String(t))) | |
573 | 574 | let bv = if ((bq == n)) | |
574 | 575 | then 1 | |
575 | 576 | else 0 | |
576 | 577 | let bw = if ((br == n)) | |
577 | 578 | then 1 | |
578 | 579 | else 0 | |
579 | 580 | let bx = if ((bs == n)) | |
580 | 581 | then 1 | |
581 | 582 | else 0 | |
582 | 583 | let by = if ((bt == n)) | |
583 | 584 | then 1 | |
584 | 585 | else 0 | |
585 | 586 | let bz = if ((bu == n)) | |
586 | 587 | then 1 | |
587 | 588 | else 0 | |
588 | 589 | let bA = if ((bj == n)) | |
589 | 590 | then 1 | |
590 | 591 | else 0 | |
591 | 592 | let bB = (((((bv + bw) + bx) + by) + bz) + bA) | |
592 | 593 | if ((bB > 2)) | |
593 | 594 | then aq | |
594 | 595 | else be | |
595 | 596 | } | |
596 | 597 | let bC = if ((bp == aq)) | |
597 | 598 | then (J - bh) | |
598 | 599 | else (J - (bh * 2)) | |
599 | 600 | let aw = O(C, J) | |
600 | - | ScriptResult(WriteSet([DataEntry((v + "_DisputeVotes"), (bn + 1)), DataEntry((v + "_State"), m), DataEntry(((v + "_DiputeVote_") + bi), bj), DataEntry((C + "_Freezed"), aw), DataEntry((toBase58String(aq) + "_JobInDispute"), (bf - 1))]), TransferSet([ScriptTransfer(addressFromPublicKey(bp), bC, aB)])) | |
601 | + | ScriptResult(WriteSet([DataEntry((v + "_DisputeVotes"), (bn + 1)), DataEntry((v + "_State"), m), DataEntry(((v + "_DiputeVote_") + bi), bj), DataEntry((C + "_Freezed"), aw), DataEntry((toBase58String(aq) + "_JobInDispute"), (bf - 1)), DataEntry((toBase58String(be) + "_PendingEarnings"), (aS - J))]), TransferSet([ScriptTransfer(addressFromPublicKey(bp), bC, aB)])) | |
601 | 602 | } | |
602 | 603 | else WriteSet([DataEntry((v + "_DisputeVotes"), (bn + 1)), DataEntry(((v + "_DiputeVote_") + bi), bj)]) | |
603 | 604 | else throw(("Incorrect state. Must be: " + l)) | |
604 | 605 | } | |
605 | 606 | ||
606 | 607 | ||
607 | 608 | ||
608 | 609 | @Callable(aj) | |
609 | 610 | func workHandOver (v) = { | |
610 | 611 | let Q = extract(aj.callerPublicKey) | |
611 | 612 | let ay = T(v) | |
612 | 613 | let aq = V(v) | |
613 | 614 | let as = Y(v) | |
614 | 615 | let az = aa(v) | |
615 | 616 | let aA = ac(v) | |
616 | 617 | let be = ai(v) | |
617 | 618 | let bf = w((toBase58String(aq) + "_JobsInDispute")) | |
618 | 619 | let E = height | |
619 | 620 | let bD = if ((Q == be)) | |
620 | 621 | then Q | |
621 | 622 | else throw("Only a freelancer can indicate that the work is done") | |
622 | 623 | let bE = ((E - as) > aA) | |
623 | 624 | if ((ay == i)) | |
624 | 625 | then if (bE) | |
625 | 626 | then WriteSet([DataEntry((v + "_State"), l), DataEntry((v + "_DisputeVotes"), "0"), DataEntry((toBase58String(aq) + "_JobInDispute"), (bf + 1))]) | |
626 | 627 | else WriteSet([DataEntry((v + "_State"), j)]) | |
627 | 628 | else throw("Auction state is incorrect") | |
628 | 629 | } | |
629 | 630 | ||
630 | 631 | ||
631 | 632 | ||
632 | 633 | @Callable(aj) | |
633 | 634 | func acceptWork (v) = { | |
634 | 635 | let Q = extract(aj.callerPublicKey) | |
635 | 636 | let ay = T(v) | |
636 | 637 | let aq = V(v) | |
637 | 638 | let as = Y(v) | |
638 | 639 | let az = aa(v) | |
639 | 640 | let C = ae(v) | |
640 | 641 | let J = ag(v) | |
641 | 642 | let be = ai(v) | |
642 | 643 | let aR = w((toBase58String(aq) + "_JobsOnGoing")) | |
643 | 644 | let aS = w((toBase58String(be) + "_PendingEarnings")) | |
644 | 645 | let bF = w((toBase58String(be) + "_PaidEarnings")) | |
645 | 646 | let aD = ((J * 3) / 100) | |
646 | 647 | let bd = (J - aD) | |
647 | 648 | let aB = B(C) | |
648 | 649 | let aw = O(C, J) | |
649 | 650 | let bG = { | |
650 | 651 | let bH = getInteger(this, (toBase58String(be) + "_Rating")) | |
651 | 652 | let bI = { | |
652 | 653 | let z = bH | |
653 | 654 | if ($isInstanceOf(z, "Int")) | |
654 | 655 | then { | |
655 | 656 | let A = z | |
656 | 657 | A | |
657 | 658 | } | |
658 | 659 | else 0 | |
659 | 660 | } | |
660 | 661 | (bI + 1) | |
661 | 662 | } | |
662 | 663 | if ((Q == aq)) | |
663 | 664 | then if ((ay == j)) | |
664 | 665 | then ScriptResult(WriteSet([DataEntry((v + "_State"), k), DataEntry((toBase58String(be) + "_Rating"), bG), DataEntry((C + "_Freezed"), aw), DataEntry((toBase58String(aq) + "_JobsOnGoing"), (aR - 1)), DataEntry((toBase58String(be) + "_PendingEarnings"), (aS - J)), DataEntry((toBase58String(be) + "_PaidEarnings"), (bF + J))]), TransferSet([ScriptTransfer(addressFromPublicKey(be), bd, aB)])) | |
665 | 666 | else throw(("Incorrect state. Must be: " + j)) | |
666 | 667 | else throw("Only auction customer can use this function") | |
667 | 668 | } | |
668 | 669 | ||
669 | 670 | ||
670 | 671 | @Verifier(bJ) | |
671 | 672 | func bK () = if (sigVerify(bJ.bodyBytes, bJ.proofs[0], bJ.senderPublicKey)) | |
672 | 673 | then { | |
673 | 674 | let z = bJ | |
674 | 675 | if ($isInstanceOf(z, "TransferTransaction")) | |
675 | 676 | then { | |
676 | 677 | let bL = z | |
677 | 678 | true | |
678 | 679 | } | |
679 | 680 | else if ($isInstanceOf(z, "SetScriptTransaction")) | |
680 | 681 | then { | |
681 | 682 | let bM = z | |
682 | 683 | true | |
683 | 684 | } | |
684 | 685 | else false | |
685 | 686 | } | |
686 | 687 | else false | |
687 | 688 |
github/deemru/w8io/169f3d6 85.65 ms ◑