tx · BupqyjFuTsyxEeK9gQ3vBM9X64uq1zpYZVdMC5nQaYZu 3NCGjbgqZVk7eaqrLMEnEnqRhozNm1KTG5z: -0.01400000 Waves 2025.01.11 15:28 [3454515] smart account 3NCGjbgqZVk7eaqrLMEnEnqRhozNm1KTG5z > SELF 0.00000000 Waves
{ "type": 13, "id": "BupqyjFuTsyxEeK9gQ3vBM9X64uq1zpYZVdMC5nQaYZu", "fee": 1400000, "feeAssetId": null, "timestamp": 1736598495210, "version": 2, "chainId": 84, "sender": "3NCGjbgqZVk7eaqrLMEnEnqRhozNm1KTG5z", "senderPublicKey": "5CoDbXxoqnvJpx9GrS6M4G5GYJXh9rcoiXJz7RYTPVkL", "proofs": [ "4PFb29kFszF28XSLkqcKpSLRRZyFDTTwyVBLQKwrWG4V8KiawHCAJgPpmzMHjNpd4HBocB3soNbQv2RJ5E4zS9FW" ], "script": "base64:BgIyCAISCgoIAQgEAhEYFBISBAoCCAgSABIDCgEBEgASABIAEgMKAQESABIDCgEIEgMKAQgvAANNMTYAgICE/qbe4READlNUQUtFUlNfQU1PVU5UAICAzvK+j6oFAAtURUFNX0FNT1VOVACAgJqm6q/jAQANTUFSS0VUX0FNT1VOVACAgJzl/Z7UCgALWUVBUl9CTE9DS1MJAGgCAO0CAKALAAxTVEFLRV9QRVJJT0QJAGgCAAUFC1lFQVJfQkxPQ0tTAAtCTEVTU19QUklDRQCA0NvD9AIADUxPVFRFUllfUFJJQ0UAgNDbw/QCABNERUZBVUxUX0ZPTU9fUEVSSU9EADwAD01JTl9GT01PX1BFUklPRAACAAxSQU5ET01fREVMQVkAAgAUQ1VSUkVOVF9KQUNLUE9UX1BFUkMAMgARTkVYVF9KQUNLUE9UX1BFUkMAFAAMU1RBS0VSU19QRVJDABQACVRFQU1fUEVSQwAKAA5nb3JjQXNzZXRJZEtleQILZ29yY0Fzc2V0SWQAC2dvcmNBc3NldElkCQETdmFsdWVPckVycm9yTWVzc2FnZQIJAKEIAQUOZ29yY0Fzc2V0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URPTkxZAQ51c2VyQWRkcmVzc09wdAkAlAoCBQNuaWwJAQ53YWxsZXRJbnRlcm5hbAEFDnVzZXJBZGRyZXNzT3B0AKj9Zwk=", "height": 3454515, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8FKkxFVgbff7We1HYdDk9TsPERUy3bd4DuamRE85kmeT Next: none Diff:
Old | New | Differences | |
---|---|---|---|
356 | 356 | let bh = L(T) | |
357 | 357 | let bf = valueOrElse(getInteger(bh), -1) | |
358 | 358 | let bi = valueOrElse(getInteger(bg), -1) | |
359 | - | $Tuple2(nil, [("%s%d__gorcAvailToClaim__" + toString(ac)), ("%s%d__fomoEpoch__" + toString(av)), ("%s%d__currFomoPeriod__" + toString(aw)), ("%s%d__currFomoJackpotAmount__" + toString(bo)), ("%s%d__nextFomoJackpotAmount__" + toString(bp)), ("%s%d__currLotteryJackpotAmount__" + toString(bq)), ("%s%d__nextLotteryJackpotAmount__" + toString(br)), ("%s%d__lastFomoTime__" + toString(ap)), ("%s%s__lastFomoPlayer__" + aq), ("%s%d__amountLeftTotal__" + toString(U)), ("%s%d__finishBlock__" + toString(bi)), ("%s%d__guess__" + toString(bf))]) | |
359 | + | let bs = valueOrElse(getString(E), "") | |
360 | + | let bt = valueOrElse(getInteger(F), 0) | |
361 | + | let bu = valueOrElse(getInteger(G), 0) | |
362 | + | let bv = valueOrElse(getString(P), "") | |
363 | + | let bw = valueOrElse(getInteger(Q), 0) | |
364 | + | let bx = valueOrElse(getInteger(R), 0) | |
365 | + | $Tuple2(nil, [("%s%d__gorcAvailToClaim__" + toString(ac)), ("%s%d__fomoEpoch__" + toString(av)), ("%s%d__currFomoPeriod__" + toString(aw)), ("%s%d__currFomoJackpotAmount__" + toString(bo)), ("%s%d__nextFomoJackpotAmount__" + toString(bp)), ("%s%d__currLotteryJackpotAmount__" + toString(bq)), ("%s%d__nextLotteryJackpotAmount__" + toString(br)), ("%s%d__lastFomoTime__" + toString(ap)), ("%s%s__lastFomoPlayer__" + aq), ("%s%d__amountLeftTotal__" + toString(U)), ("%s%d__finishBlock__" + toString(bi)), ("%s%d__guess__" + toString(bf)), ("%s%s__lastFomoWinner__" + bs), ("%s%d__lastFomoWinnerAmount__" + toString(bt)), ("%s%d__lastFomoWinnerTime__" + toString(bu)), ("%s%s__lastLotteryWinner__" + bv), ("%s%d__lastLotteryWinnerAmount__" + toString(bw)), ("%s%d__lastLotteryWinnerTime__" + toString(bx))]) | |
360 | 366 | } | |
361 | 367 | ||
362 | 368 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 10000000000000000 | |
5 | 5 | ||
6 | 6 | let b = 3000000000000000 | |
7 | 7 | ||
8 | 8 | let c = 1000000000000000 | |
9 | 9 | ||
10 | 10 | let d = 6000000000000000 | |
11 | 11 | ||
12 | 12 | let e = (365 * 1440) | |
13 | 13 | ||
14 | 14 | let f = (5 * e) | |
15 | 15 | ||
16 | 16 | let g = 100000000000 | |
17 | 17 | ||
18 | 18 | let h = 100000000000 | |
19 | 19 | ||
20 | 20 | let i = 60 | |
21 | 21 | ||
22 | 22 | let j = 2 | |
23 | 23 | ||
24 | 24 | let k = 2 | |
25 | 25 | ||
26 | 26 | let l = 50 | |
27 | 27 | ||
28 | 28 | let m = 20 | |
29 | 29 | ||
30 | 30 | let n = 20 | |
31 | 31 | ||
32 | 32 | let o = 10 | |
33 | 33 | ||
34 | 34 | let p = "gorcAssetId" | |
35 | 35 | ||
36 | 36 | let q = valueOrErrorMessage(getBinary(p), "GORC is not issued yet") | |
37 | 37 | ||
38 | 38 | let r = "issueTime" | |
39 | 39 | ||
40 | 40 | let s = "stakersAmountTotal" | |
41 | 41 | ||
42 | 42 | let t = "stakersAmountLeft" | |
43 | 43 | ||
44 | 44 | let u = "stakedTotal" | |
45 | 45 | ||
46 | 46 | func v (w) = ("stakedAmount_" + w) | |
47 | 47 | ||
48 | 48 | ||
49 | 49 | func x (w) = ("lastClaimTime_" + w) | |
50 | 50 | ||
51 | 51 | ||
52 | 52 | let y = "fomoEpoch" | |
53 | 53 | ||
54 | 54 | let z = "currFomoPeriod" | |
55 | 55 | ||
56 | 56 | let A = "lastFomoTime" | |
57 | 57 | ||
58 | 58 | let B = "currFomoJackpot" | |
59 | 59 | ||
60 | 60 | let C = "nextFomoJackpot" | |
61 | 61 | ||
62 | 62 | let D = "lastFomoPlayer" | |
63 | 63 | ||
64 | 64 | let E = "lastFomoWinner" | |
65 | 65 | ||
66 | 66 | let F = "lastFomoWinnerAmount" | |
67 | 67 | ||
68 | 68 | let G = "lastFomoWinnerTime" | |
69 | 69 | ||
70 | 70 | let H = "teamWalletAddr" | |
71 | 71 | ||
72 | 72 | let I = "brokerAddr" | |
73 | 73 | ||
74 | 74 | func J (K) = ("finishBlockFor_" + K) | |
75 | 75 | ||
76 | 76 | ||
77 | 77 | func L (K) = ("guessFor_" + K) | |
78 | 78 | ||
79 | 79 | ||
80 | 80 | func M (K) = ("saltFor_" + K) | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | let N = "currLotteryJackpot" | |
84 | 84 | ||
85 | 85 | let O = "nextLotteryJackpot" | |
86 | 86 | ||
87 | 87 | let P = "lastLotteryWinner" | |
88 | 88 | ||
89 | 89 | let Q = "lastLotteryWinnerAmount" | |
90 | 90 | ||
91 | 91 | let R = "lastLotteryWinnerTime" | |
92 | 92 | ||
93 | 93 | func S (T) = { | |
94 | 94 | let U = valueOrElse(getInteger(t), 0) | |
95 | 95 | let V = valueOrElse(getInteger(x(T)), -1) | |
96 | 96 | if ((0 > V)) | |
97 | 97 | then $Tuple2(0, U) | |
98 | 98 | else { | |
99 | 99 | let W = valueOrErrorMessage(getInteger(r), "GORC is not issued yet") | |
100 | 100 | let X = min([height, (W + f)]) | |
101 | 101 | let Y = valueOrElse(getInteger(v(T)), 0) | |
102 | 102 | let Z = valueOrElse(getInteger(u), 0) | |
103 | 103 | let aa = valueOrElse(getInteger(s), b) | |
104 | 104 | let ab = fraction(aa, (X - V), f) | |
105 | 105 | let ac = if ((Z != 0)) | |
106 | 106 | then fraction(ab, Y, Z) | |
107 | 107 | else 0 | |
108 | 108 | $Tuple2(ac, (U - ac)) | |
109 | 109 | } | |
110 | 110 | } | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func ad (ae,af) = { | |
114 | 114 | let ag = pow(10, 0, af, 0, 0, DOWN) | |
115 | 115 | let ah = toString((ae % ag)) | |
116 | 116 | let ai = drop(toString(ag), (1 + size(ah))) | |
117 | 117 | (((toString((ae / ag)) + ".") + ai) + ah) | |
118 | 118 | } | |
119 | 119 | ||
120 | 120 | ||
121 | 121 | func aj (ak) = if ((size(ak.payments) != 1)) | |
122 | 122 | then throw("exactly 1 payment must be attached") | |
123 | 123 | else { | |
124 | 124 | let al = ak.payments[0] | |
125 | 125 | let am = al.amount | |
126 | 126 | if (if (!(isDefined(al.assetId))) | |
127 | 127 | then true | |
128 | 128 | else (value(al.assetId) != q)) | |
129 | 129 | then throw("GORC payments only!") | |
130 | 130 | else { | |
131 | 131 | let an = (am - g) | |
132 | 132 | if ((0 > an)) | |
133 | 133 | then throw(((("You need to sacrifice " + ad(g, 8)) + " GORC, but I see only ") + ad(am, 8))) | |
134 | 134 | else { | |
135 | 135 | let ao = if ((an > 0)) | |
136 | 136 | then [ScriptTransfer(ak.caller, an, q)] | |
137 | 137 | else nil | |
138 | 138 | let ap = valueOrElse(getInteger(A), 0) | |
139 | 139 | let aq = valueOrElse(getString(D), "") | |
140 | 140 | let ar = fraction(g, l, 100) | |
141 | 141 | let as = fraction(g, m, 100) | |
142 | 142 | let at = fraction(g, o, 100) | |
143 | 143 | let au = (((g - ar) - as) - at) | |
144 | 144 | let av = valueOrElse(getInteger(y), 0) | |
145 | 145 | let aw = valueOrElse(getInteger(z), i) | |
146 | 146 | let ax = max([j, (aw - 1)]) | |
147 | 147 | let ay = valueOrElse(getInteger(B), 0) | |
148 | 148 | let az = valueOrElse(getInteger(C), 0) | |
149 | 149 | let aA = if (if (if ((height > (ap + aw))) | |
150 | 150 | then (ay > 0) | |
151 | 151 | else false) | |
152 | 152 | then (aq != "") | |
153 | 153 | else false) | |
154 | 154 | then [ScriptTransfer(addressFromStringValue(aq), ay, q), StringEntry(E, aq), IntegerEntry(F, ay), IntegerEntry(G, lastBlock.timestamp), IntegerEntry(B, (az + ar)), IntegerEntry(C, as), IntegerEntry(y, (av + 1)), IntegerEntry(z, i)] | |
155 | 155 | else [IntegerEntry(B, (ay + ar)), IntegerEntry(C, (az + as)), IntegerEntry(z, ax)] | |
156 | 156 | (([IntegerEntry(A, height), StringEntry(D, toString(ak.caller)), ScriptTransfer(addressFromStringValue(getStringValue(H)), at, q), IntegerEntry(t, (getIntegerValue(t) + au)), IntegerEntry(s, (getIntegerValue(s) + au))] ++ ao) ++ aA) | |
157 | 157 | } | |
158 | 158 | } | |
159 | 159 | } | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | func aB (aC,aD,aE) = if ((0 >= aC)) | |
163 | 163 | then throw("maxValue should be > 0") | |
164 | 164 | else { | |
165 | 165 | let aF = sha256_16Kb((aD + aE)) | |
166 | 166 | (toInt(aF) % aC) | |
167 | 167 | } | |
168 | 168 | ||
169 | 169 | ||
170 | 170 | func aG (aH) = { | |
171 | 171 | let w = addressFromString(aH) | |
172 | 172 | let aI = if (isDefined(w)) | |
173 | 173 | then wavesBalance(value(w)) | |
174 | 174 | else BalanceDetails(0, 0, 0, 0) | |
175 | 175 | let aJ = if (isDefined(w)) | |
176 | 176 | then assetBalance(value(w), q) | |
177 | 177 | else 0 | |
178 | 178 | let aK = valueOrElse(getInteger(v(aH)), 0) | |
179 | 179 | [("%s%d__wavesBalance__" + toString(aI.available)), ("%s%d__gorcBalance__" + toString(aJ)), ("%s%d__stakedGorc__" + toString(aK))] | |
180 | 180 | } | |
181 | 181 | ||
182 | 182 | ||
183 | 183 | @Callable(ak) | |
184 | 184 | func testArgs (aL,aM,aN,aO,aP,aQ,aR,aS) = nil | |
185 | 185 | ||
186 | 186 | ||
187 | 187 | ||
188 | 188 | @Callable(ak) | |
189 | 189 | func constructorV1 (aT,aU) = if ((ak.caller != this)) | |
190 | 190 | then throw("Permission denied") | |
191 | 191 | else { | |
192 | 192 | let aV = a | |
193 | 193 | let aW = Issue("GORC", "Meme coin by God of Random Chance. Visit https://gorc.meme, sacrifice to the God of Random and you will receive an answer to any question or a blessing. Lucky one gets a Gift of God", aV, 8, false, unit, 0) | |
194 | 194 | let aX = calculateAssetId(aW) | |
195 | 195 | [aW, BinaryEntry(p, aX), IntegerEntry(r, height), IntegerEntry(t, b), IntegerEntry(s, b), StringEntry(H, aT), StringEntry(I, aU), ScriptTransfer(addressFromStringValue(aT), c, aX), ScriptTransfer(addressFromStringValue(aU), d, aX), IntegerEntry(y, 0), IntegerEntry(z, i)] | |
196 | 196 | } | |
197 | 197 | ||
198 | 198 | ||
199 | 199 | ||
200 | 200 | @Callable(ak) | |
201 | 201 | func stakeGorc () = if ((size(ak.payments) != 1)) | |
202 | 202 | then throw("exactly 1 payment must be attached") | |
203 | 203 | else { | |
204 | 204 | let al = ak.payments[0] | |
205 | 205 | let am = al.amount | |
206 | 206 | if (if (!(isDefined(al.assetId))) | |
207 | 207 | then true | |
208 | 208 | else (value(al.assetId) != q)) | |
209 | 209 | then throw("GORC payments only!") | |
210 | 210 | else { | |
211 | 211 | let w = toString(ak.caller) | |
212 | 212 | let aY = S(w) | |
213 | 213 | let ac = aY._1 | |
214 | 214 | let U = aY._2 | |
215 | 215 | let aZ = v(w) | |
216 | 216 | let ba = if ((ac > 0)) | |
217 | 217 | then [ScriptTransfer(ak.caller, ac, q)] | |
218 | 218 | else nil | |
219 | 219 | $Tuple2((ba ++ [IntegerEntry(u, (valueOrElse(getInteger(u), 0) + am)), IntegerEntry(aZ, (valueOrElse(getInteger(aZ), 0) + am)), IntegerEntry(x(w), height), IntegerEntry(t, U)]), ac) | |
220 | 220 | } | |
221 | 221 | } | |
222 | 222 | ||
223 | 223 | ||
224 | 224 | ||
225 | 225 | @Callable(ak) | |
226 | 226 | func unstakeGorc (bb) = if ((0 >= bb)) | |
227 | 227 | then throw("Amount should be positive") | |
228 | 228 | else { | |
229 | 229 | let w = toString(ak.caller) | |
230 | 230 | if ((size(ak.payments) != 0)) | |
231 | 231 | then throw("No payments required") | |
232 | 232 | else { | |
233 | 233 | let aZ = v(w) | |
234 | 234 | let bc = valueOrElse(getInteger(aZ), 0) | |
235 | 235 | if ((0 > (bc - bb))) | |
236 | 236 | then throw(((("You have only " + ad(bc, 8)) + " GORC staked, tried to unstake ") + ad(bb, 8))) | |
237 | 237 | else { | |
238 | 238 | let bd = S(w) | |
239 | 239 | let ac = bd._1 | |
240 | 240 | let U = bd._2 | |
241 | 241 | let ba = if ((ac > 0)) | |
242 | 242 | then [ScriptTransfer(ak.caller, ac, q)] | |
243 | 243 | else nil | |
244 | 244 | $Tuple2((ba ++ [IntegerEntry(u, (valueOrErrorMessage(getInteger(u), "No GORC staked") - bb)), IntegerEntry(aZ, (bc - bb)), IntegerEntry(x(w), height), IntegerEntry(t, U)]), 0) | |
245 | 245 | } | |
246 | 246 | } | |
247 | 247 | } | |
248 | 248 | ||
249 | 249 | ||
250 | 250 | ||
251 | 251 | @Callable(ak) | |
252 | 252 | func claimGorc () = if ((size(ak.payments) != 0)) | |
253 | 253 | then throw("No payments required") | |
254 | 254 | else { | |
255 | 255 | let w = toString(ak.caller) | |
256 | 256 | let be = S(w) | |
257 | 257 | let ac = be._1 | |
258 | 258 | let U = be._2 | |
259 | 259 | let ba = if ((ac > 0)) | |
260 | 260 | then [ScriptTransfer(ak.caller, ac, q)] | |
261 | 261 | else nil | |
262 | 262 | $Tuple2((ba ++ [IntegerEntry(x(w), height), IntegerEntry(t, U)]), ac) | |
263 | 263 | } | |
264 | 264 | ||
265 | 265 | ||
266 | 266 | ||
267 | 267 | @Callable(ak) | |
268 | 268 | func answerMe () = $Tuple2(aj(ak), toInt(ak.transactionId)) | |
269 | 269 | ||
270 | 270 | ||
271 | 271 | ||
272 | 272 | @Callable(ak) | |
273 | 273 | func blessMe () = $Tuple2(aj(ak), 42) | |
274 | 274 | ||
275 | 275 | ||
276 | 276 | ||
277 | 277 | @Callable(ak) | |
278 | 278 | func commitGuess (bf) = { | |
279 | 279 | let w = toString(ak.caller) | |
280 | 280 | let bg = J(w) | |
281 | 281 | let bh = L(w) | |
282 | 282 | if (isDefined(getInteger(bg))) | |
283 | 283 | then throw("You already made a bet, please use it") | |
284 | 284 | else if (if ((0 > bf)) | |
285 | 285 | then true | |
286 | 286 | else (bf > 11)) | |
287 | 287 | then throw("The number should be between 0 and 11") | |
288 | 288 | else if ((size(ak.payments) != 1)) | |
289 | 289 | then throw("exactly 1 payment must be attached") | |
290 | 290 | else { | |
291 | 291 | let al = ak.payments[0] | |
292 | 292 | let am = al.amount | |
293 | 293 | if (if (!(isDefined(al.assetId))) | |
294 | 294 | then true | |
295 | 295 | else (value(al.assetId) != q)) | |
296 | 296 | then throw("GORC payments only!") | |
297 | 297 | else { | |
298 | 298 | let an = (am - h) | |
299 | 299 | if ((0 > an)) | |
300 | 300 | then throw(((("You need to sacrifice " + ad(h, 8)) + " GORC, but I see only ") + ad(am, 8))) | |
301 | 301 | else { | |
302 | 302 | let ao = if ((an > 0)) | |
303 | 303 | then [ScriptTransfer(ak.caller, an, q)] | |
304 | 304 | else nil | |
305 | 305 | let bi = (height + k) | |
306 | 306 | let ar = fraction(h, l, 100) | |
307 | 307 | let as = fraction(h, m, 100) | |
308 | 308 | let at = fraction(h, o, 100) | |
309 | 309 | let au = (((h - ar) - as) - at) | |
310 | 310 | $Tuple2(([IntegerEntry(bg, bi), IntegerEntry(bh, bf), IntegerEntry(N, (valueOrElse(getInteger(N), 0) + ar)), IntegerEntry(O, (valueOrElse(getInteger(O), 0) + as)), ScriptTransfer(addressFromStringValue(getStringValue(H)), at, q), IntegerEntry(t, (getIntegerValue(t) + au)), IntegerEntry(s, (getIntegerValue(s) + au)), StringEntry(M(w), toBase58String(ak.transactionId))] ++ ao), bi) | |
311 | 311 | } | |
312 | 312 | } | |
313 | 313 | } | |
314 | 314 | } | |
315 | 315 | ||
316 | 316 | ||
317 | 317 | ||
318 | 318 | @Callable(ak) | |
319 | 319 | func guessLottery () = { | |
320 | 320 | let w = toString(ak.caller) | |
321 | 321 | let bg = J(w) | |
322 | 322 | let bh = L(w) | |
323 | 323 | let bf = valueOrErrorMessage(getInteger(bh), "You have not made a bet") | |
324 | 324 | let bi = valueOrErrorMessage(getInteger(bg), "You have not made a bet") | |
325 | 325 | if ((bi > height)) | |
326 | 326 | then throw(("Random number is not ready yet, wait until height = " + toString(bi))) | |
327 | 327 | else { | |
328 | 328 | let aE = value(value(blockInfoByHeight(bi)).vrf) | |
329 | 329 | let bj = M(w) | |
330 | 330 | let aD = fromBase58String(valueOrElse(getString(bj), "DEFAULT")) | |
331 | 331 | let bk = aB(12, aD, aE) | |
332 | 332 | let bl = valueOrElse(getInteger(N), 0) | |
333 | 333 | let bm = if ((bk == bf)) | |
334 | 334 | then [ScriptTransfer(ak.caller, bl, q), StringEntry(P, w), IntegerEntry(Q, bl), IntegerEntry(R, lastBlock.timestamp), IntegerEntry(N, valueOrElse(getInteger(O), 0)), IntegerEntry(O, 0)] | |
335 | 335 | else nil | |
336 | 336 | $Tuple2(([DeleteEntry(bg), DeleteEntry(bh), DeleteEntry(bj)] ++ bm), bk) | |
337 | 337 | } | |
338 | 338 | } | |
339 | 339 | ||
340 | 340 | ||
341 | 341 | ||
342 | 342 | @Callable(ak) | |
343 | 343 | func statsREADONLY (T) = { | |
344 | 344 | let bn = S(T) | |
345 | 345 | let ac = bn._1 | |
346 | 346 | let U = bn._2 | |
347 | 347 | let bo = valueOrElse(getInteger(B), 0) | |
348 | 348 | let bp = valueOrElse(getInteger(C), 0) | |
349 | 349 | let ap = valueOrElse(getInteger(A), 0) | |
350 | 350 | let aq = valueOrElse(getString(D), "") | |
351 | 351 | let av = valueOrElse(getInteger(y), 0) | |
352 | 352 | let aw = valueOrElse(getInteger(z), i) | |
353 | 353 | let bq = valueOrElse(getInteger(N), 0) | |
354 | 354 | let br = valueOrElse(getInteger(O), 0) | |
355 | 355 | let bg = J(T) | |
356 | 356 | let bh = L(T) | |
357 | 357 | let bf = valueOrElse(getInteger(bh), -1) | |
358 | 358 | let bi = valueOrElse(getInteger(bg), -1) | |
359 | - | $Tuple2(nil, [("%s%d__gorcAvailToClaim__" + toString(ac)), ("%s%d__fomoEpoch__" + toString(av)), ("%s%d__currFomoPeriod__" + toString(aw)), ("%s%d__currFomoJackpotAmount__" + toString(bo)), ("%s%d__nextFomoJackpotAmount__" + toString(bp)), ("%s%d__currLotteryJackpotAmount__" + toString(bq)), ("%s%d__nextLotteryJackpotAmount__" + toString(br)), ("%s%d__lastFomoTime__" + toString(ap)), ("%s%s__lastFomoPlayer__" + aq), ("%s%d__amountLeftTotal__" + toString(U)), ("%s%d__finishBlock__" + toString(bi)), ("%s%d__guess__" + toString(bf))]) | |
359 | + | let bs = valueOrElse(getString(E), "") | |
360 | + | let bt = valueOrElse(getInteger(F), 0) | |
361 | + | let bu = valueOrElse(getInteger(G), 0) | |
362 | + | let bv = valueOrElse(getString(P), "") | |
363 | + | let bw = valueOrElse(getInteger(Q), 0) | |
364 | + | let bx = valueOrElse(getInteger(R), 0) | |
365 | + | $Tuple2(nil, [("%s%d__gorcAvailToClaim__" + toString(ac)), ("%s%d__fomoEpoch__" + toString(av)), ("%s%d__currFomoPeriod__" + toString(aw)), ("%s%d__currFomoJackpotAmount__" + toString(bo)), ("%s%d__nextFomoJackpotAmount__" + toString(bp)), ("%s%d__currLotteryJackpotAmount__" + toString(bq)), ("%s%d__nextLotteryJackpotAmount__" + toString(br)), ("%s%d__lastFomoTime__" + toString(ap)), ("%s%s__lastFomoPlayer__" + aq), ("%s%d__amountLeftTotal__" + toString(U)), ("%s%d__finishBlock__" + toString(bi)), ("%s%d__guess__" + toString(bf)), ("%s%s__lastFomoWinner__" + bs), ("%s%d__lastFomoWinnerAmount__" + toString(bt)), ("%s%d__lastFomoWinnerTime__" + toString(bu)), ("%s%s__lastLotteryWinner__" + bv), ("%s%d__lastLotteryWinnerAmount__" + toString(bw)), ("%s%d__lastLotteryWinnerTime__" + toString(bx))]) | |
360 | 366 | } | |
361 | 367 | ||
362 | 368 | ||
363 | 369 | ||
364 | 370 | @Callable(ak) | |
365 | 371 | func walletInfoREADONLY (aH) = $Tuple2(nil, aG(aH)) | |
366 | 372 | ||
367 | 373 |
github/deemru/w8io/169f3d6 49.10 ms ◑