tx · 35NfB52H7dnJsSJq543i3FfndW3AABs3Hsx974eNtcea

3N2FjnCq4gcpewsYQVT4scz9MjTgD6a4kQK:  -0.01400000 Waves

2019.09.27 00:55 [693924] smart account 3N2FjnCq4gcpewsYQVT4scz9MjTgD6a4kQK > SELF 0.00000000 Waves

{ "type": 13, "id": "35NfB52H7dnJsSJq543i3FfndW3AABs3Hsx974eNtcea", "fee": 1400000, "feeAssetId": null, "timestamp": 1569534962741, "version": 1, "sender": "3N2FjnCq4gcpewsYQVT4scz9MjTgD6a4kQK", "senderPublicKey": "7A8H5cWfJVSpSrnB71CzWqyNm8KMxZPjwFcj1mDUU8an", "proofs": [ "3MbQspU1eTJAzhLQvuGJQ4Addm9BUS1w6zLA2T1YAY19MgPG3KC4VJ6rsrrxXwtSp9d3Cic28H9JToHWsNEvwAmk" ], "script": "base64:AAIDAAAAAAAAAAAAAABLAAAAABZvcmFjbGVXaGl0ZUxpc3RBZGRyZXNzCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFURgbF8Y7OPgkLtFiSdXpmu5LRzu6Rj638AAAAABR0aGlzQWRkcmVzc1B1YmxpY0tleQEAAAAgW3yTxZOTTiNmvooSpXcphBB5DlU9aluLSa1r39oafQsAAAAAC0RBUFBBRERSRVNTAgAAACMzTjJGam5DcTRnY3Bld3NZUVZUNHNjejlNalRnRDZhNGtRSwAAAAAFQURNSU4CAAAAIzNOQ0tvRlF4UmY3enNETmJpdkxGdzFvSjd5OHFKekxtRXM0AAAAAARXVVNEAQAAACDdHL0B8M91BTB4B7KotjiY0UXdXB+6M1rjQG/6Zllw/QAAAAAEV0VVUgEAAAAg7BZhBF97kSFBBjs38+fX1Pjz08YOqoCX85C/0PoVupkAAAAABFdCVEMBAAAAIGz6av/F7aqMC3+1KpPSogwvgoLbdHoEjFP7/RMfc6D/AAAAAAVLT0xJTgEAAAAg2pnGDzCaCArIN9AsIhvcgYMfZowVYuDqNDNtJmjyiQ0AAAAABFdFVEgBAAAAIC4gw/bqip+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VudAkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkBAAAAEmdldEtleVdoaXRlbGlzdEJpbwAAAAEFAAAAB2FjY291bnQFAAAABGRhdGEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAQAAABRnZXRLZXlXaGl0ZWxpc3RCbG9jawAAAAEFAAAAB2FjY291bnQFAAAABmhlaWdodAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkBAAAAFWdldEtleVdoaXRlbGlzdFN0YXR1cwAAAAEFAAAAB2FjY291bnQDCQAAAAAAAAIFAAAABHR5cGUFAAAACU1PREVSQVRPUgUAAAAJTU9ERVJBVE9SBQAAAAtXSElURUxJU1RFRAUAAAADbmlsAAAAAWkBAAAADXJlcG9ydFByb2plY3QAAAACAAAABGl0ZW0AAAAEZGF0YQQAAAAHYWNjb3VudAkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQEAAAAXZ2V0S2V5SXRlbUFjY1JlcG9ydERhdGEAAAACBQAAAARpdGVtBQAAAAdhY2NvdW50BQAAAARkYXRhBQAAAANuaWwAAAAAzjsXhQ==", "chainId": 84, "height": 693924, "spentComplexity": 0 } View: original | compacted Prev: DzevZogCc1LdZTRv3thL8bYuRayPbPxYwJBVbzCCQQtg Next: CbgvoCf72TAfxe9fyMFiLrfhSyeFjG55U3YUMqDJUqSx Diff:
OldNewDifferences
432432 then (currstatus != ADMIN)
433433 else false)
434434 then throw(("Your account is not registered. status: " + currstatus))
435- else if ((getValueItemDueFor(item) > height))
436- then throw("Deadline has not finished yet")
437- else if ((getKeyItemStatus(item) == "dispute in progress"))
438- then throw("This work is currently under dispute")
439- else if (if ((caller != getValueItemTranslator(item)))
440- then true
441- else (caller != getValueItemAuthor(item)))
442- then throw("just work creator or translator can withdraw funds. Admins must initiate a dispute")
443- else if (if ((caller == getValueItemAuthor(item)))
444- then (userStatus == BLACKLISTED)
445- else false)
446- then throw("user's account has been blacklisted")
447- else if (if ((caller == getValueItemTranslator(item)))
448- then (translatorStatus == BLACKLISTED)
449- else false)
450- then throw("translator's account has been blacklisted")
435+ else if (if ((caller != getValueItemTranslator(item)))
436+ then true
437+ else (caller != getValueItemAuthor(item)))
438+ then throw("just work creator or translator can withdraw funds. Admins must initiate a dispute")
439+ else if (if ((caller == getValueItemAuthor(item)))
440+ then (userStatus == BLACKLISTED)
441+ else false)
442+ then throw("user's account has been blacklisted")
443+ else if (if ((caller == getValueItemTranslator(item)))
444+ then (translatorStatus == BLACKLISTED)
445+ else false)
446+ then throw("translator's account has been blacklisted")
447+ else if ((getValueItemDueFor(item) > height))
448+ then throw(((("Deadline ( " + toString(getValueItemDueFor(item))) + ") has not finished yet. Current height: ") + toString(height)))
449+ else if ((getKeyItemStatus(item) == "dispute in progress"))
450+ then throw("This work is currently under dispute")
451451 else ScriptResult(WriteSet([DataEntry(getKeyItemBalance(item), 0), DataEntry(getKeyItemStatus(item), ("money withdrawn by " + caller)), DataEntry(getKeyItemLastUpdate(item), height)]), TransferSet([ScriptTransfer(addressFromStringValue(caller), amount, fromBase58String(assetID))]))
452452 }
453453
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let oracleWhiteListAddress = Address(base58'3MvJMBxdrVAf1nCHiarJcQVnKy91HhBKe6w')
55
66 let thisAddressPublicKey = base58'7A8H5cWfJVSpSrnB71CzWqyNm8KMxZPjwFcj1mDUU8an'
77
88 let DAPPADDRESS = "3N2FjnCq4gcpewsYQVT4scz9MjTgD6a4kQK"
99
1010 let ADMIN = "3NCKoFQxRf7zsDNbivLFw1oJ7y8qJzLmEs4"
1111
1212 let WUSD = base58'Ft8X1v1LTa1ABafufpaCWyVj8KkaxUWE6xBhW6sNFJck'
1313
1414 let WEUR = base58'Gtb1WRznfchDnTh37ezoDTJ4wcoKaRsKqKjJjy7nm2zU'
1515
1616 let WBTC = base58'8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS'
1717
1818 let KOLIN = base58'FiKspxSpkpzT4pMUA9ccZkbJmVXTdu4JhFDXNNXr5noW'
1919
2020 let WETH = base58'474jTeYx2r2Va35794tCScAXWJG9hU2HcgxzMowaZUnu'
2121
2222 let WLTC = base58'HZk1mbfuJpmxU1Fs4AX5MWLVYtctsNcg6e2C6VKqK8zk'
2323
2424 let LISTINGFEE = (1 * 1000000)
2525
2626 let NONE = "none"
2727
2828 func getNumberByKey (key) = {
2929 let num = match getInteger(this, key) {
3030 case a: Int =>
3131 a
3232 case _ =>
3333 0
3434 }
3535 num
3636 }
3737
3838
3939 func getStrByKey (key) = {
4040 let str = match getString(this, key) {
4141 case a: String =>
4242 a
4343 case _ =>
4444 NONE
4545 }
4646 str
4747 }
4848
4949
5050 let WHITELISTED = "WHITELISTED"
5151
5252 let BLACKLISTED = "BLACKLISTED"
5353
5454 let INVITED = "INVITED"
5555
5656 let SPENDINVITE = "SPEND_INVITE"
5757
5858 let MODERATOR = "MODERATOR"
5959
6060 let QUORUM = 5
6161
6262 func getKeyItem (user,item) = ("item_" + toBase58String(sha256(toBytes((user + item)))))
6363
6464
6565 func getValueItem (user,item) = toBase58String(sha256(toBytes((user + item))))
6666
6767
6868 func getKeyItemDocument (document) = ("item_" + document)
6969
7070
7171 func getValueItemDocument (document) = getStrByKey(document)
7272
7373
7474 func getKeyWhitelistRef (account) = ("wl_ref_" + account)
7575
7676
7777 func getValueWhitelistRef (account) = getStrByKey(getKeyWhitelistRef(account))
7878
7979
8080 func getKeyWhitelistStatus (account) = ("wl_sts_" + account)
8181
8282
8383 func getKeyBalance (account) = ("balance_" + account)
8484
8585
8686 func getKeyWhitelistBio (account) = ("wl_bio_" + account)
8787
8888
8989 func getKeyWhitelistBlock (account) = ("wl_blk_" + account)
9090
9191
9292 func getKeyItemAccReportData (item,account) = ((("report_" + item) + "_") + account)
9393
9494
9595 func getValueBalance (account) = getNumberByKey(getKeyBalance(account))
9696
9797
9898 func getValueWhitelistStatus (account) = getStrByKey(getKeyWhitelistStatus(account))
9999
100100
101101 func getKeyItemAuthor (item) = ("author_" + item)
102102
103103
104104 func getValueItemAuthor (item) = getStrByKey(getKeyItemAuthor(item))
105105
106106
107107 func getKeyItemDeadline (item) = ("deadlineblock_" + item)
108108
109109
110110 func getValueItemDeadline (item) = getNumberByKey(getKeyItemDeadline(item))
111111
112112
113113 func getKeyItemBlock (item) = ("work_submitted_on_" + item)
114114
115115
116116 func getValueItemBlock (item) = getNumberByKey(getKeyItemBlock(item))
117117
118118
119119 func getKeyItemTypeOfWork (item) = ("typeofwork_" + item)
120120
121121
122122 func getValueItemTypeOfWork (item) = getNumberByKey(getKeyItemTypeOfWork(item))
123123
124124
125125 func getKeyItemWordCount (item) = ("wordcount_" + item)
126126
127127
128128 func getValueItemWordCount (item) = getNumberByKey(getKeyItemWordCount(item))
129129
130130
131131 func getKeyItemPriceUSD (item) = ("priceUSD_" + item)
132132
133133
134134 func getValueItemPriceUSD (item) = getNumberByKey(getKeyItemPriceUSD(item))
135135
136136
137137 func getKeyItemAssetID (item) = ("pmtassetID_" + item)
138138
139139
140140 func getValueItemAssetID (item) = getStrByKey(getKeyItemAssetID(item))
141141
142142
143143 func getKeyItemPriceAssetID (item) = ("priceassetID_" + item)
144144
145145
146146 func getValueItemPriceAssetID (item) = getNumberByKey(getKeyItemPriceAssetID(item))
147147
148148
149149 func getKeyItemData (item) = ("datajson_" + item)
150150
151151
152152 func getValueItemData (item) = getStrByKey(getKeyItemData(item))
153153
154154
155155 func getKeyItemStatus (item) = ("status_" + item)
156156
157157
158158 func getValueItemStatus (item) = getStrByKey(getKeyItemStatus(item))
159159
160160
161161 func getKeyItemTranslator (item) = ("translator_" + item)
162162
163163
164164 func getValueItemTranslator (item) = getStrByKey(getKeyItemTranslator(item))
165165
166166
167167 func getKeyItemDueFor (item) = ("due_for_" + item)
168168
169169
170170 func getValueItemDueFor (item) = getNumberByKey(getKeyItemDueFor(item))
171171
172172
173173 func getKeyItemDisputeInitiatedBy (item) = ("disputedby_" + item)
174174
175175
176176 func getValueItemDisputeInitiatedBy (item) = getStrByKey(getKeyItemDisputeInitiatedBy(item))
177177
178178
179179 func getKeyItemDisputeClosedBy (item) = ("disputeclosedby_" + item)
180180
181181
182182 func getValueItemDisputeClosedBy (item) = getStrByKey(getKeyItemDisputeClosedBy(item))
183183
184184
185185 func getKeyItemDisputeClosedWinner (item) = "dispute_winner_"
186186
187187
188188 func getKeyValueDisputeClosedWinner (item) = getStrByKey(getKeyItemDisputeClosedWinner(item))
189189
190190
191191 func getKeyItemLastUpdate (item) = ("last_update_" + item)
192192
193193
194194 func getValueItemLastUpdate (item) = getNumberByKey(getKeyItemLastUpdate(item))
195195
196196
197197 func getKeyItemDisputeVotesTranslator (item) = ("cnt_translator_" + item)
198198
199199
200200 func getValueItemDisputeVotesTranslator (item) = getNumberByKey(getKeyItemDisputeVotesTranslator(item))
201201
202202
203203 func getKeyItemDisputeVotesUser (item) = ("cnt_user_" + item)
204204
205205
206206 func getValueItemDisputeVotesUser (item) = getNumberByKey(getKeyItemDisputeVotesUser(item))
207207
208208
209209 func getKeyItemBalance (item) = ("balance_" + item)
210210
211211
212212 func getValueItemBalance (item) = getNumberByKey(getKeyItemBalance(item))
213213
214214
215215 func getKeyItemBalanceAssetID (item) = ("balance_assetID_" + item)
216216
217217
218218 func getValueItemBalanceAssetID (item) = getNumberByKey(getKeyItemBalanceAssetID(item))
219219
220220
221221 func getExtKeyItemWhiteListStatus (account) = ("verifier_status_" + account)
222222
223223
224224 func getExtValueItemWhiteListStatus (oracle,account) = {
225225 let str = match getString(oracle, getExtKeyItemWhiteListStatus(account)) {
226226 case a: String =>
227227 a
228228 case _ =>
229229 NONE
230230 }
231231 str
232232 }
233233
234234
235235 @Callable(i)
236236 func submitTranslation (document,data,assetID,futureBlocks,wordCount,typeOfWork,priceAssetID) = {
237237 let user = toBase58String(i.caller.bytes)
238238 let item = getKeyItem(user, document)
239239 let pmt = extract(i.payment)
240240 let deadlineblock = (height + futureBlocks)
241241 let currstatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, user)
242242 if (if (if (if ((currstatus != WHITELISTED))
243243 then (currstatus != ADMIN)
244244 else false)
245245 then (currstatus != MODERATOR)
246246 else false)
247247 then (user != DAPPADDRESS)
248248 else false)
249249 then throw(("Your account is not registered. status: " + currstatus))
250250 else if (if (if (if (if (if (if ((isDefined(pmt.assetId) != false))
251251 then (pmt.assetId != WETH)
252252 else false)
253253 then (pmt.assetId != WLTC)
254254 else false)
255255 then (pmt.assetId != WEUR)
256256 else false)
257257 then (pmt.assetId != WUSD)
258258 else false)
259259 then (pmt.assetId != WBTC)
260260 else false)
261261 then (pmt.assetId != KOLIN)
262262 else false)
263263 then throw("can only use WAVES, USD, EUR, BTC, ETH, LTC and KOLIN as payment methods")
264264 else if ((pmt.amount != LISTINGFEE))
265265 then throw(((("Please pay exact amount for the listing: " + toString(LISTINGFEE)) + ", actual payment is: ") + toString(pmt.amount)))
266266 else if ((getValueItemAuthor(item) != NONE))
267267 then throw("Item already exist")
268268 else if ((1440 > futureBlocks))
269269 then throw("please allow at least 24 h (~1440 blocks) for the translation work to be published properly")
270270 else if ((futureBlocks > 44640))
271271 then throw("a translation work can not be posted for longer than 31 days (~44640 blocks) ")
272272 else WriteSet([DataEntry(item, item), DataEntry(getKeyItemAuthor(item), user), DataEntry(getKeyItemBlock(item), height), DataEntry(getKeyItemLastUpdate(item), height), DataEntry(getKeyItemDeadline(item), deadlineblock), DataEntry(getKeyItemTypeOfWork(item), typeOfWork), DataEntry(getKeyItemWordCount(item), wordCount), DataEntry(getKeyItemPriceUSD(item), (typeOfWork * wordCount)), DataEntry(getKeyItemAssetID(item), assetID), DataEntry(getKeyItemPriceAssetID(item), priceAssetID), DataEntry(getKeyItemStatus(item), "new post"), DataEntry(getKeyItemData(item), data)])
273273 }
274274
275275
276276
277277 @Callable(i)
278278 func escrow (item,translator,futureBlocks) = {
279279 let user = toBase58String(i.caller.bytes)
280280 let pmt = extract(i.payment)
281281 let deadlineblock = (height + futureBlocks)
282282 let price = getValueItemPriceAssetID(item)
283283 let registeredAssetID = getValueItemAssetID(item)
284284 let translatorStatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, translator)
285285 let userStatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, user)
286286 if (if (if (if ((userStatus != WHITELISTED))
287287 then (user != DAPPADDRESS)
288288 else false)
289289 then (userStatus != ADMIN)
290290 else false)
291291 then (userStatus != MODERATOR)
292292 else false)
293293 then throw(("Your account is not registered. status: " + userStatus))
294294 else if (if (if (if ((translatorStatus != WHITELISTED))
295295 then (translator != DAPPADDRESS)
296296 else false)
297297 then (translatorStatus != ADMIN)
298298 else false)
299299 then (translatorStatus != MODERATOR)
300300 else false)
301301 then throw(("Your account is not registered. status: " + userStatus))
302302 else if ((getValueItemDocument(item) != item))
303303 then throw(((getValueItemDocument(item) + " translation work found for ") + item))
304304 else if ((height >= getValueItemDeadline(item)))
305305 then throw((("deadline for this work (" + toString(getValueItemDeadline(item))) + ") has been already achieved"))
306306 else if ((price > pmt.amount))
307307 then throw(("price lower than posted for this translation work, please pay: " + toString(price)))
308308 else if ((pmt.amount > price))
309309 then throw((("money payed is higher than this translation work, please pay: " + toString(price)) + " there is no need to overspend"))
310310 else if ((user != getValueItemAuthor(item)))
311311 then throw(((("User " + user) + " is different than translation's post creator: ") + getValueItemAuthor(item)))
312312 else if ((userStatus == BLACKLISTED))
313313 then throw("user's account has been blacklisted")
314314 else if ((translatorStatus == BLACKLISTED))
315315 then throw("translator's account has been blacklisted")
316316 else if ((1440 > futureBlocks))
317317 then throw("please allow at least 24 h (~1440 blocks) for the translation work to be published properly")
318318 else if ((futureBlocks > 44640))
319319 then throw("a translation work can not be posted for longer than 31 days (~44640 blocks) ")
320320 else if ((getValueItemStatus(item) != "new post"))
321321 then throw(("escrow for this work already present. Current status: " + getValueItemStatus(("item_" + item))))
322322 else ScriptResult(WriteSet([DataEntry(getKeyItemStatus(item), "work allocated to translator"), DataEntry(getKeyItemTranslator(item), translator), DataEntry(getKeyItemDueFor(item), deadlineblock), DataEntry(getKeyItemLastUpdate(item), height), DataEntry(getKeyItemBalance(item), pmt.amount), DataEntry(getKeyItemBalanceAssetID(item), registeredAssetID)]), TransferSet(nil))
323323 }
324324
325325
326326
327327 @Callable(i)
328328 func disputeEscrow (item) = {
329329 let caller = toBase58String(i.caller.bytes)
330330 let amount = getValueItemPriceAssetID(item)
331331 let assetID = getValueItemAssetID(item)
332332 let blockUnlocked = getValueItemDueFor(item)
333333 let translatorStatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, getValueItemTranslator(item))
334334 let userStatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, getValueItemAuthor(item))
335335 let currstatus = getValueWhitelistStatus(caller)
336336 if (if (if ((currstatus != WHITELISTED))
337337 then (caller != DAPPADDRESS)
338338 else false)
339339 then (currstatus != ADMIN)
340340 else false)
341341 then throw(("Your account is not registered. status: " + currstatus))
342342 else if (if (if ((caller != getValueItemTranslator(item)))
343343 then true
344344 else (caller != getValueItemAuthor(item)))
345345 then true
346346 else (caller != ADMIN))
347347 then throw("just work creator, translator or an admin can initiate a dispute")
348348 else if ((getKeyItemStatus(item) == "dispute in progress"))
349349 then throw("This work is currently under dispute")
350350 else if ((userStatus == BLACKLISTED))
351351 then throw("user's account has been blacklisted")
352352 else if ((translatorStatus == BLACKLISTED))
353353 then throw("translator's account has been blacklisted")
354354 else ScriptResult(WriteSet([DataEntry(getKeyItemStatus(item), "dispute in progress"), DataEntry(getKeyItemDisputeInitiatedBy(item), caller), DataEntry(getKeyItemDueFor(item), (height + 1440)), DataEntry(getKeyItemLastUpdate(item), height), DataEntry(getKeyItemDisputeClosedBy(item), NONE), DataEntry(getKeyItemDisputeClosedWinner(item), NONE)]), TransferSet(nil))
355355 }
356356
357357
358358
359359 @Callable(i)
360360 func disputeCloseEscrow (item) = {
361361 let caller = toBase58String(i.caller.bytes)
362362 let amount = getValueItemPriceAssetID(item)
363363 let assetID = getValueItemAssetID(item)
364364 let blockUnlocked = getValueItemDueFor(item)
365365 let translatorStatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, getValueItemTranslator(item))
366366 let userStatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, getValueItemAuthor(item))
367367 let currstatus = getValueWhitelistStatus(caller)
368368 if (if (if ((currstatus != WHITELISTED))
369369 then (caller != DAPPADDRESS)
370370 else false)
371371 then (currstatus != ADMIN)
372372 else false)
373373 then throw(("Your account is not registered. status: " + currstatus))
374374 else if ((currstatus != ADMIN))
375375 then throw("just admins can close a dispute")
376376 else if ((getKeyItemStatus(item) != "dispute in progress"))
377377 then throw("This work is not under dispute")
378378 else if ((userStatus == BLACKLISTED))
379379 then throw("user's account has been blacklisted")
380380 else if ((translatorStatus == BLACKLISTED))
381381 then throw("translator's account has been blacklisted")
382382 else if (if ((QUORUM > getValueItemDisputeVotesTranslator(item)))
383383 then (QUORUM > getValueItemDisputeVotesUser(item))
384384 else false)
385385 then throw("Votes are not enough to favour any involved part")
386386 else if ((getValueItemDisputeVotesTranslator(item) >= QUORUM))
387387 then ScriptResult(WriteSet([DataEntry(getKeyItemStatus(item), "dispute closed"), DataEntry(getKeyItemDisputeClosedBy(item), caller), DataEntry(getKeyItemDisputeClosedWinner(item), getValueItemTranslator(item)), DataEntry(getKeyItemLastUpdate(item), height)]), TransferSet([ScriptTransfer(addressFromStringValue(getValueItemTranslator(item)), amount, fromBase58String(assetID))]))
388388 else if ((getValueItemDisputeVotesUser(item) >= QUORUM))
389389 then ScriptResult(WriteSet([DataEntry(getKeyItemStatus(item), "dispute closed"), DataEntry(getKeyItemDisputeClosedBy(item), caller), DataEntry(getKeyItemDisputeClosedWinner(item), getValueItemAuthor(item)), DataEntry(getKeyItemLastUpdate(item), height)]), TransferSet([ScriptTransfer(addressFromStringValue(getValueItemAuthor(item)), amount, fromBase58String(assetID))]))
390390 else ScriptResult(WriteSet([DataEntry(getKeyItemStatus(item), "dispute still under review"), DataEntry(getKeyItemDisputeClosedBy(item), NONE), DataEntry(getKeyItemDisputeClosedWinner(item), NONE), DataEntry(getKeyItemLastUpdate(item), height), DataEntry(getKeyItemDueFor(item), (height + 1440))]), TransferSet(nil))
391391 }
392392
393393
394394
395395 @Callable(i)
396396 func voteDisputeEscrow (item,vote) = {
397397 let caller = toBase58String(i.caller.bytes)
398398 if ((getValueItemStatus(item) == "dispute closed"))
399399 then throw("this dispute is closed")
400400 else if (if ((getValueWhitelistStatus(caller) != MODERATOR))
401401 then true
402402 else (getValueWhitelistStatus(caller) != ADMIN))
403403 then throw("you either need to be an ADMIN or a MODERATOR to vote in disputes")
404404 else if (if ((getValueItemStatus(item) != "dispute in progress"))
405405 then true
406406 else (getValueItemStatus(item) != "dispute still under review"))
407407 then throw("translation work not under dispute")
408408 else if ((getValueItemDisputeVotesTranslator(item) >= QUORUM))
409409 then throw("Votes are enough to favour the Translator")
410410 else if ((getValueItemDisputeVotesUser(item) >= QUORUM))
411411 then throw("Votes are enough to favour the User")
412412 else if ((vote == getValueItemAuthor(item)))
413413 then WriteSet([DataEntry(getKeyItemDisputeVotesUser(item), (getValueItemDisputeVotesUser(item) + 1))])
414414 else if ((vote == getValueItemTranslator(item)))
415415 then WriteSet([DataEntry(getKeyItemDisputeVotesTranslator(item), (getValueItemDisputeVotesTranslator(item) + 1))])
416416 else throw("vote not submitted")
417417 }
418418
419419
420420
421421 @Callable(i)
422422 func withdrawEscrow (item) = {
423423 let caller = toBase58String(i.caller.bytes)
424424 let assetID = getValueItemAssetID(item)
425425 let amount = getValueItemPriceAssetID(item)
426426 let currstatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, caller)
427427 let translatorStatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, getValueItemTranslator(item))
428428 let userStatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, getValueItemAuthor(item))
429429 if (if (if ((currstatus != WHITELISTED))
430430 then (caller != DAPPADDRESS)
431431 else false)
432432 then (currstatus != ADMIN)
433433 else false)
434434 then throw(("Your account is not registered. status: " + currstatus))
435- else if ((getValueItemDueFor(item) > height))
436- then throw("Deadline has not finished yet")
437- else if ((getKeyItemStatus(item) == "dispute in progress"))
438- then throw("This work is currently under dispute")
439- else if (if ((caller != getValueItemTranslator(item)))
440- then true
441- else (caller != getValueItemAuthor(item)))
442- then throw("just work creator or translator can withdraw funds. Admins must initiate a dispute")
443- else if (if ((caller == getValueItemAuthor(item)))
444- then (userStatus == BLACKLISTED)
445- else false)
446- then throw("user's account has been blacklisted")
447- else if (if ((caller == getValueItemTranslator(item)))
448- then (translatorStatus == BLACKLISTED)
449- else false)
450- then throw("translator's account has been blacklisted")
435+ else if (if ((caller != getValueItemTranslator(item)))
436+ then true
437+ else (caller != getValueItemAuthor(item)))
438+ then throw("just work creator or translator can withdraw funds. Admins must initiate a dispute")
439+ else if (if ((caller == getValueItemAuthor(item)))
440+ then (userStatus == BLACKLISTED)
441+ else false)
442+ then throw("user's account has been blacklisted")
443+ else if (if ((caller == getValueItemTranslator(item)))
444+ then (translatorStatus == BLACKLISTED)
445+ else false)
446+ then throw("translator's account has been blacklisted")
447+ else if ((getValueItemDueFor(item) > height))
448+ then throw(((("Deadline ( " + toString(getValueItemDueFor(item))) + ") has not finished yet. Current height: ") + toString(height)))
449+ else if ((getKeyItemStatus(item) == "dispute in progress"))
450+ then throw("This work is currently under dispute")
451451 else ScriptResult(WriteSet([DataEntry(getKeyItemBalance(item), 0), DataEntry(getKeyItemStatus(item), ("money withdrawn by " + caller)), DataEntry(getKeyItemLastUpdate(item), height)]), TransferSet([ScriptTransfer(addressFromStringValue(caller), amount, fromBase58String(assetID))]))
452452 }
453453
454454
455455
456456 @Callable(i)
457457 func inviteuser (newaccount,data) = {
458458 let caller = toBase58String(i.caller.bytes)
459459 let newstatus = getValueWhitelistStatus(newaccount)
460460 let currstatus = getValueWhitelistStatus(caller)
461461 if (if (if ((newstatus == WHITELISTED))
462462 then true
463463 else (newstatus == MODERATOR))
464464 then true
465465 else (newstatus == ADMIN))
466466 then throw("User has already been registered")
467467 else if ((newstatus == BLACKLISTED))
468468 then throw("The user you want to invite is already Blacklisted")
469469 else if (if (if ((currstatus != WHITELISTED))
470470 then (caller != DAPPADDRESS)
471471 else false)
472472 then (currstatus != ADMIN)
473473 else false)
474474 then throw(("Your account should be whitelisted. status: " + currstatus))
475475 else WriteSet([DataEntry(getKeyWhitelistRef(newaccount), caller), DataEntry(getKeyWhitelistBio(newaccount), data), DataEntry(getKeyWhitelistStatus(newaccount), INVITED)])
476476 }
477477
478478
479479
480480 @Callable(i)
481481 func userupdate (data,type) = {
482482 let account = toBase58String(i.caller.bytes)
483483 if (if (if ((type == MODERATOR))
484484 then true
485485 else (type == ADMIN))
486486 then (getValueWhitelistStatus(account) == WHITELISTED)
487487 else false)
488488 then throw("an ADMIN or MODERATOR account can be created by an ADMIN only")
489489 else if (if ((type == ADMIN))
490490 then (getValueWhitelistStatus(account) != ADMIN)
491491 else false)
492492 then throw("an ADMIN account can be created by another ADMIN only")
493493 else WriteSet([DataEntry(getKeyWhitelistBio(account), data), DataEntry(getKeyWhitelistStatus(account), if ((type == MODERATOR))
494494 then MODERATOR
495495 else if ((type == ADMIN))
496496 then ADMIN
497497 else WHITELISTED)])
498498 }
499499
500500
501501
502502 @Callable(i)
503503 func signupbylink (hash,data,type) = {
504504 let account = toBase58String(i.caller.bytes)
505505 let status = getValueWhitelistStatus(hash)
506506 if ((status != INVITED))
507507 then throw(((((("Referral invite needed. Current status: " + status) + ", key:") + getKeyWhitelistStatus(hash)) + ", account:") + hash))
508508 else WriteSet([DataEntry(getKeyWhitelistBio(account), data), DataEntry(getKeyWhitelistBlock(account), height), DataEntry(getKeyWhitelistStatus(account), if ((type == MODERATOR))
509509 then MODERATOR
510510 else WHITELISTED), DataEntry(getKeyWhitelistStatus(hash), SPENDINVITE), DataEntry(getKeyWhitelistRef(account), getValueWhitelistRef(hash))])
511511 }
512512
513513
514514
515515 @Callable(i)
516516 func signup (data,type) = {
517517 let account = toBase58String(i.caller.bytes)
518518 let status = getValueWhitelistStatus(account)
519519 if ((status == NONE))
520520 then throw(((((("Referral invite needed. Current status: " + status) + ", key:") + getKeyWhitelistStatus(account)) + ", account:") + account))
521521 else WriteSet([DataEntry(getKeyWhitelistBio(account), data), DataEntry(getKeyWhitelistBlock(account), height), DataEntry(getKeyWhitelistStatus(account), if ((type == MODERATOR))
522522 then MODERATOR
523523 else WHITELISTED)])
524524 }
525525
526526
527527
528528 @Callable(i)
529529 func reportProject (item,data) = {
530530 let account = toBase58String(i.caller.bytes)
531531 WriteSet([DataEntry(getKeyItemAccReportData(item, account), data)])
532532 }
533533
534534

github/deemru/w8io/026f985 
100.28 ms