tx · 24Qrs2quxqFHvyNmYE1D7WBteCZu2nhRnysCDM36QxeS 3MyTUSFjgJWsmoQEBpeF3N1bmtdr2XMS1uU: -0.01400000 Waves 2020.12.12 20:29 [1305749] smart account 3MyTUSFjgJWsmoQEBpeF3N1bmtdr2XMS1uU > SELF 0.00000000 Waves
{ "type": 13, "id": "24Qrs2quxqFHvyNmYE1D7WBteCZu2nhRnysCDM36QxeS", "fee": 1400000, "feeAssetId": null, "timestamp": 1607794164018, "version": 1, "sender": "3MyTUSFjgJWsmoQEBpeF3N1bmtdr2XMS1uU", "senderPublicKey": "HNibf5h44NsszRrbctryRBWzFba3biyjEoufpZuraEha", "proofs": [ "43KP2RWEK7LfUmd7Vz5vm2XwfngMu4fG1UVeNEN4ZCeDg3v6emPH7KAxnPtjJd4RBuqN3EUwEy9e96vqS4PbH9ZG" ], "script": "base64:AAIEAAAAAAAAABkIAhIAEgMKAQgSAwoBCBIECgIIARIDCgEIAAAAHQAAAAAMYWRtaW5QdWJLZXkxAQAAACAQsOLq5CB1W9qjcQbPak46dbMqu5F1eul3gOhttbJnHwAAAAAMYWRtaW5QdWJLZXkyAQAAACAQsOLq5CB1W9qjcQbPak46dbMqu5F1eul3gOhttbJnHwAAAAAMYWRtaW5QdWJLZXkzAQAAACAQsOLq5CB1W9qjcQbPak46dbMqu5F1eul3gOhttbJnHwAAAAAUYWRtaW5QdWJLZXlTdGFydFN0b3ABAAAAIBCw4urkIHVb2qNxBs9qTjp1syq7kXV66XeA6G21smcfAAAAABJhZG1pblB1YktleVN0YWtpbmcBAAAAIBCw4urkIHVb2qNxBs9qTjp1syq7kXV66XeA6G21smcfAAAAABRrZXlTaGFyZVRva2Vuc0xvY2tlZAIAAAAaX3RvdGFsX3NoYXJlX3Rva2Vuc19sb2NrZWQAAAAAEGtleUN1cnJlbnRSZXdhcmQCAAAAD19jdXJyZW50X3Jld2FyZAAAAAAVa2V5UmV3YXJkVXBkYXRlSGVpZ2h0AgAAABVfcmV3YXJkX3VwZ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AEsAAAAAgUAAAAEcG9vbAIAAAABXwkABCUAAAABCAUAAAABaQAAAAZjYWxsZXIFAAAAE2tleVVzZXJMYXN0SW50ZXJlc3QFAAAAD3VzZXJOZXdJbnRlcmVzdAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACCQABLAAAAAIFAAAABHBvb2wCAAAAAV8FAAAAD2tleUxhc3RJbnRlcmVzdAUAAAAPY3VycmVudEludGVyZXN0CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgUAAAAEcG9vbAIAAAABXwUAAAAVa2V5TGFzdEludGVyZXN0SGVpZ2h0BQAAAAZoZWlnaHQJAARMAAAAAgkBAAAAB1JlaXNzdWUAAAADBQAAAARTV09QBQAAAAtjbGFpbUFtb3VudAYJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyBQAAAAtjbGFpbUFtb3VudAUAAAAEU1dPUAUAAAADbmlsAAAAAJrJ7Cc=", "chainId": 84, "height": 1305749, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9p8DBMtAx3H8gmnRzVjomH4YpiirsXwLkKpyzaLfNeZn Next: BZQWVz1zx7d5wdyAwhV8UcVDaYYxLwXwN3VnUCgWmqry Diff:
Old | New | Differences | |
---|---|---|---|
46 | 46 | func u (v) = valueOrErrorMessage(getInteger(this, (v + f)), (("No data on the key: " + v) + f)) | |
47 | 47 | ||
48 | 48 | ||
49 | - | func w (v) = fromBase58String(getStringValue(value(addressFromString(v)), (v + "_share_asset_id"))) | |
49 | + | func w (v) = if (true) | |
50 | + | then throw((v + "share_asset_id")) | |
51 | + | else fromBase58String(getStringValue(value(addressFromString(v)), (v + "_share_asset_id"))) | |
50 | 52 | ||
51 | 53 | ||
52 | 54 | func x (y,z) = { |
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 = "_total_share_tokens_locked" | |
15 | 15 | ||
16 | 16 | let g = "_current_reward" | |
17 | 17 | ||
18 | 18 | let h = "_reward_update_height" | |
19 | 19 | ||
20 | 20 | let i = "_previous_reward" | |
21 | 21 | ||
22 | 22 | let j = "_last_interest" | |
23 | 23 | ||
24 | 24 | let k = "_last_interest_height" | |
25 | 25 | ||
26 | 26 | let l = "_share_tokens_locked" | |
27 | 27 | ||
28 | 28 | let m = "_last_interest" | |
29 | 29 | ||
30 | 30 | let n = "SWOP_id" | |
31 | 31 | ||
32 | 32 | let o = "_address" | |
33 | 33 | ||
34 | 34 | let p = Address(base58'3N5F5DCmWNzT8ZPe1tBfiXaVYzWJriaJZ9E') | |
35 | 35 | ||
36 | 36 | let q = fromBase58String(getStringValue(this, n)) | |
37 | 37 | ||
38 | 38 | let r = getIntegerValue(this, "height_reward_update") | |
39 | 39 | ||
40 | 40 | func s () = throw("Only admin can call this function") | |
41 | 41 | ||
42 | 42 | ||
43 | 43 | func t () = throw("DApp is already active") | |
44 | 44 | ||
45 | 45 | ||
46 | 46 | func u (v) = valueOrErrorMessage(getInteger(this, (v + f)), (("No data on the key: " + v) + f)) | |
47 | 47 | ||
48 | 48 | ||
49 | - | func w (v) = fromBase58String(getStringValue(value(addressFromString(v)), (v + "_share_asset_id"))) | |
49 | + | func w (v) = if (true) | |
50 | + | then throw((v + "share_asset_id")) | |
51 | + | else fromBase58String(getStringValue(value(addressFromString(v)), (v + "_share_asset_id"))) | |
50 | 52 | ||
51 | 53 | ||
52 | 54 | func x (y,z) = { | |
53 | 55 | let A = value(assetInfo(y)).decimals | |
54 | 56 | let B = value(assetInfo(z)).decimals | |
55 | 57 | let C = ((B - A) + 8) | |
56 | 58 | pow(10, 0, C, 0, 0, HALFDOWN) | |
57 | 59 | } | |
58 | 60 | ||
59 | 61 | ||
60 | 62 | func D (v) = { | |
61 | 63 | let E = valueOrErrorMessage(getInteger(p, (v + g)), (((("No data on the key: " + v) + g) + " at address ") + toString(p))) | |
62 | 64 | let F = valueOrErrorMessage(getInteger(p, (v + h)), (((("No data on the key: " + v) + h) + " at address ") + toString(p))) | |
63 | 65 | let G = valueOrErrorMessage(getInteger(p, (v + h)), (((("No data on the key: " + v) + i) + " at address ") + toString(p))) | |
64 | 66 | $Tuple3(E, F, G) | |
65 | 67 | } | |
66 | 68 | ||
67 | 69 | ||
68 | 70 | func H (v) = { | |
69 | 71 | let I = valueOrErrorMessage(getInteger(this, (v + j)), (((("No data on the key: " + v) + "_") + v) + j)) | |
70 | 72 | let J = valueOrErrorMessage(getInteger(this, (v + k)), (("No data on the key: " + v) + k)) | |
71 | 73 | $Tuple2(J, I) | |
72 | 74 | } | |
73 | 75 | ||
74 | 76 | ||
75 | 77 | func K (v,L) = { | |
76 | 78 | let M = getInteger(this, (((v + "_") + toString(L)) + m)) | |
77 | 79 | let N = getInteger(this, (((v + "_") + toString(L)) + l)) | |
78 | 80 | let O = { | |
79 | 81 | let P = M | |
80 | 82 | if ($isInstanceOf(P, "Int")) | |
81 | 83 | then { | |
82 | 84 | let M = P | |
83 | 85 | M | |
84 | 86 | } | |
85 | 87 | else 0 | |
86 | 88 | } | |
87 | 89 | let Q = { | |
88 | 90 | let P = N | |
89 | 91 | if ($isInstanceOf(P, "Int")) | |
90 | 92 | then { | |
91 | 93 | let N = P | |
92 | 94 | N | |
93 | 95 | } | |
94 | 96 | else 0 | |
95 | 97 | } | |
96 | 98 | $Tuple2(O, Q) | |
97 | 99 | } | |
98 | 100 | ||
99 | 101 | ||
100 | 102 | func R (J,F,I,S,T,U,V,W) = if ((J > F)) | |
101 | 103 | then if ((T == 0)) | |
102 | 104 | then 0 | |
103 | 105 | else { | |
104 | 106 | let X = (S * (height - J)) | |
105 | 107 | (I + fraction(X, W, T)) | |
106 | 108 | } | |
107 | 109 | else { | |
108 | 110 | let Y = (U * (F - J)) | |
109 | 111 | let Z = (I + fraction(Y, W, T)) | |
110 | 112 | let X = (S * (height - F)) | |
111 | 113 | (Z + fraction(X, W, T)) | |
112 | 114 | } | |
113 | 115 | ||
114 | 116 | ||
115 | 117 | func aa (v,ab) = { | |
116 | 118 | let V = w(v) | |
117 | 119 | if (true) | |
118 | 120 | then throw(toBase58String(V)) | |
119 | 121 | else { | |
120 | 122 | let W = x(q, V) | |
121 | 123 | let T = u(v) | |
122 | 124 | let ac = H(v) | |
123 | 125 | let J = ac._1 | |
124 | 126 | let I = ac._2 | |
125 | 127 | let ad = D(v) | |
126 | 128 | let S = ad._1 | |
127 | 129 | let F = ad._2 | |
128 | 130 | let U = ad._3 | |
129 | 131 | let ae = K(v, ab) | |
130 | 132 | let M = ae._1 | |
131 | 133 | let Q = ae._2 | |
132 | 134 | let af = R(J, F, I, S, T, U, V, W) | |
133 | 135 | let ag = fraction(Q, (af - M), W) | |
134 | 136 | let ah = af | |
135 | 137 | $Tuple4(ah, af, ag, Q) | |
136 | 138 | } | |
137 | 139 | } | |
138 | 140 | ||
139 | 141 | ||
140 | 142 | func ai (v,aj) = { | |
141 | 143 | let ak = value(addressFromString(getStringValue(this, (v + o)))) | |
142 | 144 | let al = fromBase58String(getStringValue(ak, "share_asset_id")) | |
143 | 145 | if ((aj == al)) | |
144 | 146 | then true | |
145 | 147 | else false | |
146 | 148 | } | |
147 | 149 | ||
148 | 150 | ||
149 | 151 | @Callable(am) | |
150 | 152 | func init () = if (!(containsElement([a, b, c], am.callerPublicKey))) | |
151 | 153 | then throw("Only admin can call this function") | |
152 | 154 | else { | |
153 | 155 | let an = Issue("SWOP", "SWOP protocol token", 1, 8, true) | |
154 | 156 | let ao = calculateAssetId(an) | |
155 | 157 | [Issue("SWOP", "SWOP protocol token", 1, 8, true), StringEntry(n, toBase58String(ao))] | |
156 | 158 | } | |
157 | 159 | ||
158 | 160 | ||
159 | 161 | ||
160 | 162 | @Callable(am) | |
161 | 163 | func initPoolShareLocking (v) = if (!(containsElement([a, b, c], am.callerPublicKey))) | |
162 | 164 | then throw("Only admin can call this function") | |
163 | 165 | else { | |
164 | 166 | let ap = D(v) | |
165 | 167 | let E = ap._1 | |
166 | 168 | let F = ap._2 | |
167 | 169 | let U = ap._3 | |
168 | 170 | [StringEntry((v + o), v), IntegerEntry((v + f), 0), IntegerEntry((v + g), 0), IntegerEntry((v + j), 0), IntegerEntry((v + k), height), IntegerEntry((v + h), F), IntegerEntry((v + i), U)] | |
169 | 171 | } | |
170 | 172 | ||
171 | 173 | ||
172 | 174 | ||
173 | 175 | @Callable(am) | |
174 | 176 | func lockShareTokens (v) = { | |
175 | 177 | let aq = $Tuple2(am.payments[0].amount, am.payments[0].assetId) | |
176 | 178 | let ar = aq._1 | |
177 | 179 | let aj = aq._2 | |
178 | 180 | if (!(ai(v, aj))) | |
179 | 181 | then throw("Incorrect pmtAssetId") | |
180 | 182 | else { | |
181 | 183 | let as = aa(v, am.caller) | |
182 | 184 | let ah = as._1 | |
183 | 185 | let af = as._2 | |
184 | 186 | let ag = as._3 | |
185 | 187 | let Q = as._4 | |
186 | 188 | let at = (Q + ar) | |
187 | 189 | let au = u(v) | |
188 | 190 | let av = (au + ar) | |
189 | 191 | [IntegerEntry((((v + "_") + toString(am.caller)) + m), ah), IntegerEntry((((v + "_") + toString(am.caller)) + l), at), IntegerEntry((v + j), af), IntegerEntry((v + k), height), IntegerEntry((v + f), av)] | |
190 | 192 | } | |
191 | 193 | } | |
192 | 194 | ||
193 | 195 | ||
194 | 196 | ||
195 | 197 | @Callable(am) | |
196 | 198 | func withdrawShareTokens (v,aw) = { | |
197 | 199 | let ax = aa(v, am.caller) | |
198 | 200 | let ah = ax._1 | |
199 | 201 | let af = ax._2 | |
200 | 202 | let ag = ax._3 | |
201 | 203 | let Q = ax._4 | |
202 | 204 | if ((aw > Q)) | |
203 | 205 | then throw("Withdraw amount more then user locked amount") | |
204 | 206 | else { | |
205 | 207 | let at = (Q - aw) | |
206 | 208 | let ay = fromBase58String(getStringValue(this, (v + "share_asset_id"))) | |
207 | 209 | [IntegerEntry((((v + "_") + toString(am.caller)) + m), ah), IntegerEntry((((v + "_") + toString(am.caller)) + l), at), IntegerEntry((v + j), af), IntegerEntry((v + k), height), Reissue(q, ag, true), ScriptTransfer(am.caller, ag, q), ScriptTransfer(am.caller, aw, ay)] | |
208 | 210 | } | |
209 | 211 | } | |
210 | 212 | ||
211 | 213 | ||
212 | 214 | ||
213 | 215 | @Callable(am) | |
214 | 216 | func claim (v) = { | |
215 | 217 | let T = u(v) | |
216 | 218 | let az = H(v) | |
217 | 219 | let J = az._1 | |
218 | 220 | let I = az._2 | |
219 | 221 | let aA = D(v) | |
220 | 222 | let S = aA._1 | |
221 | 223 | let F = aA._2 | |
222 | 224 | let U = aA._3 | |
223 | 225 | let aB = aa(v, am.caller) | |
224 | 226 | let ah = aB._1 | |
225 | 227 | let af = aB._2 | |
226 | 228 | let ag = aB._3 | |
227 | 229 | let Q = aB._4 | |
228 | 230 | [IntegerEntry((((v + "_") + toString(am.caller)) + m), ah), IntegerEntry(((v + "_") + j), af), IntegerEntry(((v + "_") + k), height), Reissue(q, ag, true), ScriptTransfer(am.caller, ag, q)] | |
229 | 231 | } | |
230 | 232 | ||
231 | 233 |
github/deemru/w8io/169f3d6 58.01 ms ◑