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/QCABNERUZBVUxUX0ZPTU9fUEVSSU9EADwAD01JTl9GT01PX1BFUklPRAACAAxSQU5ET01fREVMQVkAAgAUQ1VSUkVOVF9KQUNLUE9UX1BFUkMAMgARTkVYVF9KQUNLUE9UX1BFUkMAFAAMU1RBS0VSU19QRVJDABQACVRFQU1fUEVSQwAKAA5nb3JjQXNzZXRJZEtleQILZ29yY0Fzc2V0SWQAC2dvcmNBc3NldElkCQETdmFsdWVPckVycm9yTWVzc2FnZQIJAKEIAQUOZ29yY0Fzc2V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QURPTkxZAQ51c2VyQWRkcmVzc09wdAkAlAoCBQNuaWwJAQ53YWxsZXRJbnRlcm5hbAEFDnVzZXJBZGRyZXNzT3B0AKj9Zwk=", "height": 3454515, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8FKkxFVgbff7We1HYdDk9TsPERUy3bd4DuamRE85kmeT Next: none Diff:
OldNewDifferences
356356 let bh = L(T)
357357 let bf = valueOrElse(getInteger(bh), -1)
358358 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))])
360366 }
361367
362368
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = 10000000000000000
55
66 let b = 3000000000000000
77
88 let c = 1000000000000000
99
1010 let d = 6000000000000000
1111
1212 let e = (365 * 1440)
1313
1414 let f = (5 * e)
1515
1616 let g = 100000000000
1717
1818 let h = 100000000000
1919
2020 let i = 60
2121
2222 let j = 2
2323
2424 let k = 2
2525
2626 let l = 50
2727
2828 let m = 20
2929
3030 let n = 20
3131
3232 let o = 10
3333
3434 let p = "gorcAssetId"
3535
3636 let q = valueOrErrorMessage(getBinary(p), "GORC is not issued yet")
3737
3838 let r = "issueTime"
3939
4040 let s = "stakersAmountTotal"
4141
4242 let t = "stakersAmountLeft"
4343
4444 let u = "stakedTotal"
4545
4646 func v (w) = ("stakedAmount_" + w)
4747
4848
4949 func x (w) = ("lastClaimTime_" + w)
5050
5151
5252 let y = "fomoEpoch"
5353
5454 let z = "currFomoPeriod"
5555
5656 let A = "lastFomoTime"
5757
5858 let B = "currFomoJackpot"
5959
6060 let C = "nextFomoJackpot"
6161
6262 let D = "lastFomoPlayer"
6363
6464 let E = "lastFomoWinner"
6565
6666 let F = "lastFomoWinnerAmount"
6767
6868 let G = "lastFomoWinnerTime"
6969
7070 let H = "teamWalletAddr"
7171
7272 let I = "brokerAddr"
7373
7474 func J (K) = ("finishBlockFor_" + K)
7575
7676
7777 func L (K) = ("guessFor_" + K)
7878
7979
8080 func M (K) = ("saltFor_" + K)
8181
8282
8383 let N = "currLotteryJackpot"
8484
8585 let O = "nextLotteryJackpot"
8686
8787 let P = "lastLotteryWinner"
8888
8989 let Q = "lastLotteryWinnerAmount"
9090
9191 let R = "lastLotteryWinnerTime"
9292
9393 func S (T) = {
9494 let U = valueOrElse(getInteger(t), 0)
9595 let V = valueOrElse(getInteger(x(T)), -1)
9696 if ((0 > V))
9797 then $Tuple2(0, U)
9898 else {
9999 let W = valueOrErrorMessage(getInteger(r), "GORC is not issued yet")
100100 let X = min([height, (W + f)])
101101 let Y = valueOrElse(getInteger(v(T)), 0)
102102 let Z = valueOrElse(getInteger(u), 0)
103103 let aa = valueOrElse(getInteger(s), b)
104104 let ab = fraction(aa, (X - V), f)
105105 let ac = if ((Z != 0))
106106 then fraction(ab, Y, Z)
107107 else 0
108108 $Tuple2(ac, (U - ac))
109109 }
110110 }
111111
112112
113113 func ad (ae,af) = {
114114 let ag = pow(10, 0, af, 0, 0, DOWN)
115115 let ah = toString((ae % ag))
116116 let ai = drop(toString(ag), (1 + size(ah)))
117117 (((toString((ae / ag)) + ".") + ai) + ah)
118118 }
119119
120120
121121 func aj (ak) = if ((size(ak.payments) != 1))
122122 then throw("exactly 1 payment must be attached")
123123 else {
124124 let al = ak.payments[0]
125125 let am = al.amount
126126 if (if (!(isDefined(al.assetId)))
127127 then true
128128 else (value(al.assetId) != q))
129129 then throw("GORC payments only!")
130130 else {
131131 let an = (am - g)
132132 if ((0 > an))
133133 then throw(((("You need to sacrifice " + ad(g, 8)) + " GORC, but I see only ") + ad(am, 8)))
134134 else {
135135 let ao = if ((an > 0))
136136 then [ScriptTransfer(ak.caller, an, q)]
137137 else nil
138138 let ap = valueOrElse(getInteger(A), 0)
139139 let aq = valueOrElse(getString(D), "")
140140 let ar = fraction(g, l, 100)
141141 let as = fraction(g, m, 100)
142142 let at = fraction(g, o, 100)
143143 let au = (((g - ar) - as) - at)
144144 let av = valueOrElse(getInteger(y), 0)
145145 let aw = valueOrElse(getInteger(z), i)
146146 let ax = max([j, (aw - 1)])
147147 let ay = valueOrElse(getInteger(B), 0)
148148 let az = valueOrElse(getInteger(C), 0)
149149 let aA = if (if (if ((height > (ap + aw)))
150150 then (ay > 0)
151151 else false)
152152 then (aq != "")
153153 else false)
154154 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)]
155155 else [IntegerEntry(B, (ay + ar)), IntegerEntry(C, (az + as)), IntegerEntry(z, ax)]
156156 (([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)
157157 }
158158 }
159159 }
160160
161161
162162 func aB (aC,aD,aE) = if ((0 >= aC))
163163 then throw("maxValue should be > 0")
164164 else {
165165 let aF = sha256_16Kb((aD + aE))
166166 (toInt(aF) % aC)
167167 }
168168
169169
170170 func aG (aH) = {
171171 let w = addressFromString(aH)
172172 let aI = if (isDefined(w))
173173 then wavesBalance(value(w))
174174 else BalanceDetails(0, 0, 0, 0)
175175 let aJ = if (isDefined(w))
176176 then assetBalance(value(w), q)
177177 else 0
178178 let aK = valueOrElse(getInteger(v(aH)), 0)
179179 [("%s%d__wavesBalance__" + toString(aI.available)), ("%s%d__gorcBalance__" + toString(aJ)), ("%s%d__stakedGorc__" + toString(aK))]
180180 }
181181
182182
183183 @Callable(ak)
184184 func testArgs (aL,aM,aN,aO,aP,aQ,aR,aS) = nil
185185
186186
187187
188188 @Callable(ak)
189189 func constructorV1 (aT,aU) = if ((ak.caller != this))
190190 then throw("Permission denied")
191191 else {
192192 let aV = a
193193 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)
194194 let aX = calculateAssetId(aW)
195195 [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)]
196196 }
197197
198198
199199
200200 @Callable(ak)
201201 func stakeGorc () = if ((size(ak.payments) != 1))
202202 then throw("exactly 1 payment must be attached")
203203 else {
204204 let al = ak.payments[0]
205205 let am = al.amount
206206 if (if (!(isDefined(al.assetId)))
207207 then true
208208 else (value(al.assetId) != q))
209209 then throw("GORC payments only!")
210210 else {
211211 let w = toString(ak.caller)
212212 let aY = S(w)
213213 let ac = aY._1
214214 let U = aY._2
215215 let aZ = v(w)
216216 let ba = if ((ac > 0))
217217 then [ScriptTransfer(ak.caller, ac, q)]
218218 else nil
219219 $Tuple2((ba ++ [IntegerEntry(u, (valueOrElse(getInteger(u), 0) + am)), IntegerEntry(aZ, (valueOrElse(getInteger(aZ), 0) + am)), IntegerEntry(x(w), height), IntegerEntry(t, U)]), ac)
220220 }
221221 }
222222
223223
224224
225225 @Callable(ak)
226226 func unstakeGorc (bb) = if ((0 >= bb))
227227 then throw("Amount should be positive")
228228 else {
229229 let w = toString(ak.caller)
230230 if ((size(ak.payments) != 0))
231231 then throw("No payments required")
232232 else {
233233 let aZ = v(w)
234234 let bc = valueOrElse(getInteger(aZ), 0)
235235 if ((0 > (bc - bb)))
236236 then throw(((("You have only " + ad(bc, 8)) + " GORC staked, tried to unstake ") + ad(bb, 8)))
237237 else {
238238 let bd = S(w)
239239 let ac = bd._1
240240 let U = bd._2
241241 let ba = if ((ac > 0))
242242 then [ScriptTransfer(ak.caller, ac, q)]
243243 else nil
244244 $Tuple2((ba ++ [IntegerEntry(u, (valueOrErrorMessage(getInteger(u), "No GORC staked") - bb)), IntegerEntry(aZ, (bc - bb)), IntegerEntry(x(w), height), IntegerEntry(t, U)]), 0)
245245 }
246246 }
247247 }
248248
249249
250250
251251 @Callable(ak)
252252 func claimGorc () = if ((size(ak.payments) != 0))
253253 then throw("No payments required")
254254 else {
255255 let w = toString(ak.caller)
256256 let be = S(w)
257257 let ac = be._1
258258 let U = be._2
259259 let ba = if ((ac > 0))
260260 then [ScriptTransfer(ak.caller, ac, q)]
261261 else nil
262262 $Tuple2((ba ++ [IntegerEntry(x(w), height), IntegerEntry(t, U)]), ac)
263263 }
264264
265265
266266
267267 @Callable(ak)
268268 func answerMe () = $Tuple2(aj(ak), toInt(ak.transactionId))
269269
270270
271271
272272 @Callable(ak)
273273 func blessMe () = $Tuple2(aj(ak), 42)
274274
275275
276276
277277 @Callable(ak)
278278 func commitGuess (bf) = {
279279 let w = toString(ak.caller)
280280 let bg = J(w)
281281 let bh = L(w)
282282 if (isDefined(getInteger(bg)))
283283 then throw("You already made a bet, please use it")
284284 else if (if ((0 > bf))
285285 then true
286286 else (bf > 11))
287287 then throw("The number should be between 0 and 11")
288288 else if ((size(ak.payments) != 1))
289289 then throw("exactly 1 payment must be attached")
290290 else {
291291 let al = ak.payments[0]
292292 let am = al.amount
293293 if (if (!(isDefined(al.assetId)))
294294 then true
295295 else (value(al.assetId) != q))
296296 then throw("GORC payments only!")
297297 else {
298298 let an = (am - h)
299299 if ((0 > an))
300300 then throw(((("You need to sacrifice " + ad(h, 8)) + " GORC, but I see only ") + ad(am, 8)))
301301 else {
302302 let ao = if ((an > 0))
303303 then [ScriptTransfer(ak.caller, an, q)]
304304 else nil
305305 let bi = (height + k)
306306 let ar = fraction(h, l, 100)
307307 let as = fraction(h, m, 100)
308308 let at = fraction(h, o, 100)
309309 let au = (((h - ar) - as) - at)
310310 $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)
311311 }
312312 }
313313 }
314314 }
315315
316316
317317
318318 @Callable(ak)
319319 func guessLottery () = {
320320 let w = toString(ak.caller)
321321 let bg = J(w)
322322 let bh = L(w)
323323 let bf = valueOrErrorMessage(getInteger(bh), "You have not made a bet")
324324 let bi = valueOrErrorMessage(getInteger(bg), "You have not made a bet")
325325 if ((bi > height))
326326 then throw(("Random number is not ready yet, wait until height = " + toString(bi)))
327327 else {
328328 let aE = value(value(blockInfoByHeight(bi)).vrf)
329329 let bj = M(w)
330330 let aD = fromBase58String(valueOrElse(getString(bj), "DEFAULT"))
331331 let bk = aB(12, aD, aE)
332332 let bl = valueOrElse(getInteger(N), 0)
333333 let bm = if ((bk == bf))
334334 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)]
335335 else nil
336336 $Tuple2(([DeleteEntry(bg), DeleteEntry(bh), DeleteEntry(bj)] ++ bm), bk)
337337 }
338338 }
339339
340340
341341
342342 @Callable(ak)
343343 func statsREADONLY (T) = {
344344 let bn = S(T)
345345 let ac = bn._1
346346 let U = bn._2
347347 let bo = valueOrElse(getInteger(B), 0)
348348 let bp = valueOrElse(getInteger(C), 0)
349349 let ap = valueOrElse(getInteger(A), 0)
350350 let aq = valueOrElse(getString(D), "")
351351 let av = valueOrElse(getInteger(y), 0)
352352 let aw = valueOrElse(getInteger(z), i)
353353 let bq = valueOrElse(getInteger(N), 0)
354354 let br = valueOrElse(getInteger(O), 0)
355355 let bg = J(T)
356356 let bh = L(T)
357357 let bf = valueOrElse(getInteger(bh), -1)
358358 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))])
360366 }
361367
362368
363369
364370 @Callable(ak)
365371 func walletInfoREADONLY (aH) = $Tuple2(nil, aG(aH))
366372
367373

github/deemru/w8io/169f3d6 
49.10 ms