tx · 6HQhs9gWjVXLH2kqU8eGitEZEP3eczU2xTVWPsKzM7bY 3N2Tdcx5fzxJAKP5hMp9W35Cp1EFzfiJ1zG: -0.01400000 Waves 2020.10.10 06:23 [1213930] smart account 3N2Tdcx5fzxJAKP5hMp9W35Cp1EFzfiJ1zG > SELF 0.00000000 Waves
{ "type": 13, "id": "6HQhs9gWjVXLH2kqU8eGitEZEP3eczU2xTVWPsKzM7bY", "fee": 1400000, "feeAssetId": null, "timestamp": 1602300255462, "version": 2, "chainId": 84, "sender": "3N2Tdcx5fzxJAKP5hMp9W35Cp1EFzfiJ1zG", "senderPublicKey": "9SULUbW7L2jV2nv8v48Kdzox4cZ8jEfg778yJHJpgVwM", "proofs": [ "4qoamtrYfYcX1uW9kW1QuorBpbduv5H2LTWMdZaFnVBNZy3bLwffFgfHjWsC2wUDPgkGnK4YsGoNhUGmAocS8hbs" ], "script": "base64:AAIEAAAAAAAAAFoIAhIGCgQICAgIEgMKAQgSBgoECAgICBIECgIICBIDCgEIEg4KDAgICAgICAEICAgICBINCgsICAgICAEICAgICBIECgIICBIGCgQIAQEIEgQKAggIEgMKAQgAAAA0AAAAAA9zdG9yYWdlVmVyaWZpZXIJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM04yczVSdGFIUEJlbkNzeDJFQ2NvRlJiWUh4M25vWmhYVzEAAAAADHNpZ25WZXJpZmllcgkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTkMyOGhTaXZybXNUVVhhWUQxeDZMMzYySjRacFVub1RkQgAAAAALZmVlUmVjZWl2ZXICAAAAIzNOMUU2dFhkZFJvVmFSZlE5ZFEzdmc1TGFXMmZzZDhIS3ViAAAAAAtzaWduQXNzZXRJZAEAAAAg6KVqvMp3QvJwYTI1Sk9Fg7m5HuWZZxfDcerZC6EEresAAAAAC3VzZG5Bc3NldElkAQAAACAP8hwSrOTEPJrsRhqrJaiw7LoHK0bMbYhy8LXikkkBtAAAAAAMd2F2ZXNBc3N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AAQUAAAAHYWRkcmVzcwkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQEAAAALa2V5VXNlck5hbWUAAAABBQAAAAdhZGRyZXNzCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEJAQAAAAtrZXlVc2VyRGVzYwAAAAEFAAAAB2FkZHJlc3MJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQkBAAAADWtleVVzZXJTb2NpYWwAAAABBQAAAAdhZGRyZXNzCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEJAQAAAAxrZXlVc2VyVGh1bWIAAAABBQAAAAdhZGRyZXNzCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAQAAAA1rZXlVc2VyU3RhdHVzAAAAAQUAAAAHYWRkcmVzcwUAAAALdXNlclJlbW92ZWQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAObGFzdF9pbnZva2VfaWQFAAAAAmlkBQAAAANuaWwJAAACAAAAAQIAAAAeWW91IGFyZSBub3QgYWxsb3dlZCB0byBkbyB0aGF0AAAAAPotCgw=", "height": 1213930, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HKmmuXKQx6bSxhFC3MhXb9pWTu7Kp7DetcWBoBfEJoDU Next: 64P6W5BWr5z8fSPTrzNTRn3tLyPdeXdgf79dbBHDVzuw Diff:
Old | New | Differences | |
---|---|---|---|
527 | 527 | } | |
528 | 528 | let displayCID = getStringByKey(keyArtDisplayCid(issuer, artId)) | |
529 | 529 | let exportCID = getStringByKey(keyArtExportCid(issuer, artId)) | |
530 | + | let exportHash = getStringByKey(keyArtExportHash(issuer, artId)) | |
531 | + | let licenceCID = getStringByKey(keyArtLicenceCid(issuer, artId)) | |
532 | + | let licenceHash = getStringByKey(keyArtLicenceHash(issuer, artId)) | |
530 | 533 | let amountSold = getIntegerByKey(keyArtIssued(issuer, artId)) | |
531 | 534 | let artworkPrice = getIntegerByKey(keyArtPrice(issuer, artId)) | |
532 | 535 | let isOnSale = getBooleanByKey(keyArtOnSale(issuer, artId)) | |
552 | 555 | else { | |
553 | 556 | let newAmountSold = (amountSold + 1) | |
554 | 557 | let entryDate = lastBlock.timestamp | |
555 | - | let issueMeta = (((((((((((((((((((("{\"version\": 1, | |
558 | + | let issueMeta = (((((((((((((((((((((((((("{\"version\": 1, | |
556 | 559 | \"creator\": \"" + issuer) + "\", | |
557 | 560 | \"artID\": \"") + artId) + "\", | |
558 | 561 | \"maxIssuable\": \"") + toString(maxCanSell)) + "\", | |
559 | 562 | \"signID\": \"") + signID) + "\", | |
560 | 563 | \"issue\": \"") + toString(newAmountSold)) + "/") + toString(maxCanSell)) + "\", | |
561 | - | \"source_hash\": ") + sourceHash) + ", | |
562 | - | \"artwork_name\": ") + artworkName) + ", | |
563 | - | \"display_cid\": ") + displayCID) + ", | |
564 | - | \"export_cid\": ") + exportCID) + "}") | |
564 | + | \"source_hash\": \"") + sourceHash) + "\", | |
565 | + | \"artwork_name\": \"") + artworkName) + "\", | |
566 | + | \"display_cid\": \"") + displayCID) + "\", | |
567 | + | \"export_cid\": \"") + exportCID) + "\", | |
568 | + | \"export_hash\": \"") + exportHash) + "\", | |
569 | + | \"licence_cid\": \"") + licenceCID) + "\", | |
570 | + | \"licence_hash\": \"") + licenceHash) + "\"}") | |
565 | 571 | let issueNFT = Issue(("SA_" + toString((totalNFT + 1))), issueMeta, 1, 0, false) | |
566 | 572 | let idNFT = calculateAssetId(issueNFT) | |
567 | 573 | let sellStatus = if ((newAmountSold == maxCanSell)) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let storageVerifier = value(addressFromString("3N2s5RtaHPBenCsx2ECcoFRbYHx3noZhXW1")) | |
5 | 5 | ||
6 | 6 | let signVerifier = value(addressFromString("3NC28hSivrmsTUXaYD1x6L362J4ZpUnoTdB")) | |
7 | 7 | ||
8 | 8 | let feeReceiver = "3N1E6tXddRoVaRfQ9dQ3vg5LaW2fsd8HKub" | |
9 | 9 | ||
10 | 10 | let signAssetId = base58'Gf9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a' | |
11 | 11 | ||
12 | 12 | let usdnAssetId = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT' | |
13 | 13 | ||
14 | 14 | let wavesAssetId = base58'' | |
15 | 15 | ||
16 | 16 | let usdnID = "3KFXBGGLCjA5Z2DuW4Dq9fDDrHjJJP1ZEkaoajSzuKsC" | |
17 | 17 | ||
18 | 18 | let admin = "3MsG6jPNCrVJUtYB7XJBxS7utWsXAf4n9Vp" | |
19 | 19 | ||
20 | 20 | let admin2 = "3Mzm4VLwsN9uZwbTMzPj3XuxV6kEfAR8UDN" | |
21 | 21 | ||
22 | 22 | let WHITELISTEDONLY = true | |
23 | 23 | ||
24 | 24 | let userAllowed = "ALLOWED" | |
25 | 25 | ||
26 | 26 | let userRegistered = "REGISTERED" | |
27 | 27 | ||
28 | 28 | let userVerified = "VERIFIED" | |
29 | 29 | ||
30 | 30 | let userSuspended = "SUSPENDED" | |
31 | 31 | ||
32 | 32 | let userRemoved = "REMOVED" | |
33 | 33 | ||
34 | 34 | let userUnregistered = "UNREGISTERED" | |
35 | 35 | ||
36 | 36 | let onSale = "ON_SALE" | |
37 | 37 | ||
38 | 38 | let sold = "SOLD" | |
39 | 39 | ||
40 | 40 | let canceled = "CANCELED" | |
41 | 41 | ||
42 | 42 | func getStringByKey (key) = match getString(this, key) { | |
43 | 43 | case a: String => | |
44 | 44 | a | |
45 | 45 | case _ => | |
46 | 46 | "" | |
47 | 47 | } | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | func getIntegerByKey (key) = match getInteger(this, key) { | |
51 | 51 | case i: Int => | |
52 | 52 | i | |
53 | 53 | case _ => | |
54 | 54 | 0 | |
55 | 55 | } | |
56 | 56 | ||
57 | 57 | ||
58 | 58 | func getBooleanByKey (key) = match getBoolean(this, key) { | |
59 | 59 | case i: Boolean => | |
60 | 60 | i | |
61 | 61 | case _ => | |
62 | 62 | false | |
63 | 63 | } | |
64 | 64 | ||
65 | 65 | ||
66 | 66 | func checkSignCertificate (signID,Owner,sha256Hash) = match getString(signVerifier, ((("data_fc_" + signID) + "_") + Owner)) { | |
67 | 67 | case a: String => | |
68 | 68 | if (contains(a, sha256Hash)) | |
69 | 69 | then true | |
70 | 70 | else false | |
71 | 71 | case _ => | |
72 | 72 | false | |
73 | 73 | } | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | func validateNFTs (accumulator,id) = { | |
77 | 77 | let assetDetails = value(assetInfo(fromBase58String(id))) | |
78 | 78 | if (if (if ((assetDetails.quantity != 1)) | |
79 | 79 | then true | |
80 | 80 | else (assetDetails.decimals != 0)) | |
81 | 81 | then true | |
82 | 82 | else (assetDetails.reissuable != false)) | |
83 | 83 | then (accumulator + 0) | |
84 | 84 | else (accumulator + 1) | |
85 | 85 | } | |
86 | 86 | ||
87 | 87 | ||
88 | 88 | func verifyStatus (addr) = match getString(this, ("user_status_" + addr)) { | |
89 | 89 | case b: String => | |
90 | 90 | b | |
91 | 91 | case _ => | |
92 | 92 | throw("Something went wrong.") | |
93 | 93 | } | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | func keyUserAddr (callerAddr) = ("user_" + callerAddr) | |
97 | 97 | ||
98 | 98 | ||
99 | 99 | func keyUserName (callerAddr) = ("user_name_" + callerAddr) | |
100 | 100 | ||
101 | 101 | ||
102 | 102 | func keyUserDesc (callerAddr) = ("user_desc_" + callerAddr) | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | func keyUserSocial (callerAddr) = ("user_social_" + callerAddr) | |
106 | 106 | ||
107 | 107 | ||
108 | 108 | func keyUserThumb (callerAddr) = ("user_thumb_" + callerAddr) | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | func keyUserStatus (callerAddr) = ("user_status_" + callerAddr) | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func keyUserDate (callerAddr) = ("user_date_" + callerAddr) | |
115 | 115 | ||
116 | 116 | ||
117 | 117 | func keyArtDate (callerAddr,artId) = ((("art_date_" + artId) + "_") + callerAddr) | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | func keyArtName (callerAddr,artId) = ((("art_name_" + artId) + "_") + callerAddr) | |
121 | 121 | ||
122 | 122 | ||
123 | 123 | func keyArtDesc (callerAddr,artId) = ((("art_desc_" + artId) + "_") + callerAddr) | |
124 | 124 | ||
125 | 125 | ||
126 | 126 | func keyArtDisplayCid (callerAddr,artId) = ((("art_display_cid_" + artId) + "_") + callerAddr) | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func keyArtExportHash (callerAddr,artId) = ((("art_export_hash_" + artId) + "_") + callerAddr) | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func keyArtExportCid (callerAddr,artId) = ((("art_export_cid_" + artId) + "_") + callerAddr) | |
133 | 133 | ||
134 | 134 | ||
135 | 135 | func keyArtMaxMint (callerAddr,artId) = ((("art_maxmint_" + artId) + "_") + callerAddr) | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | func keyArtSignID (callerAddr,artId) = ((("art_signid_" + artId) + "_") + callerAddr) | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | func keyArtIssued (callerAddr,artId) = ((("art_issued_" + artId) + "_") + callerAddr) | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | func keyArtOnSale (callerAddr,artId) = ((("art_onsale_" + artId) + "_") + callerAddr) | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | func keyArtLicenceHash (callerAddr,artId) = ((("art_licence_hash_" + artId) + "_") + callerAddr) | |
148 | 148 | ||
149 | 149 | ||
150 | 150 | func keyArtLicenceCid (callerAddr,artId) = ((("art_licence_cid_" + artId) + "_") + callerAddr) | |
151 | 151 | ||
152 | 152 | ||
153 | 153 | func keyArtTags (callerAddr,artId) = ((("art_tags_" + artId) + "_") + callerAddr) | |
154 | 154 | ||
155 | 155 | ||
156 | 156 | func keyArtType (callerAddr,artId) = ((("art_type_" + artId) + "_") + callerAddr) | |
157 | 157 | ||
158 | 158 | ||
159 | 159 | func keyArtPrice (callerAddr,artId) = ((("art_price_" + artId) + "_") + callerAddr) | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | func keyArtAssetIdAccepted (callerAddr,artId) = ((("art_assetAccepted_" + artId) + "_") + callerAddr) | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | func keyArtHashByTxidAddr (callerAddr,txid) = ((("get_hashbytxidaddr_" + txid) + "_") + callerAddr) | |
166 | 166 | ||
167 | 167 | ||
168 | 168 | func keyArtOwnerByHash (sha256Hash) = ("get_owner_by_hash_" + sha256Hash) | |
169 | 169 | ||
170 | 170 | ||
171 | 171 | func keyArtArtidBySignid (callerAddr,signId) = ((("get_artidbysignid_" + signId) + "_") + callerAddr) | |
172 | 172 | ||
173 | 173 | ||
174 | 174 | func keyArtTxidByHashOwner (sha256Hash,callerAddr) = ("get_txid_by_hash_owner_" + toBase58String(sha256_16Kb(toBytes((sha256Hash + callerAddr))))) | |
175 | 175 | ||
176 | 176 | ||
177 | 177 | @Callable(i) | |
178 | 178 | func registerUser (name,description,thumb,social) = { | |
179 | 179 | let callerAddr = toString(addressFromPublicKey(i.callerPublicKey)) | |
180 | 180 | let userCanRegister = getStringByKey(keyUserStatus(callerAddr)) | |
181 | 181 | let id = toBase58String(i.transactionId) | |
182 | 182 | let timestamp = lastBlock.timestamp | |
183 | 183 | if (if ((userCanRegister == userSuspended)) | |
184 | 184 | then true | |
185 | 185 | else (userCanRegister == userRemoved)) | |
186 | 186 | then throw("You are now allowed to register, your account have been suspended/ removed.") | |
187 | 187 | else if ((userCanRegister == userRegistered)) | |
188 | 188 | then throw("You are already registered, please use update method instead.") | |
189 | 189 | else if (if ((userCanRegister == "")) | |
190 | 190 | then WHITELISTEDONLY | |
191 | 191 | else false) | |
192 | 192 | then throw("You are now allowed to register yet, please contact us first to get approved.") | |
193 | 193 | else if (if ((name == "")) | |
194 | 194 | then true | |
195 | 195 | else (description == "")) | |
196 | 196 | then throw("Name and description cannot be empty") | |
197 | 197 | else if ((size(description) > 600)) | |
198 | 198 | then throw("600 Characters maximum for the description") | |
199 | 199 | else [IntegerEntry(keyUserDate(callerAddr), timestamp), StringEntry(keyUserAddr(callerAddr), ((id + "_") + toString(lastBlock.timestamp))), StringEntry(keyUserName(callerAddr), name), StringEntry(keyUserDesc(callerAddr), description), StringEntry(keyUserSocial(callerAddr), social), StringEntry(keyUserThumb(callerAddr), thumb), StringEntry(keyUserStatus(callerAddr), userRegistered), StringEntry("last_invoke_id", id)] | |
200 | 200 | } | |
201 | 201 | ||
202 | 202 | ||
203 | 203 | ||
204 | 204 | @Callable(i) | |
205 | 205 | func deleteEntry (entry) = { | |
206 | 206 | let callerAddr = toString(addressFromPublicKey(i.callerPublicKey)) | |
207 | 207 | if ((callerAddr == admin)) | |
208 | 208 | then [DeleteEntry(entry)] | |
209 | 209 | else throw("no") | |
210 | 210 | } | |
211 | 211 | ||
212 | 212 | ||
213 | 213 | ||
214 | 214 | @Callable(i) | |
215 | 215 | func updateUser (name,description,thumb,social) = { | |
216 | 216 | let callerAddr = toString(addressFromPublicKey(i.callerPublicKey)) | |
217 | 217 | let userCanRegister = getStringByKey(keyUserStatus(callerAddr)) | |
218 | 218 | if (if ((userCanRegister == userSuspended)) | |
219 | 219 | then true | |
220 | 220 | else (userCanRegister == userRemoved)) | |
221 | 221 | then throw("You are now allowed to register, your account have been suspended/ removed.") | |
222 | 222 | else if (if ((userCanRegister == "")) | |
223 | 223 | then true | |
224 | 224 | else (userCanRegister == userAllowed)) | |
225 | 225 | then throw("Please register first with registerUser") | |
226 | 226 | else { | |
227 | 227 | let id = toBase58String(i.transactionId) | |
228 | 228 | let timestamp = lastBlock.timestamp | |
229 | 229 | if (if ((name == "")) | |
230 | 230 | then true | |
231 | 231 | else (description == "")) | |
232 | 232 | then throw("Name and description cannot be empty") | |
233 | 233 | else if ((size(description) > 600)) | |
234 | 234 | then throw("600 Characters maximum for the description") | |
235 | 235 | else [StringEntry(keyUserName(callerAddr), name), StringEntry(keyUserDesc(callerAddr), description), StringEntry(keyUserSocial(callerAddr), social), StringEntry(keyUserThumb(callerAddr), thumb), StringEntry("last_invoke_id", id)] | |
236 | 236 | } | |
237 | 237 | } | |
238 | 238 | ||
239 | 239 | ||
240 | 240 | ||
241 | 241 | @Callable(i) | |
242 | 242 | func changeUserStatus (address,status) = { | |
243 | 243 | let callerAddr = toString(addressFromPublicKey(i.callerPublicKey)) | |
244 | 244 | let id = toBase58String(i.transactionId) | |
245 | 245 | let statusToSet = if ((status == userVerified)) | |
246 | 246 | then userVerified | |
247 | 247 | else if ((status == userRegistered)) | |
248 | 248 | then userRegistered | |
249 | 249 | else if ((status == userSuspended)) | |
250 | 250 | then userSuspended | |
251 | 251 | else if ((status == userRemoved)) | |
252 | 252 | then userRemoved | |
253 | 253 | else if ((status == userAllowed)) | |
254 | 254 | then userAllowed | |
255 | 255 | else throw("Unknown status") | |
256 | 256 | if (if ((callerAddr == admin)) | |
257 | 257 | then true | |
258 | 258 | else (callerAddr == admin2)) | |
259 | 259 | then [StringEntry(keyUserStatus(address), statusToSet), StringEntry("last_invoke_id", id)] | |
260 | 260 | else throw(((("You are not allowed to change user status " + callerAddr) + " / ") + admin)) | |
261 | 261 | } | |
262 | 262 | ||
263 | 263 | ||
264 | 264 | ||
265 | 265 | @Callable(i) | |
266 | 266 | func creditUser (address) = { | |
267 | 267 | let callerAddr = toString(addressFromPublicKey(i.callerPublicKey)) | |
268 | 268 | let id = toBase58String(i.transactionId) | |
269 | 269 | if (if ((callerAddr == admin)) | |
270 | 270 | then true | |
271 | 271 | else (callerAddr == admin2)) | |
272 | 272 | then [ScriptTransfer(Address(fromBase58String(address)), 150000000000, signAssetId)] | |
273 | 273 | else throw("You are not allowed to do that") | |
274 | 274 | } | |
275 | 275 | ||
276 | 276 | ||
277 | 277 | ||
278 | 278 | @Callable(invoke) | |
279 | 279 | func addArtwork (sha256Hash,signID,name,description,tags,type,maxmint,cidDisplay,sha256Export,cidExport,sha256Licence,cidLicence) = { | |
280 | 280 | let artId = toBase58String(invoke.transactionId) | |
281 | 281 | let callerAddress = toBase58String(invoke.caller.bytes) | |
282 | 282 | if ((size(invoke.payments) == 0)) | |
283 | 283 | then throw("No payment attached") | |
284 | 284 | else { | |
285 | 285 | let payment = value(invoke.payments[0]) | |
286 | 286 | let amount = value(payment.amount) | |
287 | 287 | let assetId = if (if (isDefined(payment.assetId)) | |
288 | 288 | then (payment.assetId == signAssetId) | |
289 | 289 | else false) | |
290 | 290 | then payment.assetId | |
291 | 291 | else throw("Only SIGN token accepted at the moment") | |
292 | 292 | let currentCertificationPrice = match getInteger(storageVerifier, ("certification_fee_" + toBase58String(signAssetId))) { | |
293 | 293 | case price: Int => | |
294 | 294 | price | |
295 | 295 | case _ => | |
296 | 296 | throw("Price undefined in oracle") | |
297 | 297 | } | |
298 | 298 | if ((amount != currentCertificationPrice)) | |
299 | 299 | then throw(("Payment amount should be " + toString(currentCertificationPrice))) | |
300 | 300 | else { | |
301 | 301 | let entryExist = getStringByKey(keyArtTxidByHashOwner(sha256Hash, callerAddress)) | |
302 | 302 | if ((entryExist != "")) | |
303 | 303 | then throw("You already added this artwork on Sign Art") | |
304 | 304 | else { | |
305 | 305 | let hashExist = getStringByKey(keyArtOwnerByHash(sha256Hash)) | |
306 | 306 | if ((hashExist != "")) | |
307 | 307 | then throw("This artwork hash is already registered on Sign Art") | |
308 | 308 | else { | |
309 | 309 | let isSignCertified = checkSignCertificate(signID, callerAddress, sha256Hash) | |
310 | 310 | if (!(isSignCertified)) | |
311 | 311 | then throw("Sign Certificate not found on Sign-web.app smart contract for this address.") | |
312 | 312 | else if ((size(cidDisplay) == 0)) | |
313 | 313 | then throw("Display CID cannot be empty") | |
314 | 314 | else if ((size(name) == 0)) | |
315 | 315 | then throw("Title cannot be empty") | |
316 | 316 | else if ((size(name) > 100)) | |
317 | 317 | then throw("100 Characters maximum for the name") | |
318 | 318 | else if ((size(description) > 1000)) | |
319 | 319 | then throw("1000 Characters maximum for the description") | |
320 | 320 | else if ((size(description) == 0)) | |
321 | 321 | then throw("Description cannot be empty") | |
322 | 322 | else { | |
323 | 323 | let tagsList = split(tags, ",") | |
324 | 324 | if ((size(tagsList) > 5)) | |
325 | 325 | then throw("Tags should be maximum 5 single word separated by space.") | |
326 | 326 | else { | |
327 | 327 | let userIsRegistered = match getString(this, ("user_status_" + callerAddress)) { | |
328 | 328 | case s: String => | |
329 | 329 | s | |
330 | 330 | case _ => | |
331 | 331 | userUnregistered | |
332 | 332 | } | |
333 | 333 | let timestamp = lastBlock.timestamp | |
334 | 334 | if (if (isDefined(userIsRegistered)) | |
335 | 335 | then (userIsRegistered == userUnregistered) | |
336 | 336 | else false) | |
337 | 337 | then throw("Please register this account first with \"User infos\" tab") | |
338 | 338 | else if ((userIsRegistered == userSuspended)) | |
339 | 339 | then throw("Your account is suspended") | |
340 | 340 | else if ((userIsRegistered == userRemoved)) | |
341 | 341 | then throw("Your account have been removed") | |
342 | 342 | else if ((maxmint > 10)) | |
343 | 343 | then throw("Maximum 10 editions per artwork") | |
344 | 344 | else if ((size(sha256Hash) != 64)) | |
345 | 345 | then throw("Hash should be sha256 string composed of 64 char.") | |
346 | 346 | else [StringEntry(keyArtOwnerByHash(sha256Hash), callerAddress), StringEntry(keyArtTxidByHashOwner(sha256Hash, callerAddress), artId), IntegerEntry(keyArtDate(callerAddress, artId), timestamp), StringEntry(keyArtName(callerAddress, artId), name), StringEntry(keyArtDesc(callerAddress, artId), description), StringEntry(keyArtDisplayCid(callerAddress, artId), cidDisplay), StringEntry(keyArtExportCid(callerAddress, artId), cidExport), StringEntry(keyArtExportHash(callerAddress, artId), sha256Export), StringEntry(keyArtLicenceHash(callerAddress, artId), sha256Licence), StringEntry(keyArtLicenceCid(callerAddress, artId), cidLicence), StringEntry(keyArtType(callerAddress, artId), type), StringEntry(keyArtTags(callerAddress, artId), tags), IntegerEntry(keyArtMaxMint(callerAddress, artId), maxmint), StringEntry(keyArtSignID(callerAddress, artId), signID), IntegerEntry(keyArtIssued(callerAddress, artId), 0), BooleanEntry(keyArtOnSale(callerAddress, artId), false), StringEntry(keyArtArtidBySignid(callerAddress, signID), artId), StringEntry("last_invoke_id", artId), StringEntry(keyArtHashByTxidAddr(callerAddress, artId), sha256Hash), ScriptTransfer(Address(fromBase58String(feeReceiver)), amount, assetId)] | |
347 | 347 | } | |
348 | 348 | } | |
349 | 349 | } | |
350 | 350 | } | |
351 | 351 | } | |
352 | 352 | } | |
353 | 353 | } | |
354 | 354 | ||
355 | 355 | ||
356 | 356 | ||
357 | 357 | @Callable(invoke) | |
358 | 358 | func updateArtwork (txid,name,description,tags,type,maxmint,cidDisplay,sha256Export,cidExport,sha256Licence,cidLicence) = { | |
359 | 359 | let updateId = toBase58String(invoke.transactionId) | |
360 | 360 | let callerAddress = toBase58String(invoke.caller.bytes) | |
361 | 361 | let entryExist = getStringByKey(keyArtName(callerAddress, txid)) | |
362 | 362 | if ((entryExist == "")) | |
363 | 363 | then throw("This entry doesn't exist or you are not the owner") | |
364 | 364 | else if ((size(name) == 0)) | |
365 | 365 | then throw("Title cannot be empty") | |
366 | 366 | else if ((size(name) > 100)) | |
367 | 367 | then throw("100 Characters maximum for the name") | |
368 | 368 | else if ((size(description) > 1000)) | |
369 | 369 | then throw("1000 Characters maximum for the description") | |
370 | 370 | else if ((size(description) == 0)) | |
371 | 371 | then throw("Description cannot be empty") | |
372 | 372 | else { | |
373 | 373 | let artworkMinted = match getInteger(this, keyArtIssued(callerAddress, txid)) { | |
374 | 374 | case b: Int => | |
375 | 375 | if ((b == 0)) | |
376 | 376 | then false | |
377 | 377 | else true | |
378 | 378 | case _ => | |
379 | 379 | false | |
380 | 380 | } | |
381 | 381 | let tagsList = split(tags, ",") | |
382 | 382 | if ((size(tagsList) > 5)) | |
383 | 383 | then throw("Tags should be maximum 5 single word separated by space.") | |
384 | 384 | else { | |
385 | 385 | let userIsRegistered = match getString(this, ("user_status_" + callerAddress)) { | |
386 | 386 | case s: String => | |
387 | 387 | s | |
388 | 388 | case _ => | |
389 | 389 | userUnregistered | |
390 | 390 | } | |
391 | 391 | if (if (isDefined(userIsRegistered)) | |
392 | 392 | then (userIsRegistered == userUnregistered) | |
393 | 393 | else false) | |
394 | 394 | then throw("Please register this account first with \"User infos\" tab") | |
395 | 395 | else if ((userIsRegistered == userSuspended)) | |
396 | 396 | then throw("Your account is suspended") | |
397 | 397 | else if ((userIsRegistered == userRemoved)) | |
398 | 398 | then throw("Your account have been removed") | |
399 | 399 | else if ((maxmint > 10)) | |
400 | 400 | then throw("Maximum 10 editions per artwork") | |
401 | 401 | else if (!(artworkMinted)) | |
402 | 402 | then [StringEntry(keyArtName(callerAddress, txid), name), StringEntry(keyArtDesc(callerAddress, txid), description), StringEntry(keyArtDisplayCid(callerAddress, txid), cidDisplay), StringEntry(keyArtExportCid(callerAddress, txid), cidExport), StringEntry(keyArtExportHash(callerAddress, txid), sha256Export), StringEntry(keyArtLicenceCid(callerAddress, txid), cidLicence), StringEntry(keyArtLicenceHash(callerAddress, txid), sha256Licence), IntegerEntry(keyArtMaxMint(callerAddress, txid), maxmint), StringEntry(keyArtTags(callerAddress, txid), tags), StringEntry(keyArtType(callerAddress, txid), type), StringEntry("last_invoke_id", updateId)] | |
403 | 403 | else [StringEntry(keyArtName(callerAddress, txid), name), StringEntry(keyArtDesc(callerAddress, txid), description), StringEntry(keyArtDisplayCid(callerAddress, txid), cidDisplay), StringEntry(keyArtType(callerAddress, txid), type), StringEntry(keyArtTags(callerAddress, txid), tags), StringEntry("last_invoke_id", updateId)] | |
404 | 404 | } | |
405 | 405 | } | |
406 | 406 | } | |
407 | 407 | ||
408 | 408 | ||
409 | 409 | ||
410 | 410 | @Callable(i) | |
411 | 411 | func deleteArtwork (artId,address) = { | |
412 | 412 | let callerAddress = toString(addressFromPublicKey(i.callerPublicKey)) | |
413 | 413 | let id = toBase58String(i.transactionId) | |
414 | 414 | let addressToUse = if (if ((callerAddress == admin)) | |
415 | 415 | then true | |
416 | 416 | else (callerAddress == admin2)) | |
417 | 417 | then address | |
418 | 418 | else callerAddress | |
419 | 419 | let entryExist = match getString(this, keyArtName(addressToUse, artId)) { | |
420 | 420 | case s: String => | |
421 | 421 | s | |
422 | 422 | case _ => | |
423 | 423 | throw("No artwork matching this request or you are not allowed") | |
424 | 424 | } | |
425 | 425 | let artworkMinted = match getInteger(this, keyArtIssued(addressToUse, artId)) { | |
426 | 426 | case b: Int => | |
427 | 427 | if ((b == 0)) | |
428 | 428 | then false | |
429 | 429 | else true | |
430 | 430 | case _ => | |
431 | 431 | false | |
432 | 432 | } | |
433 | 433 | let sha256Hash = match getString(this, keyArtHashByTxidAddr(addressToUse, artId)) { | |
434 | 434 | case s: String => | |
435 | 435 | s | |
436 | 436 | case _ => | |
437 | 437 | throw("No artwork hash matching this request") | |
438 | 438 | } | |
439 | 439 | let signID = match getString(this, keyArtSignID(addressToUse, artId)) { | |
440 | 440 | case s: String => | |
441 | 441 | s | |
442 | 442 | case _ => | |
443 | 443 | throw("No SIGN ID matching this request") | |
444 | 444 | } | |
445 | 445 | let dataToDelete = [DeleteEntry(keyArtDate(addressToUse, artId)), DeleteEntry(keyArtName(addressToUse, artId)), DeleteEntry(keyArtDesc(addressToUse, artId)), DeleteEntry(keyArtDisplayCid(addressToUse, artId)), DeleteEntry(keyArtExportCid(addressToUse, artId)), DeleteEntry(keyArtExportHash(addressToUse, artId)), DeleteEntry(keyArtLicenceHash(addressToUse, artId)), DeleteEntry(keyArtLicenceCid(addressToUse, artId)), DeleteEntry(keyArtType(addressToUse, artId)), DeleteEntry(keyArtTags(addressToUse, artId)), DeleteEntry(keyArtMaxMint(addressToUse, artId)), DeleteEntry(keyArtSignID(addressToUse, artId)), DeleteEntry(keyArtIssued(addressToUse, artId)), DeleteEntry(keyArtOnSale(addressToUse, artId)), StringEntry("last_invoke_id", id), DeleteEntry(keyArtOwnerByHash(sha256Hash)), DeleteEntry(keyArtArtidBySignid(addressToUse, signID)), DeleteEntry(keyArtTxidByHashOwner(sha256Hash, addressToUse))] | |
446 | 446 | if (if ((callerAddress == admin)) | |
447 | 447 | then true | |
448 | 448 | else (callerAddress == admin2)) | |
449 | 449 | then dataToDelete | |
450 | 450 | else if (!(artworkMinted)) | |
451 | 451 | then dataToDelete | |
452 | 452 | else throw("This artwork already have minted NFT, you cannot delete it") | |
453 | 453 | } | |
454 | 454 | ||
455 | 455 | ||
456 | 456 | ||
457 | 457 | @Callable(invoke) | |
458 | 458 | func sellArtwork (artId,price,maxMint,assetId) = { | |
459 | 459 | let id = toBase58String(invoke.transactionId) | |
460 | 460 | let callerAddress = toBase58String(invoke.caller.bytes) | |
461 | 461 | let sellDate = lastBlock.timestamp | |
462 | 462 | if (if (if ((assetId != toBase58String(signAssetId))) | |
463 | 463 | then (assetId != toBase58String(wavesAssetId)) | |
464 | 464 | else false) | |
465 | 465 | then (assetId != toBase58String(usdnAssetId)) | |
466 | 466 | else false) | |
467 | 467 | then throw("Only SIGN, USDN or WAVES currency accepted at the moment") | |
468 | 468 | else { | |
469 | 469 | let artworkName = match getString(this, keyArtName(callerAddress, artId)) { | |
470 | 470 | case s: String => | |
471 | 471 | s | |
472 | 472 | case _ => | |
473 | 473 | throw("This artwork doesn't exit or you are not the owner") | |
474 | 474 | } | |
475 | 475 | let userIsRegistered = match getString(this, keyUserStatus(callerAddress)) { | |
476 | 476 | case s: String => | |
477 | 477 | s | |
478 | 478 | case _ => | |
479 | 479 | throw("Please register this account first") | |
480 | 480 | } | |
481 | 481 | let amountSold = match getInteger(this, keyArtIssued(callerAddress, artId)) { | |
482 | 482 | case n: Int => | |
483 | 483 | n | |
484 | 484 | case _ => | |
485 | 485 | 0 | |
486 | 486 | } | |
487 | 487 | let maxCanSell = match getInteger(this, keyArtMaxMint(callerAddress, artId)) { | |
488 | 488 | case n: Int => | |
489 | 489 | n | |
490 | 490 | case _ => | |
491 | 491 | 0 | |
492 | 492 | } | |
493 | 493 | if (if ((amountSold != 0)) | |
494 | 494 | then (amountSold == maxCanSell) | |
495 | 495 | else false) | |
496 | 496 | then throw("You reached the max edition allowed to sell for this edition.") | |
497 | 497 | else if (if ((amountSold > 0)) | |
498 | 498 | then (maxCanSell != maxMint) | |
499 | 499 | else false) | |
500 | 500 | then throw("You cannot change the maximum issuable anymore") | |
501 | 501 | else if ((userIsRegistered == userSuspended)) | |
502 | 502 | then throw("Your account is suspended") | |
503 | 503 | else if ((userIsRegistered == userRemoved)) | |
504 | 504 | then throw("Your account have been deleted") | |
505 | 505 | else { | |
506 | 506 | let sellStatus = if ((price > 0)) | |
507 | 507 | then true | |
508 | 508 | else false | |
509 | 509 | [BooleanEntry(keyArtOnSale(callerAddress, artId), sellStatus), IntegerEntry(keyArtPrice(callerAddress, artId), price), IntegerEntry(keyArtMaxMint(callerAddress, artId), maxMint), StringEntry(keyArtAssetIdAccepted(callerAddress, artId), assetId), StringEntry("last_invoke_id", id)] | |
510 | 510 | } | |
511 | 511 | } | |
512 | 512 | } | |
513 | 513 | ||
514 | 514 | ||
515 | 515 | ||
516 | 516 | @Callable(invoke) | |
517 | 517 | func buyArtwork (artId,issuer) = { | |
518 | 518 | let id = toBase58String(invoke.transactionId) | |
519 | 519 | let callerAddress = toBase58String(invoke.caller.bytes) | |
520 | 520 | let totalNFT = getIntegerByKey("total_nft_issued") | |
521 | 521 | let signID = getStringByKey(keyArtSignID(issuer, artId)) | |
522 | 522 | let artworkName = match getString(this, keyArtName(issuer, artId)) { | |
523 | 523 | case s: String => | |
524 | 524 | s | |
525 | 525 | case _ => | |
526 | 526 | throw("This artwork doesn't exit") | |
527 | 527 | } | |
528 | 528 | let displayCID = getStringByKey(keyArtDisplayCid(issuer, artId)) | |
529 | 529 | let exportCID = getStringByKey(keyArtExportCid(issuer, artId)) | |
530 | + | let exportHash = getStringByKey(keyArtExportHash(issuer, artId)) | |
531 | + | let licenceCID = getStringByKey(keyArtLicenceCid(issuer, artId)) | |
532 | + | let licenceHash = getStringByKey(keyArtLicenceHash(issuer, artId)) | |
530 | 533 | let amountSold = getIntegerByKey(keyArtIssued(issuer, artId)) | |
531 | 534 | let artworkPrice = getIntegerByKey(keyArtPrice(issuer, artId)) | |
532 | 535 | let isOnSale = getBooleanByKey(keyArtOnSale(issuer, artId)) | |
533 | 536 | let priceAssetId = getStringByKey(keyArtAssetIdAccepted(issuer, artId)) | |
534 | 537 | let sourceHash = getStringByKey(keyArtHashByTxidAddr(issuer, artId)) | |
535 | 538 | if ((artworkPrice == 0)) | |
536 | 539 | then throw("This artwork is not for sell") | |
537 | 540 | else if (!(isOnSale)) | |
538 | 541 | then throw("This artwork is not for sale") | |
539 | 542 | else { | |
540 | 543 | let maxCanSell = getIntegerByKey(keyArtMaxMint(issuer, artId)) | |
541 | 544 | let payment = value(invoke.payments[0]) | |
542 | 545 | let amount = value(payment.amount) | |
543 | 546 | let assetId = if (if (isDefined(payment.assetId)) | |
544 | 547 | then (payment.assetId == fromBase58String(priceAssetId)) | |
545 | 548 | else false) | |
546 | 549 | then payment.assetId | |
547 | 550 | else throw((("Only " + priceAssetId) + " token id accepted at the moment")) | |
548 | 551 | if ((amountSold == maxCanSell)) | |
549 | 552 | then throw("Cannot buy this artwork anymore, maximum editions reached") | |
550 | 553 | else if ((artworkPrice != amount)) | |
551 | 554 | then throw(((("Payment don't match seller price: " + toString(artworkPrice)) + " vs ") + toString(amount))) | |
552 | 555 | else { | |
553 | 556 | let newAmountSold = (amountSold + 1) | |
554 | 557 | let entryDate = lastBlock.timestamp | |
555 | - | let issueMeta = (((((((((((((((((((("{\"version\": 1, | |
558 | + | let issueMeta = (((((((((((((((((((((((((("{\"version\": 1, | |
556 | 559 | \"creator\": \"" + issuer) + "\", | |
557 | 560 | \"artID\": \"") + artId) + "\", | |
558 | 561 | \"maxIssuable\": \"") + toString(maxCanSell)) + "\", | |
559 | 562 | \"signID\": \"") + signID) + "\", | |
560 | 563 | \"issue\": \"") + toString(newAmountSold)) + "/") + toString(maxCanSell)) + "\", | |
561 | - | \"source_hash\": ") + sourceHash) + ", | |
562 | - | \"artwork_name\": ") + artworkName) + ", | |
563 | - | \"display_cid\": ") + displayCID) + ", | |
564 | - | \"export_cid\": ") + exportCID) + "}") | |
564 | + | \"source_hash\": \"") + sourceHash) + "\", | |
565 | + | \"artwork_name\": \"") + artworkName) + "\", | |
566 | + | \"display_cid\": \"") + displayCID) + "\", | |
567 | + | \"export_cid\": \"") + exportCID) + "\", | |
568 | + | \"export_hash\": \"") + exportHash) + "\", | |
569 | + | \"licence_cid\": \"") + licenceCID) + "\", | |
570 | + | \"licence_hash\": \"") + licenceHash) + "\"}") | |
565 | 571 | let issueNFT = Issue(("SA_" + toString((totalNFT + 1))), issueMeta, 1, 0, false) | |
566 | 572 | let idNFT = calculateAssetId(issueNFT) | |
567 | 573 | let sellStatus = if ((newAmountSold == maxCanSell)) | |
568 | 574 | then false | |
569 | 575 | else true | |
570 | 576 | [IntegerEntry(keyArtIssued(issuer, artId), newAmountSold), StringEntry(((((((("art_sold_" + toString(newAmountSold)) + "_of_") + toString(maxCanSell)) + "_") + artId) + "_") + issuer), ((((((callerAddress + "_") + toString(entryDate)) + "_") + id) + "_") + toString(artworkPrice))), IntegerEntry("total_nft_issued", (totalNFT + 1)), BooleanEntry(keyArtOnSale(issuer, artId), sellStatus), StringEntry("last_invoke_id", id), issueNFT, ScriptTransfer(Address(fromBase58String(issuer)), amount, assetId), ScriptTransfer(invoke.caller, 1, idNFT)] | |
571 | 577 | } | |
572 | 578 | } | |
573 | 579 | } | |
574 | 580 | ||
575 | 581 | ||
576 | 582 | ||
577 | 583 | @Callable(i) | |
578 | 584 | func deleteUser (address) = { | |
579 | 585 | let callerAddr = toString(addressFromPublicKey(i.callerPublicKey)) | |
580 | 586 | let id = toBase58String(i.transactionId) | |
581 | 587 | if (if ((callerAddr == admin)) | |
582 | 588 | then true | |
583 | 589 | else (callerAddr == admin2)) | |
584 | 590 | then [DeleteEntry(keyUserDate(address)), DeleteEntry(keyUserAddr(address)), DeleteEntry(keyUserName(address)), DeleteEntry(keyUserDesc(address)), DeleteEntry(keyUserSocial(address)), DeleteEntry(keyUserThumb(address)), StringEntry(keyUserStatus(address), userRemoved), StringEntry("last_invoke_id", id)] | |
585 | 591 | else throw("You are not allowed to do that") | |
586 | 592 | } | |
587 | 593 | ||
588 | 594 |
github/deemru/w8io/026f985 66.48 ms ◑