tx · 7JUCNZaeF6ZHrZsjGv2nYrUUpnzzL1CHrkGSFi4mHR1R 3NC28hSivrmsTUXaYD1x6L362J4ZpUnoTdB: -0.01400000 Waves 2020.02.08 16:12 [890317] smart account 3NC28hSivrmsTUXaYD1x6L362J4ZpUnoTdB > SELF 0.00000000 Waves
{ "type": 13, "id": "7JUCNZaeF6ZHrZsjGv2nYrUUpnzzL1CHrkGSFi4mHR1R", "fee": 1400000, "feeAssetId": null, "timestamp": 1581167602475, "version": 1, "sender": "3NC28hSivrmsTUXaYD1x6L362J4ZpUnoTdB", "senderPublicKey": "Gd5NihbWQoWuTnSvq25TuV2BYZG4U1e9KDqZn9zBPix7", "proofs": [ "HQy83PrEZKTK86x9NE9F4wgTrobUfjw9GK5LpgxWZ8A762kghXA8u94yue5Y8RzTovz8QYPXBB9aGCV3j45EBc6" ], "script": "base64:AAIDAAAAAAAAAB4IARIGCgQICAgIEgUKAwgICBIFCgMICAgSBAoCCAgAAAANAAAAAAh2ZXJpZmllcgkBAAAAB2V4dHJhY3QAAAABCQEAAAARYWRkcmVzc0Zyb21TdHJpbmcAAAABAgAAACMzTjJzNVJ0YUhQQmVuQ3N4MkVDY29GUmJZSHgzbm9aaFhXMQAAAAAEYmFuawIAAAAjM04xRTZ0WGRkUm9WYVJmUTlkUTN2ZzVMYVcyZnNkOEhLdWIAAAAADWFjY2VwdGVkVG9rZW4BAAAAIOilarzKd0LycGEyNUpPRYO5uR7lmWcXw3Hq2QuhBK3rAQAAAApjaGVja0VudHJ5AAAAAgAAAAZwcmVmaXgAAAAEdXVpZAQAAAAHJG1hdGNoMAkABB0AAAACBQAAAAR0aGlzCQABLAAAAAIFAAAABnByZWZpeAUAAAAEdXVpZAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAgAAAAROT05FAQAAAAljaGVja1VVSUQAAAABAAAABHV1aWQEAAAAByRtYXRjaDAJAAQdAAAAAgUAAA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XNlcihhZGRyZXNzRnJvbVN0cmluZykAAAABBQAAAAZzaWduZXIAAAAAAAAHoSAFAAAABHVuaXQFAAAAA25pbAAAAAA8Ijtd", "chainId": 84, "height": 890317, "spentComplexity": 0 } View: original | compacted Prev: 5cn7TBGF1X1fG63tstWwH9sDzmo5TeS1dvYiRrYD66PT Next: Bg9sdAXp69J9iih3BmBmKtr84HMs7htfUjmewHQTTG71 Diff:
Old | New | Differences | |
---|---|---|---|
168 | 168 | let k = toBase58String(z.caller.bytes) | |
169 | 169 | let F = j(k) | |
170 | 170 | let M = ((((x(L, "creator") + "\"") + toBase58String(z.caller.bytes)) + "\"") + y(L, "creator")) | |
171 | - | if (true) | |
172 | - | then throw(M) | |
173 | - | else { | |
174 | - | let N = [t(L, "address1"), t(L, "address2"), t(L, "address3"), t(L, "address4"), t(L, "address5"), t(L, "address6")] | |
175 | - | let O = { | |
176 | - | let P = N | |
177 | - | let Q = size(P) | |
178 | - | let R = 0 | |
179 | - | if ((Q == 0)) | |
180 | - | then R | |
171 | + | let N = [t(L, "address1"), t(L, "address2"), t(L, "address3"), t(L, "address4"), t(L, "address5"), t(L, "address6")] | |
172 | + | let O = { | |
173 | + | let P = N | |
174 | + | let Q = size(P) | |
175 | + | let R = 0 | |
176 | + | if ((Q == 0)) | |
177 | + | then R | |
178 | + | else { | |
179 | + | let S = n(R, P[0]) | |
180 | + | if ((Q == 1)) | |
181 | + | then S | |
181 | 182 | else { | |
182 | - | let | |
183 | - | if ((Q == | |
184 | - | then | |
183 | + | let T = n(S, P[1]) | |
184 | + | if ((Q == 2)) | |
185 | + | then T | |
185 | 186 | else { | |
186 | - | let | |
187 | - | if ((Q == | |
188 | - | then | |
187 | + | let U = n(T, P[2]) | |
188 | + | if ((Q == 3)) | |
189 | + | then U | |
189 | 190 | else { | |
190 | - | let | |
191 | - | if ((Q == | |
192 | - | then | |
191 | + | let V = n(U, P[3]) | |
192 | + | if ((Q == 4)) | |
193 | + | then V | |
193 | 194 | else { | |
194 | - | let | |
195 | - | if ((Q == | |
196 | - | then | |
195 | + | let W = n(V, P[4]) | |
196 | + | if ((Q == 5)) | |
197 | + | then W | |
197 | 198 | else { | |
198 | - | let | |
199 | - | if ((Q == | |
200 | - | then | |
199 | + | let X = n(W, P[5]) | |
200 | + | if ((Q == 6)) | |
201 | + | then X | |
201 | 202 | else { | |
202 | - | let X = n(W, P[5]) | |
203 | - | if ((Q == 6)) | |
204 | - | then X | |
205 | - | else { | |
206 | - | let Y = n(X, P[6]) | |
207 | - | throw("List size exceed 6") | |
208 | - | } | |
203 | + | let Y = n(X, P[6]) | |
204 | + | throw("List size exceed 6") | |
209 | 205 | } | |
210 | 206 | } | |
211 | 207 | } | |
213 | 209 | } | |
214 | 210 | } | |
215 | 211 | } | |
216 | - | let Z = DataEntry(("title_MA_" + toBase58String(C)), B) | |
217 | - | let aa = DataEntry(("hash_MA_" + toBase58String(C)), A) | |
218 | - | let ab = DataEntry(((("data_MA_" + toBase58String(C)) + "_") + k), L) | |
219 | - | let ac = DataEntry(((k + "_MA_") + toBase58String(C)), ("SIGNED_" + toBase58String(C))) | |
220 | - | let ad = DataEntry(("addr_WHITELISTED_" + k), (F - O)) | |
221 | - | if ((O == 1)) | |
212 | + | } | |
213 | + | let Z = DataEntry(("title_MA_" + toBase58String(C)), B) | |
214 | + | let aa = DataEntry(("hash_MA_" + toBase58String(C)), A) | |
215 | + | let ab = DataEntry(((("data_MA_" + toBase58String(C)) + "_") + k), M) | |
216 | + | let ac = DataEntry(((k + "_MA_") + toBase58String(C)), ("SIGNED_" + toBase58String(C))) | |
217 | + | let ad = DataEntry(("addr_WHITELISTED_" + k), (F - O)) | |
218 | + | if ((O == 1)) | |
219 | + | then if ((F > 0)) | |
220 | + | then if ((O > F)) | |
221 | + | then throw("You don't have enough certification credit") | |
222 | + | else ScriptResult(WriteSet([Z, aa, ab, ac, ad, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(N[0]), 0, c)])) | |
223 | + | else { | |
224 | + | let G = extract(z.payment) | |
225 | + | let H = if (isDefined(G.amount)) | |
226 | + | then extract(G.amount) | |
227 | + | else 0 | |
228 | + | let I = if (isDefined(G.assetId)) | |
229 | + | then extract(G.assetId) | |
230 | + | else c | |
231 | + | let J = getIntegerValue(a, ("certification_fee_" + toBase58String(extract(I)))) | |
232 | + | if (((J * O) > H)) | |
233 | + | then throw(("The price is wrong, it should be " + toString((J * O)))) | |
234 | + | else ScriptResult(WriteSet([Z, aa, ab, ac, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), H, c), ScriptTransfer(addressFromStringValue(N[0]), 0, c)])) | |
235 | + | } | |
236 | + | else if ((O == 2)) | |
237 | + | then if ((F > 0)) | |
238 | + | then if ((O > F)) | |
239 | + | then throw("You don't have enough certification credit") | |
240 | + | else ScriptResult(WriteSet([Z, aa, ab, ac, ad, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c)])) | |
241 | + | else { | |
242 | + | let G = extract(z.payment) | |
243 | + | let H = if (isDefined(G.amount)) | |
244 | + | then extract(G.amount) | |
245 | + | else 0 | |
246 | + | let I = if (isDefined(G.assetId)) | |
247 | + | then extract(G.assetId) | |
248 | + | else c | |
249 | + | let J = getIntegerValue(a, ("certification_fee_" + toBase58String(extract(I)))) | |
250 | + | if (((J * O) > H)) | |
251 | + | then throw(("The price is wrong, it should be " + toString((J * O)))) | |
252 | + | else ScriptResult(WriteSet([Z, aa, ab, ac, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), H, c), ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c)])) | |
253 | + | } | |
254 | + | else if ((O == 3)) | |
222 | 255 | then if ((F > 0)) | |
223 | 256 | then if ((O > F)) | |
224 | 257 | then throw("You don't have enough certification credit") | |
225 | - | else ScriptResult(WriteSet([Z, aa, ab, ac, ad, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(N[0]), 0, c)])) | |
258 | + | else ScriptResult(WriteSet([Z, aa, ab, ac, ad, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[2] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c), ScriptTransfer(addressFromStringValue(N[2]), 0, c)])) | |
226 | 259 | else { | |
227 | 260 | let G = extract(z.payment) | |
228 | 261 | let H = if (isDefined(G.amount)) | |
234 | 267 | let J = getIntegerValue(a, ("certification_fee_" + toBase58String(extract(I)))) | |
235 | 268 | if (((J * O) > H)) | |
236 | 269 | then throw(("The price is wrong, it should be " + toString((J * O)))) | |
237 | - | else ScriptResult(WriteSet([Z, aa, ab, ac, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), H, c), ScriptTransfer(addressFromStringValue(N[0]), 0, c)])) | |
270 | + | else ScriptResult(WriteSet([Z, aa, ab, ac, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[2] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), H, c), ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c), ScriptTransfer(addressFromStringValue(N[2]), 0, c)])) | |
238 | 271 | } | |
239 | - | else if ((O == | |
272 | + | else if ((O == 4)) | |
240 | 273 | then if ((F > 0)) | |
241 | 274 | then if ((O > F)) | |
242 | 275 | then throw("You don't have enough certification credit") | |
243 | - | else ScriptResult(WriteSet([Z, aa, ab, ac, ad, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c)])) | |
276 | + | else ScriptResult(WriteSet([Z, aa, ab, ac, ad, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[2] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[3] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c), ScriptTransfer(addressFromStringValue(N[2]), 0, c), ScriptTransfer(addressFromStringValue(N[3]), 0, c)])) | |
244 | 277 | else { | |
245 | 278 | let G = extract(z.payment) | |
246 | 279 | let H = if (isDefined(G.amount)) | |
252 | 285 | let J = getIntegerValue(a, ("certification_fee_" + toBase58String(extract(I)))) | |
253 | 286 | if (((J * O) > H)) | |
254 | 287 | then throw(("The price is wrong, it should be " + toString((J * O)))) | |
255 | - | else ScriptResult(WriteSet([Z, aa, ab, ac, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), H, c), ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c)])) | |
288 | + | else ScriptResult(WriteSet([Z, aa, ab, ac, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[2] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[3] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), H, c), ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c), ScriptTransfer(addressFromStringValue(N[2]), 0, c), ScriptTransfer(addressFromStringValue(N[3]), 0, c)])) | |
256 | 289 | } | |
257 | - | else if ((O == | |
290 | + | else if ((O == 5)) | |
258 | 291 | then if ((F > 0)) | |
259 | 292 | then if ((O > F)) | |
260 | 293 | then throw("You don't have enough certification credit") | |
261 | - | else ScriptResult(WriteSet([Z, aa, ab, ac, ad, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[2] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c), ScriptTransfer(addressFromStringValue(N[2]), 0, c)])) | |
294 | + | else ScriptResult(WriteSet([Z, aa, ab, ac, ad, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[2] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[3] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[4] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c), ScriptTransfer(addressFromStringValue(N[2]), 0, c), ScriptTransfer(addressFromStringValue(N[3]), 0, c), ScriptTransfer(addressFromStringValue(N[4]), 0, c)])) | |
262 | 295 | else { | |
263 | 296 | let G = extract(z.payment) | |
264 | 297 | let H = if (isDefined(G.amount)) | |
270 | 303 | let J = getIntegerValue(a, ("certification_fee_" + toBase58String(extract(I)))) | |
271 | 304 | if (((J * O) > H)) | |
272 | 305 | then throw(("The price is wrong, it should be " + toString((J * O)))) | |
273 | - | else ScriptResult(WriteSet([Z, aa, ab, ac, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[2] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), H, c), ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c), ScriptTransfer(addressFromStringValue(N[2]), 0, c)])) | |
306 | + | else ScriptResult(WriteSet([Z, aa, ab, ac, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[2] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[3] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[4] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), H, c), ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c), ScriptTransfer(addressFromStringValue(N[2]), 0, c), ScriptTransfer(addressFromStringValue(N[3]), 0, c), ScriptTransfer(addressFromStringValue(N[4]), 0, c)])) | |
274 | 307 | } | |
275 | - | else if ((O == | |
308 | + | else if ((O == 6)) | |
276 | 309 | then if ((F > 0)) | |
277 | 310 | then if ((O > F)) | |
278 | 311 | then throw("You don't have enough certification credit") | |
279 | - | else ScriptResult(WriteSet([Z, aa, ab, ac, ad, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[2] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[3] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c), ScriptTransfer(addressFromStringValue(N[2]), 0, c), ScriptTransfer(addressFromStringValue(N[3]), 0, c)])) | |
312 | + | else ScriptResult(WriteSet([Z, aa, ab, ac, ad, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[2] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[3] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[4] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[5] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c), ScriptTransfer(addressFromStringValue(N[2]), 0, c), ScriptTransfer(addressFromStringValue(N[3]), 0, c), ScriptTransfer(addressFromStringValue(N[4]), 0, c), ScriptTransfer(addressFromStringValue(N[5]), 0, c)])) | |
280 | 313 | else { | |
281 | 314 | let G = extract(z.payment) | |
282 | 315 | let H = if (isDefined(G.amount)) | |
288 | 321 | let J = getIntegerValue(a, ("certification_fee_" + toBase58String(extract(I)))) | |
289 | 322 | if (((J * O) > H)) | |
290 | 323 | then throw(("The price is wrong, it should be " + toString((J * O)))) | |
291 | - | else ScriptResult(WriteSet([Z, aa, ab, ac, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[2] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[3] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), H, c), ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c), ScriptTransfer(addressFromStringValue(N[2]), 0, c), ScriptTransfer(addressFromStringValue(N[3]), 0, c)])) | |
324 | + | else ScriptResult(WriteSet([Z, aa, ab, ac, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[2] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[3] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[4] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[5] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), H, c), ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c), ScriptTransfer(addressFromStringValue(N[2]), 0, c), ScriptTransfer(addressFromStringValue(N[3]), 0, c), ScriptTransfer(addressFromStringValue(N[4]), 0, c), ScriptTransfer(addressFromStringValue(N[5]), 0, c)])) | |
292 | 325 | } | |
293 | - | else if ((O == 5)) | |
294 | - | then if ((F > 0)) | |
295 | - | then if ((O > F)) | |
296 | - | then throw("You don't have enough certification credit") | |
297 | - | else ScriptResult(WriteSet([Z, aa, ab, ac, ad, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[2] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[3] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[4] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c), ScriptTransfer(addressFromStringValue(N[2]), 0, c), ScriptTransfer(addressFromStringValue(N[3]), 0, c), ScriptTransfer(addressFromStringValue(N[4]), 0, c)])) | |
298 | - | else { | |
299 | - | let G = extract(z.payment) | |
300 | - | let H = if (isDefined(G.amount)) | |
301 | - | then extract(G.amount) | |
302 | - | else 0 | |
303 | - | let I = if (isDefined(G.assetId)) | |
304 | - | then extract(G.assetId) | |
305 | - | else c | |
306 | - | let J = getIntegerValue(a, ("certification_fee_" + toBase58String(extract(I)))) | |
307 | - | if (((J * O) > H)) | |
308 | - | then throw(("The price is wrong, it should be " + toString((J * O)))) | |
309 | - | else ScriptResult(WriteSet([Z, aa, ab, ac, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[2] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[3] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[4] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), H, c), ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c), ScriptTransfer(addressFromStringValue(N[2]), 0, c), ScriptTransfer(addressFromStringValue(N[3]), 0, c), ScriptTransfer(addressFromStringValue(N[4]), 0, c)])) | |
310 | - | } | |
311 | - | else if ((O == 6)) | |
312 | - | then if ((F > 0)) | |
313 | - | then if ((O > F)) | |
314 | - | then throw("You don't have enough certification credit") | |
315 | - | else ScriptResult(WriteSet([Z, aa, ab, ac, ad, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[2] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[3] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[4] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[5] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c), ScriptTransfer(addressFromStringValue(N[2]), 0, c), ScriptTransfer(addressFromStringValue(N[3]), 0, c), ScriptTransfer(addressFromStringValue(N[4]), 0, c), ScriptTransfer(addressFromStringValue(N[5]), 0, c)])) | |
316 | - | else { | |
317 | - | let G = extract(z.payment) | |
318 | - | let H = if (isDefined(G.amount)) | |
319 | - | then extract(G.amount) | |
320 | - | else 0 | |
321 | - | let I = if (isDefined(G.assetId)) | |
322 | - | then extract(G.assetId) | |
323 | - | else c | |
324 | - | let J = getIntegerValue(a, ("certification_fee_" + toBase58String(extract(I)))) | |
325 | - | if (((J * O) > H)) | |
326 | - | then throw(("The price is wrong, it should be " + toString((J * O)))) | |
327 | - | else ScriptResult(WriteSet([Z, aa, ab, ac, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[2] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[3] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[4] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[5] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), H, c), ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c), ScriptTransfer(addressFromStringValue(N[2]), 0, c), ScriptTransfer(addressFromStringValue(N[3]), 0, c), ScriptTransfer(addressFromStringValue(N[4]), 0, c), ScriptTransfer(addressFromStringValue(N[5]), 0, c)])) | |
328 | - | } | |
329 | - | else throw(("Needs 2 to 6 parties addresses" + toString(O))) | |
330 | - | } | |
326 | + | else throw(("Needs 2 to 6 parties addresses" + toString(O))) | |
331 | 327 | } | |
332 | 328 | ||
333 | 329 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = extract(addressFromString("3N2s5RtaHPBenCsx2ECcoFRbYHx3noZhXW1")) | |
5 | 5 | ||
6 | 6 | let b = "3N1E6tXddRoVaRfQ9dQ3vg5LaW2fsd8HKub" | |
7 | 7 | ||
8 | 8 | let c = base58'Gf9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a' | |
9 | 9 | ||
10 | 10 | func d (e,f) = { | |
11 | 11 | let g = getString(this, (e + f)) | |
12 | 12 | if ($isInstanceOf(g, "String")) | |
13 | 13 | then { | |
14 | 14 | let h = g | |
15 | 15 | h | |
16 | 16 | } | |
17 | 17 | else "NONE" | |
18 | 18 | } | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | func i (f) = { | |
22 | 22 | let g = getString(this, f) | |
23 | 23 | if ($isInstanceOf(g, "String")) | |
24 | 24 | then { | |
25 | 25 | let h = g | |
26 | 26 | h | |
27 | 27 | } | |
28 | 28 | else "NONE" | |
29 | 29 | } | |
30 | 30 | ||
31 | 31 | ||
32 | 32 | func j (k) = { | |
33 | 33 | let g = getInteger(this, ("addr_WHITELISTED_" + k)) | |
34 | 34 | if ($isInstanceOf(g, "Int")) | |
35 | 35 | then { | |
36 | 36 | let h = g | |
37 | 37 | h | |
38 | 38 | } | |
39 | 39 | else 0 | |
40 | 40 | } | |
41 | 41 | ||
42 | 42 | ||
43 | 43 | func l (m) = if (if ((size(m) == 35)) | |
44 | 44 | then (take(m, 2) == "3N") | |
45 | 45 | else false) | |
46 | 46 | then true | |
47 | 47 | else (take(m, 2) == "3M") | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | func n (o,m) = if ((size(m) > 0)) | |
51 | 51 | then (o + 1) | |
52 | 52 | else (o + 0) | |
53 | 53 | ||
54 | 54 | ||
55 | 55 | func p (q) = { | |
56 | 56 | let g = getString(this, q) | |
57 | 57 | if ($isInstanceOf(g, "String")) | |
58 | 58 | then { | |
59 | 59 | let h = g | |
60 | 60 | if ((h == "PENDING")) | |
61 | 61 | then true | |
62 | 62 | else false | |
63 | 63 | } | |
64 | 64 | else false | |
65 | 65 | } | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | func r (s) = take(drop(s, 1), value(indexOf(drop(s, 1), "\""))) | |
69 | 69 | ||
70 | 70 | ||
71 | 71 | func t (s,q) = { | |
72 | 72 | let u = value(indexOf(s, (("\"" + q) + "\":"))) | |
73 | 73 | let v = drop(s, ((u + size(q)) + 3)) | |
74 | 74 | let w = r(v) | |
75 | 75 | w | |
76 | 76 | } | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func x (s,q) = { | |
80 | 80 | let u = value(indexOf(s, (("\"" + q) + "\":"))) | |
81 | 81 | let v = take(s, ((u + size(q)) + 3)) | |
82 | 82 | v | |
83 | 83 | } | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func y (s,q) = { | |
87 | 87 | let u = value(indexOf(s, (("\"" + q) + "\":"))) | |
88 | 88 | let v = takeRight(s, (size(s) - ((((u + size(q)) + 3) + 0) + 2))) | |
89 | 89 | v | |
90 | 90 | } | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | @Callable(z) | |
94 | 94 | func fileCertification (A,B,f,v) = { | |
95 | 95 | let C = extract(z.transactionId) | |
96 | 96 | let D = d(A, f) | |
97 | 97 | let E = i(f) | |
98 | 98 | let k = toBase58String(z.caller.bytes) | |
99 | 99 | let F = j(k) | |
100 | 100 | if ((D != "NONE")) | |
101 | 101 | then throw("This entry already exist") | |
102 | 102 | else if ((E != "NONE")) | |
103 | 103 | then throw("This uuid already exist") | |
104 | 104 | else if ((size(f) > 36)) | |
105 | 105 | then throw("Uuid is too long") | |
106 | 106 | else if ((size(A) > 64)) | |
107 | 107 | then throw("Hash is too long") | |
108 | 108 | else if ((size(B) > 64)) | |
109 | 109 | then throw("Title is too long") | |
110 | 110 | else if ((F > 0)) | |
111 | 111 | then ScriptResult(WriteSet([DataEntry(f, toBase58String(C)), DataEntry((A + f), toBase58String(C)), DataEntry((B + f), toBase58String(C)), DataEntry(("addr_WHITELISTED_" + k), (F - 1)), DataEntry(((("data_fc_" + toBase58String(C)) + "_") + k), v)]), TransferSet([ScriptTransfer(z.caller, 500000, unit)])) | |
112 | 112 | else { | |
113 | 113 | let G = extract(z.payment) | |
114 | 114 | let H = extract(G.amount) | |
115 | 115 | let I = if (isDefined(G.assetId)) | |
116 | 116 | then extract(G.assetId) | |
117 | 117 | else throw("Waves is not accepted as payment") | |
118 | 118 | let J = getIntegerValue(a, ("certification_fee_" + toBase58String(extract(I)))) | |
119 | 119 | if ((c != I)) | |
120 | 120 | then throw("This token is not accepted at the moment") | |
121 | 121 | else if (if ((H != J)) | |
122 | 122 | then (0 >= F) | |
123 | 123 | else false) | |
124 | 124 | then throw("The price is wrong") | |
125 | 125 | else ScriptResult(WriteSet([DataEntry(f, toBase58String(C)), DataEntry((A + f), toBase58String(C)), DataEntry((B + f), toBase58String(C)), DataEntry(((("data_fc_" + toBase58String(C)) + "_") + k), v)]), TransferSet([ScriptTransfer(addressFromStringValue(b), H, G.assetId)])) | |
126 | 126 | } | |
127 | 127 | } | |
128 | 128 | ||
129 | 129 | ||
130 | 130 | ||
131 | 131 | @Callable(z) | |
132 | 132 | func emailCertification (K,f,v) = { | |
133 | 133 | let C = extract(z.transactionId) | |
134 | 134 | let D = d(K, f) | |
135 | 135 | let E = i(f) | |
136 | 136 | let k = toBase58String(z.caller.bytes) | |
137 | 137 | let F = j(k) | |
138 | 138 | if ((D != "NONE")) | |
139 | 139 | then throw("This entry already exist") | |
140 | 140 | else if ((E != "NONE")) | |
141 | 141 | then throw("This uuid already exist") | |
142 | 142 | else if ((size(f) > 36)) | |
143 | 143 | then throw("Uuid is too long") | |
144 | 144 | else if ((F > 0)) | |
145 | 145 | then ScriptResult(WriteSet([DataEntry(f, toBase58String(C)), DataEntry((K + f), toBase58String(C)), DataEntry(("addr_WHITELISTED_" + k), (F - 1)), DataEntry(((("data_ec_" + toBase58String(C)) + "_") + k), v)]), TransferSet([ScriptTransfer(z.caller, 500000, unit)])) | |
146 | 146 | else { | |
147 | 147 | let G = extract(z.payment) | |
148 | 148 | let H = extract(G.amount) | |
149 | 149 | let I = if (isDefined(G.assetId)) | |
150 | 150 | then extract(G.assetId) | |
151 | 151 | else throw("Waves is not accepted as payment") | |
152 | 152 | let J = getIntegerValue(a, ("certification_fee_" + toBase58String(extract(I)))) | |
153 | 153 | if ((c != I)) | |
154 | 154 | then throw("This token is not accepted at the moment") | |
155 | 155 | else if (if ((H != J)) | |
156 | 156 | then (0 >= F) | |
157 | 157 | else false) | |
158 | 158 | then throw("The price is wrong") | |
159 | 159 | else ScriptResult(WriteSet([DataEntry(f, toBase58String(C)), DataEntry((K + f), toBase58String(C)), DataEntry(((("data_ec_" + toBase58String(C)) + "_") + k), v)]), TransferSet([ScriptTransfer(addressFromStringValue(b), H, G.assetId)])) | |
160 | 160 | } | |
161 | 161 | } | |
162 | 162 | ||
163 | 163 | ||
164 | 164 | ||
165 | 165 | @Callable(z) | |
166 | 166 | func createAgreement (A,B,L) = { | |
167 | 167 | let C = extract(z.transactionId) | |
168 | 168 | let k = toBase58String(z.caller.bytes) | |
169 | 169 | let F = j(k) | |
170 | 170 | let M = ((((x(L, "creator") + "\"") + toBase58String(z.caller.bytes)) + "\"") + y(L, "creator")) | |
171 | - | if (true) | |
172 | - | then throw(M) | |
173 | - | else { | |
174 | - | let N = [t(L, "address1"), t(L, "address2"), t(L, "address3"), t(L, "address4"), t(L, "address5"), t(L, "address6")] | |
175 | - | let O = { | |
176 | - | let P = N | |
177 | - | let Q = size(P) | |
178 | - | let R = 0 | |
179 | - | if ((Q == 0)) | |
180 | - | then R | |
171 | + | let N = [t(L, "address1"), t(L, "address2"), t(L, "address3"), t(L, "address4"), t(L, "address5"), t(L, "address6")] | |
172 | + | let O = { | |
173 | + | let P = N | |
174 | + | let Q = size(P) | |
175 | + | let R = 0 | |
176 | + | if ((Q == 0)) | |
177 | + | then R | |
178 | + | else { | |
179 | + | let S = n(R, P[0]) | |
180 | + | if ((Q == 1)) | |
181 | + | then S | |
181 | 182 | else { | |
182 | - | let | |
183 | - | if ((Q == | |
184 | - | then | |
183 | + | let T = n(S, P[1]) | |
184 | + | if ((Q == 2)) | |
185 | + | then T | |
185 | 186 | else { | |
186 | - | let | |
187 | - | if ((Q == | |
188 | - | then | |
187 | + | let U = n(T, P[2]) | |
188 | + | if ((Q == 3)) | |
189 | + | then U | |
189 | 190 | else { | |
190 | - | let | |
191 | - | if ((Q == | |
192 | - | then | |
191 | + | let V = n(U, P[3]) | |
192 | + | if ((Q == 4)) | |
193 | + | then V | |
193 | 194 | else { | |
194 | - | let | |
195 | - | if ((Q == | |
196 | - | then | |
195 | + | let W = n(V, P[4]) | |
196 | + | if ((Q == 5)) | |
197 | + | then W | |
197 | 198 | else { | |
198 | - | let | |
199 | - | if ((Q == | |
200 | - | then | |
199 | + | let X = n(W, P[5]) | |
200 | + | if ((Q == 6)) | |
201 | + | then X | |
201 | 202 | else { | |
202 | - | let X = n(W, P[5]) | |
203 | - | if ((Q == 6)) | |
204 | - | then X | |
205 | - | else { | |
206 | - | let Y = n(X, P[6]) | |
207 | - | throw("List size exceed 6") | |
208 | - | } | |
203 | + | let Y = n(X, P[6]) | |
204 | + | throw("List size exceed 6") | |
209 | 205 | } | |
210 | 206 | } | |
211 | 207 | } | |
212 | 208 | } | |
213 | 209 | } | |
214 | 210 | } | |
215 | 211 | } | |
216 | - | let Z = DataEntry(("title_MA_" + toBase58String(C)), B) | |
217 | - | let aa = DataEntry(("hash_MA_" + toBase58String(C)), A) | |
218 | - | let ab = DataEntry(((("data_MA_" + toBase58String(C)) + "_") + k), L) | |
219 | - | let ac = DataEntry(((k + "_MA_") + toBase58String(C)), ("SIGNED_" + toBase58String(C))) | |
220 | - | let ad = DataEntry(("addr_WHITELISTED_" + k), (F - O)) | |
221 | - | if ((O == 1)) | |
212 | + | } | |
213 | + | let Z = DataEntry(("title_MA_" + toBase58String(C)), B) | |
214 | + | let aa = DataEntry(("hash_MA_" + toBase58String(C)), A) | |
215 | + | let ab = DataEntry(((("data_MA_" + toBase58String(C)) + "_") + k), M) | |
216 | + | let ac = DataEntry(((k + "_MA_") + toBase58String(C)), ("SIGNED_" + toBase58String(C))) | |
217 | + | let ad = DataEntry(("addr_WHITELISTED_" + k), (F - O)) | |
218 | + | if ((O == 1)) | |
219 | + | then if ((F > 0)) | |
220 | + | then if ((O > F)) | |
221 | + | then throw("You don't have enough certification credit") | |
222 | + | else ScriptResult(WriteSet([Z, aa, ab, ac, ad, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(N[0]), 0, c)])) | |
223 | + | else { | |
224 | + | let G = extract(z.payment) | |
225 | + | let H = if (isDefined(G.amount)) | |
226 | + | then extract(G.amount) | |
227 | + | else 0 | |
228 | + | let I = if (isDefined(G.assetId)) | |
229 | + | then extract(G.assetId) | |
230 | + | else c | |
231 | + | let J = getIntegerValue(a, ("certification_fee_" + toBase58String(extract(I)))) | |
232 | + | if (((J * O) > H)) | |
233 | + | then throw(("The price is wrong, it should be " + toString((J * O)))) | |
234 | + | else ScriptResult(WriteSet([Z, aa, ab, ac, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), H, c), ScriptTransfer(addressFromStringValue(N[0]), 0, c)])) | |
235 | + | } | |
236 | + | else if ((O == 2)) | |
237 | + | then if ((F > 0)) | |
238 | + | then if ((O > F)) | |
239 | + | then throw("You don't have enough certification credit") | |
240 | + | else ScriptResult(WriteSet([Z, aa, ab, ac, ad, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c)])) | |
241 | + | else { | |
242 | + | let G = extract(z.payment) | |
243 | + | let H = if (isDefined(G.amount)) | |
244 | + | then extract(G.amount) | |
245 | + | else 0 | |
246 | + | let I = if (isDefined(G.assetId)) | |
247 | + | then extract(G.assetId) | |
248 | + | else c | |
249 | + | let J = getIntegerValue(a, ("certification_fee_" + toBase58String(extract(I)))) | |
250 | + | if (((J * O) > H)) | |
251 | + | then throw(("The price is wrong, it should be " + toString((J * O)))) | |
252 | + | else ScriptResult(WriteSet([Z, aa, ab, ac, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), H, c), ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c)])) | |
253 | + | } | |
254 | + | else if ((O == 3)) | |
222 | 255 | then if ((F > 0)) | |
223 | 256 | then if ((O > F)) | |
224 | 257 | then throw("You don't have enough certification credit") | |
225 | - | else ScriptResult(WriteSet([Z, aa, ab, ac, ad, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(N[0]), 0, c)])) | |
258 | + | else ScriptResult(WriteSet([Z, aa, ab, ac, ad, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[2] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c), ScriptTransfer(addressFromStringValue(N[2]), 0, c)])) | |
226 | 259 | else { | |
227 | 260 | let G = extract(z.payment) | |
228 | 261 | let H = if (isDefined(G.amount)) | |
229 | 262 | then extract(G.amount) | |
230 | 263 | else 0 | |
231 | 264 | let I = if (isDefined(G.assetId)) | |
232 | 265 | then extract(G.assetId) | |
233 | 266 | else c | |
234 | 267 | let J = getIntegerValue(a, ("certification_fee_" + toBase58String(extract(I)))) | |
235 | 268 | if (((J * O) > H)) | |
236 | 269 | then throw(("The price is wrong, it should be " + toString((J * O)))) | |
237 | - | else ScriptResult(WriteSet([Z, aa, ab, ac, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), H, c), ScriptTransfer(addressFromStringValue(N[0]), 0, c)])) | |
270 | + | else ScriptResult(WriteSet([Z, aa, ab, ac, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[2] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), H, c), ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c), ScriptTransfer(addressFromStringValue(N[2]), 0, c)])) | |
238 | 271 | } | |
239 | - | else if ((O == | |
272 | + | else if ((O == 4)) | |
240 | 273 | then if ((F > 0)) | |
241 | 274 | then if ((O > F)) | |
242 | 275 | then throw("You don't have enough certification credit") | |
243 | - | else ScriptResult(WriteSet([Z, aa, ab, ac, ad, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c)])) | |
276 | + | else ScriptResult(WriteSet([Z, aa, ab, ac, ad, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[2] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[3] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c), ScriptTransfer(addressFromStringValue(N[2]), 0, c), ScriptTransfer(addressFromStringValue(N[3]), 0, c)])) | |
244 | 277 | else { | |
245 | 278 | let G = extract(z.payment) | |
246 | 279 | let H = if (isDefined(G.amount)) | |
247 | 280 | then extract(G.amount) | |
248 | 281 | else 0 | |
249 | 282 | let I = if (isDefined(G.assetId)) | |
250 | 283 | then extract(G.assetId) | |
251 | 284 | else c | |
252 | 285 | let J = getIntegerValue(a, ("certification_fee_" + toBase58String(extract(I)))) | |
253 | 286 | if (((J * O) > H)) | |
254 | 287 | then throw(("The price is wrong, it should be " + toString((J * O)))) | |
255 | - | else ScriptResult(WriteSet([Z, aa, ab, ac, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), H, c), ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c)])) | |
288 | + | else ScriptResult(WriteSet([Z, aa, ab, ac, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[2] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[3] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), H, c), ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c), ScriptTransfer(addressFromStringValue(N[2]), 0, c), ScriptTransfer(addressFromStringValue(N[3]), 0, c)])) | |
256 | 289 | } | |
257 | - | else if ((O == | |
290 | + | else if ((O == 5)) | |
258 | 291 | then if ((F > 0)) | |
259 | 292 | then if ((O > F)) | |
260 | 293 | then throw("You don't have enough certification credit") | |
261 | - | else ScriptResult(WriteSet([Z, aa, ab, ac, ad, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[2] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c), ScriptTransfer(addressFromStringValue(N[2]), 0, c)])) | |
294 | + | else ScriptResult(WriteSet([Z, aa, ab, ac, ad, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[2] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[3] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[4] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c), ScriptTransfer(addressFromStringValue(N[2]), 0, c), ScriptTransfer(addressFromStringValue(N[3]), 0, c), ScriptTransfer(addressFromStringValue(N[4]), 0, c)])) | |
262 | 295 | else { | |
263 | 296 | let G = extract(z.payment) | |
264 | 297 | let H = if (isDefined(G.amount)) | |
265 | 298 | then extract(G.amount) | |
266 | 299 | else 0 | |
267 | 300 | let I = if (isDefined(G.assetId)) | |
268 | 301 | then extract(G.assetId) | |
269 | 302 | else c | |
270 | 303 | let J = getIntegerValue(a, ("certification_fee_" + toBase58String(extract(I)))) | |
271 | 304 | if (((J * O) > H)) | |
272 | 305 | then throw(("The price is wrong, it should be " + toString((J * O)))) | |
273 | - | else ScriptResult(WriteSet([Z, aa, ab, ac, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[2] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), H, c), ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c), ScriptTransfer(addressFromStringValue(N[2]), 0, c)])) | |
306 | + | else ScriptResult(WriteSet([Z, aa, ab, ac, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[2] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[3] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[4] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), H, c), ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c), ScriptTransfer(addressFromStringValue(N[2]), 0, c), ScriptTransfer(addressFromStringValue(N[3]), 0, c), ScriptTransfer(addressFromStringValue(N[4]), 0, c)])) | |
274 | 307 | } | |
275 | - | else if ((O == | |
308 | + | else if ((O == 6)) | |
276 | 309 | then if ((F > 0)) | |
277 | 310 | then if ((O > F)) | |
278 | 311 | then throw("You don't have enough certification credit") | |
279 | - | else ScriptResult(WriteSet([Z, aa, ab, ac, ad, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[2] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[3] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c), ScriptTransfer(addressFromStringValue(N[2]), 0, c), ScriptTransfer(addressFromStringValue(N[3]), 0, c)])) | |
312 | + | else ScriptResult(WriteSet([Z, aa, ab, ac, ad, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[2] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[3] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[4] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[5] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c), ScriptTransfer(addressFromStringValue(N[2]), 0, c), ScriptTransfer(addressFromStringValue(N[3]), 0, c), ScriptTransfer(addressFromStringValue(N[4]), 0, c), ScriptTransfer(addressFromStringValue(N[5]), 0, c)])) | |
280 | 313 | else { | |
281 | 314 | let G = extract(z.payment) | |
282 | 315 | let H = if (isDefined(G.amount)) | |
283 | 316 | then extract(G.amount) | |
284 | 317 | else 0 | |
285 | 318 | let I = if (isDefined(G.assetId)) | |
286 | 319 | then extract(G.assetId) | |
287 | 320 | else c | |
288 | 321 | let J = getIntegerValue(a, ("certification_fee_" + toBase58String(extract(I)))) | |
289 | 322 | if (((J * O) > H)) | |
290 | 323 | then throw(("The price is wrong, it should be " + toString((J * O)))) | |
291 | - | else ScriptResult(WriteSet([Z, aa, ab, ac, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[2] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[3] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), H, c), ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c), ScriptTransfer(addressFromStringValue(N[2]), 0, c), ScriptTransfer(addressFromStringValue(N[3]), 0, c)])) | |
324 | + | else ScriptResult(WriteSet([Z, aa, ab, ac, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[2] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[3] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[4] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[5] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), H, c), ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c), ScriptTransfer(addressFromStringValue(N[2]), 0, c), ScriptTransfer(addressFromStringValue(N[3]), 0, c), ScriptTransfer(addressFromStringValue(N[4]), 0, c), ScriptTransfer(addressFromStringValue(N[5]), 0, c)])) | |
292 | 325 | } | |
293 | - | else if ((O == 5)) | |
294 | - | then if ((F > 0)) | |
295 | - | then if ((O > F)) | |
296 | - | then throw("You don't have enough certification credit") | |
297 | - | else ScriptResult(WriteSet([Z, aa, ab, ac, ad, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[2] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[3] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[4] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c), ScriptTransfer(addressFromStringValue(N[2]), 0, c), ScriptTransfer(addressFromStringValue(N[3]), 0, c), ScriptTransfer(addressFromStringValue(N[4]), 0, c)])) | |
298 | - | else { | |
299 | - | let G = extract(z.payment) | |
300 | - | let H = if (isDefined(G.amount)) | |
301 | - | then extract(G.amount) | |
302 | - | else 0 | |
303 | - | let I = if (isDefined(G.assetId)) | |
304 | - | then extract(G.assetId) | |
305 | - | else c | |
306 | - | let J = getIntegerValue(a, ("certification_fee_" + toBase58String(extract(I)))) | |
307 | - | if (((J * O) > H)) | |
308 | - | then throw(("The price is wrong, it should be " + toString((J * O)))) | |
309 | - | else ScriptResult(WriteSet([Z, aa, ab, ac, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[2] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[3] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[4] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), H, c), ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c), ScriptTransfer(addressFromStringValue(N[2]), 0, c), ScriptTransfer(addressFromStringValue(N[3]), 0, c), ScriptTransfer(addressFromStringValue(N[4]), 0, c)])) | |
310 | - | } | |
311 | - | else if ((O == 6)) | |
312 | - | then if ((F > 0)) | |
313 | - | then if ((O > F)) | |
314 | - | then throw("You don't have enough certification credit") | |
315 | - | else ScriptResult(WriteSet([Z, aa, ab, ac, ad, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[2] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[3] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[4] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[5] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c), ScriptTransfer(addressFromStringValue(N[2]), 0, c), ScriptTransfer(addressFromStringValue(N[3]), 0, c), ScriptTransfer(addressFromStringValue(N[4]), 0, c), ScriptTransfer(addressFromStringValue(N[5]), 0, c)])) | |
316 | - | else { | |
317 | - | let G = extract(z.payment) | |
318 | - | let H = if (isDefined(G.amount)) | |
319 | - | then extract(G.amount) | |
320 | - | else 0 | |
321 | - | let I = if (isDefined(G.assetId)) | |
322 | - | then extract(G.assetId) | |
323 | - | else c | |
324 | - | let J = getIntegerValue(a, ("certification_fee_" + toBase58String(extract(I)))) | |
325 | - | if (((J * O) > H)) | |
326 | - | then throw(("The price is wrong, it should be " + toString((J * O)))) | |
327 | - | else ScriptResult(WriteSet([Z, aa, ab, ac, DataEntry(((N[0] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[1] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[2] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[3] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[4] + "_MA_") + toBase58String(C)), "PENDING"), DataEntry(((N[5] + "_MA_") + toBase58String(C)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), H, c), ScriptTransfer(addressFromStringValue(N[0]), 0, c), ScriptTransfer(addressFromStringValue(N[1]), 0, c), ScriptTransfer(addressFromStringValue(N[2]), 0, c), ScriptTransfer(addressFromStringValue(N[3]), 0, c), ScriptTransfer(addressFromStringValue(N[4]), 0, c), ScriptTransfer(addressFromStringValue(N[5]), 0, c)])) | |
328 | - | } | |
329 | - | else throw(("Needs 2 to 6 parties addresses" + toString(O))) | |
330 | - | } | |
326 | + | else throw(("Needs 2 to 6 parties addresses" + toString(O))) | |
331 | 327 | } | |
332 | 328 | ||
333 | 329 | ||
334 | 330 | ||
335 | 331 | @Callable(z) | |
336 | 332 | func signAgreement (A,ae) = { | |
337 | 333 | let G = extract(z.payment) | |
338 | 334 | let H = extract(G.amount) | |
339 | 335 | let C = extract(z.transactionId) | |
340 | 336 | let af = toBase58String(z.caller.bytes) | |
341 | 337 | let ag = p(((af + "_MA_") + ae)) | |
342 | 338 | if (!(ag)) | |
343 | 339 | then throw("Sorry there is no pending signature") | |
344 | 340 | else ScriptResult(WriteSet([DataEntry(((af + "_MA_") + ae), ("SIGNED_" + toBase58String(C)))]), TransferSet([ScriptTransfer(addressFromStringValue(af), 500000, unit)])) | |
345 | 341 | } | |
346 | 342 | ||
347 | 343 |
github/deemru/w8io/026f985 92.79 ms ◑