tx · 73BETzFCn6AJeSQ4YDKw7ZxWxKWCBNgdkSt2MEbzZQyh 3MxHpw1jFTVXfW44QFNcp8V9aTFPpUfKXQh: -0.01000000 Waves 2020.05.19 10:27 [1004826] smart account 3MxHpw1jFTVXfW44QFNcp8V9aTFPpUfKXQh > SELF 0.00000000 Waves
{ "type": 13, "id": "73BETzFCn6AJeSQ4YDKw7ZxWxKWCBNgdkSt2MEbzZQyh", "fee": 1000000, "feeAssetId": null, "timestamp": 1589873320818, "version": 1, "sender": "3MxHpw1jFTVXfW44QFNcp8V9aTFPpUfKXQh", "senderPublicKey": "CYpg28aBxv5SpLUxi7mu4ACYTiX957RrzrfJE6LGf1Xi", "proofs": [ "hRjKikt9kyKRDYg9hmt2jiZuHZHk7JwNCmNRTpXqn2hJovf6rfx9SXbJpYUxuAKQfnXZQaYQrtYcqSwTGZPwGwS" ], "script": "base64:AAIDAAAAAAAAABwIARINCgsICAEBAQgICAEBCBIJCgcBCAEBAQEBAAAARwAAAAAXcmVzY3VlVGltZUNvbmRpdGlvbkxlc3MCAAAABGxlc3MAAAAAF3Jlc2N1ZVRpbWVDb25kaXRpb25Nb3JlAgAAAARtb3JlAAAAACByZXNjdWVUaW1lQ2F0ZWdvcnlWZXJ5UHJvZHVjdGl2ZQIAAAAOdmVyeVByb2R1Y3RpdmUAAAAAHHJlc2N1ZVRpbWVDYXRlZ29yeVByb2R1Y3RpdmUCAAAACnByb2R1Y3RpdmUAAAAAGXJlc2N1ZVRpbWVDYXRlZ29yeU5ldXRyYWwCAAAAB25ldXRyYWwAAAAAHXJlc2N1ZVRpbWVDYXRlZ29yeURpc3RyYWN0aW5nAgAAAAtkaXN0cmFjdGluZwAAAAAhcmVzY3VlVGltZUNhdGVnb3J5VmVyeURpc3RyYWN0aW5nAgAAAA92ZXJ5RGlzdHJhY3RpbmcAAAAAEWdvYWxTdGF0dXNQZW5kaW5nAgAAAAdwZW5kaW5nAAAAABBnb2FsU3RhdHVzQWN0aXZlAgAAAAZhY3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XNFbnRyaWVzAAAAAAAAAAABCQAETAAAAAIJAAGRAAAAAgUAAAARY2F0ZWdvcmllc0VudHJpZXMAAAAAAAAAAAIJAARMAAAAAgkAAZEAAAACBQAAABFjYXRlZ29yaWVzRW50cmllcwAAAAAAAAAAAwkABEwAAAACCQABkQAAAAIFAAAAEWNhdGVnb3JpZXNFbnRyaWVzAAAAAAAAAAAEBQAAAANuaWwJAQAAAAtUcmFuc2ZlclNldAAAAAEJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwUAAAASdXNlckFjY291bnRBZGRyZXNzBQAAAANiZXQJAAJZAAAAAQUAAAAKYmV0QXNzZXRJZAUAAAADbmlsCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAABBzZXRJbnRlZ2VyUmVjb3JkAAAAAgUAAAANZmFpbHNDb3VudEtleQUAAAAKZmFpbHNDb3VudAkABEwAAAACCQEAAAAPc2V0U3RyaW5nUmVjb3JkAAAAAgUAAAAPcmVjb3JkU3RhdHVzS2V5BQAAAAxyZWNvcmRTdGF0dXMJAARMAAAAAgkAAZEAAAACBQAAABFjYXRlZ29yaWVzRW50cmllcwAAAAAAAAAAAAkABEwAAAACCQABkQAAAAIFAAAAEWNhdGVnb3JpZXNFbnRyaWVzAAAAAAAAAAABCQAETAAAAAIJAAGRAAAAAgUAAAARY2F0ZWdvcmllc0VudHJpZXMAAAAAAAAAAAIJAARMAAAAAgkAAZEAAAACBQAAABFjYXRlZ29yaWVzRW50cmllcwAAAAAAAAAAAwkABEwAAAACCQABkQAAAAIFAAAAEWNhdGVnb3JpZXNFbnRyaWVzAAAAAAAAAAAEBQAAAANuaWwAAAAAZr9AAg==", "chainId": 84, "height": 1004826, "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 = "less" | |
5 | + | ||
6 | + | let b = "more" | |
7 | + | ||
8 | + | let c = "veryProductive" | |
9 | + | ||
10 | + | let d = "productive" | |
11 | + | ||
12 | + | let e = "neutral" | |
13 | + | ||
14 | + | let f = "distracting" | |
15 | + | ||
16 | + | let g = "veryDistracting" | |
17 | + | ||
18 | + | let h = "pending" | |
19 | + | ||
20 | + | let i = "active" | |
21 | + | ||
22 | + | let j = "pause" | |
23 | + | ||
24 | + | let k = "success" | |
25 | + | ||
26 | + | let l = "fail" | |
27 | + | ||
28 | + | let m = "pending" | |
29 | + | ||
30 | + | let n = "success" | |
31 | + | ||
32 | + | let o = "fail" | |
33 | + | ||
34 | + | let p = "rescueTime" | |
35 | + | ||
36 | + | let q = "monday" | |
37 | + | ||
38 | + | let r = "tuesday" | |
39 | + | ||
40 | + | let s = "wednesday" | |
41 | + | ||
42 | + | let t = "thursday" | |
43 | + | ||
44 | + | let u = "friday" | |
45 | + | ||
46 | + | let v = "saturday" | |
47 | + | ||
48 | + | let w = "sunday" | |
49 | + | ||
50 | + | let x = "name" | |
51 | + | ||
52 | + | let y = "description" | |
53 | + | ||
54 | + | let z = "startDate" | |
55 | + | ||
56 | + | let A = "endDate" | |
57 | + | ||
58 | + | let B = "rescueTimeConditionAmount" | |
59 | + | ||
60 | + | let C = "rescueTimeCondition" | |
61 | + | ||
62 | + | let D = "rescueTimeCategory" | |
63 | + | ||
64 | + | let E = "trackWeekDays" | |
65 | + | ||
66 | + | let F = "attempsCount" | |
67 | + | ||
68 | + | let G = "bet" | |
69 | + | ||
70 | + | let H = "betAssetId" | |
71 | + | ||
72 | + | let I = "goalStatus" | |
73 | + | ||
74 | + | let J = "failsCount" | |
75 | + | ||
76 | + | let K = base58'GtDLBooknaE8G983yMjhygiyhmpR5tebBScKPw277tj9' | |
77 | + | ||
78 | + | let L = base58'8tHHiQxngnXDAh4n1K9dchvgy9gUn8UG6SxVoGnWprsb' | |
79 | + | ||
80 | + | let M = base58'CYpg28aBxv5SpLUxi7mu4ACYTiX957RrzrfJE6LGf1Xi' | |
81 | + | ||
82 | + | func N () = throw("undefinedError") | |
83 | + | ||
84 | + | ||
85 | + | func O () = throw("outdatedGoalError") | |
86 | + | ||
87 | + | ||
88 | + | func P () = throw("notTrackWeekDay") | |
89 | + | ||
90 | + | ||
91 | + | func Q () = throw("notActiveGoalError") | |
92 | + | ||
93 | + | ||
94 | + | func R () = throw("goalRecordAlreadyAdded") | |
95 | + | ||
96 | + | ||
97 | + | func S () = throw("isNotAdminCallerError") | |
98 | + | ||
99 | + | ||
100 | + | func T () = throw("isNotUserCallerError") | |
101 | + | ||
102 | + | ||
103 | + | func U () = throw("isNotGoalCallerError") | |
104 | + | ||
105 | + | ||
106 | + | let V = "noPaymentError" | |
107 | + | ||
108 | + | func W (X,Y) = throw((((("unsupportedEventPaymentAssetError" + ",") + toBase58String(X)) + ",") + toBase58String(Y))) | |
109 | + | ||
110 | + | ||
111 | + | func Z (aa,ab) = throw((((("insufficientPaymentError" + ",") + toString(aa)) + ",") + toString(ab))) | |
112 | + | ||
113 | + | ||
114 | + | func ac (ad,ae,af) = if (isDefined(getInteger(this, ae))) | |
115 | + | then getIntegerValue(this, ae) | |
116 | + | else af | |
117 | + | ||
118 | + | ||
119 | + | func ag (ad,ae) = getIntegerValue(this, ae) | |
120 | + | ||
121 | + | ||
122 | + | func ah (ae,ai) = DataEntry(ae, ai) | |
123 | + | ||
124 | + | ||
125 | + | func aj (ad,ae,af) = if (isDefined(getString(this, ae))) | |
126 | + | then getStringValue(this, ae) | |
127 | + | else af | |
128 | + | ||
129 | + | ||
130 | + | func ak (ad,ae) = getStringValue(this, ae) | |
131 | + | ||
132 | + | ||
133 | + | func al (ae,ai) = DataEntry(ae, ai) | |
134 | + | ||
135 | + | ||
136 | + | func am (ad,ae) = getBooleanValue(this, ae) | |
137 | + | ||
138 | + | ||
139 | + | func an (ae,ai) = DataEntry(ae, ai) | |
140 | + | ||
141 | + | ||
142 | + | func ao (ad,ae) = getBinaryValue(this, ae) | |
143 | + | ||
144 | + | ||
145 | + | func ap (ae,ai) = DataEntry(ae, ai) | |
146 | + | ||
147 | + | ||
148 | + | func aq (ae) = if (if (if (isDefined(getBinary(this, ae))) | |
149 | + | then true | |
150 | + | else isDefined(getString(this, ae))) | |
151 | + | then true | |
152 | + | else isDefined(getBoolean(this, ae))) | |
153 | + | then true | |
154 | + | else isDefined(getInteger(this, ae)) | |
155 | + | ||
156 | + | ||
157 | + | func ar (as,at) = { | |
158 | + | let au = indexOf(as, at) | |
159 | + | if ($isInstanceOf(au, "Int")) | |
160 | + | then { | |
161 | + | let av = au | |
162 | + | true | |
163 | + | } | |
164 | + | else if ($isInstanceOf(au, "Unit")) | |
165 | + | then { | |
166 | + | let av = au | |
167 | + | false | |
168 | + | } | |
169 | + | else throw() | |
170 | + | } | |
171 | + | ||
172 | + | ||
173 | + | func aw (ax) = valueOrErrorMessage(ax.payment, V) | |
174 | + | ||
175 | + | ||
176 | + | func ay (az) = { | |
177 | + | let au = az.assetId | |
178 | + | if ($isInstanceOf(au, "ByteVector")) | |
179 | + | then { | |
180 | + | let aA = au | |
181 | + | aA | |
182 | + | } | |
183 | + | else if ($isInstanceOf(au, "Unit")) | |
184 | + | then { | |
185 | + | let aA = au | |
186 | + | fromBase58String("WAVES") | |
187 | + | } | |
188 | + | else throw() | |
189 | + | } | |
190 | + | ||
191 | + | ||
192 | + | func aB (aC,c) = (((("record_<" + toString(aC)) + ">__category_<") + c) + ">") | |
193 | + | ||
194 | + | ||
195 | + | func aD (aC) = (("record_<" + toString(aC)) + ">") | |
196 | + | ||
197 | + | ||
198 | + | func aE (aF) = { | |
199 | + | let aG = toBase58String(aF) | |
200 | + | let aH = toBase58String(K) | |
201 | + | if ((aG == aH)) | |
202 | + | then true | |
203 | + | else false | |
204 | + | } | |
205 | + | ||
206 | + | ||
207 | + | func aI (aF) = { | |
208 | + | let aG = toBase58String(aF) | |
209 | + | let aJ = toBase58String(L) | |
210 | + | if ((aG == aJ)) | |
211 | + | then true | |
212 | + | else false | |
213 | + | } | |
214 | + | ||
215 | + | ||
216 | + | func aK (aF) = { | |
217 | + | let aG = toBase58String(aF) | |
218 | + | let aL = toBase58String(M) | |
219 | + | if ((aG == aL)) | |
220 | + | then true | |
221 | + | else false | |
222 | + | } | |
223 | + | ||
224 | + | ||
225 | + | func aM (aC,aN,aO,aP,aQ,aR) = { | |
226 | + | let aS = aD(aC) | |
227 | + | let aT = ac(this, B, 0) | |
228 | + | let aU = getStringValue(this, C) | |
229 | + | let aV = getStringValue(this, D) | |
230 | + | let aW = if ((aU == a)) | |
231 | + | then if ((aV == c)) | |
232 | + | then (aT >= aN) | |
233 | + | else if ((aV == d)) | |
234 | + | then (aT >= aO) | |
235 | + | else if ((aV == e)) | |
236 | + | then (aT >= aP) | |
237 | + | else if ((aV == f)) | |
238 | + | then (aT >= aQ) | |
239 | + | else (aT >= aR) | |
240 | + | else if ((aV == c)) | |
241 | + | then (aN >= aT) | |
242 | + | else if ((aV == d)) | |
243 | + | then (aO >= aT) | |
244 | + | else if ((aV == e)) | |
245 | + | then (aP >= aT) | |
246 | + | else if ((aV == f)) | |
247 | + | then (aQ >= aT) | |
248 | + | else (aR >= aT) | |
249 | + | if ((aW == true)) | |
250 | + | then n | |
251 | + | else o | |
252 | + | } | |
253 | + | ||
254 | + | ||
255 | + | func aX (aY) = { | |
256 | + | let aZ = getIntegerValue(this, J) | |
257 | + | if ((aY == n)) | |
258 | + | then aZ | |
259 | + | else (aZ + 1) | |
260 | + | } | |
261 | + | ||
262 | + | ||
263 | + | @Callable(ax) | |
264 | + | func setup (ba,bb,bc,bd,aT,aU,aV,be,bf,bg,bh) = { | |
265 | + | let az = aw(ax) | |
266 | + | let bi = az.amount | |
267 | + | let bj = ay(az) | |
268 | + | let bk = !(aI(ax.callerPublicKey)) | |
269 | + | let bl = (bj != fromBase58String(bh)) | |
270 | + | let bm = (bi != bg) | |
271 | + | if (bl) | |
272 | + | then W(fromBase58String(bh), bj) | |
273 | + | else if (bm) | |
274 | + | then Z(bg, bi) | |
275 | + | else if (bk) | |
276 | + | then T() | |
277 | + | else WriteSet([al(I, i), al(x, ba), al(y, bb), ah(z, bc), ah(A, bd), ah(B, aT), al(C, aU), al(D, aV), al(E, be), ah(F, bf), ah(G, bg), al(H, bh), ah(J, 0)]) | |
278 | + | } | |
279 | + | ||
280 | + | ||
281 | + | ||
282 | + | @Callable(ax) | |
283 | + | func addRecord (bn,bo,aN,aO,aP,aQ,aR) = { | |
284 | + | let aS = aD(bn) | |
285 | + | let bg = getIntegerValue(this, G) | |
286 | + | let bh = getStringValue(this, H) | |
287 | + | let be = getStringValue(this, E) | |
288 | + | let bp = ac(this, z, 0) | |
289 | + | let bq = ac(this, A, 0) | |
290 | + | let br = if ((bp > bn)) | |
291 | + | then (bn > bq) | |
292 | + | else false | |
293 | + | let bs = (bn == bq) | |
294 | + | let bt = (aj(this, I, h) != i) | |
295 | + | let bu = !(aE(ax.callerPublicKey)) | |
296 | + | let bv = !(ar(be, bo)) | |
297 | + | let bw = aq(aS) | |
298 | + | if (bu) | |
299 | + | then S() | |
300 | + | else if (br) | |
301 | + | then O() | |
302 | + | else if (bt) | |
303 | + | then Q() | |
304 | + | else if (bv) | |
305 | + | then P() | |
306 | + | else if (bw) | |
307 | + | then R() | |
308 | + | else { | |
309 | + | let aY = aM(bn, aN, aO, aP, aQ, aR) | |
310 | + | let bf = getIntegerValue(this, F) | |
311 | + | let aZ = aX(aY) | |
312 | + | let bx = (aZ > bf) | |
313 | + | let by = [ah(aB(bn, c), aN), ah(aB(bn, d), aO), ah(aB(bn, e), aP), ah(aB(bn, f), aQ), ah(aB(bn, g), aR)] | |
314 | + | if (bx) | |
315 | + | then { | |
316 | + | let bz = addressFromPublicKey(K) | |
317 | + | ScriptResult(WriteSet([al(I, l), ah(J, aZ), al(aS, aY), by[0], by[1], by[2], by[3], by[4]]), TransferSet([ScriptTransfer(bz, bg, fromBase58String(bh))])) | |
318 | + | } | |
319 | + | else if (if (bs) | |
320 | + | then !(bx) | |
321 | + | else false) | |
322 | + | then { | |
323 | + | let bA = addressFromPublicKey(L) | |
324 | + | ScriptResult(WriteSet([al(I, k), ah(J, aZ), al(aS, aY), by[0], by[1], by[2], by[3], by[4]]), TransferSet([ScriptTransfer(bA, bg, fromBase58String(bh))])) | |
325 | + | } | |
326 | + | else WriteSet([ah(J, aZ), al(aS, aY), by[0], by[1], by[2], by[3], by[4]]) | |
327 | + | } | |
328 | + | } | |
329 | + | ||
330 | + |
github/deemru/w8io/026f985 26.32 ms ◑