tx · C9zmwtFMV7bTS4Qhbnj8dXbF7hRaH6HLai3Q5AbHnyAJ

3MyytsRPxYr48we6CPWAQ1z4x6cmEbHWtFq:  -0.01400000 Waves

2021.04.02 00:08 [1463890] smart account 3MyytsRPxYr48we6CPWAQ1z4x6cmEbHWtFq > SELF 0.00000000 Waves

{ "type": 13, "id": "C9zmwtFMV7bTS4Qhbnj8dXbF7hRaH6HLai3Q5AbHnyAJ", "fee": 1400000, "feeAssetId": null, "timestamp": 1617311337586, "version": 2, "chainId": 84, "sender": "3MyytsRPxYr48we6CPWAQ1z4x6cmEbHWtFq", "senderPublicKey": "551T51u5CXgqTybnycyVjFjM9tKkqVEenm7ZrxxC7gLe", "proofs": [ "4TJFcVaG2gTn7CzY1LcBBSei8j6ixWecZtEnuJf3CbNARqDXxaEfKcife82jnmrWk3fGk8Zhzw5xA79HGWsCrxVN" ], "script": "base64:AAIDAAAAAAAAACwIARIHCgUICAgICBIECgIICBIDCgEIEgMKAQgSAwoBCBIAEgMKAQESAwoBAQAAABoAAAAABnVwVm90ZQIAAAAGdXB2b3RlAAAAAA1hZG1pbkFkZHJlc3MxAQAAABoBVGx6nhB9WGGjnofF5YsTbL8z35oL0vs2fAAAAAANYWRtaW5BZGRyZXNzMgEAAAAaAVTlj1A9878YQ058BBZUI9QC+LwgFva37DoAAAAADWFkbWluQWRkcmVzczMBAAAAGgFUPo0bC5weIFiGP3KzAhxqwrizqd9EMgoVAAAAAAVkeXpJZAEAAAAgFZsfdOZJuZHuLptIBwOCMHYpnDoPtCAZD6J+T/NJGW4BAAAAD2dldFN0YWtlUG9vbEtleQAAAAACAAAACnN0YWtlX3Bvb2wBAAAADGdldFN0YWtlUG9vbAAAAAAEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwkBAAAAD2dldFN0YWtlUG9vbEtleQAAAAADCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQAAAAAAAAAAAAEA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AAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgUAAAAGcmV3YXJkBQAAAAVkeXpJZAUAAAADbmlsAAAAAEsVSsA=", "height": 1463890, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: EaMveAcQdFA7K3Gd24ed9nqypfqvT4QyJfh4sijoXU86 Next: 5rEkZWywqdFzFQR4VxUxnNmk95TABmBGQVCcsFoRSfRh Diff:
OldNewDifferences
300300 let ai = (Y - af)
301301 let ac = g()
302302 let ad = (ac + ag)
303- let ae = 8919995003623
303+ let ae = (ai + 17839790007246)
304304 ScriptResult(WriteSet([DataEntry(o(p), ai), DataEntry(m(), ae), DataEntry(f(), ad)]), TransferSet([ScriptTransfer(K.caller, ah, e)]))
305305 }
306306 }
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_stake"
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 }
4343 else 0
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 = (ab + n())
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)
303- let ae = 8919995003623
303+ let ae = (ai + 17839790007246)
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 (aj) = {
312312 let p = toBase58String(K.caller.bytes)
313313 let Y = q(p)
314314 let ac = g()
315315 let ak = height
316316 let al = A(p)
317317 let am = I()
318318 let an = J(p)
319319 if ((Y == 0))
320320 then throw("You don't have any stakes")
321321 else if ((ac == 0))
322322 then throw("Nothing in Stake pool at this time. Try again later")
323323 else if ((aj > ac))
324324 then throw("No rewards at this time")
325325 else if (((al + 1440) > ak))
326326 then throw("You can only claim once a day")
327327 else {
328328 let ad = (ac - aj)
329329 let ao = Y
330330 ScriptResult(WriteSet([DataEntry(("claimed_total_" + p), (an + aj)), DataEntry("claimed_total", (am + aj)), DataEntry(("last_claim_" + p), ak), DataEntry(o(p), ao), DataEntry(f(), ad)]), TransferSet([ScriptTransfer(K.caller, aj, e)]))
331331 }
332332 }
333333
334334

github/deemru/w8io/169f3d6 
36.42 ms