tx · BiBBCh4p91MqhtWz2cgNncuTFb7tUhKCY2brG63KnucJ 3N5F5DCmWNzT8ZPe1tBfiXaVYzWJriaJZ9E: -0.01400000 Waves 2021.01.23 21:17 [1366506] smart account 3N5F5DCmWNzT8ZPe1tBfiXaVYzWJriaJZ9E > SELF 0.00000000 Waves
{ "type": 13, "id": "BiBBCh4p91MqhtWz2cgNncuTFb7tUhKCY2brG63KnucJ", "fee": 1400000, "feeAssetId": null, "timestamp": 1611425963668, "version": 1, "sender": "3N5F5DCmWNzT8ZPe1tBfiXaVYzWJriaJZ9E", "senderPublicKey": "ApZ1ntZBf9PT4kWa9ZRVbLxk43jqkqWHP5NWpjujGBw2", "proofs": [ "4j62V7mWiBefFgNyyGKQ1M6KvucQttf5BT2nU6MeS7KdaDMX345W5hed9krL6ThBKexRvh6EDBGkZUyWatoujv2J" ], "script": "base64:AAIEAAAAAAAAAB0IAhIAEgUKAwgIARIFCgMICAESBQoDCAgBEgASAAAAACIAAAAADGFkbWluUHViS2V5MQEAAAAgELDi6uQgdVvao3EGz2pOOnWzKruRdXrpd4DobbWyZx8AAAAADGFkbWluUHViS2V5MgEAAAAgELDi6uQgdVvao3EGz2pOOnWzKruRdXrpd4DobbWyZx8AAAAADGFkbWluUHViS2V5MwEAAAAgELDi6uQgdVvao3EGz2pOOnWzKruRdXrpd4DobbWyZx8AAAAAFGFkbWluUHViS2V5U3RhcnRTdG9wAQAAACAQsOLq5CB1W9qjcQbPak46dbMqu5F1eul3gOhttbJnHwAAAAASYWRtaW5QdWJLZXlTdGFraW5nAQAAACAQsOLq5CB1W9qjcQbPak46dbMqu5F1eul3gOhttbJnHwAAAAAPa2V5TGFzdEludGVyZXN0AgAAAA1sYXN0X2ludGVyZXN0AAAAABNrZXlVc2VyTGFzdEludGVyZXN0AgAAAA5fbGFzdF9pbnRlcmVzdAAAAAARa2V5VXNlclNXT1BBbW91bnQCAAAADF9TV09QX2Ftb3VudAAAAAAUa2V5VXNlckdldEJhY2tIZWlnaH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JAQAAABNnZXRMYXN0SW50ZXJlc3RJbmZvAAAAAAQAAAALJHQwODk2MDkwMTUJAQAAAAljbGFpbUNhbGMAAAABCAUAAAABaQAAAAZjYWxsZXIEAAAAD3VzZXJOZXdJbnRlcmVzdAgFAAAACyR0MDg5NjA5MDE1AAAAAl8xBAAAAAtjbGFpbUFtb3VudAgFAAAACyR0MDg5NjA5MDE1AAAAAl8yBAAAAA51c2VyVm90ZUFtb3VudAkBAAAAFmdldFVzZXJUb3RhbFZvdGVBbW91bnQAAAABCAUAAAABaQAAAAZjYWxsZXIEAAAADWF2YWlsYWJsZUZ1bmQJAABlAAAAAgkAAGQAAAACCQEAAAARZ2V0VXNlclNXT1BBbW91bnQAAAABCAUAAAABaQAAAAZjYWxsZXIFAAAAC2NsYWltQW1vdW50BQAAAA51c2VyVm90ZUFtb3VudAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACCQAEJQAAAAEIBQAAAAFpAAAABmNhbGxlcgUAAAATa2V5VXNlckxhc3RJbnRlcmVzdAUAAAAPdXNlck5ld0ludGVyZXN0CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACBQAAAA9rZXlMYXN0SW50ZXJlc3QFAAAADGxhc3RJbnRlcmVzdAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACCQABLAAAAAIJAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyAgAAAAFfBQAAABFrZXlVc2VyU1dPUEFtb3VudAUAAAAOdXNlclZvdGVBbW91bnQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyBQAAAA1hdmFpbGFibGVGdW5kBQAAAARTV09QBQAAAANuaWwAAAAAStOfMw==", "chainId": 84, "height": 1366506, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7pe1bH26Rqu2omtNaMmvoC3ek9cboPxsnk7g4ysC14eF Next: 6AjCLW68rUcb41h9o39W8v2kjFe69q3t5FdhnJxV98yA Diff:
Old | New | Differences | |
---|---|---|---|
149 | 149 | let ad = $Tuple2(ac.payments[0].amount, ac.payments[0].assetId) | |
150 | 150 | let ae = ad._1 | |
151 | 151 | let af = ad._2 | |
152 | - | if ((af != t)) | |
153 | - | then throw("Incorrect pmtAssetId") | |
154 | - | else { | |
155 | - | let x = w() | |
156 | - | if (true) | |
157 | - | then throw(toString(x)) | |
158 | - | else { | |
159 | - | let ag = A(ac.caller, x) | |
160 | - | let C = ag._1 | |
161 | - | let B = ag._2 | |
162 | - | let aa = fraction(B, (x - C), u) | |
163 | - | let ah = ((B + ae) + aa) | |
164 | - | let ab = x | |
165 | - | let ai = F() | |
166 | - | let aj = (ai + ae) | |
152 | + | if (true) | |
153 | + | then throw(toBase58String(t)) | |
154 | + | else if ((af != t)) | |
155 | + | then throw("Incorrect pmtAssetId") | |
156 | + | else { | |
157 | + | let x = w() | |
158 | + | let ag = A(ac.caller, x) | |
159 | + | let C = ag._1 | |
160 | + | let B = ag._2 | |
161 | + | let aa = fraction(B, (x - C), u) | |
162 | + | let ah = ((B + ae) + aa) | |
163 | + | let ab = x | |
164 | + | let ai = F() | |
165 | + | let aj = (ai + ae) | |
167 | 166 | [IntegerEntry((toString(ac.caller) + g), ab), IntegerEntry((toString(ac.caller) + h), ah), IntegerEntry(j, aj)] | |
168 | - | } | |
169 | - | } | |
167 | + | } | |
170 | 168 | } | |
171 | 169 | ||
172 | 170 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'289xpUrYrKbLjaKkqH3XNhfecukcYRaDRT3JDrvkvQRU' | |
5 | 5 | ||
6 | 6 | let b = base58'289xpUrYrKbLjaKkqH3XNhfecukcYRaDRT3JDrvkvQRU' | |
7 | 7 | ||
8 | 8 | let c = base58'289xpUrYrKbLjaKkqH3XNhfecukcYRaDRT3JDrvkvQRU' | |
9 | 9 | ||
10 | 10 | let d = base58'289xpUrYrKbLjaKkqH3XNhfecukcYRaDRT3JDrvkvQRU' | |
11 | 11 | ||
12 | 12 | let e = base58'289xpUrYrKbLjaKkqH3XNhfecukcYRaDRT3JDrvkvQRU' | |
13 | 13 | ||
14 | 14 | let f = "last_interest" | |
15 | 15 | ||
16 | 16 | let g = "_last_interest" | |
17 | 17 | ||
18 | 18 | let h = "_SWOP_amount" | |
19 | 19 | ||
20 | 20 | let i = "_getBackHeight" | |
21 | 21 | ||
22 | 22 | let j = "total_SWOP_amount" | |
23 | 23 | ||
24 | 24 | let k = "_total_SWOP_vote_amount" | |
25 | 25 | ||
26 | 26 | let l = "_SWOP_option_amount" | |
27 | 27 | ||
28 | 28 | let m = "total_SWOP_option_amount" | |
29 | 29 | ||
30 | 30 | let n = "vote_name" | |
31 | 31 | ||
32 | 32 | let o = "_option_name" | |
33 | 33 | ||
34 | 34 | let p = "_startHeight" | |
35 | 35 | ||
36 | 36 | let q = "_vote_duration" | |
37 | 37 | ||
38 | 38 | let r = Address(base58'3N5RwgsgL4S1XHCrF29y9PjPzPpW1XbWBBZ') | |
39 | 39 | ||
40 | 40 | let s = "SWOP_id" | |
41 | 41 | ||
42 | 42 | let t = fromBase58String(getStringValue(r, s)) | |
43 | 43 | ||
44 | 44 | let u = 100000000 | |
45 | 45 | ||
46 | 46 | func v () = throw("Not enough SWOP: userSWOPAmount - userTotalVoteAmount < voteSWOPAmount") | |
47 | 47 | ||
48 | 48 | ||
49 | 49 | func w () = { | |
50 | 50 | let x = valueOrElse(getInteger(this, f), 0) | |
51 | 51 | x | |
52 | 52 | } | |
53 | 53 | ||
54 | 54 | ||
55 | 55 | func y (z) = valueOrElse(getInteger(this, (toString(z) + h)), 0) | |
56 | 56 | ||
57 | 57 | ||
58 | 58 | func A (z,x) = { | |
59 | 59 | let B = y(z) | |
60 | 60 | let C = getInteger(this, (toString(z) + g)) | |
61 | 61 | let D = { | |
62 | 62 | let E = C | |
63 | 63 | if ($isInstanceOf(E, "Int")) | |
64 | 64 | then { | |
65 | 65 | let C = E | |
66 | 66 | C | |
67 | 67 | } | |
68 | 68 | else x | |
69 | 69 | } | |
70 | 70 | $Tuple2(D, B) | |
71 | 71 | } | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func F () = valueOrErrorMessage(getInteger(this, j), ("No data on the key: " + j)) | |
75 | 75 | ||
76 | 76 | ||
77 | 77 | func G (z) = valueOrElse(getInteger(this, (toString(z) + k)), 0) | |
78 | 78 | ||
79 | 79 | ||
80 | 80 | func H (z) = valueOrErrorMessage(getInteger(this, (toString(z) + l)), (("No data on the key: " + toString(z)) + l)) | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func I (J) = valueOrErrorMessage(getInteger(this, (J + p)), (("No data on the key: " + J) + p)) | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func K (z,J,L) = valueOrErrorMessage({ | |
87 | 87 | let M = getInteger(this, (((J + L) + toString(z)) + l)) | |
88 | 88 | let N = { | |
89 | 89 | let E = M | |
90 | 90 | if ($isInstanceOf(E, "Int")) | |
91 | 91 | then { | |
92 | 92 | let N = E | |
93 | 93 | N | |
94 | 94 | } | |
95 | 95 | else if ($isInstanceOf(E, "Unit")) | |
96 | 96 | then { | |
97 | 97 | let N = E | |
98 | 98 | 0 | |
99 | 99 | } | |
100 | 100 | else throw("Match error") | |
101 | 101 | } | |
102 | 102 | N | |
103 | 103 | }, (((("No data on the key: " + J) + L) + toString(z)) + l)) | |
104 | 104 | ||
105 | 105 | ||
106 | 106 | func O (J) = valueOrErrorMessage(getInteger(this, (J + q)), (("No data on the key: " + J) + q)) | |
107 | 107 | ||
108 | 108 | ||
109 | 109 | func P (J,L) = { | |
110 | 110 | let Q = getInteger(this, ((J + L) + m)) | |
111 | 111 | let R = { | |
112 | 112 | let E = Q | |
113 | 113 | if ($isInstanceOf(E, "Int")) | |
114 | 114 | then { | |
115 | 115 | let R = E | |
116 | 116 | R | |
117 | 117 | } | |
118 | 118 | else if ($isInstanceOf(E, "Unit")) | |
119 | 119 | then { | |
120 | 120 | let R = E | |
121 | 121 | 0 | |
122 | 122 | } | |
123 | 123 | else throw("Match error") | |
124 | 124 | } | |
125 | 125 | R | |
126 | 126 | } | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func S (J,L,z,T) = { | |
130 | 130 | let U = ((((((J + "_") + L) + "_") + toString(z)) + "_") + toString(T)) | |
131 | 131 | valueOrErrorMessage(getInteger(this, U), ("No data on the key: " + U)) | |
132 | 132 | } | |
133 | 133 | ||
134 | 134 | ||
135 | 135 | func V (W) = { | |
136 | 136 | let X = F() | |
137 | 137 | let x = w() | |
138 | 138 | let Y = A(W, x) | |
139 | 139 | let C = Y._1 | |
140 | 140 | let Z = Y._2 | |
141 | 141 | let aa = fraction(Z, (x - C), u) | |
142 | 142 | let ab = x | |
143 | 143 | $Tuple2(ab, aa) | |
144 | 144 | } | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | @Callable(ac) | |
148 | 148 | func lockSWOP () = { | |
149 | 149 | let ad = $Tuple2(ac.payments[0].amount, ac.payments[0].assetId) | |
150 | 150 | let ae = ad._1 | |
151 | 151 | let af = ad._2 | |
152 | - | if ((af != t)) | |
153 | - | then throw("Incorrect pmtAssetId") | |
154 | - | else { | |
155 | - | let x = w() | |
156 | - | if (true) | |
157 | - | then throw(toString(x)) | |
158 | - | else { | |
159 | - | let ag = A(ac.caller, x) | |
160 | - | let C = ag._1 | |
161 | - | let B = ag._2 | |
162 | - | let aa = fraction(B, (x - C), u) | |
163 | - | let ah = ((B + ae) + aa) | |
164 | - | let ab = x | |
165 | - | let ai = F() | |
166 | - | let aj = (ai + ae) | |
152 | + | if (true) | |
153 | + | then throw(toBase58String(t)) | |
154 | + | else if ((af != t)) | |
155 | + | then throw("Incorrect pmtAssetId") | |
156 | + | else { | |
157 | + | let x = w() | |
158 | + | let ag = A(ac.caller, x) | |
159 | + | let C = ag._1 | |
160 | + | let B = ag._2 | |
161 | + | let aa = fraction(B, (x - C), u) | |
162 | + | let ah = ((B + ae) + aa) | |
163 | + | let ab = x | |
164 | + | let ai = F() | |
165 | + | let aj = (ai + ae) | |
167 | 166 | [IntegerEntry((toString(ac.caller) + g), ab), IntegerEntry((toString(ac.caller) + h), ah), IntegerEntry(j, aj)] | |
168 | - | } | |
169 | - | } | |
167 | + | } | |
170 | 168 | } | |
171 | 169 | ||
172 | 170 | ||
173 | 171 | ||
174 | 172 | @Callable(ac) | |
175 | 173 | func vote (J,L,ak) = { | |
176 | 174 | let B = y(ac.caller) | |
177 | 175 | let al = G(ac.caller) | |
178 | 176 | let M = K(ac.caller, J, L) | |
179 | 177 | if ((ak > (B - al))) | |
180 | 178 | then v() | |
181 | 179 | else { | |
182 | 180 | let Q = P(J, L) | |
183 | 181 | let am = O(J) | |
184 | 182 | let an = I(L) | |
185 | 183 | let ao = (al + ak) | |
186 | 184 | let ap = (M + ak) | |
187 | 185 | let aq = (Q + ak) | |
188 | 186 | [IntegerEntry((((J + "_") + L) + m), aq), IntegerEntry((((J + L) + toString(ac.caller)) + l), ap), IntegerEntry((toString(ac.caller) + k), ao)] | |
189 | 187 | } | |
190 | 188 | } | |
191 | 189 | ||
192 | 190 | ||
193 | 191 | ||
194 | 192 | @Callable(ac) | |
195 | 193 | func unvote (J,L,ar) = { | |
196 | 194 | let B = y(ac.caller) | |
197 | 195 | let al = G(ac.caller) | |
198 | 196 | let M = K(ac.caller, J, L) | |
199 | 197 | if ((ar > M)) | |
200 | 198 | then v() | |
201 | 199 | else { | |
202 | 200 | let Q = P(J, L) | |
203 | 201 | let am = O(J) | |
204 | 202 | let an = I(L) | |
205 | 203 | let ap = (M - ar) | |
206 | 204 | let aq = (Q - ar) | |
207 | 205 | let T = (an + (2 * am)) | |
208 | 206 | [IntegerEntry((((J + "_") + L) + m), aq), IntegerEntry((((J + L) + toString(ac.caller)) + l), ap), IntegerEntry(((((((J + "_") + L) + "_") + toString(ac.caller)) + "_") + toString(T)), ar)] | |
209 | 207 | } | |
210 | 208 | } | |
211 | 209 | ||
212 | 210 | ||
213 | 211 | ||
214 | 212 | @Callable(ac) | |
215 | 213 | func getBackSWOPfromOption (J,L,T) = { | |
216 | 214 | let al = G(ac.caller) | |
217 | 215 | let as = S(J, L, ac.caller, T) | |
218 | 216 | [IntegerEntry(((((((J + "_") + L) + "_") + toString(ac.caller)) + "_") + toString(T)), 0), ScriptTransfer(ac.caller, as, t)] | |
219 | 217 | } | |
220 | 218 | ||
221 | 219 | ||
222 | 220 | ||
223 | 221 | @Callable(ac) | |
224 | 222 | func airDrop () = { | |
225 | 223 | let at = $Tuple2(ac.payments[0].amount, ac.payments[0].assetId) | |
226 | 224 | let ae = at._1 | |
227 | 225 | let af = at._2 | |
228 | 226 | if ((af != t)) | |
229 | 227 | then throw("Incorrect pmtAssetId") | |
230 | 228 | else { | |
231 | 229 | let ai = F() | |
232 | 230 | let x = w() | |
233 | 231 | let au = (x + fraction(ae, u, ai)) | |
234 | 232 | [IntegerEntry(f, au)] | |
235 | 233 | } | |
236 | 234 | } | |
237 | 235 | ||
238 | 236 | ||
239 | 237 | ||
240 | 238 | @Callable(ac) | |
241 | 239 | func claimSWOP () = { | |
242 | 240 | let av = F() | |
243 | 241 | let x = w() | |
244 | 242 | let aw = V(ac.caller) | |
245 | 243 | let ab = aw._1 | |
246 | 244 | let aa = aw._2 | |
247 | 245 | let ax = G(ac.caller) | |
248 | 246 | let ay = ((y(ac.caller) + aa) - ax) | |
249 | 247 | [IntegerEntry((toString(ac.caller) + g), ab), IntegerEntry(f, x), IntegerEntry(((toString(ac.caller) + "_") + h), ax), ScriptTransfer(ac.caller, ay, t)] | |
250 | 248 | } | |
251 | 249 | ||
252 | 250 |
github/deemru/w8io/169f3d6 44.56 ms ◑