tx · CgKuCCmFttVP2pyC7BdxVS9aGfCuYsDxycQfX7dJAhD6 3N4auH9z5oWKEa1mTdkb9ptZtiorCosG51f: -0.01000000 Waves 2019.10.24 14:31 [734126] smart account 3N4auH9z5oWKEa1mTdkb9ptZtiorCosG51f > SELF 0.00000000 Waves
{ "type": 13, "id": "CgKuCCmFttVP2pyC7BdxVS9aGfCuYsDxycQfX7dJAhD6", "fee": 1000000, "feeAssetId": null, "timestamp": 1571916761544, "version": 1, "sender": "3N4auH9z5oWKEa1mTdkb9ptZtiorCosG51f", "senderPublicKey": "2bRW9qh6Nu8rgmdhgMPeeyzqUmnwioKbqvVR7vVgrDJR", "proofs": [ "3RfZoLhUzS4U6M6U5Xvm8Wvpdc5E2UG7cwVNEUPwFvfvLKjNfVQCAs1GqKhRUT5hwNUZhoR24VPkLepGvzi2EQnT" ], "script": "base64:AAIDAAAAAAAAAAoIARIAEgQKAgEIAAAAKgAAAAAHV0FWRUxFVAkAAGgAAAACCQAAaAAAAAIAAAAAAAAAAGQAAAAAAAAAA+gAAAAAAAAAA+gAAAAABU1SVEVDAAAAAAAAAABkAAAAAAltYXhSb3VuZHMAAAAAAAAAAAIAAAAAB3BtdFN0ZXAJAABoAAAAAgAAAAAAAAAACgUAAAAFTVJURUMAAAAAEHBhcnR5T3duZXJQdWJLZXkJAAJZAAAAAQIAAAAsNGY4allKY2NDamFyVmdjOEZIbjVtczVZTGtwaTZQZkhweFRubWpRWk1rSmsAAAAAEXBhcnR5T3duZXJBZGRyZXNzCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABBQAAABBwYXJ0eU93bmVyUHViS2V5AAAAAA1sZWFzaW5nUGVyaW9kAAAAAAAAAAADAAAAABFsZWFzaW5nSWRMaWZldGltZQAAAAAAAAAAAwAAAAAXbGVhc2luZ0lkRGlmZkluTGlmZXRpbWUAAAAAAAAAAAEAAAAACmxlYXNpbmdBbXQJAABoAAAAAgAAAAAAAAAAAQUAAAAHV0FWRUxFVAAA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AAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0J1cm5UcmFuc2FjdGlvbgQAAAADYnR4BQAAAAckbWF0Y2gwAwkBAAAAASEAAAABBQAAABJsZWFzaW5nUGVyaW9kRW5kZWQJAAACAAAAAQIAAAA4TVJUIHBhcnR5IGhhcyBub3QgZmluaXNoZWQgeWV0LiBUcmFuc2ZlciBpcyBub3QgYWxsb3dlZC4DCQEAAAABIQAAAAEJAAH0AAAAAwgFAAAAA2J0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAA2J0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAEHBhcnR5T3duZXJQdWJLZXkJAAACAAAAAQIAAAApVHJhbnNmZXIgaXMgYWxsb3dlZCBmb3IgUGFydHkgT3duZXIgb25seS4DCQEAAAACIT0AAAACCAUAAAADYnR4AAAAA2ZlZQUAAAAGTWluRkVFCQAAAgAAAAEJAAEsAAAAAgIAAAA1SW1wb3NzaWJsZSB0byB0cmFuc2ZlciB3aXRoIGZlZSBsZXNzIG9yIGdyZWF0ZXIgdGhhbiAJAAGkAAAAAQUAAAAGTWluRkVFBgeIPVIi", "chainId": 84, "height": 734126, "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 = 734129 | |
27 | + | ||
28 | + | let m = 6 | |
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 | + | 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 ecoded round - size couldn't be greater than 2") | |
85 | + | else if ((0 >= J)) | |
86 | + | then throw("Invalid ecoded 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 | + | let P = toBase58String(f.bytes) | |
106 | + | if ((O != "")) | |
107 | + | then split(O, "_") | |
108 | + | else ["0", toString(d), "?", "?", "?", "0"] | |
109 | + | } | |
110 | + | ||
111 | + | ||
112 | + | func Q () = { | |
113 | + | let R = getString(this, "RoundsSharedState") | |
114 | + | let S = if (isDefined(R)) | |
115 | + | then extract(R) | |
116 | + | else "" | |
117 | + | if ((S != "")) | |
118 | + | then split(S, "_") | |
119 | + | else ["", "0", ""] | |
120 | + | } | |
121 | + | ||
122 | + | ||
123 | + | func T (U,L,V,W,X,Y,Z) = { | |
124 | + | let aa = toString(V) | |
125 | + | let ab = DataEntry(K(L), ((((((((aa + "_") + W) + "_") + X) + "_") + Y) + "_") + toString(Z))) | |
126 | + | if ((U == "MOVE")) | |
127 | + | then { | |
128 | + | let ac = size(W) | |
129 | + | let ad = Q() | |
130 | + | let ae = toString((parseIntValue(ad[1]) + 1)) | |
131 | + | let af = ad[2] | |
132 | + | let ag = if (if ((af != "")) | |
133 | + | then (size(af) > ((ac + 1) * 10)) | |
134 | + | else false) | |
135 | + | then (("-" + W) + dropRight(af, (ac + 1))) | |
136 | + | else (("-" + W) + af) | |
137 | + | WriteSet([ab, DataEntry("RoundsSharedState", ((((aa + "_") + ae) + "_") + ag))]) | |
138 | + | } | |
139 | + | else if ((U == "LEASING")) | |
140 | + | then WriteSet([ab]) | |
141 | + | else throw(("Unsupported type in writeSetOfRoundData method: " + U)) | |
142 | + | } | |
143 | + | ||
144 | + | ||
145 | + | let ah = (height - l) | |
146 | + | ||
147 | + | let ai = if ((ah >= 0)) | |
148 | + | then (ah / m) | |
149 | + | else throw(("Please do not hurry. MRT party will start on " + toString(l))) | |
150 | + | ||
151 | + | let aj = (ah % m) | |
152 | + | ||
153 | + | let ak = ((ai * m) + l) | |
154 | + | ||
155 | + | let al = (ak + n) | |
156 | + | ||
157 | + | let am = M(ai) | |
158 | + | ||
159 | + | let an = parseIntValue(am[q]) | |
160 | + | ||
161 | + | let ao = d | |
162 | + | ||
163 | + | func ap (aq) = (height >= aq) | |
164 | + | ||
165 | + | ||
166 | + | let ar = (an > ak) | |
167 | + | ||
168 | + | let as = if ((an == 0)) | |
169 | + | then ap((ak + k)) | |
170 | + | else false | |
171 | + | ||
172 | + | let at = if (ap(an)) | |
173 | + | then ar | |
174 | + | else false | |
175 | + | ||
176 | + | let au = if ((aj > n)) | |
177 | + | then true | |
178 | + | else as | |
179 | + | ||
180 | + | let av = if (at) | |
181 | + | then true | |
182 | + | else au | |
183 | + | ||
184 | + | let aw = !(av) | |
185 | + | ||
186 | + | @Callable(ax) | |
187 | + | func move () = { | |
188 | + | let ay = (height + k) | |
189 | + | let V = if ((ay >= al)) | |
190 | + | then al | |
191 | + | else ay | |
192 | + | let az = if (isDefined(ax.payment)) | |
193 | + | then extract(ax.payment) | |
194 | + | else throw("Please attach payment with MRT to participate in MRT party") | |
195 | + | if ((ai >= c)) | |
196 | + | then throw("MRT party is over") | |
197 | + | else if (av) | |
198 | + | then throw((("Sorry but round #" + toString(ai)) + " is finished.")) | |
199 | + | else if ((az.assetId != o)) | |
200 | + | then throw("Please use MRT as a payment asset to participate in MRT party") | |
201 | + | else if ((ao > az.amount)) | |
202 | + | then throw(("Sorry my friend but your payment is to small. Current min payment is " + toString(ao))) | |
203 | + | else T("MOVE", ai, V, toString(addressFromPublicKey(ax.callerPublicKey)), toBase58String(ax.callerPublicKey), "?", 0) | |
204 | + | } | |
205 | + | ||
206 | + | ||
207 | + | ||
208 | + | @Callable(ax) | |
209 | + | func registerLeasingTx (L,Y) = { | |
210 | + | let aA = fromBase58String(Y) | |
211 | + | let aB = M(L) | |
212 | + | let aC = aB[t] | |
213 | + | let aD = if ((aC == "?")) | |
214 | + | then fromBase58String("emptyid") | |
215 | + | else fromBase58String(aC) | |
216 | + | let aE = fromBase58String(aB[s]) | |
217 | + | let Z = parseIntValue(aB[u]) | |
218 | + | if ((L > ai)) | |
219 | + | then throw("Impossible to register leasing transaction for round in future") | |
220 | + | else if (if ((L == ai)) | |
221 | + | then aw | |
222 | + | else false) | |
223 | + | then throw("Impossible to register leasing transaction - winner has not been determined yet") | |
224 | + | else if ((size(aA) > 100)) | |
225 | + | then throw("Invalid leasing transaction id length") | |
226 | + | else if ((0 >= size(aA))) | |
227 | + | then throw("Leasing transaction id is not encoded as Base58 format") | |
228 | + | else if (isDefined(transactionHeightById(aA))) | |
229 | + | then throw("Passed leasingId has already existed in blockchain") | |
230 | + | else if (isDefined(transactionHeightById(aD))) | |
231 | + | then throw("Previous registered leasingId has already existed in blockchain") | |
232 | + | else if (if ((Z != 0)) | |
233 | + | then (Z > height) | |
234 | + | else false) | |
235 | + | then throw(("Leasing id can be re-registered only on " + toString(Z))) | |
236 | + | else if ((ax.callerPublicKey != aE)) | |
237 | + | then throw("Leasing tx can be registered by round winner only") | |
238 | + | else { | |
239 | + | let aF = parseIntValue(aB[q]) | |
240 | + | T("LEASING", L, aF, aB[r], aB[s], Y, (height + h)) | |
241 | + | } | |
242 | + | } | |
243 | + | ||
244 | + | ||
245 | + | @Verifier(aG) | |
246 | + | func aH () = { | |
247 | + | let aI = (height > ((l + (c * m)) + g)) | |
248 | + | let aJ = aG | |
249 | + | if ($isInstanceOf(aJ, "LeaseTransaction")) | |
250 | + | then { | |
251 | + | let aK = aJ | |
252 | + | let aL = aK.proofs[0] | |
253 | + | let aM = toBase58String(aK.proofs[1]) | |
254 | + | let L = valueOrErrorMessage(parseInt(H(aM)), "Error during converting round num into integer representation") | |
255 | + | let aB = M(L) | |
256 | + | let aN = fromBase58String(aB[s]) | |
257 | + | let aO = fromBase58String(aB[t]) | |
258 | + | let Z = parseIntValue(aB[u]) | |
259 | + | if (aI) | |
260 | + | then throw("Sorry but leasing period has been ended") | |
261 | + | else if ((height > (Z - i))) | |
262 | + | then throw("Sorry but lifetime of your leasing transaction id has been expired") | |
263 | + | else if (!(sigVerify(aK.bodyBytes, aL, aN))) | |
264 | + | then throw("Invalid leasing transaction signature. Leasing is allowed for winner only.") | |
265 | + | else if ((aK.id != aO)) | |
266 | + | then throw("Leasing transaction id doesn't match with registered leasing id") | |
267 | + | else if ((aK.amount != j)) | |
268 | + | then throw(("Impossible to lease less or greater than " + toString(j))) | |
269 | + | else if ((aK.fee != p)) | |
270 | + | then throw(("Impossible to lease with fee less or greater than " + toString(p))) | |
271 | + | else true | |
272 | + | } | |
273 | + | else if ($isInstanceOf(aJ, "LeaseCancelTransaction")) | |
274 | + | then { | |
275 | + | let aP = aJ | |
276 | + | if (!(aI)) | |
277 | + | then throw("MRT party has not finished yet. Leasing Cancel is not allowed.") | |
278 | + | else if (!(sigVerify(aG.bodyBytes, aG.proofs[0], e))) | |
279 | + | then throw("Leasing Cancel is allowed to Party Owner only") | |
280 | + | else if ((aP.fee != p)) | |
281 | + | then throw(("Impossible to cancle leasing with fee less or greater than " + toString(p))) | |
282 | + | else true | |
283 | + | } | |
284 | + | else if ($isInstanceOf(aJ, "TransferTransaction")) | |
285 | + | then { | |
286 | + | let aQ = aJ | |
287 | + | if (!(aI)) | |
288 | + | then throw("MRT party has not finished yet. Transfer is not allowed.") | |
289 | + | else if (!(sigVerify(aQ.bodyBytes, aQ.proofs[0], e))) | |
290 | + | then throw("Transfer is allowed for Party Owner only.") | |
291 | + | else if ((aQ.fee != p)) | |
292 | + | then throw(("Impossible to transfer with fee less or greater than " + toString(p))) | |
293 | + | else true | |
294 | + | } | |
295 | + | else if ($isInstanceOf(aJ, "SetScriptTransaction")) | |
296 | + | then { | |
297 | + | let aR = aJ | |
298 | + | sigVerify(aG.bodyBytes, aG.proofs[0], aG.senderPublicKey) | |
299 | + | } | |
300 | + | else if ($isInstanceOf(aJ, "BurnTransaction")) | |
301 | + | then { | |
302 | + | let aS = aJ | |
303 | + | if (!(aI)) | |
304 | + | then throw("MRT party has not finished yet. Transfer is not allowed.") | |
305 | + | else if (!(sigVerify(aS.bodyBytes, aS.proofs[0], e))) | |
306 | + | then throw("Transfer is allowed for Party Owner only.") | |
307 | + | else if ((aS.fee != p)) | |
308 | + | then throw(("Impossible to transfer with fee less or greater than " + toString(p))) | |
309 | + | else true | |
310 | + | } | |
311 | + | else false | |
312 | + | } | |
313 | + |
github/deemru/w8io/03bedc9 24.27 ms ◑![]()