tx · 8d58HpFC73VqGv9Y7JwX917L86Uuzt8Sp4nvZ321ST55

3MyytsRPxYr48we6CPWAQ1z4x6cmEbHWtFq:  -0.01400000 Waves

2021.04.03 15:25 [1466256] smart account 3MyytsRPxYr48we6CPWAQ1z4x6cmEbHWtFq > SELF 0.00000000 Waves

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

github/deemru/w8io/169f3d6 
40.90 ms