tx · 3WWxoUmkz8oQTgbVJtYzGeMfTJySz2q9TEdGjLnKwmhS

3MrGSjj1hmqSZCYaGGtU3eoskXtg5iAQQjj:  -0.01400000 Waves

2021.01.23 22:55 [1366601] smart account 3MrGSjj1hmqSZCYaGGtU3eoskXtg5iAQQjj > SELF 0.00000000 Waves

{ "type": 13, "id": "3WWxoUmkz8oQTgbVJtYzGeMfTJySz2q9TEdGjLnKwmhS", "fee": 1400000, "feeAssetId": null, "timestamp": 1611431789036, "version": 1, "sender": "3MrGSjj1hmqSZCYaGGtU3eoskXtg5iAQQjj", "senderPublicKey": "4xNG9S8k3vK3ES8LiV3S6ygJd7WvmFAWePZvmjuNGgua", "proofs": [ "3ajKawyGnMbHLQrfTsdixTGbreq84He6LcXcdUEuXDQ2CAY3hdNdmpuAjiRZZgBhoQmep8QtYKq3XPGhM5hnL4LB" ], "script": "base64:AAIEAAAAAAAAAB8IAhIAEgUKAwgIARIFCgMICAESBQoDCAgBEgASABIAAAAAJAAAAAAMYWRtaW5QdWJLZXkxAQAAACAQsOLq5CB1W9qjcQbPak46dbMqu5F1eul3gOhttbJnHwAAAAAMYWRtaW5QdWJLZXkyAQAAACAQsOLq5CB1W9qjcQbPak46dbMqu5F1eul3gOhttbJnHwAAAAAMYWRtaW5QdWJLZXkzAQAAACAQsOLq5CB1W9qjcQbPak46dbMqu5F1eul3gOhttbJnHwAAAAAUYWRtaW5QdWJLZXlTdGFydFN0b3ABAAAAIBCw4urkIHVb2qNxBs9qTjp1syq7kXV66XeA6G21smcfAAAAABJhZG1pblB1YktleVN0YWtpbmcBAAAAIBCw4urkIHVb2qNxBs9qTjp1syq7kXV66XeA6G21smcfAAAAAA9rZXlMYXN0SW50ZXJlc3QCAAAADWxhc3RfaW50ZXJlc3QAAAAAE2tleVVzZXJMYXN0SW50ZXJlc3QCAAAADl9sYXN0X2ludGVyZXN0AAAAABFrZXlVc2VyU1dPUEFtb3VudAIAAAAMX1NXT1BfYW1vdW50AAAAABRrZXlVc2V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xlcgUAAAALY2xhaW1BbW91bnQFAAAADnVzZXJWb3RlQW1vdW50BAAAABJ0b3RhbFNXT1BMb2NrZWROZXcJAABlAAAAAgUAAAAPdG90YWxTV09QTG9ja2VkBQAAAA1hdmFpbGFibGVGdW5kBAAAABF1c2VyQ2xhaW1lZEFtb3VudAkBAAAAGGdldFVzZXJTV09QQ2xhaW1lZEFtb3VudAAAAAEIBQAAAAFpAAAABmNhbGxlcgQAAAAUdXNlckNsYWltZWRBbW91bnROZXcJAABkAAAAAgUAAAARdXNlckNsYWltZWRBbW91bnQFAAAAC2NsYWltQW1vdW50CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyBQAAABNrZXlVc2VyTGFzdEludGVyZXN0BQAAAA91c2VyTmV3SW50ZXJlc3QJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIFAAAAD2tleUxhc3RJbnRlcmVzdAUAAAAMbGFzdEludGVyZXN0CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyBQAAABFrZXlVc2VyU1dPUEFtb3VudAkAAGQAAAACBQAAAA1hdmFpbGFibGVGdW5kBQAAAA51c2VyVm90ZUFtb3VudAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACCQAEJQAAAAEIBQAAAAFpAAAABmNhbGxlcgUAAAAYa2V5VXNlclNXT1BDbGFpbWVkQW1vdW50BQAAABR1c2VyQ2xhaW1lZEFtb3VudE5ldwUAAAADbmlsAAAAAJoDSlM=", "chainId": 84, "height": 1366601, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3rk8Yad1JzGBiLLTe18KXXeM4SH1ro2pc4HWcPkJ9vbJ Next: V14wapjfyD6edSGTaEhuWUfqhFdy2hCP8J4fiBaP1ai Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'289xpUrYrKbLjaKkqH3XNhfecukcYRaDRT3JDrvkvQRU'
55
66 let b = base58'289xpUrYrKbLjaKkqH3XNhfecukcYRaDRT3JDrvkvQRU'
77
88 let c = base58'289xpUrYrKbLjaKkqH3XNhfecukcYRaDRT3JDrvkvQRU'
99
1010 let d = base58'289xpUrYrKbLjaKkqH3XNhfecukcYRaDRT3JDrvkvQRU'
1111
1212 let e = base58'289xpUrYrKbLjaKkqH3XNhfecukcYRaDRT3JDrvkvQRU'
1313
1414 let f = "last_interest"
1515
1616 let g = "_last_interest"
1717
1818 let h = "_SWOP_amount"
1919
2020 let i = "_getBackHeight"
2121
2222 let j = "total_SWOP_amount"
2323
2424 let k = "_total_SWOP_vote_amount"
2525
2626 let l = "_SWOP_option_amount"
2727
2828 let m = "_SWOP_claimed_amount"
2929
3030 let n = "total_SWOP_option_amount"
3131
3232 let o = "vote_name"
3333
3434 let p = "_option_name"
3535
3636 let q = "_startHeight"
3737
3838 let r = "_vote_duration"
3939
4040 let s = Address(base58'3NAqJ1CqP1iTzXR9wENKwEXHMvT4CS4YGBb')
4141
4242 let t = "SWOP_id"
4343
4444 let u = fromBase58String(getStringValue(s, t))
4545
4646 let v = 100000000
4747
4848 func w () = throw("Not enough SWOP: userSWOPAmount - userTotalVoteAmount < voteSWOPAmount")
4949
5050
5151 func x () = {
5252 let y = valueOrElse(getInteger(this, f), 0)
5353 y
5454 }
5555
5656
5757 func z (A) = valueOrElse(getInteger(this, (toString(A) + h)), 0)
5858
5959
6060 func B (A) = valueOrElse(getInteger(this, (toString(A) + m)), 0)
6161
6262
6363 func C (A,y) = {
6464 let D = z(A)
6565 let E = getInteger(this, (toString(A) + g))
6666 let F = {
6767 let G = E
6868 if ($isInstanceOf(G, "Int"))
6969 then {
7070 let E = G
7171 E
7272 }
7373 else y
7474 }
7575 $Tuple2(F, D)
7676 }
7777
7878
7979 func H () = valueOrElse(getInteger(this, j), 0)
8080
8181
8282 func I (A) = valueOrElse(getInteger(this, (toString(A) + k)), 0)
8383
8484
8585 func J (A) = valueOrElse(getInteger(this, (toString(A) + l)), 0)
8686
8787
8888 func K (L) = valueOrElse(getInteger(this, (L + q)), 0)
8989
9090
9191 func M (A,L,N) = valueOrErrorMessage({
9292 let O = getInteger(this, (((L + N) + toString(A)) + l))
9393 let P = {
9494 let G = O
9595 if ($isInstanceOf(G, "Int"))
9696 then {
9797 let P = G
9898 P
9999 }
100100 else if ($isInstanceOf(G, "Unit"))
101101 then {
102102 let P = G
103103 0
104104 }
105105 else throw("Match error")
106106 }
107107 P
108108 }, (((("No data on the key: " + L) + N) + toString(A)) + l))
109109
110110
111111 func Q (L) = valueOrErrorMessage(getInteger(this, (L + r)), (("No data on the key: " + L) + r))
112112
113113
114114 func R (L,N) = {
115115 let S = getInteger(this, ((L + N) + n))
116116 let T = {
117117 let G = S
118118 if ($isInstanceOf(G, "Int"))
119119 then {
120120 let T = G
121121 T
122122 }
123123 else if ($isInstanceOf(G, "Unit"))
124124 then {
125125 let T = G
126126 0
127127 }
128128 else throw("Match error")
129129 }
130130 T
131131 }
132132
133133
134134 func U (L,N,A,V) = {
135135 let W = ((((((L + "_") + N) + "_") + toString(A)) + "_") + toString(V))
136136 valueOrErrorMessage(getInteger(this, W), ("No data on the key: " + W))
137137 }
138138
139139
140140 func X (Y) = {
141141 let Z = H()
142142 let y = x()
143143 let aa = C(Y, y)
144144 let E = aa._1
145145 let ab = aa._2
146146 let ac = fraction(ab, (y - E), v)
147147 let ad = y
148148 $Tuple2(ad, ac)
149149 }
150150
151151
152152 @Callable(ae)
153153 func lockSWOP () = {
154154 let af = $Tuple2(ae.payments[0].amount, ae.payments[0].assetId)
155155 let ag = af._1
156156 let ah = af._2
157157 if ((ah != u))
158158 then throw("Incorrect pmtAssetId")
159159 else {
160160 let y = x()
161161 let ai = C(ae.caller, y)
162162 let E = ai._1
163163 let D = ai._2
164164 let ac = fraction(D, (y - E), v)
165165 let aj = ((D + ag) + ac)
166166 let ad = y
167167 let ak = H()
168168 let al = (ak + ag)
169169 [IntegerEntry((toString(ae.caller) + g), ad), IntegerEntry((toString(ae.caller) + h), aj), IntegerEntry(j, al)]
170170 }
171171 }
172172
173173
174174
175175 @Callable(ae)
176176 func vote (L,N,am) = {
177177 let D = z(ae.caller)
178178 let an = I(ae.caller)
179179 let O = M(ae.caller, L, N)
180180 if ((am > (D - an)))
181181 then w()
182182 else {
183183 let S = R(L, N)
184184 let ao = Q(L)
185185 let ap = K(N)
186186 let aq = (an + am)
187187 let ar = (O + am)
188188 let as = (S + am)
189189 [IntegerEntry((((L + "_") + N) + n), as), IntegerEntry((((L + N) + toString(ae.caller)) + l), ar), IntegerEntry((toString(ae.caller) + k), aq)]
190190 }
191191 }
192192
193193
194194
195195 @Callable(ae)
196196 func unvote (L,N,at) = {
197197 let D = z(ae.caller)
198198 let an = I(ae.caller)
199199 let O = M(ae.caller, L, N)
200200 if ((at > O))
201201 then w()
202202 else {
203203 let S = R(L, N)
204204 let ao = Q(L)
205205 let ap = K(N)
206206 let ar = (O - at)
207207 let as = (S - at)
208208 let V = (ap + (2 * ao))
209209 [IntegerEntry((((L + "_") + N) + n), as), IntegerEntry((((L + N) + toString(ae.caller)) + l), ar), IntegerEntry(((((((L + "_") + N) + "_") + toString(ae.caller)) + "_") + toString(V)), at)]
210210 }
211211 }
212212
213213
214214
215215 @Callable(ae)
216216 func getBackSWOPfromOption (L,N,V) = {
217217 let an = I(ae.caller)
218218 let au = U(L, N, ae.caller, V)
219219 [IntegerEntry(((((((L + "_") + N) + "_") + toString(ae.caller)) + "_") + toString(V)), 0), ScriptTransfer(ae.caller, au, u)]
220220 }
221221
222222
223223
224224 @Callable(ae)
225225 func airDrop () = {
226226 let av = $Tuple2(ae.payments[0].amount, ae.payments[0].assetId)
227227 let ag = av._1
228228 let ah = av._2
229229 if ((ah != u))
230230 then throw("Incorrect pmtAssetId")
231231 else {
232232 let ak = H()
233233 let aw = (ak + ag)
234234 let y = x()
235235 let ax = (y + fraction(ag, v, ak))
236236 [IntegerEntry(f, ax), IntegerEntry(j, aw)]
237237 }
238238 }
239239
240240
241241
242242 @Callable(ae)
243243 func claimSWOPandWithdraw () = {
244244 let ay = H()
245245 let y = x()
246246 let az = X(ae.caller)
247247 let ad = az._1
248248 let ac = az._2
249249 let aA = I(ae.caller)
250250 let aB = ((z(ae.caller) + ac) - aA)
251251 let al = (ay - aB)
252252 let aC = B(ae.caller)
253253 let aD = (aC + ac)
254254 [IntegerEntry((toString(ae.caller) + g), ad), IntegerEntry(f, y), IntegerEntry((toString(ae.caller) + h), aA), IntegerEntry(j, al), IntegerEntry((toString(ae.caller) + m), aD), ScriptTransfer(ae.caller, aB, u)]
255255 }
256256
257257
258258
259259 @Callable(ae)
260260 func claimSWOPandStake () = {
261261 let ay = H()
262262 let y = x()
263263 let aE = X(ae.caller)
264264 let ad = aE._1
265265 let ac = aE._2
266266 let aA = I(ae.caller)
267267 let aB = ((z(ae.caller) + ac) - aA)
268268 let al = (ay - aB)
269269 let aC = B(ae.caller)
270270 let aD = (aC + ac)
271271 [IntegerEntry((toString(ae.caller) + g), ad), IntegerEntry(f, y), IntegerEntry((toString(ae.caller) + h), (aB + aA)), IntegerEntry((toString(ae.caller) + m), aD)]
272272 }
273273
274274

github/deemru/w8io/169f3d6 
35.14 ms