tx · ATJvYShcsAWXN1V1vBUrd6oAHDN6LLqu7EW6orfA9Bf1 3MpPyu1q1Rq6RU822NsKcFXCDuSezkATdE5: -0.01000000 Waves 2020.04.25 14:31 [970149] smart account 3MpPyu1q1Rq6RU822NsKcFXCDuSezkATdE5 > SELF 0.00000000 Waves
{ "type": 13, "id": "ATJvYShcsAWXN1V1vBUrd6oAHDN6LLqu7EW6orfA9Bf1", "fee": 1000000, "feeAssetId": null, "timestamp": 1587814368175, "version": 1, "sender": "3MpPyu1q1Rq6RU822NsKcFXCDuSezkATdE5", "senderPublicKey": "5NT3sxMEbiVM8kLokeTiajczJSQUL2PF6NsH7UThEDu5", "proofs": [ "5YGuYu6XWWA7qUYkLXdvyHjwzEfLG56nVibXHjqJJd5Stabg1TdfKnamWzLvjSdmSvZorZQ8isf1prCXoVRVpuvW" ], "script": "base64:AAIDAAAAAAAAABsIARINCgsICAEBAQgICAgBCBIICgYBAQEBAQEAAABAAAAAABdyZXNjdWVUaW1lQ29uZGl0aW9uTGVzcwIAAAAEbGVzcwAAAAAXcmVzY3VlVGltZUNvbmRpdGlvbk1vcmUCAAAABG1vcmUAAAAAIHJlc2N1ZVRpbWVDYXRlZ29yeVZlcnlQcm9kdWN0aXZlAgAAAA52ZXJ5UHJvZHVjdGl2ZQAAAAAccmVzY3VlVGltZUNhdGVnb3J5UHJvZHVjdGl2ZQIAAAAKcHJvZHVjdGl2ZQAAAAAZcmVzY3VlVGltZUNhdGVnb3J5TmV1dHJhbAIAAAAHbmV1dHJhbAAAAAAdcmVzY3VlVGltZUNhdGVnb3J5RGlzdHJhY3RpbmcCAAAAC2Rpc3RyYWN0aW5nAAAAACFyZXNjdWVUaW1lQ2F0ZWdvcnlWZXJ5RGlzdHJhY3RpbmcCAAAAD3ZlcnlEaXN0cmFjdGluZwAAAAANc3RhdHVzUGVuZGluZwIAAAAHcGVuZGluZwAAAAAMc3RhdHVzQWN0aXZlAgAAAAZhY3RpdmUAAAAAC3N0YXR1c1BhdXNl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kABEwAAAACCQEAAAAWc2V0Q2F0ZWdvcnlSZWNvcmRWYWx1ZQAAAAMFAAAABGRhdGUFAAAAHXJlc2N1ZVRpbWVDYXRlZ29yeURpc3RyYWN0aW5nBQAAAAtkaXN0cmFjdGluZwkABEwAAAACCQEAAAAWc2V0Q2F0ZWdvcnlSZWNvcmRWYWx1ZQAAAAMFAAAABGRhdGUFAAAAIXJlc2N1ZVRpbWVDYXRlZ29yeVZlcnlEaXN0cmFjdGluZwUAAAAPdmVyeURpc3RyYWN0aW5nCQAETAAAAAIJAQAAABZzZXRDYXRlZ29yeVJlY29yZFZhbHVlAAAAAwUAAAAEZGF0ZQUAAAAhcmVzY3VlVGltZUNhdGVnb3J5VmVyeURpc3RyYWN0aW5nBQAAAA92ZXJ5RGlzdHJhY3RpbmcJAARMAAAAAgkBAAAAHXNldFJlY3VldGltZVJlY29yZFN0YXR1c1ZhbHVlAAAABgUAAAAEZGF0ZQUAAAAOdmVyeVByb2R1Y3RpdmUFAAAACnByb2R1Y3RpdmUFAAAAB25ldXRyYWwFAAAAC2Rpc3RyYWN0aW5nBQAAAA92ZXJ5RGlzdHJhY3RpbmcFAAAAA25pbAAAAADZBIzi", "chainId": 84, "height": 970149, "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 = "rescueTime" | |
29 | + | ||
30 | + | let n = "monday" | |
31 | + | ||
32 | + | let o = "tuesday" | |
33 | + | ||
34 | + | let p = "wednesday" | |
35 | + | ||
36 | + | let q = "thursday" | |
37 | + | ||
38 | + | let r = "friday" | |
39 | + | ||
40 | + | let s = "saturday" | |
41 | + | ||
42 | + | let t = "sunday" | |
43 | + | ||
44 | + | let u = "status" | |
45 | + | ||
46 | + | let v = "name" | |
47 | + | ||
48 | + | let w = "description" | |
49 | + | ||
50 | + | let x = "startDate" | |
51 | + | ||
52 | + | let y = "endDate" | |
53 | + | ||
54 | + | let z = "rescueTimeConditionAmount" | |
55 | + | ||
56 | + | let A = "rescueTimeCondition" | |
57 | + | ||
58 | + | let B = "rescueTimeCategory" | |
59 | + | ||
60 | + | let C = "trackDays" | |
61 | + | ||
62 | + | let D = "attempsCount" | |
63 | + | ||
64 | + | let E = "failedAttemptsCount" | |
65 | + | ||
66 | + | let F = "bet" | |
67 | + | ||
68 | + | let G = "betAssetId" | |
69 | + | ||
70 | + | let H = base58'GtDLBooknaE8G983yMjhygiyhmpR5tebBScKPw277tj9' | |
71 | + | ||
72 | + | let I = base58'BNPWfnwQQaiG9SxwTXqNi5sRA5oAU2M4QvQUAoGrnNbf' | |
73 | + | ||
74 | + | let J = base58'5NT3sxMEbiVM8kLokeTiajczJSQUL2PF6NsH7UThEDu5' | |
75 | + | ||
76 | + | func K () = throw("undefinedError") | |
77 | + | ||
78 | + | ||
79 | + | func L () = throw("outdatedGoalError") | |
80 | + | ||
81 | + | ||
82 | + | func M () = throw("notActiveGoalError") | |
83 | + | ||
84 | + | ||
85 | + | func N () = throw("isNotAdminCallerError") | |
86 | + | ||
87 | + | ||
88 | + | func O () = throw("isNotUserCallerError") | |
89 | + | ||
90 | + | ||
91 | + | func P () = throw("isNotGoalCallerError") | |
92 | + | ||
93 | + | ||
94 | + | let Q = "noPaymentError" | |
95 | + | ||
96 | + | func R (S,T) = throw((((("unsupportedEventPaymentAssetError" + ",") + toBase58String(S)) + ",") + toBase58String(T))) | |
97 | + | ||
98 | + | ||
99 | + | func U (V,W) = throw((((("insufficientPaymentError" + ",") + toString(V)) + ",") + toString(W))) | |
100 | + | ||
101 | + | ||
102 | + | func X (Y,Z,aa) = if (isDefined(getInteger(this, Z))) | |
103 | + | then getIntegerValue(this, Z) | |
104 | + | else aa | |
105 | + | ||
106 | + | ||
107 | + | func ab (Y,Z) = getIntegerValue(this, Z) | |
108 | + | ||
109 | + | ||
110 | + | func ac (Z,ad) = DataEntry(Z, ad) | |
111 | + | ||
112 | + | ||
113 | + | func ae (Y,Z,aa) = if (isDefined(getInteger(this, Z))) | |
114 | + | then getStringValue(this, Z) | |
115 | + | else aa | |
116 | + | ||
117 | + | ||
118 | + | func af (Y,Z) = getStringValue(this, Z) | |
119 | + | ||
120 | + | ||
121 | + | func ag (Z,ad) = DataEntry(Z, ad) | |
122 | + | ||
123 | + | ||
124 | + | func ah (Y,Z) = getBooleanValue(this, Z) | |
125 | + | ||
126 | + | ||
127 | + | func ai (Z,ad) = DataEntry(Z, ad) | |
128 | + | ||
129 | + | ||
130 | + | func aj (Y,Z) = getBinaryValue(this, Z) | |
131 | + | ||
132 | + | ||
133 | + | func ak (Z,ad) = DataEntry(Z, ad) | |
134 | + | ||
135 | + | ||
136 | + | func al (Z) = if (if (if (isDefined(getBinary(this, Z))) | |
137 | + | then true | |
138 | + | else isDefined(getString(this, Z))) | |
139 | + | then true | |
140 | + | else isDefined(getBoolean(this, Z))) | |
141 | + | then true | |
142 | + | else isDefined(getInteger(this, Z)) | |
143 | + | ||
144 | + | ||
145 | + | func am (an) = valueOrErrorMessage(an.payment, Q) | |
146 | + | ||
147 | + | ||
148 | + | func ao (ap) = { | |
149 | + | let aq = ap.assetId | |
150 | + | if ($isInstanceOf(aq, "ByteVector")) | |
151 | + | then { | |
152 | + | let ar = aq | |
153 | + | ar | |
154 | + | } | |
155 | + | else if ($isInstanceOf(aq, "Unit")) | |
156 | + | then { | |
157 | + | let ar = aq | |
158 | + | fromBase58String("WAVES") | |
159 | + | } | |
160 | + | else throw() | |
161 | + | } | |
162 | + | ||
163 | + | ||
164 | + | func as (at,au,av,aw,ax,ay) = { | |
165 | + | let az = (("record_<" + toString(at)) + ">") | |
166 | + | let aA = X(this, z, 0) | |
167 | + | let aB = af(this, A) | |
168 | + | let aC = af(this, B) | |
169 | + | let aD = if ((aB == a)) | |
170 | + | then if ((aC == c)) | |
171 | + | then (aA >= au) | |
172 | + | else if ((aC == d)) | |
173 | + | then (aA >= av) | |
174 | + | else if ((aC == e)) | |
175 | + | then (aA >= aw) | |
176 | + | else if ((aC == f)) | |
177 | + | then (aA >= ax) | |
178 | + | else (aA >= ay) | |
179 | + | else if ((aC == c)) | |
180 | + | then (au >= aA) | |
181 | + | else if ((aC == d)) | |
182 | + | then (av >= aA) | |
183 | + | else if ((aC == e)) | |
184 | + | then (aw >= aA) | |
185 | + | else if ((aC == f)) | |
186 | + | then (ax >= aA) | |
187 | + | else (ay >= aA) | |
188 | + | ai(az, aD) | |
189 | + | } | |
190 | + | ||
191 | + | ||
192 | + | func aE (at,c) = (((("record_<" + toString(at)) + ">__category_<") + c) + ">") | |
193 | + | ||
194 | + | ||
195 | + | func aF (at,aG,ad) = ac(aE(at, aG), ad) | |
196 | + | ||
197 | + | ||
198 | + | func aH (aI) = { | |
199 | + | let aJ = toBase58String(aI) | |
200 | + | let aK = toBase58String(H) | |
201 | + | if ((aJ == aK)) | |
202 | + | then true | |
203 | + | else false | |
204 | + | } | |
205 | + | ||
206 | + | ||
207 | + | func aL (aI) = { | |
208 | + | let aJ = toBase58String(aI) | |
209 | + | let aM = toBase58String(I) | |
210 | + | if ((aJ == aM)) | |
211 | + | then true | |
212 | + | else false | |
213 | + | } | |
214 | + | ||
215 | + | ||
216 | + | func aN (aI) = { | |
217 | + | let aJ = toBase58String(aI) | |
218 | + | let aO = toBase58String(J) | |
219 | + | if ((aJ == aO)) | |
220 | + | then true | |
221 | + | else false | |
222 | + | } | |
223 | + | ||
224 | + | ||
225 | + | @Callable(an) | |
226 | + | func setup (aP,aQ,aR,aS,aA,aB,aC,aT,aU,aV,aW) = { | |
227 | + | let ap = am(an) | |
228 | + | let aX = ap.amount | |
229 | + | let aY = ao(ap) | |
230 | + | let aZ = !(aL(an.callerPublicKey)) | |
231 | + | let ba = (aY != fromBase58String(aW)) | |
232 | + | let bb = (aX != aV) | |
233 | + | if (ba) | |
234 | + | then R(fromBase58String(aW), aY) | |
235 | + | else if (bb) | |
236 | + | then U(aV, aX) | |
237 | + | else if (aZ) | |
238 | + | then O() | |
239 | + | else WriteSet([ag(u, i), ag(v, aP), ag(w, aQ), ac(x, aR), ac(y, aS), ac(z, aA), ag(A, aB), ag(B, aC), ag(C, aT), ag(D, aU), ac(E, 0), ac(F, aV), ag(G, aW)]) | |
240 | + | } | |
241 | + | ||
242 | + | ||
243 | + | ||
244 | + | @Callable(an) | |
245 | + | func addRecord (at,au,av,aw,ax,ay) = { | |
246 | + | let bc = X(this, "startDate", 0) | |
247 | + | let bd = X(this, "endDate", 0) | |
248 | + | let be = if ((bc > at)) | |
249 | + | then (at > bd) | |
250 | + | else false | |
251 | + | let bf = (af(this, "status") != i) | |
252 | + | let bg = !(aH(an.callerPublicKey)) | |
253 | + | if (bg) | |
254 | + | then N() | |
255 | + | else if (be) | |
256 | + | then L() | |
257 | + | else if (bf) | |
258 | + | then M() | |
259 | + | else WriteSet([aF(at, c, au), aF(at, d, av), aF(at, e, aw), aF(at, f, ax), aF(at, g, ay), aF(at, g, ay), as(at, au, av, aw, ax, ay)]) | |
260 | + | } | |
261 | + | ||
262 | + |
github/deemru/w8io/026f985 34.25 ms ◑