tx · 2yHahLYuxquyTdJGVfdiDVyjsQR4LcC6P8SvMb9btodj

3N2FjnCq4gcpewsYQVT4scz9MjTgD6a4kQK:  -0.01400000 Waves

2019.09.25 20:55 [692183] smart account 3N2FjnCq4gcpewsYQVT4scz9MjTgD6a4kQK > SELF 0.00000000 Waves

{ "type": 13, "id": "2yHahLYuxquyTdJGVfdiDVyjsQR4LcC6P8SvMb9btodj", "fee": 1400000, "feeAssetId": null, "timestamp": 1569434043328, "version": 1, "sender": "3N2FjnCq4gcpewsYQVT4scz9MjTgD6a4kQK", "senderPublicKey": "7A8H5cWfJVSpSrnB71CzWqyNm8KMxZPjwFcj1mDUU8an", "proofs": [ "ADUkhNXMETNhEgfzJA38oWn7sdnLqjT2XRtyBB7te9cqiZbZTA4C8Y3rWX2n9H7Rbt3Y2bKTdoTwYUNK2sE6RYC" ], "script": "base64:AAIDAAAAAAAAAAAAAABKAAAAABZvcmFjbGVXaGl0ZUxpc3RBZGRyZXNzCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFURgbF8Y7OPgkLtFiSdXpmu5LRzu6Rj638AAAAABR0aGlzQWRkcmVzc1B1YmxpY0tleQEAAAAgW3yTxZOTTiNmvooSpXcphBB5DlU9aluLSa1r39oafQsAAAAAC0RBUFBBRERSRVNTAgAAACMzTjJGam5DcTRnY3Bld3NZUVZUNHNjejlNalRnRDZhNGtRSwAAAAAFQURNSU4CAAAAIzNOQ0tvRlF4UmY3enNETmJpdkxGdzFvSjd5OHFKekxtRXM0AAAAAARXVVNEAQAAACDdHL0B8M91BTB4B7KotjiY0UXdXB+6M1rjQG/6Zllw/QAAAAAEV0VVUgEAAAAg7BZhBF97kSFBBjs38+fX1Pjz08YOqoCX85C/0PoVupkAAAAABFdCVEMBAAAAIGz6av/F7aqMC3+1KpPSogwvgoLbdHoEjFP7/RMfc6D/AAAAAAVLT0xJTgEAAAAg2pnGDzCaCArIN9AsIhvcgYMfZowVYuDqNDNtJmjyiQ0AAAAABFdFVEgBAAAA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CQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQEAAAASZ2V0S2V5V2hpdGVsaXN0QmlvAAAAAQUAAAAHYWNjb3VudAUAAAAEZGF0YQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkBAAAAFGdldEtleVdoaXRlbGlzdEJsb2NrAAAAAQUAAAAHYWNjb3VudAUAAAAGaGVpZ2h0CQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQEAAAAVZ2V0S2V5V2hpdGVsaXN0U3RhdHVzAAAAAQUAAAAHYWNjb3VudAMJAAAAAAAAAgUAAAAEdHlwZQUAAAAJTU9ERVJBVE9SBQAAAAlNT0RFUkFUT1IFAAAAC1dISVRFTElTVEVEBQAAAANuaWwAAAABaQEAAAANcmVwb3J0UHJvamVjdAAAAAIAAAAEaXRlbQAAAARkYXRhBAAAAAdhY2NvdW50CQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAQAAABdnZXRLZXlJdGVtQWNjUmVwb3J0RGF0YQAAAAIFAAAABGl0ZW0FAAAAB2FjY291bnQFAAAABGRhdGEFAAAAA25pbAAAAAD12g3E", "chainId": 84, "height": 692183, "spentComplexity": 0 } View: original | compacted Prev: Hy7kguq5FvC4VuB9DaPHoXHrjsACeeiRobuuWNDAGuCJ Next: CVs5iAKtPBiEdVaddunNfwDzpZXfvHY8oNbYDsxxWsyQ Diff:
OldNewDifferences
237237 let deadlineblock = (lastBlock.height + futureBlocks)
238238 let currstatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, user)
239239 if (if (if ((currstatus != WHITELISTED))
240+ then (currstatus != ADMIN)
241+ else false)
240242 then (user != DAPPADDRESS)
241243 else false)
242- then (currstatus != ADMIN)
243- else false)
244244 then throw(("Your account is not registered. status: " + currstatus))
245- else if (if (if (if (if (if ((pmt.assetId != WETH))
245+ else if (if (if (if (if (if (if ((isDefined(pmt.assetId) != false))
246+ then true
247+ else (pmt.assetId != WETH))
246248 then true
247249 else (pmt.assetId != WLTC))
248250 then true
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 = "registered"
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 getKeyItemDocument (document) = ("document_" + document)
6666
6767
6868 func getValueItemDocument (item) = getStrByKey(getKeyItemDocument(item))
6969
7070
7171 func getKeyWhitelistRef (account) = ("wl_ref_" + account)
7272
7373
7474 func getValueWhitelistRef (account) = getStrByKey(getKeyWhitelistRef(account))
7575
7676
7777 func getKeyWhitelistStatus (account) = ("wl_sts_" + account)
7878
7979
8080 func getKeyBalance (account) = ("balance_" + account)
8181
8282
8383 func getKeyWhitelistBio (account) = ("wl_bio_" + account)
8484
8585
8686 func getKeyWhitelistBlock (account) = ("wl_blk_" + account)
8787
8888
8989 func getKeyItemAccReportData (item,account) = ((("report_" + item) + "_") + account)
9090
9191
9292 func getValueBalance (account) = getNumberByKey(getKeyBalance(account))
9393
9494
9595 func getValueWhitelistStatus (account) = getStrByKey(getKeyWhitelistStatus(account))
9696
9797
9898 func getKeyItemAuthor (item) = ("author_" + item)
9999
100100
101101 func getValueItemAuthor (item) = getStrByKey(getKeyItemAuthor(item))
102102
103103
104104 func getKeyItemDeadline (item) = ("deadlineblock_" + item)
105105
106106
107107 func getValueItemDeadline (item) = getNumberByKey(getKeyItemDeadline(item))
108108
109109
110110 func getKeyItemBlock (item) = ("block_" + item)
111111
112112
113113 func getValueItemBlock (item) = getNumberByKey(getKeyItemBlock(item))
114114
115115
116116 func getKeyItemTypeOfWork (item) = ("typeofwork_" + item)
117117
118118
119119 func getValueItemTypeOfWork (item) = getNumberByKey(getKeyItemTypeOfWork(item))
120120
121121
122122 func getKeyItemWordCount (item) = ("wordcount_" + item)
123123
124124
125125 func getValueItemWordCount (item) = getNumberByKey(getKeyItemWordCount(item))
126126
127127
128128 func getKeyItemPriceUSD (item) = ("priceUSD_" + item)
129129
130130
131131 func getValueItemPriceUSD (item) = getNumberByKey(getKeyItemPriceUSD(item))
132132
133133
134134 func getKeyItemAssetID (item) = ("pmtassetID_" + item)
135135
136136
137137 func getValueItemAssetID (item) = getStrByKey(getKeyItemAssetID(item))
138138
139139
140140 func getKeyItemPriceAssetID (item) = ("priceassetID_" + item)
141141
142142
143143 func getValueItemPriceAssetID (item) = getNumberByKey(getKeyItemPriceAssetID(item))
144144
145145
146146 func getKeyItemData (item) = ("datajson_" + item)
147147
148148
149149 func getValueItemData (item) = getStrByKey(getKeyItemData(item))
150150
151151
152152 func getKeyItemStatus (item) = ("status_" + item)
153153
154154
155155 func getValueItemStatus (item) = getStrByKey(getKeyItemStatus(item))
156156
157157
158158 func getKeyItemTranslator (item) = ("translator_" + item)
159159
160160
161161 func getValueItemTranslator (item) = getStrByKey(getKeyItemTranslator(item))
162162
163163
164164 func getKeyItemDueFor (item) = ("due_for_" + item)
165165
166166
167167 func getValueItemDueFor (item) = getNumberByKey(getKeyItemDueFor(item))
168168
169169
170170 func getKeyItemDisputeInitiatedBy (item) = ("disputedby_" + item)
171171
172172
173173 func getValueItemDisputeInitiatedBy (item) = getStrByKey(getKeyItemDisputeInitiatedBy(item))
174174
175175
176176 func getKeyItemDisputeClosedBy (item) = ("disputeclosedby_" + item)
177177
178178
179179 func getValueItemDisputeClosedBy (item) = getStrByKey(getKeyItemDisputeClosedBy(item))
180180
181181
182182 func getKeyItemDisputeClosedWinner (item) = "dispute_winner_"
183183
184184
185185 func getKeyValueDisputeClosedWinner (item) = getStrByKey(getKeyItemDisputeClosedWinner(item))
186186
187187
188188 func getKeyItemLastUpdate (item) = ("last_update_" + item)
189189
190190
191191 func getValueItemLastUpdate (item) = getNumberByKey(getKeyItemLastUpdate(item))
192192
193193
194194 func getKeyItemDisputeVotesTranslator (item) = ("cnt_translator_" + item)
195195
196196
197197 func getValueItemDisputeVotesTranslator (item) = getNumberByKey(getKeyItemDisputeVotesTranslator(item))
198198
199199
200200 func getKeyItemDisputeVotesUser (item) = ("cnt_user_" + item)
201201
202202
203203 func getValueItemDisputeVotesUser (item) = getNumberByKey(getKeyItemDisputeVotesUser(item))
204204
205205
206206 func getKeyItemBalance (item) = ("balance_" + item)
207207
208208
209209 func getValueItemBalance (item) = getNumberByKey(getKeyItemBalance(item))
210210
211211
212212 func getKeyItemBalanceAssetID (item) = ("balance_assetID" + item)
213213
214214
215215 func getValueItemBalanceAssetID (item) = getNumberByKey(getKeyItemBalanceAssetID(item))
216216
217217
218218 func getExtKeyItemWhiteListStatus (account) = ("verifier_status_" + account)
219219
220220
221221 func getExtValueItemWhiteListStatus (oracle,account) = {
222222 let str = match getString(oracle, getExtKeyItemWhiteListStatus(account)) {
223223 case a: String =>
224224 a
225225 case _ =>
226226 NONE
227227 }
228228 str
229229 }
230230
231231
232232 @Callable(i)
233233 func submitTranslation (document,data,assetID,futureBlocks,wordCount,typeOfWork,priceAssetID) = {
234234 let user = toBase58String(i.caller.bytes)
235235 let item = getKeyItem(user, document)
236236 let pmt = extract(i.payment)
237237 let deadlineblock = (lastBlock.height + futureBlocks)
238238 let currstatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, user)
239239 if (if (if ((currstatus != WHITELISTED))
240+ then (currstatus != ADMIN)
241+ else false)
240242 then (user != DAPPADDRESS)
241243 else false)
242- then (currstatus != ADMIN)
243- else false)
244244 then throw(("Your account is not registered. status: " + currstatus))
245- else if (if (if (if (if (if ((pmt.assetId != WETH))
245+ else if (if (if (if (if (if (if ((isDefined(pmt.assetId) != false))
246+ then true
247+ else (pmt.assetId != WETH))
246248 then true
247249 else (pmt.assetId != WLTC))
248250 then true
249251 else (pmt.assetId != WEUR))
250252 then true
251253 else (pmt.assetId != WUSD))
252254 then true
253255 else (pmt.assetId != WBTC))
254256 then true
255257 else (pmt.assetId != KOLIN))
256258 then throw("can only use WAVES, USD, EUR, BTC, ETH, LTC and KOLIN as payment methods")
257259 else if ((pmt.amount != LISTINGFEE))
258260 then throw(((("Please pay exact amount for the listing: " + toString(LISTINGFEE)) + ", actual payment is: ") + toString(pmt.amount)))
259261 else if ((getValueItemAuthor(item) != NONE))
260262 then throw("Item already exist")
261263 else if ((1440 > futureBlocks))
262264 then throw("please allow at least 24 h (~1440 blocks) for the translation work to be published properly")
263265 else if ((futureBlocks > 44640))
264266 then throw("a translation work can not be posted for longer than 31 days (~44640 blocks) ")
265267 else WriteSet([DataEntry(getKeyItemDocument(document), 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)])
266268 }
267269
268270
269271
270272 @Callable(i)
271273 func escrow (item,translator,futureBlocks) = {
272274 let user = toBase58String(i.caller.bytes)
273275 let pmt = extract(i.payment)
274276 let deadlineblock = (lastBlock.height + futureBlocks)
275277 let price = getValueItemPriceAssetID(item)
276278 let registeredAssetID = getValueItemAssetID(item)
277279 let translatorStatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, translator)
278280 let userStatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, user)
279281 let currstatus = getValueWhitelistStatus(user)
280282 if (if (if ((currstatus != WHITELISTED))
281283 then (user != DAPPADDRESS)
282284 else false)
283285 then (currstatus != ADMIN)
284286 else false)
285287 then throw(("Your account is not registered. status: " + currstatus))
286288 else if ((getValueItemDocument(item) != item))
287289 then throw("translation work not found")
288290 else if ((getValueItemDeadline(item) >= lastBlock.height))
289291 then throw("deadline for this work has been already achieved")
290292 else if ((price > pmt.amount))
291293 then throw("price lower than posted for this translation work")
292294 else if ((pmt.amount > price))
293295 then throw("money payed is higher than this translation work, no need to overspend")
294296 else if ((user != getValueItemAuthor(item)))
295297 then throw("User is different than translation's post creator")
296298 else if ((userStatus == BLACKLISTED))
297299 then throw("user's account has been blacklisted")
298300 else if ((translatorStatus == BLACKLISTED))
299301 then throw("translator's account has been blacklisted")
300302 else if ((1440 > futureBlocks))
301303 then throw("please allow at least 24 h (~1440 blocks) for the translation work to be published properly")
302304 else if ((futureBlocks > 44640))
303305 then throw("a translation work can not be posted for longer than 31 days (~44640 blocks) ")
304306 else if ((getValueItemStatus(item) != "new post"))
305307 then throw("escrow for this work already present")
306308 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))
307309 }
308310
309311
310312
311313 @Callable(i)
312314 func disputeEscrow (item) = {
313315 let caller = toBase58String(i.caller.bytes)
314316 let amount = getValueItemPriceAssetID(item)
315317 let assetID = getValueItemAssetID(item)
316318 let blockUnlocked = getValueItemDueFor(item)
317319 let translatorStatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, getValueItemTranslator(item))
318320 let userStatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, getValueItemAuthor(item))
319321 let currstatus = getValueWhitelistStatus(caller)
320322 if (if (if ((currstatus != WHITELISTED))
321323 then (caller != DAPPADDRESS)
322324 else false)
323325 then (currstatus != ADMIN)
324326 else false)
325327 then throw(("Your account is not registered. status: " + currstatus))
326328 else if (if (if ((caller != getValueItemTranslator(item)))
327329 then true
328330 else (caller != getValueItemAuthor(item)))
329331 then true
330332 else (caller != ADMIN))
331333 then throw("just work creator, translator or an admin can initiate a dispute")
332334 else if ((getKeyItemStatus(item) == "dispute in progress"))
333335 then throw("This work is currently under dispute")
334336 else if ((userStatus == BLACKLISTED))
335337 then throw("user's account has been blacklisted")
336338 else if ((translatorStatus == BLACKLISTED))
337339 then throw("translator's account has been blacklisted")
338340 else ScriptResult(WriteSet([DataEntry(getKeyItemStatus(item), "dispute in progress"), DataEntry(getKeyItemDisputeInitiatedBy(item), caller), DataEntry(getKeyItemDueFor(item), (lastBlock.height + 1440)), DataEntry(getKeyItemLastUpdate(item), height), DataEntry(getKeyItemDisputeClosedBy(item), NONE), DataEntry(getKeyItemDisputeClosedWinner(item), NONE)]), TransferSet(nil))
339341 }
340342
341343
342344
343345 @Callable(i)
344346 func disputeCloseEscrow (item) = {
345347 let caller = toBase58String(i.caller.bytes)
346348 let amount = getValueItemPriceAssetID(item)
347349 let assetID = getValueItemAssetID(item)
348350 let blockUnlocked = getValueItemDueFor(item)
349351 let translatorStatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, getValueItemTranslator(item))
350352 let userStatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, getValueItemAuthor(item))
351353 let currstatus = getValueWhitelistStatus(caller)
352354 if (if (if ((currstatus != WHITELISTED))
353355 then (caller != DAPPADDRESS)
354356 else false)
355357 then (currstatus != ADMIN)
356358 else false)
357359 then throw(("Your account is not registered. status: " + currstatus))
358360 else if ((currstatus != ADMIN))
359361 then throw("just admins can close a dispute")
360362 else if ((getKeyItemStatus(item) != "dispute in progress"))
361363 then throw("This work is not under dispute")
362364 else if ((userStatus == BLACKLISTED))
363365 then throw("user's account has been blacklisted")
364366 else if ((translatorStatus == BLACKLISTED))
365367 then throw("translator's account has been blacklisted")
366368 else if (if ((QUORUM > getValueItemDisputeVotesTranslator(item)))
367369 then (QUORUM > getValueItemDisputeVotesUser(item))
368370 else false)
369371 then throw("Votes are not enough to favour any involved part")
370372 else if ((getValueItemDisputeVotesTranslator(item) >= QUORUM))
371373 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))]))
372374 else if ((getValueItemDisputeVotesUser(item) >= QUORUM))
373375 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))]))
374376 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), (lastBlock.height + 1440))]), TransferSet(nil))
375377 }
376378
377379
378380
379381 @Callable(i)
380382 func voteDisputeEscrow (item,vote) = {
381383 let caller = toBase58String(i.caller.bytes)
382384 if ((getValueItemStatus(item) == "dispute closed"))
383385 then throw("this dispute is closed")
384386 else if (if ((getValueWhitelistStatus(caller) != MODERATOR))
385387 then true
386388 else (getValueWhitelistStatus(caller) != ADMIN))
387389 then throw("you either need to be an ADMIN or a MODERATOR to vote in disputes")
388390 else if (if ((getValueItemStatus(item) != "dispute in progress"))
389391 then true
390392 else (getValueItemStatus(item) != "dispute still under review"))
391393 then throw("translation work not under dispute")
392394 else if ((getValueItemDisputeVotesTranslator(item) >= QUORUM))
393395 then throw("Votes are enough to favour the Translator")
394396 else if ((getValueItemDisputeVotesUser(item) >= QUORUM))
395397 then throw("Votes are enough to favour the User")
396398 else if ((vote == getValueItemAuthor(item)))
397399 then WriteSet([DataEntry(getKeyItemDisputeVotesUser(item), (getValueItemDisputeVotesUser(item) + 1))])
398400 else if ((vote == getValueItemTranslator(item)))
399401 then WriteSet([DataEntry(getKeyItemDisputeVotesTranslator(item), (getValueItemDisputeVotesTranslator(item) + 1))])
400402 else throw("vote not submitted")
401403 }
402404
403405
404406
405407 @Callable(i)
406408 func withdrawEscrow (address,item) = {
407409 let caller = toBase58String(i.caller.bytes)
408410 let assetID = getValueItemAssetID(item)
409411 let amount = getValueItemPriceAssetID(item)
410412 let currstatus = getValueWhitelistStatus(caller)
411413 let translatorStatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, getValueItemTranslator(item))
412414 let userStatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, getValueItemAuthor(item))
413415 if (if (if ((currstatus != WHITELISTED))
414416 then (caller != DAPPADDRESS)
415417 else false)
416418 then (currstatus != ADMIN)
417419 else false)
418420 then throw(("Your account is not registered. status: " + currstatus))
419421 else if ((getValueItemDueFor(item) > lastBlock.height))
420422 then throw("Deadline has not finished yet")
421423 else if ((getKeyItemStatus(item) == "dispute in progress"))
422424 then throw("This work is currently under dispute")
423425 else if (if ((caller != getValueItemTranslator(item)))
424426 then true
425427 else (caller != getValueItemAuthor(item)))
426428 then throw("just work creator or translator can withdraw funds. Admins must initiate a dispute")
427429 else if (if ((caller == getValueItemAuthor(item)))
428430 then (userStatus == BLACKLISTED)
429431 else false)
430432 then throw("user's account has been blacklisted")
431433 else if (if ((caller == getValueItemTranslator(item)))
432434 then (translatorStatus == BLACKLISTED)
433435 else false)
434436 then throw("translator's account has been blacklisted")
435437 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))]))
436438 }
437439
438440
439441
440442 @Callable(i)
441443 func inviteuser (newaccount,data) = {
442444 let caller = toBase58String(i.caller.bytes)
443445 let newstatus = getValueWhitelistStatus(newaccount)
444446 let currstatus = getValueWhitelistStatus(caller)
445447 if (if (if ((newstatus == WHITELISTED))
446448 then true
447449 else (newstatus == MODERATOR))
448450 then true
449451 else (newstatus == ADMIN))
450452 then throw("User has already been registered")
451453 else if ((newstatus == BLACKLISTED))
452454 then throw("The user you want to invite is already Blacklisted")
453455 else if (if (if ((currstatus != WHITELISTED))
454456 then (caller != DAPPADDRESS)
455457 else false)
456458 then (currstatus != ADMIN)
457459 else false)
458460 then throw(("Your account should be whitelisted. status: " + currstatus))
459461 else WriteSet([DataEntry(getKeyWhitelistRef(newaccount), caller), DataEntry(getKeyWhitelistBio(newaccount), data), DataEntry(getKeyWhitelistStatus(newaccount), INVITED)])
460462 }
461463
462464
463465
464466 @Callable(i)
465467 func userupdate (data,type) = {
466468 let account = toBase58String(i.caller.bytes)
467469 if (if (if ((type == MODERATOR))
468470 then true
469471 else (type == ADMIN))
470472 then (getValueWhitelistStatus(account) == WHITELISTED)
471473 else false)
472474 then throw("an ADMIN or MODERATOR account can be created by an ADMIN only")
473475 else if (if ((type == ADMIN))
474476 then (getValueWhitelistStatus(account) != ADMIN)
475477 else false)
476478 then throw("an ADMIN account can be created by another ADMIN only")
477479 else WriteSet([DataEntry(getKeyWhitelistBio(account), data), DataEntry(getKeyWhitelistStatus(account), if ((type == MODERATOR))
478480 then MODERATOR
479481 else if ((type == ADMIN))
480482 then ADMIN
481483 else WHITELISTED)])
482484 }
483485
484486
485487
486488 @Callable(i)
487489 func signupbylink (hash,data,type) = {
488490 let account = toBase58String(i.caller.bytes)
489491 let status = getValueWhitelistStatus(hash)
490492 if ((status != INVITED))
491493 then throw(((((("Referral invite needed. Current status: " + status) + ", key:") + getKeyWhitelistStatus(hash)) + ", account:") + hash))
492494 else WriteSet([DataEntry(getKeyWhitelistBio(account), data), DataEntry(getKeyWhitelistBlock(account), height), DataEntry(getKeyWhitelistStatus(account), if ((type == MODERATOR))
493495 then MODERATOR
494496 else WHITELISTED), DataEntry(getKeyWhitelistStatus(hash), SPENDINVITE), DataEntry(getKeyWhitelistRef(account), getValueWhitelistRef(hash))])
495497 }
496498
497499
498500
499501 @Callable(i)
500502 func signup (data,type) = {
501503 let account = toBase58String(i.caller.bytes)
502504 let status = getValueWhitelistStatus(account)
503505 if ((status == NONE))
504506 then throw(((((("Referral invite needed. Current status: " + status) + ", key:") + getKeyWhitelistStatus(account)) + ", account:") + account))
505507 else WriteSet([DataEntry(getKeyWhitelistBio(account), data), DataEntry(getKeyWhitelistBlock(account), height), DataEntry(getKeyWhitelistStatus(account), if ((type == MODERATOR))
506508 then MODERATOR
507509 else WHITELISTED)])
508510 }
509511
510512
511513
512514 @Callable(i)
513515 func reportProject (item,data) = {
514516 let account = toBase58String(i.caller.bytes)
515517 WriteSet([DataEntry(getKeyItemAccReportData(item, account), data)])
516518 }
517519
518520

github/deemru/w8io/169f3d6 
65.27 ms