tx · EBDzAgWRr5pAfdHPpAxy25C2BXNm3oWH1nYaMmDogrEp

3MyytsRPxYr48we6CPWAQ1z4x6cmEbHWtFq:  -0.01400000 Waves

2021.04.01 19:13 [1463603] smart account 3MyytsRPxYr48we6CPWAQ1z4x6cmEbHWtFq > SELF 0.00000000 Waves

{ "type": 13, "id": "EBDzAgWRr5pAfdHPpAxy25C2BXNm3oWH1nYaMmDogrEp", "fee": 1400000, "feeAssetId": null, "timestamp": 1617293604792, "version": 2, "chainId": 84, "sender": "3MyytsRPxYr48we6CPWAQ1z4x6cmEbHWtFq", "senderPublicKey": "551T51u5CXgqTybnycyVjFjM9tKkqVEenm7ZrxxC7gLe", "proofs": [ "5z41ap7f2HqnFgd8FzfNoc6gbg6J463ij9JA1yDTBUianMERtNP1o8dXAXSP8XXPZwppjBHv1JxCv1avMmu3JaaY" ], "script": "base64:AAIDAAAAAAAAACwIARIHCgUICAgICBIECgIICBIDCgEIEgMKAQgSAwoBCBIAEgMKAQESAwoBAQAAABgAAAAABnVwVm90ZQIAAAAGdXB2b3RlAAAAAA1hZG1pbkFkZHJlc3MxAQAAABoBVGx6nhB9WGGjnofF5YsTbL8z35oL0vs2fAAAAAANYWRtaW5BZGRyZXNzMgEAAAAaAVTlj1A9878YQ058BBZUI9QC+LwgFva37DoAAAAADWFkbWluQWRkcmVzczMBAAAAGgFUPo0bC5weIFiGP3KzAhxqwrizqd9EMgoVAAAAAAVkeXpJZAEAAAAgFZsfdOZJuZHuLptIBwOCMHYpnDoPtCAZD6J+T/NJGW4BAAAAD2dldFN0YWtlUG9vbEtleQAAAAACAAAACnN0YWtlX3Bvb2wBAAAADGdldFN0YWtlUG9vbAAAAAAEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwkBAAAAD2dldFN0YWtlUG9vbEtleQAAAAADCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQAAAAAAAAAAAAEAAAAQZ2V0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ZhcgUAAAAGcmV3YXJkCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAICAAAAC2xhc3RfY2xhaW1fBQAAAAZzdGFrZXIFAAAADWN1cnJlbnRIZWlnaHQJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAQAAAAxnZXRTdGFrZXJLZXkAAAABBQAAAAZzdGFrZXIFAAAADm5ld1N0YWtlQW1vdW50CQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQEAAAAPZ2V0U3Rha2VQb29sS2V5AAAAAAUAAAAMbmV3U3Rha2VQb29sBQAAAANuaWwJAQAAAAtUcmFuc2ZlclNldAAAAAEJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyBQAAAAZyZXdhcmQFAAAABWR5eklkBQAAAANuaWwAAAAAjQgaAA==", "height": 1463603, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AobTV5DZY6VKzNHoWN9y9EMDczdy4WgD8b3411jtNqVJ Next: DstErzo7hWsPT2amPyfWnfRe5jy2SnNpHbc3Yd8oxn8F Diff:
OldNewDifferences
307307 else if ((ag > aa))
308308 then throw("No rewards at this time")
309309 else if (((ai + 1440) > ah))
310- then throw("You can only claim once a day r")
310+ then throw("You can only claim once a day")
311311 else {
312312 let ab = (aa - ag)
313313 let al = W
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "upvote"
55
66 let b = base58'3MyofeFJ29LLoVcHYtYgkLP7EUuYYGKBB4P'
77
88 let c = base58'3NAqtCScgFynCuRLUoXm2BHTdu8suatCe7b'
99
1010 let d = base58'3Mucpi1K4FMVrZKnYEgjxQf5DkkBX7QrHoJ'
1111
1212 let e = base58'2TLkgUERqF1y21ShjiFVVTVYtP1BL8wvc6BGLZvt4fND'
1313
1414 func f () = "stake_pool"
1515
1616
1717 func g () = {
1818 let h = getInteger(this, f())
1919 if ($isInstanceOf(h, "Int"))
2020 then {
2121 let i = h
2222 i
2323 }
2424 else 0
2525 }
2626
2727
2828 func j (k,l) = if ((l == "upvote"))
2929 then (((k + "_") + l) + "_amount")
3030 else throw("Invalid vote type")
3131
3232
3333 func m (n) = (n + "_stake")
3434
3535
3636 func o (n) = {
3737 let h = getInteger(this, m(n))
3838 if ($isInstanceOf(h, "Int"))
3939 then {
4040 let i = h
4141 i
4242 }
4343 else 0
4444 }
4545
4646
4747 func p (k) = (k + "_entrepreneurProfile")
4848
4949
5050 func q (k) = (k + "_status")
5151
5252
5353 func r (k,l) = if ((l == "upvote"))
5454 then (k + "_upvote")
5555 else throw("Invalid vote type")
5656
5757
5858 func s (k) = {
5959 let h = getString(this, p(k))
6060 if ($isInstanceOf(h, "String"))
6161 then {
6262 let i = h
6363 true
6464 }
6565 else false
6666 }
6767
6868
6969 func t (u) = {
7070 let h = getString(this, q(u))
7171 if ($isInstanceOf(h, "String"))
7272 then {
7373 let i = h
7474 i
7575 }
7676 else false
7777 }
7878
7979
8080 func v (k,u) = (((k + "_") + u) + "_amount")
8181
8282
8383 func w (u,x) = {
8484 let h = getInteger(this, j(u, x))
8585 if ($isInstanceOf(h, "Int"))
8686 then {
8787 let i = h
8888 i
8989 }
9090 else 0
9191 }
9292
9393
9494 func y (z) = {
9595 let h = getInteger(this, ("last_claim_" + z))
9696 if ($isInstanceOf(h, "Int"))
9797 then {
9898 let i = h
9999 i
100100 }
101101 else 0
102102 }
103103
104104
105105 func A (u,x) = {
106106 let h = getInteger(this, r(u, x))
107107 if ($isInstanceOf(h, "Int"))
108108 then {
109109 let i = h
110110 i
111111 }
112112 else throw("Not a valid vote ID")
113113 }
114114
115115
116116 func B (C,u) = ((((C + "_") + u) + "_") + "vote")
117117
118118
119119 func D (C,u) = {
120120 let h = getString(this, B(C, u))
121121 if ($isInstanceOf(h, "String"))
122122 then {
123123 let i = h
124124 i
125125 }
126126 else ""
127127 }
128128
129129
130130 func E (C,u) = {
131131 let F = D(C, u)
132132 if ((F == ""))
133133 then true
134134 else false
135135 }
136136
137137
138138 func G () = {
139139 let h = getInteger(this, "claimed_total")
140140 if ($isInstanceOf(h, "Int"))
141141 then {
142142 let i = h
143143 i
144144 }
145145 else 0
146146 }
147147
148148
149149 func H (C) = {
150150 let h = getInteger(this, ("claimed_total_" + C))
151151 if ($isInstanceOf(h, "Int"))
152152 then {
153153 let i = h
154154 i
155155 }
156156 else 0
157157 }
158158
159159
160160 @Callable(I)
161161 func addEntrepreneurProfile (J,K,L,M,N) = if (if (if ((I.caller.bytes == b))
162162 then true
163163 else (I.caller.bytes == c))
164164 then true
165165 else (I.caller.bytes == d))
166166 then {
167167 let O = toBase58String(I.transactionId)
168168 WriteSet([DataEntry(p(O), ((((((((J + "_") + K) + "_") + L) + "_") + M) + "_") + N)), DataEntry(r(O, "upvote"), 0), DataEntry(j(O, "upvote"), 0), DataEntry(q(O), "open")])
169169 }
170170 else throw("Only Dyzrupt Admin can call this dApp function")
171171
172172
173173
174174 @Callable(I)
175175 func vote (u,x) = {
176176 let P = extract(I.payment)
177177 let F = toBase58String(I.caller.bytes)
178178 if ((P.amount == 0))
179179 then throw("You cannot vote without paying voting fee")
180180 else if ((P.assetId != e))
181181 then throw("You can only vote with DYZRUPT token")
182182 else if (E(toBase58String(I.caller.bytes), u))
183183 then if (s(u))
184184 then if ((t(u) == "open"))
185185 then if ((x == a))
186186 then {
187187 let Q = A(u, x)
188188 let R = w(u, x)
189189 let S = (Q + 1)
190190 let T = (R + P.amount)
191191 ScriptResult(WriteSet([DataEntry(r(u, x), S), DataEntry(B(F, u), u), DataEntry(v(F, u), P.amount), DataEntry(j(u, x), T)]), TransferSet([ScriptTransfer(this, P.amount, e)]))
192192 }
193193 else throw("Not a valid vote value")
194194 else throw("This profile is not open for voting")
195195 else throw("Invalid Profile")
196196 else throw("You can't vote twice")
197197 }
198198
199199
200200
201201 @Callable(I)
202202 func openVote (u) = if (if (if ((I.caller.bytes == b))
203203 then true
204204 else (I.caller.bytes == c))
205205 then true
206206 else (I.caller.bytes == d))
207207 then if (s(u))
208208 then WriteSet([DataEntry(q(u), "open")])
209209 else throw("Invalid ID")
210210 else throw("Only Dyzrupt Admin can call this dApp function")
211211
212212
213213
214214 @Callable(I)
215215 func closeVote (u) = if (if (if ((I.caller.bytes == b))
216216 then true
217217 else (I.caller.bytes == c))
218218 then true
219219 else (I.caller.bytes == d))
220220 then if (s(u))
221221 then WriteSet([DataEntry(q(u), "closed")])
222222 else throw("Invalid ID")
223223 else throw("Only Dyzrupt Admin can call this dApp function")
224224
225225
226226
227227 @Callable(I)
228228 func withdraw (u) = {
229229 let F = toBase58String(I.caller.bytes)
230230 if ((D(F, u) != ""))
231231 then if ((t(u) == "closed"))
232232 then {
233233 let U = v(F, u)
234234 let V = {
235235 let h = getInteger(this, U)
236236 if ($isInstanceOf(h, "Int"))
237237 then {
238238 let i = h
239239 i
240240 }
241241 else throw("You didn't vote for this entrepreneur")
242242 }
243243 if ((V == 0))
244244 then throw("Seems you have previously withdrawn.")
245245 else ScriptResult(WriteSet([DataEntry(U, 0)]), TransferSet([ScriptTransfer(I.caller, V, e)]))
246246 }
247247 else throw("Can't withdraw vote amount while voting is still open.")
248248 else throw("You didn't vote for this entrepreneur")
249249 }
250250
251251
252252
253253 @Callable(I)
254254 func stake () = {
255255 let n = toBase58String(I.caller.bytes)
256256 let P = extract(I.payment)
257257 if ((P.amount == 0))
258258 then throw("Stake amount too low")
259259 else if ((P.assetId != e))
260260 then throw("You can only stake with DYZRUPT token")
261261 else {
262262 let W = o(n)
263263 let X = fraction(P.amount, 5, 100)
264264 let Y = (P.amount - X)
265265 let Z = (W + Y)
266266 let aa = g()
267267 let ab = (aa + X)
268268 ScriptResult(WriteSet([DataEntry(m(n), Z), DataEntry(f(), ab)]), TransferSet(nil))
269269 }
270270 }
271271
272272
273273
274274 @Callable(I)
275275 func unstake (ac) = {
276276 let n = toBase58String(I.caller.bytes)
277277 let W = o(n)
278278 if ((W == 0))
279279 then throw("You don't have any stakes")
280280 else if ((ac > W))
281281 then throw("You can't withdraw an amount higher than you staked")
282282 else {
283283 let ad = fraction(ac, 10, 100)
284284 let ae = (ac - ad)
285285 let af = (W - ac)
286286 let aa = g()
287287 let ab = (aa + ad)
288288 ScriptResult(WriteSet([DataEntry(m(n), af), DataEntry(f(), ab)]), TransferSet([ScriptTransfer(I.caller, ae, e)]))
289289 }
290290 }
291291
292292
293293
294294 @Callable(I)
295295 func claimDailyStakeReward (ag) = {
296296 let n = toBase58String(I.caller.bytes)
297297 let W = o(n)
298298 let aa = g()
299299 let ah = height
300300 let ai = y(n)
301301 let aj = G()
302302 let ak = H(n)
303303 if ((W == 0))
304304 then throw("You don't have any stakes")
305305 else if ((aa == 0))
306306 then throw("Nothing in Stake pool at this time. Try again later")
307307 else if ((ag > aa))
308308 then throw("No rewards at this time")
309309 else if (((ai + 1440) > ah))
310- then throw("You can only claim once a day r")
310+ then throw("You can only claim once a day")
311311 else {
312312 let ab = (aa - ag)
313313 let al = W
314314 ScriptResult(WriteSet([DataEntry(("claimed_total_" + n), (ak + ag)), DataEntry("claimed_total", (aj + ag)), DataEntry(("last_claim_" + n), ah), DataEntry(m(n), al), DataEntry(f(), ab)]), TransferSet([ScriptTransfer(I.caller, ag, e)]))
315315 }
316316 }
317317
318318

github/deemru/w8io/169f3d6 
52.47 ms