tx · FCiBsZ8dsmk2EiddqMAuS98FM3d7vpmAD9SSCva8EyD1

3MvenppyAqkqbJvpemDnU6P5dvSJ9fvRxRg:  -0.01400000 Waves

2020.12.12 18:15 [1305612] smart account 3MvenppyAqkqbJvpemDnU6P5dvSJ9fvRxRg > SELF 0.00000000 Waves

{ "type": 13, "id": "FCiBsZ8dsmk2EiddqMAuS98FM3d7vpmAD9SSCva8EyD1", "fee": 1400000, "feeAssetId": null, "timestamp": 1607786141215, "version": 1, "sender": "3MvenppyAqkqbJvpemDnU6P5dvSJ9fvRxRg", "senderPublicKey": "38RJPSAs2g6F7P5zT5FJ6BAc1DyReFGja2vkw8rSz3ga", "proofs": [ "4EurN5wJCUhTTHqHUHCvx9xXhHRFS6ojPLPY2pMbjSMVZ6ucbmTryzQ4uGWhLxiBUDuSqVAH2VUL185CHtSaLW1K" ], "script": "base64:AAIEAAAAAAAAABkIAhIAEgMKAQgSAwoBCBIECgIIARIDCgEIAAAAHAAAAAAMYWRtaW5QdWJLZXkxAQAAACAQsOLq5CB1W9qjcQbPak46dbMqu5F1eul3gOhttbJnHwAAAAAMYWRtaW5QdWJLZXkyAQAAACAQsOLq5CB1W9qjcQbPak46dbMqu5F1eul3gOhttbJnHwAAAAAMYWRtaW5QdWJLZXkzAQAAACAQsOLq5CB1W9qjcQbPak46dbMqu5F1eul3gOhttbJnHwAAAAAUYWRtaW5QdWJLZXlTdGFydFN0b3ABAAAAIBCw4urkIHVb2qNxBs9qTjp1syq7kXV66XeA6G21smcfAAAAABJhZG1pblB1YktleVN0YWtpbmcBAAAAIBCw4urkIHVb2qNxBs9qTjp1syq7kXV66XeA6G21smcfAAAAABRrZXlTaGFyZVRva2Vuc0xvY2tlZAIAAAAaX3RvdGFsX3NoYXJlX3Rva2Vuc19sb2NrZWQAAAAAEGtleUN1cnJlbnRSZXdhcmQCAAAAD19jdXJyZW50X3Jld2FyZAAAAAAVa2V5UmV3YXJkVXBkYXRlSGVpZ2h0AgAAABVfcmV3YXJk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gQAAAALY2xhaW1BbW91bnQIBQAAAAskdDA4ODY5OTI3NQAAAAJfMwQAAAAVdXNlclNoYXJlVG9rZW5zQW1vdW50CAUAAAALJHQwODg2OTkyNzUAAAACXzQJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAABHBvb2wCAAAAAV8JAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyBQAAABNrZXlVc2VyTGFzdEludGVyZXN0BQAAAA91c2VyTmV3SW50ZXJlc3QJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACBQAAAARwb29sAgAAAAFfBQAAAA9rZXlMYXN0SW50ZXJlc3QFAAAAD2N1cnJlbnRJbnRlcmVzdAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACCQABLAAAAAIFAAAABHBvb2wCAAAAAV8FAAAAFWtleUxhc3RJbnRlcmVzdEhlaWdodAUAAAAGaGVpZ2h0CQAETAAAAAIJAQAAAAdSZWlzc3VlAAAAAwUAAAAEU1dPUAUAAAALY2xhaW1BbW91bnQGCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgUAAAALY2xhaW1BbW91bnQFAAAABFNXT1AFAAAAA25pbAAAAABR8rJA", "chainId": 84, "height": 1305612, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4EPhCxKFNd8qQcN9AvNFvwKetpDasBwoE3S9VJGe1yc4 Next: 89Z34oM5WLJYf1gZGtgsh7UAd8zFdd7A344bsUBPpptK Diff:
OldNewDifferences
4545 func u () = throw("DApp is already active")
4646
4747
48-func v (w) = valueOrErrorMessage(getInteger(this, (w + f)), (("No data on the key: " + w) + f))
48+func v (w) = if (true)
49+ then throw((w + f))
50+ else valueOrErrorMessage(getInteger(this, (w + f)), (("No data on the key: " + w) + f))
4951
5052
5153 func x (w) = {
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 = 100000000
3939
4040 let s = getIntegerValue(this, "height_reward_update")
4141
4242 func t () = throw("Only admin can call this function")
4343
4444
4545 func u () = throw("DApp is already active")
4646
4747
48-func v (w) = valueOrErrorMessage(getInteger(this, (w + f)), (("No data on the key: " + w) + f))
48+func v (w) = if (true)
49+ then throw((w + f))
50+ else valueOrErrorMessage(getInteger(this, (w + f)), (("No data on the key: " + w) + f))
4951
5052
5153 func x (w) = {
5254 let y = valueOrErrorMessage(getInteger(p, (w + g)), (((("No data on the key: " + w) + g) + " at address ") + toString(p)))
5355 let z = valueOrErrorMessage(getInteger(p, (w + h)), (((("No data on the key: " + w) + h) + " at address ") + toString(p)))
5456 let A = valueOrErrorMessage(getInteger(p, (w + h)), (((("No data on the key: " + w) + i) + " at address ") + toString(p)))
5557 $Tuple3(y, z, A)
5658 }
5759
5860
5961 func B (w) = {
6062 let C = valueOrErrorMessage(getInteger(this, (w + j)), (((("No data on the key: " + w) + "_") + w) + j))
6163 let D = valueOrErrorMessage(getInteger(this, (w + k)), (("No data on the key: " + w) + k))
6264 $Tuple2(D, C)
6365 }
6466
6567
6668 func E (w,F) = {
6769 let G = getInteger(this, (((w + "_") + toString(F)) + m))
6870 let H = getInteger(this, (((w + "_") + toString(F)) + l))
6971 let I = {
7072 let J = G
7173 if ($isInstanceOf(J, "Int"))
7274 then {
7375 let G = J
7476 G
7577 }
7678 else 0
7779 }
7880 let K = {
7981 let J = H
8082 if ($isInstanceOf(J, "Int"))
8183 then {
8284 let H = J
8385 H
8486 }
8587 else 0
8688 }
8789 $Tuple2(I, K)
8890 }
8991
9092
9193 func L (D,z,C,M,N,O) = if ((D > z))
9294 then if ((N == 0))
9395 then 0
9496 else {
9597 let P = (M * (height - D))
9698 ((C * r) + fraction(P, r, N))
9799 }
98100 else {
99101 let Q = (O * (z - D))
100102 let R = ((C * r) + fraction(Q, r, N))
101103 let P = (M * (height - z))
102104 ((R * r) + fraction(P, r, N))
103105 }
104106
105107
106108 func S (w,T) = {
107109 let N = v(w)
108110 if (true)
109111 then throw(toString(N))
110112 else {
111113 let U = B(w)
112114 let D = U._1
113115 let C = U._2
114116 let V = x(w)
115117 let M = V._1
116118 let z = V._2
117119 let O = V._3
118120 let W = E(w, T)
119121 let G = W._1
120122 let K = W._2
121123 let X = L(D, z, C, M, N, O)
122124 let Y = fraction(K, (X - (G * r)), r)
123125 let Z = X
124126 $Tuple4(Z, X, Y, K)
125127 }
126128 }
127129
128130
129131 func aa (w,ab) = {
130132 let ac = value(addressFromString(getStringValue(this, (w + o))))
131133 let ad = fromBase58String(getStringValue(ac, "share_asset_id"))
132134 if ((ab == ad))
133135 then true
134136 else false
135137 }
136138
137139
138140 @Callable(ae)
139141 func init () = if (!(containsElement([a, b, c], ae.callerPublicKey)))
140142 then throw("Only admin can call this function")
141143 else {
142144 let af = Issue("SWOP", "SWOP protocol token", 1, 8, true)
143145 let ag = calculateAssetId(af)
144146 [Issue("SWOP", "SWOP protocol token", 1, 8, true), StringEntry(n, toBase58String(ag))]
145147 }
146148
147149
148150
149151 @Callable(ae)
150152 func initPoolShareLocking (w) = if (!(containsElement([a, b, c], ae.callerPublicKey)))
151153 then throw("Only admin can call this function")
152154 else {
153155 let ah = x(w)
154156 let y = ah._1
155157 let z = ah._2
156158 let O = ah._3
157159 [StringEntry((w + o), w), IntegerEntry((w + f), 0), IntegerEntry((w + g), 0), IntegerEntry((w + j), 0), IntegerEntry((w + k), height), IntegerEntry((w + h), z), IntegerEntry((w + i), O)]
158160 }
159161
160162
161163
162164 @Callable(ae)
163165 func lockShareTokens (w) = {
164166 let ai = $Tuple2(ae.payments[0].amount, ae.payments[0].assetId)
165167 let aj = ai._1
166168 let ab = ai._2
167169 if (!(aa(w, ab)))
168170 then throw("Incorrect pmtAssetId")
169171 else {
170172 let ak = S(w, ae.caller)
171173 let Z = ak._1
172174 let X = ak._2
173175 let Y = ak._3
174176 let K = ak._4
175177 let al = (K + aj)
176178 [IntegerEntry((((w + "_") + toString(ae.caller)) + m), Z), IntegerEntry((((w + "_") + toString(ae.caller)) + l), al), IntegerEntry((w + j), X), IntegerEntry((w + k), height), Reissue(q, Y, true), ScriptTransfer(ae.caller, Y, q)]
177179 }
178180 }
179181
180182
181183
182184 @Callable(ae)
183185 func withdrawShareTokens (w,am) = {
184186 let an = S(w, ae.caller)
185187 let Z = an._1
186188 let X = an._2
187189 let Y = an._3
188190 let K = an._4
189191 if ((am > K))
190192 then throw("Withdraw amount more then user locked amount")
191193 else {
192194 let al = (K - am)
193195 let ao = fromBase58String(getStringValue(this, (w + "share_asset_id")))
194196 [IntegerEntry((((w + "_") + toString(ae.caller)) + m), Z), IntegerEntry((((w + "_") + toString(ae.caller)) + l), al), IntegerEntry((w + j), X), IntegerEntry((w + k), height), Reissue(q, Y, true), ScriptTransfer(ae.caller, Y, q), ScriptTransfer(ae.caller, am, ao)]
195197 }
196198 }
197199
198200
199201
200202 @Callable(ae)
201203 func claim (w) = {
202204 let N = v(w)
203205 let ap = B(w)
204206 let D = ap._1
205207 let C = ap._2
206208 let aq = x(w)
207209 let M = aq._1
208210 let z = aq._2
209211 let O = aq._3
210212 let ar = S(w, ae.caller)
211213 let Z = ar._1
212214 let X = ar._2
213215 let Y = ar._3
214216 let K = ar._4
215217 [IntegerEntry((((w + "_") + toString(ae.caller)) + m), Z), IntegerEntry(((w + "_") + j), X), IntegerEntry(((w + "_") + k), height), Reissue(q, Y, true), ScriptTransfer(ae.caller, Y, q)]
216218 }
217219
218220

github/deemru/w8io/169f3d6 
58.07 ms