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:AAIEAAAAAAAAABkIAhIAEgMKAQgSAwoBCBIECgIIARIDCgEIAAAAHQAAAAAMYWRtaW5QdWJLZXkxAQAAACAQsOLq5CB1W9qjcQbPak46dbMqu5F1eul3gOhttbJnHwAAAAAMYWRtaW5QdWJLZXkyAQAAACAQsOLq5CB1W9qjcQbPak46dbMqu5F1eul3gOhttbJnHwAAAAAMYWRtaW5QdWJLZXkzAQAAACAQsOLq5CB1W9qjcQbPak46dbMqu5F1eul3gOhttbJnHwAAAAAUYWRtaW5QdWJLZXlTdGFydFN0b3ABAAAAIBCw4urkIHVb2qNxBs9qTjp1syq7kXV66XeA6G21smcfAAAAABJhZG1pblB1YktleVN0YWtpbmcBAAAAIBCw4urkIHVb2qNxBs9qTjp1syq7kXV66XeA6G21smcfAAAAABRrZXlTaGFyZVRva2Vuc0xvY2tlZAIAAAAaX3RvdGFsX3NoYXJlX3Rva2Vuc19sb2NrZWQAAAAAEGtleUN1cnJlbnRSZXdhcmQCAAAAD19jdXJyZW50X3Jld2FyZAAAAAAVa2V5UmV3YXJkVXBkYXRlSGVpZ2h0AgAAABVfcmV3YXJkX3Vw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AAEsAAAAAgUAAAAEcG9vbAIAAAABXwkABCUAAAABCAUAAAABaQAAAAZjYWxsZXIFAAAAE2tleVVzZXJMYXN0SW50ZXJlc3QFAAAAD3VzZXJOZXdJbnRlcmVzdAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACCQABLAAAAAIFAAAABHBvb2wCAAAAAV8FAAAAD2tleUxhc3RJbnRlcmVzdAUAAAAPY3VycmVudEludGVyZXN0CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgUAAAAEcG9vbAIAAAABXwUAAAAVa2V5TGFzdEludGVyZXN0SGVpZ2h0BQAAAAZoZWlnaHQJAARMAAAAAgkBAAAAB1JlaXNzdWUAAAADBQAAAARTV09QBQAAAAtjbGFpbUFtb3VudAYJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyBQAAAAtjbGFpbUFtb3VudAUAAAAEU1dPUAUAAAADbmlsAAAAAJrJ7Cc=", "chainId": 84, "height": 1305749, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9p8DBMtAx3H8gmnRzVjomH4YpiirsXwLkKpyzaLfNeZn Next: BZQWVz1zx7d5wdyAwhV8UcVDaYYxLwXwN3VnUCgWmqry Diff:
OldNewDifferences
4646 func u (v) = valueOrErrorMessage(getInteger(this, (v + f)), (("No data on the key: " + v) + f))
4747
4848
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")))
5052
5153
5254 func x (y,z) = {
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 = "_total_share_tokens_locked"
1515
1616 let g = "_current_reward"
1717
1818 let h = "_reward_update_height"
1919
2020 let i = "_previous_reward"
2121
2222 let j = "_last_interest"
2323
2424 let k = "_last_interest_height"
2525
2626 let l = "_share_tokens_locked"
2727
2828 let m = "_last_interest"
2929
3030 let n = "SWOP_id"
3131
3232 let o = "_address"
3333
3434 let p = Address(base58'3N5F5DCmWNzT8ZPe1tBfiXaVYzWJriaJZ9E')
3535
3636 let q = fromBase58String(getStringValue(this, n))
3737
3838 let r = getIntegerValue(this, "height_reward_update")
3939
4040 func s () = throw("Only admin can call this function")
4141
4242
4343 func t () = throw("DApp is already active")
4444
4545
4646 func u (v) = valueOrErrorMessage(getInteger(this, (v + f)), (("No data on the key: " + v) + f))
4747
4848
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")))
5052
5153
5254 func x (y,z) = {
5355 let A = value(assetInfo(y)).decimals
5456 let B = value(assetInfo(z)).decimals
5557 let C = ((B - A) + 8)
5658 pow(10, 0, C, 0, 0, HALFDOWN)
5759 }
5860
5961
6062 func D (v) = {
6163 let E = valueOrErrorMessage(getInteger(p, (v + g)), (((("No data on the key: " + v) + g) + " at address ") + toString(p)))
6264 let F = valueOrErrorMessage(getInteger(p, (v + h)), (((("No data on the key: " + v) + h) + " at address ") + toString(p)))
6365 let G = valueOrErrorMessage(getInteger(p, (v + h)), (((("No data on the key: " + v) + i) + " at address ") + toString(p)))
6466 $Tuple3(E, F, G)
6567 }
6668
6769
6870 func H (v) = {
6971 let I = valueOrErrorMessage(getInteger(this, (v + j)), (((("No data on the key: " + v) + "_") + v) + j))
7072 let J = valueOrErrorMessage(getInteger(this, (v + k)), (("No data on the key: " + v) + k))
7173 $Tuple2(J, I)
7274 }
7375
7476
7577 func K (v,L) = {
7678 let M = getInteger(this, (((v + "_") + toString(L)) + m))
7779 let N = getInteger(this, (((v + "_") + toString(L)) + l))
7880 let O = {
7981 let P = M
8082 if ($isInstanceOf(P, "Int"))
8183 then {
8284 let M = P
8385 M
8486 }
8587 else 0
8688 }
8789 let Q = {
8890 let P = N
8991 if ($isInstanceOf(P, "Int"))
9092 then {
9193 let N = P
9294 N
9395 }
9496 else 0
9597 }
9698 $Tuple2(O, Q)
9799 }
98100
99101
100102 func R (J,F,I,S,T,U,V,W) = if ((J > F))
101103 then if ((T == 0))
102104 then 0
103105 else {
104106 let X = (S * (height - J))
105107 (I + fraction(X, W, T))
106108 }
107109 else {
108110 let Y = (U * (F - J))
109111 let Z = (I + fraction(Y, W, T))
110112 let X = (S * (height - F))
111113 (Z + fraction(X, W, T))
112114 }
113115
114116
115117 func aa (v,ab) = {
116118 let V = w(v)
117119 if (true)
118120 then throw(toBase58String(V))
119121 else {
120122 let W = x(q, V)
121123 let T = u(v)
122124 let ac = H(v)
123125 let J = ac._1
124126 let I = ac._2
125127 let ad = D(v)
126128 let S = ad._1
127129 let F = ad._2
128130 let U = ad._3
129131 let ae = K(v, ab)
130132 let M = ae._1
131133 let Q = ae._2
132134 let af = R(J, F, I, S, T, U, V, W)
133135 let ag = fraction(Q, (af - M), W)
134136 let ah = af
135137 $Tuple4(ah, af, ag, Q)
136138 }
137139 }
138140
139141
140142 func ai (v,aj) = {
141143 let ak = value(addressFromString(getStringValue(this, (v + o))))
142144 let al = fromBase58String(getStringValue(ak, "share_asset_id"))
143145 if ((aj == al))
144146 then true
145147 else false
146148 }
147149
148150
149151 @Callable(am)
150152 func init () = if (!(containsElement([a, b, c], am.callerPublicKey)))
151153 then throw("Only admin can call this function")
152154 else {
153155 let an = Issue("SWOP", "SWOP protocol token", 1, 8, true)
154156 let ao = calculateAssetId(an)
155157 [Issue("SWOP", "SWOP protocol token", 1, 8, true), StringEntry(n, toBase58String(ao))]
156158 }
157159
158160
159161
160162 @Callable(am)
161163 func initPoolShareLocking (v) = if (!(containsElement([a, b, c], am.callerPublicKey)))
162164 then throw("Only admin can call this function")
163165 else {
164166 let ap = D(v)
165167 let E = ap._1
166168 let F = ap._2
167169 let U = ap._3
168170 [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)]
169171 }
170172
171173
172174
173175 @Callable(am)
174176 func lockShareTokens (v) = {
175177 let aq = $Tuple2(am.payments[0].amount, am.payments[0].assetId)
176178 let ar = aq._1
177179 let aj = aq._2
178180 if (!(ai(v, aj)))
179181 then throw("Incorrect pmtAssetId")
180182 else {
181183 let as = aa(v, am.caller)
182184 let ah = as._1
183185 let af = as._2
184186 let ag = as._3
185187 let Q = as._4
186188 let at = (Q + ar)
187189 let au = u(v)
188190 let av = (au + ar)
189191 [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)]
190192 }
191193 }
192194
193195
194196
195197 @Callable(am)
196198 func withdrawShareTokens (v,aw) = {
197199 let ax = aa(v, am.caller)
198200 let ah = ax._1
199201 let af = ax._2
200202 let ag = ax._3
201203 let Q = ax._4
202204 if ((aw > Q))
203205 then throw("Withdraw amount more then user locked amount")
204206 else {
205207 let at = (Q - aw)
206208 let ay = fromBase58String(getStringValue(this, (v + "share_asset_id")))
207209 [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)]
208210 }
209211 }
210212
211213
212214
213215 @Callable(am)
214216 func claim (v) = {
215217 let T = u(v)
216218 let az = H(v)
217219 let J = az._1
218220 let I = az._2
219221 let aA = D(v)
220222 let S = aA._1
221223 let F = aA._2
222224 let U = aA._3
223225 let aB = aa(v, am.caller)
224226 let ah = aB._1
225227 let af = aB._2
226228 let ag = aB._3
227229 let Q = aB._4
228230 [IntegerEntry((((v + "_") + toString(am.caller)) + m), ah), IntegerEntry(((v + "_") + j), af), IntegerEntry(((v + "_") + k), height), Reissue(q, ag, true), ScriptTransfer(am.caller, ag, q)]
229231 }
230232
231233

github/deemru/w8io/169f3d6 
58.01 ms