tx · BbhcG5wqhw3UHuJYnYJhNWLoHsdBHr2xhfhry6SLCp1h

3MyTUSFjgJWsmoQEBpeF3N1bmtdr2XMS1uU:  -0.01400000 Waves

2020.12.12 20:09 [1305726] smart account 3MyTUSFjgJWsmoQEBpeF3N1bmtdr2XMS1uU > SELF 0.00000000 Waves

{ "type": 13, "id": "BbhcG5wqhw3UHuJYnYJhNWLoHsdBHr2xhfhry6SLCp1h", "fee": 1400000, "feeAssetId": null, "timestamp": 1607793031609, "version": 1, "sender": "3MyTUSFjgJWsmoQEBpeF3N1bmtdr2XMS1uU", "senderPublicKey": "HNibf5h44NsszRrbctryRBWzFba3biyjEoufpZuraEha", "proofs": [ "4bxoyGvBioc9aMGJi3UgZDByv86vxvEB8gXTpMUXdf1zmcisgarVkkMBAsGBjsSCivxN2DQcpPHKs9QndJTsZyVj" ], "script": "base64:AAIEAAAAAAAAABkIAhIAEgMKAQgSAwoBCBIECgIIARIDCgEIAAAAHQAAAAAMYWRtaW5QdWJLZXkxAQAAACAQsOLq5CB1W9qjcQbPak46dbMqu5F1eul3gOhttbJnHwAAAAAMYWRtaW5QdWJLZXkyAQAAACAQsOLq5CB1W9qjcQbPak46dbMqu5F1eul3gOhttbJnHwAAAAAMYWRtaW5QdWJLZXkzAQAAACAQsOLq5CB1W9qjcQbPak46dbMqu5F1eul3gOhttbJnHwAAAAAUYWRtaW5QdWJLZXlTdGFydFN0b3ABAAAAIBCw4urkIHVb2qNxBs9qTjp1syq7kXV66XeA6G21smcfAAAAABJhZG1pblB1YktleVN0YWtpbmcBAAAAIBCw4urkIHVb2qNxBs9qTjp1syq7kXV66XeA6G21smcfAAAAABRrZXlTaGFyZVRva2Vuc0xvY2tlZAIAAAAaX3RvdGFsX3NoYXJlX3Rva2Vuc19sb2NrZWQAAAAAEGtleUN1cnJlbnRSZXdhcmQCAAAAD19jdXJyZW50X3Jld2FyZAAAAAAVa2V5UmV3YXJkVXBkYXRlSGVpZ2h0AgAAABVfcmV3YXJkX3VwZ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AAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACBQAAAARwb29sAgAAAAFfBQAAAA9rZXlMYXN0SW50ZXJlc3QFAAAAD2N1cnJlbnRJbnRlcmVzdAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACCQABLAAAAAIFAAAABHBvb2wCAAAAAV8FAAAAFWtleUxhc3RJbnRlcmVzdEhlaWdodAUAAAAGaGVpZ2h0CQAETAAAAAIJAQAAAAdSZWlzc3VlAAAAAwUAAAAEU1dPUAUAAAALY2xhaW1BbW91bnQGCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgUAAAALY2xhaW1BbW91bnQFAAAABFNXT1AFAAAAA25pbAAAAABUW1pS", "chainId": 84, "height": 1305726, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DtFKtCyuBeViRRjefk5R1Ar5Q27Bv2szGs1Te956Ej5G Next: 6bX1SqJdoykj1Viwmbr4nAu3QB9t4d1B6u8D4fQsnbEM Diff:
OldNewDifferences
114114
115115 func aa (v,ab) = {
116116 let V = w(v)
117- let W = x(q, V)
118- let T = u(v)
119- let ac = H(v)
120- let J = ac._1
121- let I = ac._2
122- let ad = D(v)
123- let S = ad._1
124- let F = ad._2
125- let U = ad._3
126- let ae = K(v, ab)
127- let M = ae._1
128- let Q = ae._2
129- let af = R(J, F, I, S, T, U, V, W)
130- let ag = fraction(Q, (af - M), W)
131- let ah = af
132- $Tuple4(ah, af, ag, Q)
117+ if (true)
118+ then throw("111")
119+ else {
120+ let W = x(q, V)
121+ let T = u(v)
122+ let ac = H(v)
123+ let J = ac._1
124+ let I = ac._2
125+ let ad = D(v)
126+ let S = ad._1
127+ let F = ad._2
128+ let U = ad._3
129+ let ae = K(v, ab)
130+ let M = ae._1
131+ let Q = ae._2
132+ let af = R(J, F, I, S, T, U, V, W)
133+ let ag = fraction(Q, (af - M), W)
134+ let ah = af
135+ $Tuple4(ah, af, ag, Q)
136+ }
133137 }
134138
135139
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
4949 func w (v) = fromBase58String(getStringValue(this, (v + "share_asset_id")))
5050
5151
5252 func x (y,z) = {
5353 let A = value(assetInfo(y)).decimals
5454 let B = value(assetInfo(z)).decimals
5555 let C = ((B - A) + 8)
5656 pow(10, 0, C, 0, 0, HALFDOWN)
5757 }
5858
5959
6060 func D (v) = {
6161 let E = valueOrErrorMessage(getInteger(p, (v + g)), (((("No data on the key: " + v) + g) + " at address ") + toString(p)))
6262 let F = valueOrErrorMessage(getInteger(p, (v + h)), (((("No data on the key: " + v) + h) + " at address ") + toString(p)))
6363 let G = valueOrErrorMessage(getInteger(p, (v + h)), (((("No data on the key: " + v) + i) + " at address ") + toString(p)))
6464 $Tuple3(E, F, G)
6565 }
6666
6767
6868 func H (v) = {
6969 let I = valueOrErrorMessage(getInteger(this, (v + j)), (((("No data on the key: " + v) + "_") + v) + j))
7070 let J = valueOrErrorMessage(getInteger(this, (v + k)), (("No data on the key: " + v) + k))
7171 $Tuple2(J, I)
7272 }
7373
7474
7575 func K (v,L) = {
7676 let M = getInteger(this, (((v + "_") + toString(L)) + m))
7777 let N = getInteger(this, (((v + "_") + toString(L)) + l))
7878 let O = {
7979 let P = M
8080 if ($isInstanceOf(P, "Int"))
8181 then {
8282 let M = P
8383 M
8484 }
8585 else 0
8686 }
8787 let Q = {
8888 let P = N
8989 if ($isInstanceOf(P, "Int"))
9090 then {
9191 let N = P
9292 N
9393 }
9494 else 0
9595 }
9696 $Tuple2(O, Q)
9797 }
9898
9999
100100 func R (J,F,I,S,T,U,V,W) = if ((J > F))
101101 then if ((T == 0))
102102 then 0
103103 else {
104104 let X = (S * (height - J))
105105 (I + fraction(X, W, T))
106106 }
107107 else {
108108 let Y = (U * (F - J))
109109 let Z = (I + fraction(Y, W, T))
110110 let X = (S * (height - F))
111111 (Z + fraction(X, W, T))
112112 }
113113
114114
115115 func aa (v,ab) = {
116116 let V = w(v)
117- let W = x(q, V)
118- let T = u(v)
119- let ac = H(v)
120- let J = ac._1
121- let I = ac._2
122- let ad = D(v)
123- let S = ad._1
124- let F = ad._2
125- let U = ad._3
126- let ae = K(v, ab)
127- let M = ae._1
128- let Q = ae._2
129- let af = R(J, F, I, S, T, U, V, W)
130- let ag = fraction(Q, (af - M), W)
131- let ah = af
132- $Tuple4(ah, af, ag, Q)
117+ if (true)
118+ then throw("111")
119+ else {
120+ let W = x(q, V)
121+ let T = u(v)
122+ let ac = H(v)
123+ let J = ac._1
124+ let I = ac._2
125+ let ad = D(v)
126+ let S = ad._1
127+ let F = ad._2
128+ let U = ad._3
129+ let ae = K(v, ab)
130+ let M = ae._1
131+ let Q = ae._2
132+ let af = R(J, F, I, S, T, U, V, W)
133+ let ag = fraction(Q, (af - M), W)
134+ let ah = af
135+ $Tuple4(ah, af, ag, Q)
136+ }
133137 }
134138
135139
136140 func ai (v,aj) = {
137141 let ak = value(addressFromString(getStringValue(this, (v + o))))
138142 let al = fromBase58String(getStringValue(ak, "share_asset_id"))
139143 if ((aj == al))
140144 then true
141145 else false
142146 }
143147
144148
145149 @Callable(am)
146150 func init () = if (!(containsElement([a, b, c], am.callerPublicKey)))
147151 then throw("Only admin can call this function")
148152 else {
149153 let an = Issue("SWOP", "SWOP protocol token", 1, 8, true)
150154 let ao = calculateAssetId(an)
151155 [Issue("SWOP", "SWOP protocol token", 1, 8, true), StringEntry(n, toBase58String(ao))]
152156 }
153157
154158
155159
156160 @Callable(am)
157161 func initPoolShareLocking (v) = if (!(containsElement([a, b, c], am.callerPublicKey)))
158162 then throw("Only admin can call this function")
159163 else {
160164 let ap = D(v)
161165 let E = ap._1
162166 let F = ap._2
163167 let U = ap._3
164168 [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)]
165169 }
166170
167171
168172
169173 @Callable(am)
170174 func lockShareTokens (v) = {
171175 let aq = $Tuple2(am.payments[0].amount, am.payments[0].assetId)
172176 let ar = aq._1
173177 let aj = aq._2
174178 if (!(ai(v, aj)))
175179 then throw("Incorrect pmtAssetId")
176180 else {
177181 let as = aa(v, am.caller)
178182 let ah = as._1
179183 let af = as._2
180184 let ag = as._3
181185 let Q = as._4
182186 let at = (Q + ar)
183187 let au = u(v)
184188 let av = (au + ar)
185189 [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)]
186190 }
187191 }
188192
189193
190194
191195 @Callable(am)
192196 func withdrawShareTokens (v,aw) = {
193197 let ax = aa(v, am.caller)
194198 let ah = ax._1
195199 let af = ax._2
196200 let ag = ax._3
197201 let Q = ax._4
198202 if ((aw > Q))
199203 then throw("Withdraw amount more then user locked amount")
200204 else {
201205 let at = (Q - aw)
202206 let ay = fromBase58String(getStringValue(this, (v + "share_asset_id")))
203207 [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)]
204208 }
205209 }
206210
207211
208212
209213 @Callable(am)
210214 func claim (v) = {
211215 let T = u(v)
212216 let az = H(v)
213217 let J = az._1
214218 let I = az._2
215219 let aA = D(v)
216220 let S = aA._1
217221 let F = aA._2
218222 let U = aA._3
219223 let aB = aa(v, am.caller)
220224 let ah = aB._1
221225 let af = aB._2
222226 let ag = aB._3
223227 let Q = aB._4
224228 [IntegerEntry((((v + "_") + toString(am.caller)) + m), ah), IntegerEntry(((v + "_") + j), af), IntegerEntry(((v + "_") + k), height), Reissue(q, ag, true), ScriptTransfer(am.caller, ag, q)]
225229 }
226230
227231

github/deemru/w8io/169f3d6 
47.02 ms