tx · 7sfA9C7bdzyvg9zw6Gr9R6dtv1xVrvvYbAsTCtRQmrBk 3MqnjEXWG6rvvRo2UDYRANN8iWLks7snDwj: -0.01000000 Waves 2021.12.16 10:52 [1836544] smart account 3MqnjEXWG6rvvRo2UDYRANN8iWLks7snDwj > SELF 0.00000000 Waves
{ "type": 13, "id": "7sfA9C7bdzyvg9zw6Gr9R6dtv1xVrvvYbAsTCtRQmrBk", "fee": 1000000, "feeAssetId": null, "timestamp": 1639641223099, "version": 2, "chainId": 84, "sender": "3MqnjEXWG6rvvRo2UDYRANN8iWLks7snDwj", "senderPublicKey": "2XLAeeTTE4mSghbTZDq9wZiJkuqmdgCCAw4uy1QgYGtK", "proofs": [ "FyTE7n97ocD97BDMRUgrZ93UftFJhFk6nP1fp5o9wvmKyK3Eeroczf3qRCur2SdCfy4nCiW9SU3h1h9G2pQ14EU" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAACAAAAAAJbWFzdGVyYWRyAgAAACMzTjhrRlR6aVNwejdTb2RvUnhLMlg5MUxZVnNBeGlQMWlDVQAAAAAGc2VwYXJjAgAAAAF8AAAAAAZzZXBhcnIJAAEsAAAAAgUAAAAGc2VwYXJjBQAAAAZzZXBhcmMAAAAACWluY3JwcmljZQAAAAAAAAAAIQAAAAAJaW5pdHByaWNlAgAAAAYxMDAwMDAAAAAACW1hc3RlcmZlZQAAAAAAAAAAAQAAAAAFdG9rZW4FAAAABHVuaXQAAAAACXN0YWtlcmF0ZQAAAAAAAAAAAQAAAAEAAAABaQEAAAAFcGFpbnQAAAABAAAABWlkYXRhBAAAAAJjdAQAAAAHJG1hdGNoMAkAA+0AAAABBQAAAAZoZWlnaHQDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAACUJsb2NrSW5mbwQAAAAFYmxvY2sFAAAAByRtYXRjaDAIBQAAAAVibG9jawAAAAl0aW1lc3RhbXAAAAAAAAAAAAAEAAAAC2N1cnJlbnR0aW1lCQEAAAANcGFyc2VJbnRWYWx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dAIAAAABIAUAAAAKZXJyb3J0b2tlbgIAAAABIAUAAAALZXJyb3Jlbm91Z2gJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyBQAAAAlwbXRhbW91bnQICQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAAAAAAB2Fzc2V0SWQFAAAAA25pbAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIFAAAADGNhbGxlckFkcmVzcwIAAAAGX2Vycm9yCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACBQAAAAhlcnJvcnBtdAIAAAABIAUAAAAKZXJyb3J0b2tlbgIAAAABIAUAAAALZXJyb3Jlbm91Z2gCAAAAASAFAAAACGVycm9ydXJsBQAAAANuaWwAAAAA25HBPw==", "height": 1836544, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5n9JBwfNVokRdvfx1U1Jji6n5ZZCXP8HSJBhHXc7Gndf Next: 3ycafymN1xmiHkrBeUpg12A8FUKz3aYYBQBzz9eTUzuV Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let masteradr = "3N8kFTziSpz7SodoRxK2X91LYVsAxiP1iCU" | |
5 | 5 | ||
6 | 6 | let separc = "|" | |
7 | 7 | ||
8 | 8 | let separr = (separc + separc) | |
9 | 9 | ||
10 | 10 | let incrprice = 33 | |
11 | 11 | ||
12 | 12 | let initprice = "100000" | |
13 | 13 | ||
14 | 14 | let masterfee = 1 | |
15 | 15 | ||
16 | 16 | let token = unit | |
17 | 17 | ||
18 | 18 | let stakerate = 1 | |
19 | 19 | ||
20 | 20 | @Callable(i) | |
21 | 21 | func paint (idata) = { | |
22 | 22 | let ct = match blockInfoByHeight(height) { | |
23 | 23 | case block: BlockInfo => | |
24 | 24 | block.timestamp | |
25 | 25 | case _ => | |
26 | 26 | 0 | |
27 | 27 | } | |
28 | 28 | let currenttime = parseIntValue(toString(ct)) | |
29 | 29 | let callerAdress = toBase58String(i.caller.bytes) | |
30 | 30 | let reqdata = split(idata, separr) | |
31 | 31 | let color = if ((size(reqdata) > 1)) | |
32 | 32 | then reqdata[1] | |
33 | 33 | else "0" | |
34 | 34 | let url = if ((size(reqdata) > 2)) | |
35 | 35 | then reqdata[2] | |
36 | 36 | else "" | |
37 | 37 | let urlcorrect = if ((indexOf(url, separc) == unit)) | |
38 | 38 | then true | |
39 | 39 | else false | |
40 | 40 | let pixxy = if ((size(reqdata) > 0)) | |
41 | 41 | then split(reqdata[0], separc) | |
42 | 42 | else nil | |
43 | 43 | let number = min([28, size(pixxy)]) | |
44 | 44 | let emptycommand = ["--", "--", masteradr, "0", "0"] | |
45 | 45 | let newrecord = [callerAdress, initprice, toString(currenttime), color, url] | |
46 | 46 | func validxy (j) = match parseInt(pixxy[j]) { | |
47 | 47 | case a: Int => | |
48 | 48 | if (if ((parseIntValue(pixxy[j]) > -1)) | |
49 | 49 | then (1000 > parseIntValue(pixxy[j])) | |
50 | 50 | else false) | |
51 | 51 | then parseIntValue(pixxy[j]) | |
52 | 52 | else -1 | |
53 | 53 | case _ => | |
54 | 54 | -1 | |
55 | 55 | } | |
56 | 56 | ||
57 | 57 | func getrecord (j) = match getString(pixxy[j]) { | |
58 | 58 | case a: String => | |
59 | 59 | getStringValue(pixxy[j]) | |
60 | 60 | case _ => | |
61 | 61 | "" | |
62 | 62 | } | |
63 | 63 | ||
64 | 64 | func command (j) = if (if ((j > (number - 1))) | |
65 | 65 | then true | |
66 | 66 | else (0 > validxy(j))) | |
67 | 67 | then emptycommand | |
68 | 68 | else if ((getrecord(j) == "")) | |
69 | 69 | then [pixxy[j], makeString(newrecord, separc), masteradr, initprice, initprice] | |
70 | 70 | else { | |
71 | 71 | let oldrecord = split(getStringValue(pixxy[j]), separc) | |
72 | 72 | let price = parseIntValue(oldrecord[1]) | |
73 | 73 | let stakeinterest = fraction(price, ((currenttime - parseIntValue(oldrecord[2])) * stakerate), 360000000) | |
74 | 74 | let oldowner = oldrecord[0] | |
75 | 75 | [pixxy[j], makeString([callerAdress, toString(fraction(price, (100 + incrprice), 100)), toString(currenttime), color, url], separc), oldowner, toString(price), toString((stakeinterest + price))] | |
76 | 76 | } | |
77 | 77 | ||
78 | 78 | let all = [command(0), command(1), command(2), command(3), command(4), command(5), command(6), command(7), command(8), command(9), command(10), command(11), command(12), command(13), command(14), command(15), command(16), command(17), command(18), command(19), command(20), command(21), command(22), command(23), command(24), command(25), command(26), command(27)] | |
79 | 79 | let payment = (((((((((((((((((((((((((((parseIntValue(all[0][3]) + parseIntValue(all[1][3])) + parseIntValue(all[2][3])) + parseIntValue(all[3][3])) + parseIntValue(all[4][3])) + parseIntValue(all[5][3])) + parseIntValue(all[6][3])) + parseIntValue(all[7][3])) + parseIntValue(all[8][3])) + parseIntValue(all[9][3])) + parseIntValue(all[10][3])) + parseIntValue(all[11][3])) + parseIntValue(all[12][3])) + parseIntValue(all[13][3])) + parseIntValue(all[14][3])) + parseIntValue(all[15][3])) + parseIntValue(all[16][3])) + parseIntValue(all[17][3])) + parseIntValue(all[18][3])) + parseIntValue(all[19][3])) + parseIntValue(all[20][3])) + parseIntValue(all[21][3])) + parseIntValue(all[22][3])) + parseIntValue(all[23][3])) + parseIntValue(all[24][3])) + parseIntValue(all[25][3])) + parseIntValue(all[26][3])) + parseIntValue(all[27][3])) | |
80 | 80 | let servicefee = fraction(payment, masterfee, 100) | |
81 | 81 | let havepmt = if ((size(i.payments) == 1)) | |
82 | 82 | then true | |
83 | 83 | else false | |
84 | 84 | let pmtamount = if (havepmt) | |
85 | 85 | then i.payments[0].amount | |
86 | 86 | else 0 | |
87 | 87 | let tokencorrect = if (havepmt) | |
88 | 88 | then if ((i.payments[0].assetId == token)) | |
89 | 89 | then true | |
90 | 90 | else false | |
91 | 91 | else false | |
92 | 92 | let pmtenough = if (if (tokencorrect) | |
93 | 93 | then (pmtamount >= (payment + servicefee)) | |
94 | 94 | else false) | |
95 | 95 | then true | |
96 | 96 | else false | |
97 | 97 | let errorpmt = if (!(havepmt)) | |
98 | 98 | then (("Attached payment is required: " + toString((payment + servicefee))) + "; ") | |
99 | 99 | else "" | |
100 | 100 | let errortoken = if (!(tokencorrect)) | |
101 | 101 | then "works with tokens only; " | |
102 | 102 | else "" | |
103 | 103 | let errorenough = if (!(pmtenough)) | |
104 | 104 | then (((("you give: " + toString(pmtamount)) + ", but deal needs: ") + toString((payment + servicefee))) + "; ") | |
105 | 105 | else "" | |
106 | 106 | let errorurl = if (!(urlcorrect)) | |
107 | 107 | then "url is incorrect; " | |
108 | 108 | else "" | |
109 | 109 | if (if (pmtenough) | |
110 | 110 | then urlcorrect | |
111 | 111 | else false) | |
112 | 112 | then [StringEntry(all[0][0], all[0][1]), ScriptTransfer(Address(fromBase58String(all[0][2])), parseIntValue(all[0][4]), token), StringEntry(all[1][0], all[1][1]), ScriptTransfer(Address(fromBase58String(all[1][2])), parseIntValue(all[1][4]), token), StringEntry(all[2][0], all[2][1]), ScriptTransfer(Address(fromBase58String(all[2][2])), parseIntValue(all[2][4]), token), StringEntry(all[3][0], all[3][1]), ScriptTransfer(Address(fromBase58String(all[3][2])), parseIntValue(all[3][4]), token), StringEntry(all[4][0], all[4][1]), ScriptTransfer(Address(fromBase58String(all[4][2])), parseIntValue(all[4][4]), token), StringEntry(all[5][0], all[5][1]), ScriptTransfer(Address(fromBase58String(all[5][2])), parseIntValue(all[5][4]), token), StringEntry(all[6][0], all[6][1]), ScriptTransfer(Address(fromBase58String(all[6][2])), parseIntValue(all[6][4]), token), StringEntry(all[7][0], all[7][1]), ScriptTransfer(Address(fromBase58String(all[7][2])), parseIntValue(all[7][4]), token), StringEntry(all[8][0], all[8][1]), ScriptTransfer(Address(fromBase58String(all[8][2])), parseIntValue(all[8][4]), token), StringEntry(all[9][0], all[9][1]), ScriptTransfer(Address(fromBase58String(all[9][2])), parseIntValue(all[9][4]), token), StringEntry(all[10][0], all[10][1]), ScriptTransfer(Address(fromBase58String(all[10][2])), parseIntValue(all[10][4]), token), StringEntry(all[11][0], all[11][1]), ScriptTransfer(Address(fromBase58String(all[11][2])), parseIntValue(all[11][4]), token), StringEntry(all[12][0], all[12][1]), ScriptTransfer(Address(fromBase58String(all[12][2])), parseIntValue(all[12][4]), token), StringEntry(all[13][0], all[13][1]), ScriptTransfer(Address(fromBase58String(all[13][2])), parseIntValue(all[13][4]), token), StringEntry(all[14][0], all[14][1]), ScriptTransfer(Address(fromBase58String(all[14][2])), parseIntValue(all[14][4]), token), StringEntry(all[15][0], all[15][1]), ScriptTransfer(Address(fromBase58String(all[15][2])), parseIntValue(all[15][4]), token), StringEntry(all[16][0], all[16][1]), ScriptTransfer(Address(fromBase58String(all[16][2])), parseIntValue(all[16][4]), token), StringEntry(all[17][0], all[17][1]), ScriptTransfer(Address(fromBase58String(all[17][2])), parseIntValue(all[17][4]), token), StringEntry(all[18][0], all[18][1]), ScriptTransfer(Address(fromBase58String(all[18][2])), parseIntValue(all[18][4]), token), StringEntry(all[19][0], all[19][1]), ScriptTransfer(Address(fromBase58String(all[19][2])), parseIntValue(all[19][4]), token), StringEntry(all[20][0], all[20][1]), ScriptTransfer(Address(fromBase58String(all[20][2])), parseIntValue(all[20][4]), token), StringEntry(all[21][0], all[21][1]), ScriptTransfer(Address(fromBase58String(all[21][2])), parseIntValue(all[21][4]), token), StringEntry(all[22][0], all[22][1]), ScriptTransfer(Address(fromBase58String(all[22][2])), parseIntValue(all[22][4]), token), StringEntry(all[23][0], all[23][1]), ScriptTransfer(Address(fromBase58String(all[23][2])), parseIntValue(all[23][4]), token), StringEntry(all[24][0], all[24][1]), ScriptTransfer(Address(fromBase58String(all[24][2])), parseIntValue(all[24][4]), token), StringEntry(all[25][0], all[25][1]), ScriptTransfer(Address(fromBase58String(all[25][2])), parseIntValue(all[25][4]), token), StringEntry(all[26][0], all[26][1]), ScriptTransfer(Address(fromBase58String(all[26][2])), parseIntValue(all[26][4]), token), StringEntry(all[27][0], all[27][1]), ScriptTransfer(Address(fromBase58String(all[27][2])), parseIntValue(all[27][4]), token), ScriptTransfer(i.caller, ((pmtamount - payment) - servicefee), token), ScriptTransfer(Address(fromBase58String(masteradr)), servicefee, token), DeleteEntry((callerAdress + "_error"))] | |
113 | 113 | else if (havepmt) | |
114 | 114 | then [StringEntry((callerAdress + "_error"), ((((errorpmt + " ") + errortoken) + " ") + errorenough)), ScriptTransfer(i.caller, pmtamount, i.payments[0].assetId)] | |
115 | 115 | else [StringEntry((callerAdress + "_error"), ((((((errorpmt + " ") + errortoken) + " ") + errorenough) + " ") + errorurl))] | |
116 | 116 | } | |
117 | 117 | ||
118 | 118 |
github/deemru/w8io/026f985 38.49 ms ◑