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