tx · DBo8gern8siwr5h3cZKaV1p9GPuNDkkPEMVQ9rAq7kuf

3N5rNyYSAsaP9QL2eQq286RhevB8msHFffu:  -0.01400000 Waves

2020.11.13 09:37 [1263206] smart account 3N5rNyYSAsaP9QL2eQq286RhevB8msHFffu > SELF 0.00000000 Waves

{ "type": 13, "id": "DBo8gern8siwr5h3cZKaV1p9GPuNDkkPEMVQ9rAq7kuf", "fee": 1400000, "feeAssetId": null, "timestamp": 1605249433666, "version": 2, "chainId": 84, "sender": "3N5rNyYSAsaP9QL2eQq286RhevB8msHFffu", "senderPublicKey": "CBTEuFN6ku1LNaPuGHHTMh2CBb3kPa5D73XXTJvKydun", "proofs": [ "kjxYqAWr6cJjcCtiwxZAy4Hn2XkZn3cQzvJbwxDq8qAt1Nd2TT7QLDRKrUPpsHtkkvcUJFiPNF3fJ4WgCAmCd5v" ], "script": "base64:AAIDAAAAAAAAACwIARIHCgUICAgICBIECgIICBIDCgEIEgMKAQgSAwoBCBIAEgMKAQESAwoBAQAAABUAAAAABnVwVm90ZQIAAAAGdXB2b3RlAAAAAA1hZG1pbkFkZHJlc3MxAQAAABoBVDi2IViANlgIPSCUAVQpoGSXhJ2Tw/Y0iwAAAAANYWRtaW5BZGRyZXNzMgEAAAAaAVTlj1A9878YQ058BBZUI9QC+LwgFva37DoAAAAADWFkbWluQWRkcmVzczMBAAAAGgFUPo0bC5weIFiGP3KzAhxqwrizqd9EMgoVAAAAAAVkeXpJZAEAAAAgfqtB2c5SyrdhjTSeT2NUMvY45D97zjqBcAiarzFPFmsBAAAADWdldFByb2ZpbGVLZXkAAAABAAAAAmlkCQABLAAAAAIFAAAAAmlkAgAAABRfZW50cmVwcmVuZXVyUHJvZmlsZQEAAAAMZ2V0U3RhdHVzS2V5AAAAAQAAAAJpZAkAASwAAAACBQAAAAJpZAIAAAAHX3N0YXR1cwEAAAARZ2V0Vm90ZXJBbW91bnRLZXkAAAACAAAAAmlkAAAABnZvdGVJZAkAASwAAAACCQABLAAAAAIJ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FrZUFtb3VudAkAAGUAAAACBQAAAAxjdXJyZW50U3Rha2UFAAAABnJld2FyZAkBAAAADFNjcmlwdFJlc3VsdAAAAAIJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAQAAAAxnZXRTdGFrZXJLZXkAAAABBQAAAAZzdGFrZXIFAAAADm5ld1N0YWtlQW1vdW50CQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQEAAAAPZ2V0U3Rha2VQb29sS2V5AAAAAAUAAAAMbmV3U3Rha2VQb29sBQAAAANuaWwJAQAAAAtUcmFuc2ZlclNldAAAAAEJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyBQAAAAZyZXdhcmQFAAAABWR5eklkBQAAAANuaWwAAAAA9l46oQ==", "height": 1263206, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Dz14xVuLDy3xWNhWvpZEWDsbGm9v1eCQCtPfRki7jd1p Next: HiW16mYq6KyiLmdMS3vLGTRWu8widLEP9dKFYCw9kpxg Diff:
OldNewDifferences
110110 }
111111
112112
113-@Callable(C)
114-func addEntrepreneurProfile (D,E,F,G,H) = if (if (if ((C.caller.bytes == b))
113+func C () = "stake_pool"
114+
115+
116+func D () = {
117+ let o = getInteger(this, C())
118+ if ($isInstanceOf(o, "Int"))
119+ then {
120+ let p = o
121+ p
122+ }
123+ else 0
124+ }
125+
126+
127+@Callable(E)
128+func addEntrepreneurProfile (F,G,H,I,J) = if (if (if ((E.caller.bytes == b))
115129 then true
116- else (C.caller.bytes == c))
130+ else (E.caller.bytes == c))
117131 then true
118- else (C.caller.bytes == d))
132+ else (E.caller.bytes == d))
119133 then {
120- let I = toBase58String(C.transactionId)
121- WriteSet([DataEntry(f(I), ((((((((D + "_") + E) + "_") + F) + "_") + G) + "_") + H)), DataEntry(k(I, "upvote"), 0), DataEntry(m(I, "upvote"), 0), DataEntry(h(I), "open")])
134+ let K = toBase58String(E.transactionId)
135+ WriteSet([DataEntry(f(K), ((((((((F + "_") + G) + "_") + H) + "_") + I) + "_") + J)), DataEntry(k(K, "upvote"), 0), DataEntry(m(K, "upvote"), 0), DataEntry(h(K), "open")])
122136 }
123137 else throw("Only Dyzrupt Admin can call this dApp function")
124138
125139
126140
127-@Callable(C)
141+@Callable(E)
128142 func vote (j,s) = {
129- let J = extract(C.payment)
130- let y = toBase58String(C.caller.bytes)
131- if ((J.amount == 0))
143+ let L = extract(E.payment)
144+ let y = toBase58String(E.caller.bytes)
145+ if ((L.amount == 0))
132146 then throw("You cannot vote without paying voting fee")
133- else if ((J.assetId != base58'9XTqBQeJvdMs8VNHv6rXiJLJichg2acG7wCfYcTajQ1G'))
147+ else if ((L.assetId != base58'9XTqBQeJvdMs8VNHv6rXiJLJichg2acG7wCfYcTajQ1G'))
134148 then throw("You can only vote with DYZRUPT token")
135149 else if (x(y, j))
136150 then if (n(j))
137151 then if ((q(j) == "open"))
138152 then if ((s == a))
139153 then {
140- let K = r(j, s)
141- let L = t(j, s)
142- let M = (K + 1)
143- let N = (L + J.amount)
144- ScriptResult(WriteSet([DataEntry(k(j, s), M), DataEntry(u(y, j), j), DataEntry(i(y, j), J.amount), DataEntry(m(j, s), N)]), TransferSet([ScriptTransfer(this, J.amount, e)]))
154+ let M = r(j, s)
155+ let N = t(j, s)
156+ let O = (M + 1)
157+ let P = (N + L.amount)
158+ ScriptResult(WriteSet([DataEntry(k(j, s), O), DataEntry(u(y, j), j), DataEntry(i(y, j), L.amount), DataEntry(m(j, s), P)]), TransferSet([ScriptTransfer(this, L.amount, e)]))
145159 }
146160 else throw("Not a valid vote value")
147161 else throw("This profile is not open for voting")
151165
152166
153167
154-@Callable(C)
155-func openVote (j) = if (if (if ((C.caller.bytes == b))
168+@Callable(E)
169+func openVote (j) = if (if (if ((E.caller.bytes == b))
156170 then true
157- else (C.caller.bytes == c))
171+ else (E.caller.bytes == c))
158172 then true
159- else (C.caller.bytes == d))
173+ else (E.caller.bytes == d))
160174 then if (n(j))
161175 then WriteSet([DataEntry(h(j), "open")])
162176 else throw("Invalid ID")
164178
165179
166180
167-@Callable(C)
168-func closeVote (j) = if (if (if ((C.caller.bytes == b))
181+@Callable(E)
182+func closeVote (j) = if (if (if ((E.caller.bytes == b))
169183 then true
170- else (C.caller.bytes == c))
184+ else (E.caller.bytes == c))
171185 then true
172- else (C.caller.bytes == d))
186+ else (E.caller.bytes == d))
173187 then if (n(j))
174188 then WriteSet([DataEntry(h(j), "closed")])
175189 else throw("Invalid ID")
177191
178192
179193
180-@Callable(C)
194+@Callable(E)
181195 func withdraw (j) = {
182- let y = toBase58String(C.caller.bytes)
196+ let y = toBase58String(E.caller.bytes)
183197 if ((w(y, j) != ""))
184198 then if ((q(j) == "closed"))
185199 then {
186- let O = i(y, j)
187- let P = {
188- let o = getInteger(this, O)
200+ let Q = i(y, j)
201+ let R = {
202+ let o = getInteger(this, Q)
189203 if ($isInstanceOf(o, "Int"))
190204 then {
191205 let p = o
193207 }
194208 else throw("You didn't vote for this entrepreneur")
195209 }
196- if ((P == 0))
210+ if ((R == 0))
197211 then throw("Seems you have previously withdrawn.")
198- else ScriptResult(WriteSet([DataEntry(O, 0)]), TransferSet([ScriptTransfer(C.caller, P, e)]))
212+ else ScriptResult(WriteSet([DataEntry(Q, 0)]), TransferSet([ScriptTransfer(E.caller, R, e)]))
199213 }
200214 else throw("Can't withdraw vote amount while voting is still open.")
201215 else throw("You didn't vote for this entrepreneur")
203217
204218
205219
206-@Callable(C)
220+@Callable(E)
207221 func stake () = {
208- let A = toBase58String(C.caller.bytes)
209- let J = extract(C.payment)
210- if ((J.amount == 0))
222+ let A = toBase58String(E.caller.bytes)
223+ let L = extract(E.payment)
224+ if ((L.amount == 0))
211225 then throw("Stake amount too low")
212- else if ((J.assetId != base58'9XTqBQeJvdMs8VNHv6rXiJLJichg2acG7wCfYcTajQ1G'))
226+ else if ((L.assetId != base58'9XTqBQeJvdMs8VNHv6rXiJLJichg2acG7wCfYcTajQ1G'))
213227 then throw("You can only stake with DYZRUPT token")
214228 else {
215- let Q = B(A)
216- let R = (20 / 100)
217- let S = (J.amount * R)
218- let T = (J.amount - S)
219- let U = (Q + T)
220- ScriptResult(WriteSet([DataEntry(z(A), U)]), TransferSet([ScriptTransfer(this, J.amount, e)]))
229+ let S = B(A)
230+ let T = (10 / 100)
231+ let U = (L.amount * T)
232+ let V = (L.amount - U)
233+ let W = (S + V)
234+ let X = D()
235+ let Y = (X + U)
236+ ScriptResult(WriteSet([DataEntry(z(A), W), DataEntry(C(), Y)]), TransferSet([ScriptTransfer(this, L.amount, e)]))
221237 }
222238 }
223239
224240
225241
226-@Callable(C)
227-func unstake (V) = {
228- let A = toBase58String(C.caller.bytes)
229- let Q = B(A)
230- if ((Q == 0))
242+@Callable(E)
243+func unstake (Z) = {
244+ let A = toBase58String(E.caller.bytes)
245+ let S = B(A)
246+ if ((S == 0))
231247 then throw("You don't have any stakes")
232- else if ((V > Q))
248+ else if ((Z > S))
233249 then throw("You can't withdraw an amount higher than you staked")
234250 else {
235- let U = (Q - V)
236- ScriptResult(WriteSet([DataEntry(z(A), U)]), TransferSet([ScriptTransfer(C.caller, V, e)]))
251+ let aa = (20 / 100)
252+ let ab = (Z * aa)
253+ let ac = (Z - ab)
254+ let ad = (S - Z)
255+ let X = D()
256+ let Y = (X + ab)
257+ ScriptResult(WriteSet([DataEntry(z(A), ad), DataEntry(C(), Y)]), TransferSet([ScriptTransfer(E.caller, ac, e)]))
237258 }
259+ }
260+
261+
262+
263+@Callable(E)
264+func claimDailyStakeReward (ae) = {
265+ let A = toBase58String(E.caller.bytes)
266+ let S = B(A)
267+ let X = D()
268+ if ((S == 0))
269+ then throw("You don't have any stakes")
270+ else if ((X == 0))
271+ then throw("Nothing in Stake pool at this time. Try again later")
272+ else if ((ae > X))
273+ then throw("No rewards at this time")
274+ else {
275+ let Y = (X - ae)
276+ let af = (S - ae)
277+ ScriptResult(WriteSet([DataEntry(z(A), af), DataEntry(C(), Y)]), TransferSet([ScriptTransfer(E.caller, ae, e)]))
278+ }
238279 }
239280
240281
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "upvote"
55
66 let b = base58'3Mu5woJ54s7vHJgaeNcJ4C9ByfdmMF2jpjC'
77
88 let c = base58'3NAqtCScgFynCuRLUoXm2BHTdu8suatCe7b'
99
1010 let d = base58'3Mucpi1K4FMVrZKnYEgjxQf5DkkBX7QrHoJ'
1111
1212 let e = base58'9XTqBQeJvdMs8VNHv6rXiJLJichg2acG7wCfYcTajQ1G'
1313
1414 func f (g) = (g + "_entrepreneurProfile")
1515
1616
1717 func h (g) = (g + "_status")
1818
1919
2020 func i (g,j) = (((g + "_") + j) + "_amount")
2121
2222
2323 func k (g,l) = if ((l == "upvote"))
2424 then (g + "_upvote")
2525 else throw("Invalid vote type")
2626
2727
2828 func m (g,l) = if ((l == "upvote"))
2929 then (((g + "_") + l) + "_amount")
3030 else throw("Invalid vote type")
3131
3232
3333 func n (g) = {
3434 let o = getString(this, f(g))
3535 if ($isInstanceOf(o, "String"))
3636 then {
3737 let p = o
3838 true
3939 }
4040 else false
4141 }
4242
4343
4444 func q (j) = {
4545 let o = getString(this, h(j))
4646 if ($isInstanceOf(o, "String"))
4747 then {
4848 let p = o
4949 p
5050 }
5151 else false
5252 }
5353
5454
5555 func r (j,s) = {
5656 let o = getInteger(this, k(j, s))
5757 if ($isInstanceOf(o, "Int"))
5858 then {
5959 let p = o
6060 p
6161 }
6262 else throw("Not a valid vote ID")
6363 }
6464
6565
6666 func t (j,s) = {
6767 let o = getInteger(this, m(j, s))
6868 if ($isInstanceOf(o, "Int"))
6969 then {
7070 let p = o
7171 p
7272 }
7373 else 0
7474 }
7575
7676
7777 func u (v,j) = ((((v + "_") + j) + "_") + "vote")
7878
7979
8080 func w (v,j) = {
8181 let o = getString(this, u(v, j))
8282 if ($isInstanceOf(o, "String"))
8383 then {
8484 let p = o
8585 p
8686 }
8787 else ""
8888 }
8989
9090
9191 func x (v,j) = {
9292 let y = w(v, j)
9393 if ((y == ""))
9494 then true
9595 else false
9696 }
9797
9898
9999 func z (A) = (A + "_stake")
100100
101101
102102 func B (A) = {
103103 let o = getInteger(this, z(A))
104104 if ($isInstanceOf(o, "Int"))
105105 then {
106106 let p = o
107107 p
108108 }
109109 else 0
110110 }
111111
112112
113-@Callable(C)
114-func addEntrepreneurProfile (D,E,F,G,H) = if (if (if ((C.caller.bytes == b))
113+func C () = "stake_pool"
114+
115+
116+func D () = {
117+ let o = getInteger(this, C())
118+ if ($isInstanceOf(o, "Int"))
119+ then {
120+ let p = o
121+ p
122+ }
123+ else 0
124+ }
125+
126+
127+@Callable(E)
128+func addEntrepreneurProfile (F,G,H,I,J) = if (if (if ((E.caller.bytes == b))
115129 then true
116- else (C.caller.bytes == c))
130+ else (E.caller.bytes == c))
117131 then true
118- else (C.caller.bytes == d))
132+ else (E.caller.bytes == d))
119133 then {
120- let I = toBase58String(C.transactionId)
121- WriteSet([DataEntry(f(I), ((((((((D + "_") + E) + "_") + F) + "_") + G) + "_") + H)), DataEntry(k(I, "upvote"), 0), DataEntry(m(I, "upvote"), 0), DataEntry(h(I), "open")])
134+ let K = toBase58String(E.transactionId)
135+ WriteSet([DataEntry(f(K), ((((((((F + "_") + G) + "_") + H) + "_") + I) + "_") + J)), DataEntry(k(K, "upvote"), 0), DataEntry(m(K, "upvote"), 0), DataEntry(h(K), "open")])
122136 }
123137 else throw("Only Dyzrupt Admin can call this dApp function")
124138
125139
126140
127-@Callable(C)
141+@Callable(E)
128142 func vote (j,s) = {
129- let J = extract(C.payment)
130- let y = toBase58String(C.caller.bytes)
131- if ((J.amount == 0))
143+ let L = extract(E.payment)
144+ let y = toBase58String(E.caller.bytes)
145+ if ((L.amount == 0))
132146 then throw("You cannot vote without paying voting fee")
133- else if ((J.assetId != base58'9XTqBQeJvdMs8VNHv6rXiJLJichg2acG7wCfYcTajQ1G'))
147+ else if ((L.assetId != base58'9XTqBQeJvdMs8VNHv6rXiJLJichg2acG7wCfYcTajQ1G'))
134148 then throw("You can only vote with DYZRUPT token")
135149 else if (x(y, j))
136150 then if (n(j))
137151 then if ((q(j) == "open"))
138152 then if ((s == a))
139153 then {
140- let K = r(j, s)
141- let L = t(j, s)
142- let M = (K + 1)
143- let N = (L + J.amount)
144- ScriptResult(WriteSet([DataEntry(k(j, s), M), DataEntry(u(y, j), j), DataEntry(i(y, j), J.amount), DataEntry(m(j, s), N)]), TransferSet([ScriptTransfer(this, J.amount, e)]))
154+ let M = r(j, s)
155+ let N = t(j, s)
156+ let O = (M + 1)
157+ let P = (N + L.amount)
158+ ScriptResult(WriteSet([DataEntry(k(j, s), O), DataEntry(u(y, j), j), DataEntry(i(y, j), L.amount), DataEntry(m(j, s), P)]), TransferSet([ScriptTransfer(this, L.amount, e)]))
145159 }
146160 else throw("Not a valid vote value")
147161 else throw("This profile is not open for voting")
148162 else throw("Invalid Profile")
149163 else throw("You can't vote twice")
150164 }
151165
152166
153167
154-@Callable(C)
155-func openVote (j) = if (if (if ((C.caller.bytes == b))
168+@Callable(E)
169+func openVote (j) = if (if (if ((E.caller.bytes == b))
156170 then true
157- else (C.caller.bytes == c))
171+ else (E.caller.bytes == c))
158172 then true
159- else (C.caller.bytes == d))
173+ else (E.caller.bytes == d))
160174 then if (n(j))
161175 then WriteSet([DataEntry(h(j), "open")])
162176 else throw("Invalid ID")
163177 else throw("Only Dyzrupt Admin can call this dApp function")
164178
165179
166180
167-@Callable(C)
168-func closeVote (j) = if (if (if ((C.caller.bytes == b))
181+@Callable(E)
182+func closeVote (j) = if (if (if ((E.caller.bytes == b))
169183 then true
170- else (C.caller.bytes == c))
184+ else (E.caller.bytes == c))
171185 then true
172- else (C.caller.bytes == d))
186+ else (E.caller.bytes == d))
173187 then if (n(j))
174188 then WriteSet([DataEntry(h(j), "closed")])
175189 else throw("Invalid ID")
176190 else throw("Only Dyzrupt Admin can call this dApp function")
177191
178192
179193
180-@Callable(C)
194+@Callable(E)
181195 func withdraw (j) = {
182- let y = toBase58String(C.caller.bytes)
196+ let y = toBase58String(E.caller.bytes)
183197 if ((w(y, j) != ""))
184198 then if ((q(j) == "closed"))
185199 then {
186- let O = i(y, j)
187- let P = {
188- let o = getInteger(this, O)
200+ let Q = i(y, j)
201+ let R = {
202+ let o = getInteger(this, Q)
189203 if ($isInstanceOf(o, "Int"))
190204 then {
191205 let p = o
192206 p
193207 }
194208 else throw("You didn't vote for this entrepreneur")
195209 }
196- if ((P == 0))
210+ if ((R == 0))
197211 then throw("Seems you have previously withdrawn.")
198- else ScriptResult(WriteSet([DataEntry(O, 0)]), TransferSet([ScriptTransfer(C.caller, P, e)]))
212+ else ScriptResult(WriteSet([DataEntry(Q, 0)]), TransferSet([ScriptTransfer(E.caller, R, e)]))
199213 }
200214 else throw("Can't withdraw vote amount while voting is still open.")
201215 else throw("You didn't vote for this entrepreneur")
202216 }
203217
204218
205219
206-@Callable(C)
220+@Callable(E)
207221 func stake () = {
208- let A = toBase58String(C.caller.bytes)
209- let J = extract(C.payment)
210- if ((J.amount == 0))
222+ let A = toBase58String(E.caller.bytes)
223+ let L = extract(E.payment)
224+ if ((L.amount == 0))
211225 then throw("Stake amount too low")
212- else if ((J.assetId != base58'9XTqBQeJvdMs8VNHv6rXiJLJichg2acG7wCfYcTajQ1G'))
226+ else if ((L.assetId != base58'9XTqBQeJvdMs8VNHv6rXiJLJichg2acG7wCfYcTajQ1G'))
213227 then throw("You can only stake with DYZRUPT token")
214228 else {
215- let Q = B(A)
216- let R = (20 / 100)
217- let S = (J.amount * R)
218- let T = (J.amount - S)
219- let U = (Q + T)
220- ScriptResult(WriteSet([DataEntry(z(A), U)]), TransferSet([ScriptTransfer(this, J.amount, e)]))
229+ let S = B(A)
230+ let T = (10 / 100)
231+ let U = (L.amount * T)
232+ let V = (L.amount - U)
233+ let W = (S + V)
234+ let X = D()
235+ let Y = (X + U)
236+ ScriptResult(WriteSet([DataEntry(z(A), W), DataEntry(C(), Y)]), TransferSet([ScriptTransfer(this, L.amount, e)]))
221237 }
222238 }
223239
224240
225241
226-@Callable(C)
227-func unstake (V) = {
228- let A = toBase58String(C.caller.bytes)
229- let Q = B(A)
230- if ((Q == 0))
242+@Callable(E)
243+func unstake (Z) = {
244+ let A = toBase58String(E.caller.bytes)
245+ let S = B(A)
246+ if ((S == 0))
231247 then throw("You don't have any stakes")
232- else if ((V > Q))
248+ else if ((Z > S))
233249 then throw("You can't withdraw an amount higher than you staked")
234250 else {
235- let U = (Q - V)
236- ScriptResult(WriteSet([DataEntry(z(A), U)]), TransferSet([ScriptTransfer(C.caller, V, e)]))
251+ let aa = (20 / 100)
252+ let ab = (Z * aa)
253+ let ac = (Z - ab)
254+ let ad = (S - Z)
255+ let X = D()
256+ let Y = (X + ab)
257+ ScriptResult(WriteSet([DataEntry(z(A), ad), DataEntry(C(), Y)]), TransferSet([ScriptTransfer(E.caller, ac, e)]))
237258 }
259+ }
260+
261+
262+
263+@Callable(E)
264+func claimDailyStakeReward (ae) = {
265+ let A = toBase58String(E.caller.bytes)
266+ let S = B(A)
267+ let X = D()
268+ if ((S == 0))
269+ then throw("You don't have any stakes")
270+ else if ((X == 0))
271+ then throw("Nothing in Stake pool at this time. Try again later")
272+ else if ((ae > X))
273+ then throw("No rewards at this time")
274+ else {
275+ let Y = (X - ae)
276+ let af = (S - ae)
277+ ScriptResult(WriteSet([DataEntry(z(A), af), DataEntry(C(), Y)]), TransferSet([ScriptTransfer(E.caller, ae, e)]))
278+ }
238279 }
239280
240281

github/deemru/w8io/026f985 
49.39 ms