tx · 4PLktBtawfXh59Fp1btpQmyucCC34KA8ZX8sSRkoy2dK 3MyptEzrSwFXoCQs1PQSv7XGAbgxnGKB1hM: -0.01000000 Waves 2019.10.23 16:22 [732793] smart account 3MyptEzrSwFXoCQs1PQSv7XGAbgxnGKB1hM > SELF 0.00000000 Waves
{ "type": 13, "id": "4PLktBtawfXh59Fp1btpQmyucCC34KA8ZX8sSRkoy2dK", "fee": 1000000, "feeAssetId": null, "timestamp": 1571836941459, "version": 1, "sender": "3MyptEzrSwFXoCQs1PQSv7XGAbgxnGKB1hM", "senderPublicKey": "HaYuisggKR3txyHm8HnPzzQb96hv7pXQmMu9ckLfaSQE", "proofs": [ "4ajGpLoxbqoZYqPpC6GcefZSyFj12wH7jfLY1mnWkE6dQxPz2nJsMZ9afVLizVGB1Fq1wVJynbwCFr9fLUAASdhG" ], "script": "base64:AAIDAAAAAAAAAAoIARIAEgQKAgEIAAAAKQAAAAAHV0FWRUxFVAkAAGgAAAACCQAAaAAAAAIAAAAAAAAAAGQAAAAAAAAAA+gAAAAAAAAAA+gAAAAABU1SVEVDAAAAAAAAAABkAAAAAAltYXhSb3VuZHMAAAAAAAAAAAIAAAAAB3BtdFN0ZXAJAABoAAAAAgAAAAAAAAAACgUAAAAFTVJURUMAAAAAEHBhcnR5T3duZXJQdWJLZXkJAAJZAAAAAQIAAAAsNGY4allKY2NDamFyVmdjOEZIbjVtczVZTGtwaTZQZkhweFRubWpRWk1rSmsAAAAAEXBhcnR5T3duZXJBZGRyZXNzCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABBQAAABBwYXJ0eU93bmVyUHViS2V5AAAAAA1sZWFzaW5nUGVyaW9kAAAAAAAAAAADAAAAABFsZWFzaW5nSWRMaWZldGltZQAAAAAAAAAAAwAAAAAXbGVhc2luZ0lkRGlmZkluTGlmZXRpbWUAAAAAAAAAAAEAAAAACmxlYXNpbmdBbXQJAABoAAAAAgAAAAAAAAAAAQUAAAAHV0FWRUxFVAAAAA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R5IE93bmVyIG9ubHkDCQEAAAACIT0AAAACCAUAAAAEY2x0eAAAAANmZWUFAAAABk1pbkZFRQkAAAIAAAABCQABLAAAAAICAAAAO0ltcG9zc2libGUgdG8gY2FuY2xlIGxlYXNpbmcgd2l0aCBmZWUgbGVzcyBvciBncmVhdGVyIHRoYW4gCQABpAAAAAEFAAAABk1pbkZFRQYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAA3R0eAUAAAAHJG1hdGNoMAMJAQAAAAEhAAAAAQUAAAASbGVhc2luZ1BlcmlvZEVuZGVkCQAAAgAAAAECAAAAOE1SVCBwYXJ0eSBoYXMgbm90IGZpbmlzaGVkIHlldC4gVHJhbnNmZXIgaXMgbm90IGFsbG93ZWQuAwkBAAAAASEAAAABCQAB9AAAAAMIBQAAAAN0dHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAN0dHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAABBwYXJ0eU93bmVyUHViS2V5CQAAAgAAAAECAAAAKVRyYW5zZmVyIGlzIGFsbG93ZWQgZm9yIFBhcnR5IE93bmVyIG9ubHkuAwkBAAAAAiE9AAAAAggFAAAAA3R0eAAAAANmZWUFAAAABk1pbkZFRQkAAAIAAAABCQABLAAAAAICAAAANUltcG9zc2libGUgdG8gdHJhbnNmZXIgd2l0aCBmZWUgbGVzcyBvciBncmVhdGVyIHRoYW4gCQABpAAAAAEFAAAABk1pbkZFRQYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAANzdHgFAAAAByRtYXRjaDAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5B2b10nI=", "chainId": 84, "height": 732793, "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 3 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let a = ((100 * 1000) * 1000) | |
5 | + | ||
6 | + | let b = 100 | |
7 | + | ||
8 | + | let c = 2 | |
9 | + | ||
10 | + | let d = (10 * b) | |
11 | + | ||
12 | + | let e = fromBase58String("4f8jYJccCjarVgc8FHn5ms5YLkpi6PfHpxTnmjQZMkJk") | |
13 | + | ||
14 | + | let f = addressFromPublicKey(e) | |
15 | + | ||
16 | + | let g = 3 | |
17 | + | ||
18 | + | let h = 3 | |
19 | + | ||
20 | + | let i = 1 | |
21 | + | ||
22 | + | let j = (1 * a) | |
23 | + | ||
24 | + | let k = 2 | |
25 | + | ||
26 | + | let l = 732793 | |
27 | + | ||
28 | + | let m = 5 | |
29 | + | ||
30 | + | let n = 3 | |
31 | + | ||
32 | + | let o = fromBase58String("8b4jE7X1yCNcbF4YXZGBKc8T5xdit7b1gENxxx31daua") | |
33 | + | ||
34 | + | let p = ((5 * a) / 1000) | |
35 | + | ||
36 | + | let q = 0 | |
37 | + | ||
38 | + | let r = 1 | |
39 | + | ||
40 | + | let s = 2 | |
41 | + | ||
42 | + | let t = 3 | |
43 | + | ||
44 | + | func u (v) = { | |
45 | + | let w = "q" | |
46 | + | let x = "r" | |
47 | + | let y = "s" | |
48 | + | let z = "t" | |
49 | + | let A = "u" | |
50 | + | let B = "v" | |
51 | + | let C = "w" | |
52 | + | let D = "x" | |
53 | + | let E = "y" | |
54 | + | let F = "z" | |
55 | + | if ((v == w)) | |
56 | + | then "0" | |
57 | + | else if ((v == x)) | |
58 | + | then "1" | |
59 | + | else if ((v == y)) | |
60 | + | then "2" | |
61 | + | else if ((v == z)) | |
62 | + | then "3" | |
63 | + | else if ((v == A)) | |
64 | + | then "4" | |
65 | + | else if ((v == B)) | |
66 | + | then "5" | |
67 | + | else if ((v == C)) | |
68 | + | then "6" | |
69 | + | else if ((v == D)) | |
70 | + | then "7" | |
71 | + | else if ((v == E)) | |
72 | + | then "8" | |
73 | + | else if ((v == F)) | |
74 | + | then "9" | |
75 | + | else throw("Unsupported char") | |
76 | + | } | |
77 | + | ||
78 | + | ||
79 | + | func G (H) = { | |
80 | + | let I = size(H) | |
81 | + | if ((I > 2)) | |
82 | + | then throw("Invalid ecoded round - size couldn't be greater than 2") | |
83 | + | else if ((0 >= I)) | |
84 | + | then throw("Invalid ecoded round - size couldn't be less than or equals 0") | |
85 | + | else if ((I == 1)) | |
86 | + | then u(take(H, 1)) | |
87 | + | else if ((I == 2)) | |
88 | + | then (u(take(H, 1)) + u(take(drop(H, 1), 1))) | |
89 | + | else throw("Invalid encoded round") | |
90 | + | } | |
91 | + | ||
92 | + | ||
93 | + | func J (K) = if ((0 > K)) | |
94 | + | then throw("Invalid round number") | |
95 | + | else ("round" + toString(K)) | |
96 | + | ||
97 | + | ||
98 | + | func L (K) = { | |
99 | + | let M = getString(this, J(K)) | |
100 | + | let N = if (isDefined(M)) | |
101 | + | then extract(M) | |
102 | + | else "" | |
103 | + | let O = toBase58String(f.bytes) | |
104 | + | if ((N != "")) | |
105 | + | then split(N, "_") | |
106 | + | else ["0", toString(d), O, "?", "0"] | |
107 | + | } | |
108 | + | ||
109 | + | ||
110 | + | func P () = { | |
111 | + | let Q = getString(this, "RoundsSharedState") | |
112 | + | let R = if (isDefined(Q)) | |
113 | + | then extract(Q) | |
114 | + | else "" | |
115 | + | if ((R != "")) | |
116 | + | then split(R, "_") | |
117 | + | else ["", "0", ""] | |
118 | + | } | |
119 | + | ||
120 | + | ||
121 | + | func S (T,K,U,V,W,X,Y) = { | |
122 | + | let Z = toString(U) | |
123 | + | let aa = DataEntry(J(K), ((((((Z + "_") + V) + "_") + X) + "_") + toString(Y))) | |
124 | + | if ((T == "MOVE")) | |
125 | + | then { | |
126 | + | let ab = toString(addressFromPublicKey(W)) | |
127 | + | let ac = size(ab) | |
128 | + | let ad = P() | |
129 | + | let ae = toString((parseIntValue(ad[1]) + 1)) | |
130 | + | let af = ad[2] | |
131 | + | let ag = if (if ((af != "")) | |
132 | + | then (size(af) > ((ac + 1) * 10)) | |
133 | + | else false) | |
134 | + | then (("-" + ab) + dropRight(af, (ac + 1))) | |
135 | + | else (("-" + ab) + af) | |
136 | + | WriteSet([aa, DataEntry("RoundsSharedState", ((((Z + "_") + ae) + "_") + ag))]) | |
137 | + | } | |
138 | + | else if ((T == "LEASING")) | |
139 | + | then WriteSet([aa]) | |
140 | + | else throw(("Unsupported type in writeSetOfRoundData method: " + T)) | |
141 | + | } | |
142 | + | ||
143 | + | ||
144 | + | let ah = (height - l) | |
145 | + | ||
146 | + | let ai = if ((ah >= 0)) | |
147 | + | then (ah / m) | |
148 | + | else throw(("Please do not hurry. MRT party will start on " + toString(l))) | |
149 | + | ||
150 | + | let aj = (ah % m) | |
151 | + | ||
152 | + | let ak = ((ai * m) + l) | |
153 | + | ||
154 | + | let al = (ak + n) | |
155 | + | ||
156 | + | let am = L(ai) | |
157 | + | ||
158 | + | let an = parseIntValue(am[q]) | |
159 | + | ||
160 | + | let ao = d | |
161 | + | ||
162 | + | func ap (aq) = (height >= aq) | |
163 | + | ||
164 | + | ||
165 | + | let ar = (an > ak) | |
166 | + | ||
167 | + | let as = if ((an == 0)) | |
168 | + | then ap((ak + k)) | |
169 | + | else false | |
170 | + | ||
171 | + | let at = if (ap(an)) | |
172 | + | then ar | |
173 | + | else false | |
174 | + | ||
175 | + | let au = if ((aj > n)) | |
176 | + | then true | |
177 | + | else as | |
178 | + | ||
179 | + | let av = if (at) | |
180 | + | then true | |
181 | + | else au | |
182 | + | ||
183 | + | let aw = !(av) | |
184 | + | ||
185 | + | @Callable(ax) | |
186 | + | func move () = { | |
187 | + | let ay = (height + k) | |
188 | + | let U = if ((ay >= al)) | |
189 | + | then al | |
190 | + | else ay | |
191 | + | let az = if (isDefined(ax.payment)) | |
192 | + | then extract(ax.payment) | |
193 | + | else throw("Please attach payment with MRT to participate in MRT party") | |
194 | + | if ((ai >= c)) | |
195 | + | then throw("MRT party is over") | |
196 | + | else if (av) | |
197 | + | then throw((("Sorry but round #" + toString(ai)) + " is finished.")) | |
198 | + | else if ((az.assetId != o)) | |
199 | + | then throw("Please use MRT as a payment asset to participate in MRT party") | |
200 | + | else if ((ao > az.amount)) | |
201 | + | then throw(("Sorry my friend but your payment is to small. Current min payment is " + toString(ao))) | |
202 | + | else S("MOVE", ai, U, toBase58String(ax.callerPublicKey), ax.callerPublicKey, "?", 0) | |
203 | + | } | |
204 | + | ||
205 | + | ||
206 | + | ||
207 | + | @Callable(ax) | |
208 | + | func registerLeasingTx (K,X) = { | |
209 | + | let aA = fromBase58String(X) | |
210 | + | let aB = L(K) | |
211 | + | let aC = aB[s] | |
212 | + | let aD = if ((aC == "?")) | |
213 | + | then fromBase58String("emptyid") | |
214 | + | else fromBase58String(aC) | |
215 | + | let aE = fromBase58String(aB[r]) | |
216 | + | let Y = parseIntValue(aB[t]) | |
217 | + | if ((K > ai)) | |
218 | + | then throw("Impossible to register leasing transaction for round in future") | |
219 | + | else if (if ((K == ai)) | |
220 | + | then aw | |
221 | + | else false) | |
222 | + | then throw("Impossible to register leasing transaction - winner has not been determined yet") | |
223 | + | else if ((size(aA) > 100)) | |
224 | + | then throw("Invalid leasing transaction id length") | |
225 | + | else if ((0 >= size(aA))) | |
226 | + | then throw("Leasing transaction id is not encoded as Base58 format") | |
227 | + | else if (isDefined(transactionHeightById(aA))) | |
228 | + | then throw("Passed leasingId has already existed in blockchain") | |
229 | + | else if (isDefined(transactionHeightById(aD))) | |
230 | + | then throw("Previous registered leasingId has already existed in blockchain") | |
231 | + | else if (if ((Y != 0)) | |
232 | + | then (Y > height) | |
233 | + | else false) | |
234 | + | then throw(("Leasing id can be re-registered only on " + toString(Y))) | |
235 | + | else if ((ax.callerPublicKey != aE)) | |
236 | + | then throw("Leasing tx can be registered by round winner only") | |
237 | + | else { | |
238 | + | let aF = parseIntValue(aB[q]) | |
239 | + | S("LEASING", K, aF, aB[r], toBytes(""), X, (height + h)) | |
240 | + | } | |
241 | + | } | |
242 | + | ||
243 | + | ||
244 | + | @Verifier(aG) | |
245 | + | func aH () = { | |
246 | + | let aI = (height > ((l + (c * m)) + g)) | |
247 | + | let aJ = aG | |
248 | + | if ($isInstanceOf(aJ, "LeaseTransaction")) | |
249 | + | then { | |
250 | + | let aK = aJ | |
251 | + | let aL = aK.proofs[0] | |
252 | + | let aM = toBase58String(aK.proofs[1]) | |
253 | + | let K = valueOrErrorMessage(parseInt(G(aM)), "Error during converting round num into integer representation") | |
254 | + | let aB = L(K) | |
255 | + | let aN = fromBase58String(aB[r]) | |
256 | + | let aO = fromBase58String(aB[s]) | |
257 | + | let Y = parseIntValue(aB[t]) | |
258 | + | if (aI) | |
259 | + | then throw("Sorry but leasing period has been ended") | |
260 | + | else if ((height > (Y - i))) | |
261 | + | then throw("Sorry but lifetime of your leasing transaction id has been expired") | |
262 | + | else if (!(sigVerify(aK.bodyBytes, aL, aN))) | |
263 | + | then throw("Invalid leasing transaction signature. Leasing is allowed for winner only.") | |
264 | + | else if ((aK.id != aO)) | |
265 | + | then throw("Leasing transaction id doesn't match with registered leasing id") | |
266 | + | else if ((aK.amount != j)) | |
267 | + | then throw(("Impossible to lease less or greater than " + toString(j))) | |
268 | + | else if ((aK.fee != p)) | |
269 | + | then throw(("Impossible to lease with fee less or greater than " + toString(p))) | |
270 | + | else true | |
271 | + | } | |
272 | + | else if ($isInstanceOf(aJ, "LeaseCancelTransaction")) | |
273 | + | then { | |
274 | + | let aP = aJ | |
275 | + | if (!(aI)) | |
276 | + | then throw("MRT party has not finished yet. Leasing Cancel is not allowed.") | |
277 | + | else if (!(sigVerify(aG.bodyBytes, aG.proofs[0], e))) | |
278 | + | then throw("Leasing Cancel is allowed to Party Owner only") | |
279 | + | else if ((aP.fee != p)) | |
280 | + | then throw(("Impossible to cancle leasing with fee less or greater than " + toString(p))) | |
281 | + | else true | |
282 | + | } | |
283 | + | else if ($isInstanceOf(aJ, "TransferTransaction")) | |
284 | + | then { | |
285 | + | let aQ = aJ | |
286 | + | if (!(aI)) | |
287 | + | then throw("MRT party has not finished yet. Transfer is not allowed.") | |
288 | + | else if (!(sigVerify(aQ.bodyBytes, aQ.proofs[0], e))) | |
289 | + | then throw("Transfer is allowed for Party Owner only.") | |
290 | + | else if ((aQ.fee != p)) | |
291 | + | then throw(("Impossible to transfer with fee less or greater than " + toString(p))) | |
292 | + | else true | |
293 | + | } | |
294 | + | else if ($isInstanceOf(aJ, "SetScriptTransaction")) | |
295 | + | then { | |
296 | + | let aR = aJ | |
297 | + | sigVerify(aG.bodyBytes, aG.proofs[0], aG.senderPublicKey) | |
298 | + | } | |
299 | + | else false | |
300 | + | } | |
301 | + |
github/deemru/w8io/169f3d6 39.65 ms ◑