tx · HzxpiNb6y6Czo61JyB6uUGb6cAZDiLLQ9ozT7YUQbwUX 3N2FjnCq4gcpewsYQVT4scz9MjTgD6a4kQK: -0.01400000 Waves 2019.09.27 01:14 [693940] smart account 3N2FjnCq4gcpewsYQVT4scz9MjTgD6a4kQK > SELF 0.00000000 Waves
{ "type": 13, "id": "HzxpiNb6y6Czo61JyB6uUGb6cAZDiLLQ9ozT7YUQbwUX", "fee": 1400000, "feeAssetId": null, "timestamp": 1569536034389, "version": 1, "sender": "3N2FjnCq4gcpewsYQVT4scz9MjTgD6a4kQK", "senderPublicKey": "7A8H5cWfJVSpSrnB71CzWqyNm8KMxZPjwFcj1mDUU8an", "proofs": [ "4uQ3bbHEMpwnqBWc3FoJHewiviECzaNRbi1TtMAoaHZtMx8APo26qcmuT8nkPv7Ry2UkCYuo8gLP9gQuATYLCGYT" ], "script": "base64:AAIDAAAAAAAAAAAAAABKAAAAABZvcmFjbGVXaGl0ZUxpc3RBZGRyZXNzCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFURgbF8Y7OPgkLtFiSdXpmu5LRzu6Rj638AAAAABR0aGlzQWRkcmVzc1B1YmxpY0tleQEAAAAgW3yTxZOTTiNmvooSpXcphBB5DlU9aluLSa1r39oafQsAAAAAC0RBUFBBRERSRVNTAgAAACMzTjJGam5DcTRnY3Bld3NZUVZUNHNjejlNalRnRDZhNGtRSwAAAAAFQURNSU4CAAAAIzNOQ0tvRlF4UmY3enNETmJpdkxGdzFvSjd5OHFKekxtRXM0AAAAAARXVVNEAQAAACDdHL0B8M91BTB4B7KotjiY0UXdXB+6M1rjQG/6Zllw/QAAAAAEV0VVUgEAAAAg7BZhBF97kSFBBjs38+fX1Pjz08YOqoCX85C/0PoVupkAAAAABFdCVEMBAAAAIGz6av/F7aqMC3+1KpPSogwvgoLbdHoEjFP7/RMfc6D/AAAAAAVLT0xJTgEAAAAg2pnGDzCaCArIN9AsIhvcgYMfZowVYuDqNDNtJmjyiQ0AAAAABFdFVEgBA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I", "chainId": 84, "height": 693940, "spentComplexity": 0 } View: original | compacted Prev: 9Jnfasm3QqT4dXsxiKqJDL9j6nZ6nUWKNJiC9bjzmeQW Next: 253kyuqg7ieKRTXWTRoJZ9cse5vD9PH2ATq6tGnQS4cT Diff:
Old | New | Differences | |
---|---|---|---|
93 | 93 | ||
94 | 94 | ||
95 | 95 | func getValueBalance (account) = getNumberByKey(getKeyBalance(account)) | |
96 | - | ||
97 | - | ||
98 | - | func getValueWhitelistStatus (account) = getStrByKey(getKeyWhitelistStatus(account)) | |
99 | 96 | ||
100 | 97 | ||
101 | 98 | func getKeyItemAuthor (item) = ("author_" + item) | |
332 | 329 | let blockUnlocked = getValueItemDueFor(item) | |
333 | 330 | let translatorStatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, getValueItemTranslator(item)) | |
334 | 331 | let userStatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, getValueItemAuthor(item)) | |
335 | - | let currstatus = | |
332 | + | let currstatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, caller) | |
336 | 333 | if (if (if ((currstatus != WHITELISTED)) | |
337 | 334 | then (caller != DAPPADDRESS) | |
338 | 335 | else false) | |
364 | 361 | let blockUnlocked = getValueItemDueFor(item) | |
365 | 362 | let translatorStatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, getValueItemTranslator(item)) | |
366 | 363 | let userStatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, getValueItemAuthor(item)) | |
367 | - | let currstatus = | |
364 | + | let currstatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, caller) | |
368 | 365 | if (if (if ((currstatus != WHITELISTED)) | |
369 | 366 | then (caller != DAPPADDRESS) | |
370 | 367 | else false) | |
397 | 394 | let caller = toBase58String(i.caller.bytes) | |
398 | 395 | if ((getValueItemStatus(item) == "dispute closed")) | |
399 | 396 | then throw("this dispute is closed") | |
400 | - | else if (if (( | |
397 | + | else if (if ((getExtValueItemWhiteListStatus(oracleWhiteListAddress, caller) != MODERATOR)) | |
401 | 398 | then true | |
402 | - | else ( | |
399 | + | else (getExtValueItemWhiteListStatus(oracleWhiteListAddress, caller) != ADMIN)) | |
403 | 400 | then throw("you either need to be an ADMIN or a MODERATOR to vote in disputes") | |
404 | 401 | else if (if ((getValueItemStatus(item) != "dispute in progress")) | |
405 | 402 | then true | |
458 | 455 | @Callable(i) | |
459 | 456 | func inviteuser (newaccount,data) = { | |
460 | 457 | let caller = toBase58String(i.caller.bytes) | |
461 | - | let newstatus = | |
462 | - | let currstatus = | |
458 | + | let newstatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, newaccount) | |
459 | + | let currstatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, caller) | |
463 | 460 | if (if (if ((newstatus == WHITELISTED)) | |
464 | 461 | then true | |
465 | 462 | else (newstatus == MODERATOR)) | |
485 | 482 | if (if (if ((type == MODERATOR)) | |
486 | 483 | then true | |
487 | 484 | else (type == ADMIN)) | |
488 | - | then ( | |
485 | + | then (getExtValueItemWhiteListStatus(oracleWhiteListAddress, account) == WHITELISTED) | |
489 | 486 | else false) | |
490 | 487 | then throw("an ADMIN or MODERATOR account can be created by an ADMIN only") | |
491 | 488 | else if (if ((type == ADMIN)) | |
492 | - | then ( | |
489 | + | then (getExtValueItemWhiteListStatus(oracleWhiteListAddress, account) != ADMIN) | |
493 | 490 | else false) | |
494 | 491 | then throw("an ADMIN account can be created by another ADMIN only") | |
495 | 492 | else WriteSet([DataEntry(getKeyWhitelistBio(account), data), DataEntry(getKeyWhitelistStatus(account), if ((type == MODERATOR)) | |
504 | 501 | @Callable(i) | |
505 | 502 | func signupbylink (hash,data,type) = { | |
506 | 503 | let account = toBase58String(i.caller.bytes) | |
507 | - | let status = | |
504 | + | let status = getExtValueItemWhiteListStatus(oracleWhiteListAddress, hash) | |
508 | 505 | if ((status != INVITED)) | |
509 | 506 | then throw(((((("Referral invite needed. Current status: " + status) + ", key:") + getKeyWhitelistStatus(hash)) + ", account:") + hash)) | |
510 | 507 | else WriteSet([DataEntry(getKeyWhitelistBio(account), data), DataEntry(getKeyWhitelistBlock(account), height), DataEntry(getKeyWhitelistStatus(account), if ((type == MODERATOR)) | |
517 | 514 | @Callable(i) | |
518 | 515 | func signup (data,type) = { | |
519 | 516 | let account = toBase58String(i.caller.bytes) | |
520 | - | let status = | |
517 | + | let status = getExtValueItemWhiteListStatus(oracleWhiteListAddress, account) | |
521 | 518 | if ((status == NONE)) | |
522 | 519 | then throw(((((("Referral invite needed. Current status: " + status) + ", key:") + getKeyWhitelistStatus(account)) + ", account:") + account)) | |
523 | 520 | else WriteSet([DataEntry(getKeyWhitelistBio(account), data), DataEntry(getKeyWhitelistBlock(account), height), DataEntry(getKeyWhitelistStatus(account), if ((type == MODERATOR)) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let oracleWhiteListAddress = Address(base58'3MvJMBxdrVAf1nCHiarJcQVnKy91HhBKe6w') | |
5 | 5 | ||
6 | 6 | let thisAddressPublicKey = base58'7A8H5cWfJVSpSrnB71CzWqyNm8KMxZPjwFcj1mDUU8an' | |
7 | 7 | ||
8 | 8 | let DAPPADDRESS = "3N2FjnCq4gcpewsYQVT4scz9MjTgD6a4kQK" | |
9 | 9 | ||
10 | 10 | let ADMIN = "3NCKoFQxRf7zsDNbivLFw1oJ7y8qJzLmEs4" | |
11 | 11 | ||
12 | 12 | let WUSD = base58'Ft8X1v1LTa1ABafufpaCWyVj8KkaxUWE6xBhW6sNFJck' | |
13 | 13 | ||
14 | 14 | let WEUR = base58'Gtb1WRznfchDnTh37ezoDTJ4wcoKaRsKqKjJjy7nm2zU' | |
15 | 15 | ||
16 | 16 | let WBTC = base58'8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS' | |
17 | 17 | ||
18 | 18 | let KOLIN = base58'FiKspxSpkpzT4pMUA9ccZkbJmVXTdu4JhFDXNNXr5noW' | |
19 | 19 | ||
20 | 20 | let WETH = base58'474jTeYx2r2Va35794tCScAXWJG9hU2HcgxzMowaZUnu' | |
21 | 21 | ||
22 | 22 | let WLTC = base58'HZk1mbfuJpmxU1Fs4AX5MWLVYtctsNcg6e2C6VKqK8zk' | |
23 | 23 | ||
24 | 24 | let LISTINGFEE = (1 * 1000000) | |
25 | 25 | ||
26 | 26 | let NONE = "none" | |
27 | 27 | ||
28 | 28 | func getNumberByKey (key) = { | |
29 | 29 | let num = match getInteger(this, key) { | |
30 | 30 | case a: Int => | |
31 | 31 | a | |
32 | 32 | case _ => | |
33 | 33 | 0 | |
34 | 34 | } | |
35 | 35 | num | |
36 | 36 | } | |
37 | 37 | ||
38 | 38 | ||
39 | 39 | func getStrByKey (key) = { | |
40 | 40 | let str = match getString(this, key) { | |
41 | 41 | case a: String => | |
42 | 42 | a | |
43 | 43 | case _ => | |
44 | 44 | NONE | |
45 | 45 | } | |
46 | 46 | str | |
47 | 47 | } | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | let WHITELISTED = "WHITELISTED" | |
51 | 51 | ||
52 | 52 | let BLACKLISTED = "BLACKLISTED" | |
53 | 53 | ||
54 | 54 | let INVITED = "INVITED" | |
55 | 55 | ||
56 | 56 | let SPENDINVITE = "SPEND_INVITE" | |
57 | 57 | ||
58 | 58 | let MODERATOR = "MODERATOR" | |
59 | 59 | ||
60 | 60 | let QUORUM = 5 | |
61 | 61 | ||
62 | 62 | func getKeyItem (user,item) = ("item_" + toBase58String(sha256(toBytes((user + item))))) | |
63 | 63 | ||
64 | 64 | ||
65 | 65 | func getValueItem (user,item) = toBase58String(sha256(toBytes((user + item)))) | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | func getKeyItemDocument (document) = ("item_" + document) | |
69 | 69 | ||
70 | 70 | ||
71 | 71 | func getValueItemDocument (document) = getStrByKey(document) | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func getKeyWhitelistRef (account) = ("wl_ref_" + account) | |
75 | 75 | ||
76 | 76 | ||
77 | 77 | func getValueWhitelistRef (account) = getStrByKey(getKeyWhitelistRef(account)) | |
78 | 78 | ||
79 | 79 | ||
80 | 80 | func getKeyWhitelistStatus (account) = ("wl_sts_" + account) | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func getKeyBalance (account) = ("balance_" + account) | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func getKeyWhitelistBio (account) = ("wl_bio_" + account) | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func getKeyWhitelistBlock (account) = ("wl_blk_" + account) | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func getKeyItemAccReportData (item,account) = ((("report_" + item) + "_") + account) | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func getValueBalance (account) = getNumberByKey(getKeyBalance(account)) | |
96 | - | ||
97 | - | ||
98 | - | func getValueWhitelistStatus (account) = getStrByKey(getKeyWhitelistStatus(account)) | |
99 | 96 | ||
100 | 97 | ||
101 | 98 | func getKeyItemAuthor (item) = ("author_" + item) | |
102 | 99 | ||
103 | 100 | ||
104 | 101 | func getValueItemAuthor (item) = getStrByKey(getKeyItemAuthor(item)) | |
105 | 102 | ||
106 | 103 | ||
107 | 104 | func getKeyItemDeadline (item) = ("deadlineblock_" + item) | |
108 | 105 | ||
109 | 106 | ||
110 | 107 | func getValueItemDeadline (item) = getNumberByKey(getKeyItemDeadline(item)) | |
111 | 108 | ||
112 | 109 | ||
113 | 110 | func getKeyItemBlock (item) = ("work_submitted_on_" + item) | |
114 | 111 | ||
115 | 112 | ||
116 | 113 | func getValueItemBlock (item) = getNumberByKey(getKeyItemBlock(item)) | |
117 | 114 | ||
118 | 115 | ||
119 | 116 | func getKeyItemTypeOfWork (item) = ("typeofwork_" + item) | |
120 | 117 | ||
121 | 118 | ||
122 | 119 | func getValueItemTypeOfWork (item) = getNumberByKey(getKeyItemTypeOfWork(item)) | |
123 | 120 | ||
124 | 121 | ||
125 | 122 | func getKeyItemWordCount (item) = ("wordcount_" + item) | |
126 | 123 | ||
127 | 124 | ||
128 | 125 | func getValueItemWordCount (item) = getNumberByKey(getKeyItemWordCount(item)) | |
129 | 126 | ||
130 | 127 | ||
131 | 128 | func getKeyItemPriceUSD (item) = ("priceUSD_" + item) | |
132 | 129 | ||
133 | 130 | ||
134 | 131 | func getValueItemPriceUSD (item) = getNumberByKey(getKeyItemPriceUSD(item)) | |
135 | 132 | ||
136 | 133 | ||
137 | 134 | func getKeyItemAssetID (item) = ("pmtassetID_" + item) | |
138 | 135 | ||
139 | 136 | ||
140 | 137 | func getValueItemAssetID (item) = getStrByKey(getKeyItemAssetID(item)) | |
141 | 138 | ||
142 | 139 | ||
143 | 140 | func getKeyItemPriceAssetID (item) = ("priceassetID_" + item) | |
144 | 141 | ||
145 | 142 | ||
146 | 143 | func getValueItemPriceAssetID (item) = getNumberByKey(getKeyItemPriceAssetID(item)) | |
147 | 144 | ||
148 | 145 | ||
149 | 146 | func getKeyItemData (item) = ("datajson_" + item) | |
150 | 147 | ||
151 | 148 | ||
152 | 149 | func getValueItemData (item) = getStrByKey(getKeyItemData(item)) | |
153 | 150 | ||
154 | 151 | ||
155 | 152 | func getKeyItemStatus (item) = ("status_" + item) | |
156 | 153 | ||
157 | 154 | ||
158 | 155 | func getValueItemStatus (item) = getStrByKey(getKeyItemStatus(item)) | |
159 | 156 | ||
160 | 157 | ||
161 | 158 | func getKeyItemTranslator (item) = ("translator_" + item) | |
162 | 159 | ||
163 | 160 | ||
164 | 161 | func getValueItemTranslator (item) = getStrByKey(getKeyItemTranslator(item)) | |
165 | 162 | ||
166 | 163 | ||
167 | 164 | func getKeyItemDueFor (item) = ("due_for_" + item) | |
168 | 165 | ||
169 | 166 | ||
170 | 167 | func getValueItemDueFor (item) = getNumberByKey(getKeyItemDueFor(item)) | |
171 | 168 | ||
172 | 169 | ||
173 | 170 | func getKeyItemDisputeInitiatedBy (item) = ("disputedby_" + item) | |
174 | 171 | ||
175 | 172 | ||
176 | 173 | func getValueItemDisputeInitiatedBy (item) = getStrByKey(getKeyItemDisputeInitiatedBy(item)) | |
177 | 174 | ||
178 | 175 | ||
179 | 176 | func getKeyItemDisputeClosedBy (item) = ("disputeclosedby_" + item) | |
180 | 177 | ||
181 | 178 | ||
182 | 179 | func getValueItemDisputeClosedBy (item) = getStrByKey(getKeyItemDisputeClosedBy(item)) | |
183 | 180 | ||
184 | 181 | ||
185 | 182 | func getKeyItemDisputeClosedWinner (item) = "dispute_winner_" | |
186 | 183 | ||
187 | 184 | ||
188 | 185 | func getKeyValueDisputeClosedWinner (item) = getStrByKey(getKeyItemDisputeClosedWinner(item)) | |
189 | 186 | ||
190 | 187 | ||
191 | 188 | func getKeyItemLastUpdate (item) = ("last_update_" + item) | |
192 | 189 | ||
193 | 190 | ||
194 | 191 | func getValueItemLastUpdate (item) = getNumberByKey(getKeyItemLastUpdate(item)) | |
195 | 192 | ||
196 | 193 | ||
197 | 194 | func getKeyItemDisputeVotesTranslator (item) = ("cnt_translator_" + item) | |
198 | 195 | ||
199 | 196 | ||
200 | 197 | func getValueItemDisputeVotesTranslator (item) = getNumberByKey(getKeyItemDisputeVotesTranslator(item)) | |
201 | 198 | ||
202 | 199 | ||
203 | 200 | func getKeyItemDisputeVotesUser (item) = ("cnt_user_" + item) | |
204 | 201 | ||
205 | 202 | ||
206 | 203 | func getValueItemDisputeVotesUser (item) = getNumberByKey(getKeyItemDisputeVotesUser(item)) | |
207 | 204 | ||
208 | 205 | ||
209 | 206 | func getKeyItemBalance (item) = ("balance_" + item) | |
210 | 207 | ||
211 | 208 | ||
212 | 209 | func getValueItemBalance (item) = getNumberByKey(getKeyItemBalance(item)) | |
213 | 210 | ||
214 | 211 | ||
215 | 212 | func getKeyItemBalanceAssetID (item) = ("balance_assetID_" + item) | |
216 | 213 | ||
217 | 214 | ||
218 | 215 | func getValueItemBalanceAssetID (item) = getNumberByKey(getKeyItemBalanceAssetID(item)) | |
219 | 216 | ||
220 | 217 | ||
221 | 218 | func getExtKeyItemWhiteListStatus (account) = ("verifier_status_" + account) | |
222 | 219 | ||
223 | 220 | ||
224 | 221 | func getExtValueItemWhiteListStatus (oracle,account) = { | |
225 | 222 | let str = match getString(oracle, getExtKeyItemWhiteListStatus(account)) { | |
226 | 223 | case a: String => | |
227 | 224 | a | |
228 | 225 | case _ => | |
229 | 226 | NONE | |
230 | 227 | } | |
231 | 228 | str | |
232 | 229 | } | |
233 | 230 | ||
234 | 231 | ||
235 | 232 | @Callable(i) | |
236 | 233 | func submitTranslation (document,data,assetID,futureBlocks,wordCount,typeOfWork,priceAssetID) = { | |
237 | 234 | let user = toBase58String(i.caller.bytes) | |
238 | 235 | let item = getKeyItem(user, document) | |
239 | 236 | let pmt = extract(i.payment) | |
240 | 237 | let deadlineblock = (height + futureBlocks) | |
241 | 238 | let currstatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, user) | |
242 | 239 | if (if (if (if ((currstatus != WHITELISTED)) | |
243 | 240 | then (currstatus != ADMIN) | |
244 | 241 | else false) | |
245 | 242 | then (currstatus != MODERATOR) | |
246 | 243 | else false) | |
247 | 244 | then (user != DAPPADDRESS) | |
248 | 245 | else false) | |
249 | 246 | then throw(("Your account is not registered. status: " + currstatus)) | |
250 | 247 | else if (if (if (if (if (if (if ((isDefined(pmt.assetId) != false)) | |
251 | 248 | then (pmt.assetId != WETH) | |
252 | 249 | else false) | |
253 | 250 | then (pmt.assetId != WLTC) | |
254 | 251 | else false) | |
255 | 252 | then (pmt.assetId != WEUR) | |
256 | 253 | else false) | |
257 | 254 | then (pmt.assetId != WUSD) | |
258 | 255 | else false) | |
259 | 256 | then (pmt.assetId != WBTC) | |
260 | 257 | else false) | |
261 | 258 | then (pmt.assetId != KOLIN) | |
262 | 259 | else false) | |
263 | 260 | then throw("can only use WAVES, USD, EUR, BTC, ETH, LTC and KOLIN as payment methods") | |
264 | 261 | else if ((pmt.amount != LISTINGFEE)) | |
265 | 262 | then throw(((("Please pay exact amount for the listing: " + toString(LISTINGFEE)) + ", actual payment is: ") + toString(pmt.amount))) | |
266 | 263 | else if ((getValueItemAuthor(item) != NONE)) | |
267 | 264 | then throw("Item already exist") | |
268 | 265 | else if ((1440 > futureBlocks)) | |
269 | 266 | then throw("please allow at least 24 h (~1440 blocks) for the translation work to be published properly") | |
270 | 267 | else if ((futureBlocks > 44640)) | |
271 | 268 | then throw("a translation work can not be posted for longer than 31 days (~44640 blocks) ") | |
272 | 269 | 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)]) | |
273 | 270 | } | |
274 | 271 | ||
275 | 272 | ||
276 | 273 | ||
277 | 274 | @Callable(i) | |
278 | 275 | func escrow (item,translator,futureBlocks) = { | |
279 | 276 | let user = toBase58String(i.caller.bytes) | |
280 | 277 | let pmt = extract(i.payment) | |
281 | 278 | let deadlineblock = (height + futureBlocks) | |
282 | 279 | let price = getValueItemPriceAssetID(item) | |
283 | 280 | let registeredAssetID = getValueItemAssetID(item) | |
284 | 281 | let translatorStatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, translator) | |
285 | 282 | let userStatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, user) | |
286 | 283 | if (if (if (if ((userStatus != WHITELISTED)) | |
287 | 284 | then (user != DAPPADDRESS) | |
288 | 285 | else false) | |
289 | 286 | then (userStatus != ADMIN) | |
290 | 287 | else false) | |
291 | 288 | then (userStatus != MODERATOR) | |
292 | 289 | else false) | |
293 | 290 | then throw(("Your account is not registered. status: " + userStatus)) | |
294 | 291 | else if (if (if (if ((translatorStatus != WHITELISTED)) | |
295 | 292 | then (translator != DAPPADDRESS) | |
296 | 293 | else false) | |
297 | 294 | then (translatorStatus != ADMIN) | |
298 | 295 | else false) | |
299 | 296 | then (translatorStatus != MODERATOR) | |
300 | 297 | else false) | |
301 | 298 | then throw(("Your account is not registered. status: " + userStatus)) | |
302 | 299 | else if ((getValueItemDocument(item) != item)) | |
303 | 300 | then throw(((getValueItemDocument(item) + " translation work found for ") + item)) | |
304 | 301 | else if ((height >= getValueItemDeadline(item))) | |
305 | 302 | then throw((("deadline for this work (" + toString(getValueItemDeadline(item))) + ") has been already achieved")) | |
306 | 303 | else if ((price > pmt.amount)) | |
307 | 304 | then throw(("price lower than posted for this translation work, please pay: " + toString(price))) | |
308 | 305 | else if ((pmt.amount > price)) | |
309 | 306 | then throw((("money payed is higher than this translation work, please pay: " + toString(price)) + " there is no need to overspend")) | |
310 | 307 | else if ((user != getValueItemAuthor(item))) | |
311 | 308 | then throw(((("User " + user) + " is different than translation's post creator: ") + getValueItemAuthor(item))) | |
312 | 309 | else if ((userStatus == BLACKLISTED)) | |
313 | 310 | then throw("user's account has been blacklisted") | |
314 | 311 | else if ((translatorStatus == BLACKLISTED)) | |
315 | 312 | then throw("translator's account has been blacklisted") | |
316 | 313 | else if ((1440 > futureBlocks)) | |
317 | 314 | then throw("please allow at least 24 h (~1440 blocks) for the translation work to be published properly") | |
318 | 315 | else if ((futureBlocks > 44640)) | |
319 | 316 | then throw("a translation work can not be posted for longer than 31 days (~44640 blocks) ") | |
320 | 317 | else if ((getValueItemStatus(item) != "new post")) | |
321 | 318 | then throw(("escrow for this work already present. Current status: " + getValueItemStatus(("item_" + item)))) | |
322 | 319 | 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)) | |
323 | 320 | } | |
324 | 321 | ||
325 | 322 | ||
326 | 323 | ||
327 | 324 | @Callable(i) | |
328 | 325 | func disputeEscrow (item) = { | |
329 | 326 | let caller = toBase58String(i.caller.bytes) | |
330 | 327 | let amount = getValueItemPriceAssetID(item) | |
331 | 328 | let assetID = getValueItemAssetID(item) | |
332 | 329 | let blockUnlocked = getValueItemDueFor(item) | |
333 | 330 | let translatorStatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, getValueItemTranslator(item)) | |
334 | 331 | let userStatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, getValueItemAuthor(item)) | |
335 | - | let currstatus = | |
332 | + | let currstatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, caller) | |
336 | 333 | if (if (if ((currstatus != WHITELISTED)) | |
337 | 334 | then (caller != DAPPADDRESS) | |
338 | 335 | else false) | |
339 | 336 | then (currstatus != ADMIN) | |
340 | 337 | else false) | |
341 | 338 | then throw(("Your account is not registered. status: " + currstatus)) | |
342 | 339 | else if (if (if ((caller != getValueItemTranslator(item))) | |
343 | 340 | then true | |
344 | 341 | else (caller != getValueItemAuthor(item))) | |
345 | 342 | then true | |
346 | 343 | else (caller != ADMIN)) | |
347 | 344 | then throw("just work creator, translator or an admin can initiate a dispute") | |
348 | 345 | else if ((getKeyItemStatus(item) == "dispute in progress")) | |
349 | 346 | then throw("This work is currently under dispute") | |
350 | 347 | else if ((userStatus == BLACKLISTED)) | |
351 | 348 | then throw("user's account has been blacklisted") | |
352 | 349 | else if ((translatorStatus == BLACKLISTED)) | |
353 | 350 | then throw("translator's account has been blacklisted") | |
354 | 351 | 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)) | |
355 | 352 | } | |
356 | 353 | ||
357 | 354 | ||
358 | 355 | ||
359 | 356 | @Callable(i) | |
360 | 357 | func disputeCloseEscrow (item) = { | |
361 | 358 | let caller = toBase58String(i.caller.bytes) | |
362 | 359 | let amount = getValueItemPriceAssetID(item) | |
363 | 360 | let assetID = getValueItemAssetID(item) | |
364 | 361 | let blockUnlocked = getValueItemDueFor(item) | |
365 | 362 | let translatorStatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, getValueItemTranslator(item)) | |
366 | 363 | let userStatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, getValueItemAuthor(item)) | |
367 | - | let currstatus = | |
364 | + | let currstatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, caller) | |
368 | 365 | if (if (if ((currstatus != WHITELISTED)) | |
369 | 366 | then (caller != DAPPADDRESS) | |
370 | 367 | else false) | |
371 | 368 | then (currstatus != ADMIN) | |
372 | 369 | else false) | |
373 | 370 | then throw(("Your account is not registered. status: " + currstatus)) | |
374 | 371 | else if ((currstatus != ADMIN)) | |
375 | 372 | then throw("just admins can close a dispute") | |
376 | 373 | else if ((getKeyItemStatus(item) != "dispute in progress")) | |
377 | 374 | then throw("This work is not under dispute") | |
378 | 375 | else if ((userStatus == BLACKLISTED)) | |
379 | 376 | then throw("user's account has been blacklisted") | |
380 | 377 | else if ((translatorStatus == BLACKLISTED)) | |
381 | 378 | then throw("translator's account has been blacklisted") | |
382 | 379 | else if (if ((QUORUM > getValueItemDisputeVotesTranslator(item))) | |
383 | 380 | then (QUORUM > getValueItemDisputeVotesUser(item)) | |
384 | 381 | else false) | |
385 | 382 | then throw("Votes are not enough to favour any involved part") | |
386 | 383 | else if ((getValueItemDisputeVotesTranslator(item) >= QUORUM)) | |
387 | 384 | 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))])) | |
388 | 385 | else if ((getValueItemDisputeVotesUser(item) >= QUORUM)) | |
389 | 386 | 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))])) | |
390 | 387 | 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)) | |
391 | 388 | } | |
392 | 389 | ||
393 | 390 | ||
394 | 391 | ||
395 | 392 | @Callable(i) | |
396 | 393 | func voteDisputeEscrow (item,vote) = { | |
397 | 394 | let caller = toBase58String(i.caller.bytes) | |
398 | 395 | if ((getValueItemStatus(item) == "dispute closed")) | |
399 | 396 | then throw("this dispute is closed") | |
400 | - | else if (if (( | |
397 | + | else if (if ((getExtValueItemWhiteListStatus(oracleWhiteListAddress, caller) != MODERATOR)) | |
401 | 398 | then true | |
402 | - | else ( | |
399 | + | else (getExtValueItemWhiteListStatus(oracleWhiteListAddress, caller) != ADMIN)) | |
403 | 400 | then throw("you either need to be an ADMIN or a MODERATOR to vote in disputes") | |
404 | 401 | else if (if ((getValueItemStatus(item) != "dispute in progress")) | |
405 | 402 | then true | |
406 | 403 | else (getValueItemStatus(item) != "dispute still under review")) | |
407 | 404 | then throw("translation work not under dispute") | |
408 | 405 | else if ((getValueItemDisputeVotesTranslator(item) >= QUORUM)) | |
409 | 406 | then throw("Votes are enough to favour the Translator") | |
410 | 407 | else if ((getValueItemDisputeVotesUser(item) >= QUORUM)) | |
411 | 408 | then throw("Votes are enough to favour the User") | |
412 | 409 | else if ((vote == getValueItemAuthor(item))) | |
413 | 410 | then WriteSet([DataEntry(getKeyItemDisputeVotesUser(item), (getValueItemDisputeVotesUser(item) + 1))]) | |
414 | 411 | else if ((vote == getValueItemTranslator(item))) | |
415 | 412 | then WriteSet([DataEntry(getKeyItemDisputeVotesTranslator(item), (getValueItemDisputeVotesTranslator(item) + 1))]) | |
416 | 413 | else throw("vote not submitted") | |
417 | 414 | } | |
418 | 415 | ||
419 | 416 | ||
420 | 417 | ||
421 | 418 | @Callable(i) | |
422 | 419 | func withdrawEscrow (item) = { | |
423 | 420 | let caller = toBase58String(i.caller.bytes) | |
424 | 421 | let assetID = getValueItemAssetID(item) | |
425 | 422 | let amount = getValueItemPriceAssetID(item) | |
426 | 423 | let currstatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, caller) | |
427 | 424 | let translatorStatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, getValueItemTranslator(item)) | |
428 | 425 | let userStatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, getValueItemAuthor(item)) | |
429 | 426 | if (if (if (if ((currstatus != WHITELISTED)) | |
430 | 427 | then (currstatus != MODERATOR) | |
431 | 428 | else false) | |
432 | 429 | then (caller != DAPPADDRESS) | |
433 | 430 | else false) | |
434 | 431 | then (currstatus != ADMIN) | |
435 | 432 | else false) | |
436 | 433 | then throw(("Your account is not registered. status: " + currstatus)) | |
437 | 434 | else if (if ((caller != getValueItemTranslator(item))) | |
438 | 435 | then (caller != getValueItemAuthor(item)) | |
439 | 436 | else false) | |
440 | 437 | then throw("just work creator or translator can withdraw funds. Admins must initiate a dispute") | |
441 | 438 | else if (if ((caller == getValueItemAuthor(item))) | |
442 | 439 | then (userStatus == BLACKLISTED) | |
443 | 440 | else false) | |
444 | 441 | then throw("user's account has been blacklisted") | |
445 | 442 | else if (if ((caller == getValueItemTranslator(item))) | |
446 | 443 | then (translatorStatus == BLACKLISTED) | |
447 | 444 | else false) | |
448 | 445 | then throw("translator's account has been blacklisted") | |
449 | 446 | else if ((getValueItemDueFor(item) > height)) | |
450 | 447 | then throw(((("Deadline (" + toString(getValueItemDueFor(item))) + ") has not finished yet. Current height: ") + toString(height))) | |
451 | 448 | else if ((getKeyItemStatus(item) == "dispute in progress")) | |
452 | 449 | then throw("This work is currently under dispute") | |
453 | 450 | 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))])) | |
454 | 451 | } | |
455 | 452 | ||
456 | 453 | ||
457 | 454 | ||
458 | 455 | @Callable(i) | |
459 | 456 | func inviteuser (newaccount,data) = { | |
460 | 457 | let caller = toBase58String(i.caller.bytes) | |
461 | - | let newstatus = | |
462 | - | let currstatus = | |
458 | + | let newstatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, newaccount) | |
459 | + | let currstatus = getExtValueItemWhiteListStatus(oracleWhiteListAddress, caller) | |
463 | 460 | if (if (if ((newstatus == WHITELISTED)) | |
464 | 461 | then true | |
465 | 462 | else (newstatus == MODERATOR)) | |
466 | 463 | then true | |
467 | 464 | else (newstatus == ADMIN)) | |
468 | 465 | then throw("User has already been registered") | |
469 | 466 | else if ((newstatus == BLACKLISTED)) | |
470 | 467 | then throw("The user you want to invite is already Blacklisted") | |
471 | 468 | else if (if (if ((currstatus != WHITELISTED)) | |
472 | 469 | then (caller != DAPPADDRESS) | |
473 | 470 | else false) | |
474 | 471 | then (currstatus != ADMIN) | |
475 | 472 | else false) | |
476 | 473 | then throw(("Your account should be whitelisted. status: " + currstatus)) | |
477 | 474 | else WriteSet([DataEntry(getKeyWhitelistRef(newaccount), caller), DataEntry(getKeyWhitelistBio(newaccount), data), DataEntry(getKeyWhitelistStatus(newaccount), INVITED)]) | |
478 | 475 | } | |
479 | 476 | ||
480 | 477 | ||
481 | 478 | ||
482 | 479 | @Callable(i) | |
483 | 480 | func userupdate (data,type) = { | |
484 | 481 | let account = toBase58String(i.caller.bytes) | |
485 | 482 | if (if (if ((type == MODERATOR)) | |
486 | 483 | then true | |
487 | 484 | else (type == ADMIN)) | |
488 | - | then ( | |
485 | + | then (getExtValueItemWhiteListStatus(oracleWhiteListAddress, account) == WHITELISTED) | |
489 | 486 | else false) | |
490 | 487 | then throw("an ADMIN or MODERATOR account can be created by an ADMIN only") | |
491 | 488 | else if (if ((type == ADMIN)) | |
492 | - | then ( | |
489 | + | then (getExtValueItemWhiteListStatus(oracleWhiteListAddress, account) != ADMIN) | |
493 | 490 | else false) | |
494 | 491 | then throw("an ADMIN account can be created by another ADMIN only") | |
495 | 492 | else WriteSet([DataEntry(getKeyWhitelistBio(account), data), DataEntry(getKeyWhitelistStatus(account), if ((type == MODERATOR)) | |
496 | 493 | then MODERATOR | |
497 | 494 | else if ((type == ADMIN)) | |
498 | 495 | then ADMIN | |
499 | 496 | else WHITELISTED)]) | |
500 | 497 | } | |
501 | 498 | ||
502 | 499 | ||
503 | 500 | ||
504 | 501 | @Callable(i) | |
505 | 502 | func signupbylink (hash,data,type) = { | |
506 | 503 | let account = toBase58String(i.caller.bytes) | |
507 | - | let status = | |
504 | + | let status = getExtValueItemWhiteListStatus(oracleWhiteListAddress, hash) | |
508 | 505 | if ((status != INVITED)) | |
509 | 506 | then throw(((((("Referral invite needed. Current status: " + status) + ", key:") + getKeyWhitelistStatus(hash)) + ", account:") + hash)) | |
510 | 507 | else WriteSet([DataEntry(getKeyWhitelistBio(account), data), DataEntry(getKeyWhitelistBlock(account), height), DataEntry(getKeyWhitelistStatus(account), if ((type == MODERATOR)) | |
511 | 508 | then MODERATOR | |
512 | 509 | else WHITELISTED), DataEntry(getKeyWhitelistStatus(hash), SPENDINVITE), DataEntry(getKeyWhitelistRef(account), getValueWhitelistRef(hash))]) | |
513 | 510 | } | |
514 | 511 | ||
515 | 512 | ||
516 | 513 | ||
517 | 514 | @Callable(i) | |
518 | 515 | func signup (data,type) = { | |
519 | 516 | let account = toBase58String(i.caller.bytes) | |
520 | - | let status = | |
517 | + | let status = getExtValueItemWhiteListStatus(oracleWhiteListAddress, account) | |
521 | 518 | if ((status == NONE)) | |
522 | 519 | then throw(((((("Referral invite needed. Current status: " + status) + ", key:") + getKeyWhitelistStatus(account)) + ", account:") + account)) | |
523 | 520 | else WriteSet([DataEntry(getKeyWhitelistBio(account), data), DataEntry(getKeyWhitelistBlock(account), height), DataEntry(getKeyWhitelistStatus(account), if ((type == MODERATOR)) | |
524 | 521 | then MODERATOR | |
525 | 522 | else WHITELISTED)]) | |
526 | 523 | } | |
527 | 524 | ||
528 | 525 | ||
529 | 526 | ||
530 | 527 | @Callable(i) | |
531 | 528 | func reportProject (item,data) = { | |
532 | 529 | let account = toBase58String(i.caller.bytes) | |
533 | 530 | WriteSet([DataEntry(getKeyItemAccReportData(item, account), data)]) | |
534 | 531 | } | |
535 | 532 | ||
536 | 533 |
github/deemru/w8io/169f3d6 70.81 ms ◑