tx · 57aEpDhmNtkmGn12DxudDfBtoHaGUdTMiUpzCvv9hEBE

3Mzh7RprJ7UfkMZPeZgCiVsLDqtvnVAXSq1:  -0.01500000 Waves

2023.03.16 16:26 [2492637] smart account 3Mzh7RprJ7UfkMZPeZgCiVsLDqtvnVAXSq1 > SELF 0.00000000 Waves

{ "type": 13, "id": "57aEpDhmNtkmGn12DxudDfBtoHaGUdTMiUpzCvv9hEBE", "fee": 1500000, "feeAssetId": null, "timestamp": 1678973251317, "version": 2, "chainId": 84, "sender": "3Mzh7RprJ7UfkMZPeZgCiVsLDqtvnVAXSq1", "senderPublicKey": "CT62ZmLUndhP35k19p1H9S3hQ8h8nJM5GPCr5CwpvAvL", "proofs": [ "q8wt3kvK9uHJ7k169gxQfuThXFPdSGqeBuWjWJakEM5JReutgmggF7Yge95kZqvKzwWycpApi6ab9czZvCgW8qP" ], "script": "base64:AAIFAAAAAAAAABwIAhIFCgMBAQgSAwoBARIAEgMKAQESAwoBCBIAAAAAIAAAAAADU0VQAgAAAAJfXwAAAAALa2V5UmVmZXJyYWwJAAS5AAAAAgkABEwAAAACAgAAAAIlcwkABEwAAAACAgAAAAhyZWZlcnJhbAUAAAADbmlsBQAAAANTRVAAAAAADGtleVd4QXNzZXRJZAkABLkAAAACCQAETAAAAAICAAAAAiVzCQAETAAAAAICAAAACXd4QXNzZXRJZAUAAAADbmlsBQAAAANTRVABAAAAE2tleU1hbmFnZXJQdWJsaWNLZXkAAAAAAgAAABQlc19fbWFuYWdlclB1YmxpY0tleQEAAAAaa2V5UGVuZGluZ01hbmFnZXJQdWJsaWNLZXkAAAAAAgAAABslc19fcGVuZGluZ01hbmFnZXJQdWJsaWNLZXkAAAAAFUlkeENmZ0NsYWltU3RhcnRCbG9jawAAAAAAAAAAAQAAAAAYSWR4Q2ZnQ2xhaW1WZXN0aW5nUGVyaW9kAAAAAAAAAAACAAAAABJJZHhDZmdDbGFpbUFzc2V0SWQAAAAAAAAAAAMAAAAAFElkeENmZ0NsYW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KQnl0ZVZlY3RvcgQAAAACcGsFAAAAByRtYXRjaDAFAAAAAnBrAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAARVbml0CAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5CQAAAgAAAAECAAAAC01hdGNoIGVycm9yCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAPdGFyZ2V0UHVibGljS2V5l5Hrzw==", "height": 2492637, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Cg2HnCsBnQjyNLSfoXgjB2wnAJ1KWTbrJZP566rY4Urz Next: none Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
66 let b = makeString(["%s", "referral"], a)
77
88 let c = makeString(["%s", "wxAssetId"], a)
99
1010 func d () = "%s__managerPublicKey"
1111
1212
1313 func e () = "%s__pendingManagerPublicKey"
1414
1515
1616 let f = 1
1717
1818 let g = 2
1919
2020 let h = 3
2121
2222 let i = 4
2323
2424 let j = 5
2525
2626 let k = 6
2727
2828 let l = 1
2929
3030 let m = 2
3131
3232 let n = 3
3333
3434 func o (p) = throw(makeString(["marketing.ride:", p], " "))
3535
3636
3737 func q (r) = valueOrErrorMessage(getString(r), (("mandatory this." + r) + " is not defined"))
3838
3939
4040 func s (t,u,v,w,x,y) = makeString(["%d%d%s%d%s%d%", t, u, v, w, x, y], a)
4141
4242
4343 func z (t,u,v,w,A,B) = s(toString(t), toString(u), v, toString(w), A, toString(B))
4444
4545
4646 func C (D,E,F) = makeString(["%d%d%d", D, E, F], a)
4747
4848
4949 func G (H,I,J,K) = makeString(["%d%d%d%d%d%d", toString(height), toString(lastBlock.timestamp), toString(H), toString(I), toString(J), toString(K)], a)
5050
5151
5252 func L () = "%s__config"
5353
5454
5555 func M () = "%s__totals"
5656
5757
5858 let N = makeString(["%s", "amountUnclaimed"], a)
5959
6060 func O (P,Q,R) = makeString(["%s%s%s%s__history", P, Q, R], a)
6161
6262
6363 func S () = split(q(L()), a)
6464
6565
6666 func T () = split(q(M()), a)
6767
6868
6969 func U (r,V,W,X) = {
7070 let D = parseIntValue(V[l])
7171 let Y = parseIntValue(V[m])
7272 let F = parseIntValue(V[n])
7373 let Z = (D + W)
7474 let aa = (Y - W)
7575 if ((0 > aa))
7676 then throw("invalid math")
7777 else StringEntry(r, C(toString(Z), toString(aa), toString(X)))
7878 }
7979
8080
8181 func ab (Q,H,I,ac,ad,ae) = StringEntry(O("claim", Q, toBase58String(ae)), G(H, I, ac, ad))
8282
8383
8484 func af () = {
8585 let ag = getString(d())
8686 if ($isInstanceOf(ag, "String"))
8787 then {
8888 let ah = ag
8989 fromBase58String(ah)
9090 }
9191 else if ($isInstanceOf(ag, "Unit"))
9292 then unit
9393 else throw("Match error")
9494 }
9595
9696
9797 func ai () = {
9898 let ag = getString(e())
9999 if ($isInstanceOf(ag, "String"))
100100 then {
101101 let ah = ag
102102 fromBase58String(ah)
103103 }
104104 else if ($isInstanceOf(ag, "Unit"))
105105 then unit
106106 else throw("Match error")
107107 }
108108
109109
110110 func aj (ak) = {
111111 let al = o("permission denied")
112112 let ag = af()
113113 if ($isInstanceOf(ag, "ByteVector"))
114114 then {
115115 let am = ag
116116 if ((ak.callerPublicKey == am))
117117 then true
118118 else al
119119 }
120120 else if ($isInstanceOf(ag, "Unit"))
121121 then if ((ak.caller == this))
122122 then true
123123 else al
124124 else throw("Match error")
125125 }
126126
127127
128128 func an (ak,ao) = {
129129 let ap = S()
130130 let aq = parseIntValue(ap[f])
131131 let ar = parseIntValue(ap[g])
132132 let as = (aq + ar)
133133 let at = fromBase58String(ap[h])
134134 let au = addressFromStringValue(ap[j])
135135 let av = parseIntValue(ap[k])
136136 let aw = T()
137137 let D = parseIntValue(aw[l])
138138 let ax = parseIntValue(aw[m])
139139 let F = parseIntValue(aw[n])
140140 if ((ak.caller != au))
141141 then throw("permissions denied")
142142 else if ((aq > height))
143143 then throw(("Wait claim start block: " + toString(aq)))
144144 else {
145145 let K = if ((height > as))
146146 then as
147147 else height
148148 let J = if ((F == 0))
149149 then aq
150150 else F
151151 let I = (K - J)
152152 let ay = fraction(av, I, ar)
153153 let az = valueOrElse(getInteger(this, N), 0)
154154 let aA = (ay + az)
155155 let aB = if (if ((0 >= ao))
156156 then true
157157 else (ao >= aA))
158158 then aA
159159 else ao
160160 let aC = (aA - aB)
161161 $Tuple2([IntegerEntry(N, aC), ScriptTransfer(au, aB, at), U(M(), T(), aB, K), ab(toString(au), aB, I, J, K, ak.transactionId)], aB)
162162 }
163163 }
164164
165165
166166 @Callable(ak)
167167 func constructor (t,aD,aE) = {
168168 let aF = (t + aD)
169169 if (isDefined(getString(L())))
170170 then throw("already initialized")
171171 else if ((size(ak.payments) != 1))
172172 then throw("exactly 1 payment must be attached")
173173 else if ((ak.callerPublicKey != base58'2Cbd8ozG7A1RyRNC3nNnZgHu7Ru4K3JCfpyPkhqr9zxq'))
174174 then throw("not authorized")
175175 else {
176176 let aG = valueOrErrorMessage(addressFromString(aE), "Invalid beneficiarAddress passed")
177177 let aH = value(ak.payments[0])
178178 let aI = value(aH.assetId)
179179 let aJ = valueOrErrorMessage(assetInfo(aI), "fail to load ido asset info")
180180 let aK = toBase58String(aI)
181181 let aL = pow(10, 0, aJ.decimals, 0, 0, DOWN)
182182 let aM = aH.amount
183183 [StringEntry(L(), z(t, aD, aK, aL, toString(aG), aM)), StringEntry(M(), C("0", toString(aM), "0"))]
184184 }
185185 }
186186
187187
188188
189189 @Callable(ak)
190190 func claimAmount (ao) = an(ak, ao)
191191
192192
193193
194194 @Callable(ak)
195195 func claim () = an(ak, -1)
196196
197197
198198
199199 @Callable(ak)
200200 func withdrawReferralReward (aN) = {
201201 let aO = value(getString(b))
202202 let aP = if ((toString(ak.caller) == aO))
203203 then true
204204 else o("permission denied")
205205 if ((aP == aP))
206206 then {
207207 let aQ = fromBase58String(value(getString(c)))
208208 $Tuple2([ScriptTransfer(ak.caller, aN, aQ), ab(aO, aN, 0, 0, 0, ak.transactionId)], unit)
209209 }
210210 else throw("Strict value is not equal to itself.")
211211 }
212212
213213
214214
215215 @Callable(ak)
216216 func setManager (aR) = {
217217 let aS = aj(ak)
218218 if ((aS == aS))
219219 then {
220220 let aT = fromBase58String(aR)
221221 if ((aT == aT))
222222 then [StringEntry(e(), aR)]
223223 else throw("Strict value is not equal to itself.")
224224 }
225225 else throw("Strict value is not equal to itself.")
226226 }
227227
228228
229229
230230 @Callable(ak)
231231 func confirmManager () = {
232232 let aU = ai()
233233 let aV = if (isDefined(aU))
234234 then true
235235 else o("no pending manager")
236236 if ((aV == aV))
237237 then {
238238 let aW = if ((ak.callerPublicKey == value(aU)))
239239 then true
240240 else o("you are not pending manager")
241241 if ((aW == aW))
242242 then [StringEntry(d(), toBase58String(value(aU))), DeleteEntry(e())]
243243 else throw("Strict value is not equal to itself.")
244244 }
245245 else throw("Strict value is not equal to itself.")
246246 }
247247
248248
249249 @Verifier(aX)
250250 func aY () = {
251251 let aZ = {
252252 let ag = af()
253253 if ($isInstanceOf(ag, "ByteVector"))
254254 then {
255255 let am = ag
256256 am
257257 }
258258 else if ($isInstanceOf(ag, "Unit"))
259259 then aX.senderPublicKey
260260 else throw("Match error")
261261 }
262262 sigVerify(aX.bodyBytes, aX.proofs[0], aZ)
263263 }
264264

github/deemru/w8io/026f985 
31.11 ms