tx · FVg8nvqDPZ9bPpDH3yzeezxZSccLU6Em2Ti4AFZZC4wB

3MvenppyAqkqbJvpemDnU6P5dvSJ9fvRxRg:  -0.01400000 Waves

2020.12.12 16:53 [1305530] smart account 3MvenppyAqkqbJvpemDnU6P5dvSJ9fvRxRg > SELF 0.00000000 Waves

{ "type": 13, "id": "FVg8nvqDPZ9bPpDH3yzeezxZSccLU6Em2Ti4AFZZC4wB", "fee": 1400000, "feeAssetId": null, "timestamp": 1607781257032, "version": 1, "sender": "3MvenppyAqkqbJvpemDnU6P5dvSJ9fvRxRg", "senderPublicKey": "38RJPSAs2g6F7P5zT5FJ6BAc1DyReFGja2vkw8rSz3ga", "proofs": [ "2dnuvbuao7W6SkXXHHJxEFFRUzxJq2bQtYfMiF4r3XtAYDDoMShdg4sqSu5A9rPQ5h4nM99cy1EK3aeK9EoNL1FE" ], "script": "base64:AAIEAAAAAAAAABcIAhIDCgEIEgMKAQgSBAoCCAESAwoBCAAAABsAAAAADGFkbWluUHViS2V5MQEAAAAgELDi6uQgdVvao3EGz2pOOnWzKruRdXrpd4DobbWyZx8AAAAADGFkbWluUHViS2V5MgEAAAAgELDi6uQgdVvao3EGz2pOOnWzKruRdXrpd4DobbWyZx8AAAAADGFkbWluUHViS2V5MwEAAAAgELDi6uQgdVvao3EGz2pOOnWzKruRdXrpd4DobbWyZx8AAAAAFGFkbWluUHViS2V5U3RhcnRTdG9wAQAAACAQsOLq5CB1W9qjcQbPak46dbMqu5F1eul3gOhttbJnHwAAAAASYWRtaW5QdWJLZXlTdGFraW5nAQAAACAQsOLq5CB1W9qjcQbPak46dbMqu5F1eul3gOhttbJnHwAAAAAUa2V5U2hhcmVUb2tlbnNMb2NrZWQCAAAAGl90b3RhbF9zaGFyZV90b2tlbnNfbG9ja2VkAAAAABBrZXlDdXJyZW50UmV3YXJkAgAAAA9fY3VycmVudF9yZXdhcmQAAAAAFWtleVJld2FyZFVwZGF0ZUhlaWdodAIAAAAVX3Jld2FyZF91cGRhdG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AAAIFAAAABHBvb2wCAAAAAV8FAAAAFWtleUxhc3RJbnRlcmVzdEhlaWdodAUAAAAGaGVpZ2h0CQAETAAAAAIJAQAAAAdSZWlzc3VlAAAAAwUAAAAEU1dPUAUAAAALY2xhaW1BbW91bnQGCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgUAAAALY2xhaW1BbW91bnQFAAAABFNXT1AFAAAAA25pbAAAAACMN1MO", "chainId": 84, "height": 1305530, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HoRR45b7EJStnnyLM8yktXeWDZtAjkfopcuwfG19XUss Next: CdBzULvBmaCS2jxdw33rfQrF3NkFLz4Raok4wFyjEfV8 Diff:
OldNewDifferences
4343 func t () = throw("DApp is already active")
4444
4545
46-func u (v) = if (true)
47- then throw((v + l))
48- else valueOrErrorMessage(getInteger(this, (v + l)), (("No data on the key: " + v) + f))
46+func u (v) = valueOrErrorMessage(getInteger(this, (v + f)), (("No data on the key: " + v) + f))
4947
5048
5149 func w (v) = {
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_index"
2929
3030 let n = "_address"
3131
3232 let o = Address(base58'3N5F5DCmWNzT8ZPe1tBfiXaVYzWJriaJZ9E')
3333
3434 let p = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p'
3535
3636 let q = 100000000
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
46-func u (v) = if (true)
47- then throw((v + l))
48- else valueOrErrorMessage(getInteger(this, (v + l)), (("No data on the key: " + v) + f))
46+func u (v) = valueOrErrorMessage(getInteger(this, (v + f)), (("No data on the key: " + v) + f))
4947
5048
5149 func w (v) = {
5250 let x = valueOrErrorMessage(getInteger(o, (v + g)), (((("No data on the key: " + v) + g) + " at address ") + toString(o)))
5351 let y = valueOrErrorMessage(getInteger(o, (v + h)), (((("No data on the key: " + v) + h) + " at address ") + toString(o)))
5452 let z = valueOrErrorMessage(getInteger(o, (v + h)), (((("No data on the key: " + v) + i) + " at address ") + toString(o)))
5553 $Tuple3(x, y, z)
5654 }
5755
5856
5957 func A (v) = {
6058 let B = valueOrErrorMessage(getInteger(this, (v + j)), (((("No data on the key: " + v) + "_") + v) + j))
6159 let C = valueOrErrorMessage(getInteger(this, (v + k)), (("No data on the key: " + v) + k))
6260 $Tuple2(C, B)
6361 }
6462
6563
6664 func D (v,E) = {
6765 let F = getInteger(this, (((v + "_") + toString(E)) + m))
6866 let G = getInteger(this, (((v + "_") + toString(E)) + l))
6967 let H = {
7068 let I = F
7169 if ($isInstanceOf(I, "Int"))
7270 then {
7371 let F = I
7472 F
7573 }
7674 else 0
7775 }
7876 let J = {
7977 let I = G
8078 if ($isInstanceOf(I, "Int"))
8179 then {
8280 let G = I
8381 G
8482 }
8583 else 0
8684 }
8785 $Tuple2(H, J)
8886 }
8987
9088
9189 func K (C,y,B,L,M,N) = if ((C > y))
9290 then {
9391 let O = (L * (height - C))
9492 ((B * q) + fraction(O, q, M))
9593 }
9694 else {
9795 let P = (N * (y - C))
9896 let Q = ((B * q) + fraction(P, q, M))
9997 let O = (L * (height - y))
10098 ((Q * q) + fraction(O, q, M))
10199 }
102100
103101
104102 func R (v,S) = {
105103 let M = u(v)
106104 let T = A(v)
107105 let C = T._1
108106 let B = T._2
109107 let U = w(v)
110108 let L = U._1
111109 let y = U._2
112110 let N = U._3
113111 let V = D(v, S)
114112 let F = V._1
115113 let J = V._2
116114 let W = K(C, y, B, L, M, N)
117115 let X = fraction(J, (W - (F * q)), q)
118116 let Y = W
119117 $Tuple4(Y, W, X, J)
120118 }
121119
122120
123121 func Z (v,aa) = {
124122 let ab = value(addressFromString(getStringValue(this, (v + n))))
125123 let ac = fromBase58String(getStringValue(ab, "share_asset_id"))
126124 if ((aa == ac))
127125 then true
128126 else false
129127 }
130128
131129
132130 @Callable(ad)
133131 func initPoolShareLocking (v) = if (!(containsElement([a, b, c], ad.callerPublicKey)))
134132 then throw("Only admin can call this function")
135133 else {
136134 let ae = w(v)
137135 let x = ae._1
138136 let y = ae._2
139137 let N = ae._3
140138 [StringEntry((v + n), v), IntegerEntry((v + f), 0), IntegerEntry((v + g), 0), IntegerEntry((v + j), 0), IntegerEntry((v + k), height), IntegerEntry((v + h), y), IntegerEntry((v + i), N)]
141139 }
142140
143141
144142
145143 @Callable(ad)
146144 func lockShareTokens (v) = {
147145 let af = $Tuple2(ad.payments[0].amount, ad.payments[0].assetId)
148146 let ag = af._1
149147 let aa = af._2
150148 if (!(Z(v, aa)))
151149 then throw("Incorrect pmtAssetId")
152150 else {
153151 let ah = R(v, ad.caller)
154152 let Y = ah._1
155153 let W = ah._2
156154 let X = ah._3
157155 let J = ah._4
158156 let ai = (J + ag)
159157 [IntegerEntry((((v + "_") + toString(ad.caller)) + m), Y), IntegerEntry((((v + "_") + toString(ad.caller)) + l), ai), IntegerEntry((v + j), W), IntegerEntry((v + k), height), Reissue(p, X, true), ScriptTransfer(ad.caller, X, p)]
160158 }
161159 }
162160
163161
164162
165163 @Callable(ad)
166164 func withdrawShareTokens (v,aj) = {
167165 let ak = R(v, ad.caller)
168166 let Y = ak._1
169167 let W = ak._2
170168 let X = ak._3
171169 let J = ak._4
172170 if ((aj > J))
173171 then throw("Withdraw amount more then user locked amount")
174172 else {
175173 let ai = (J - aj)
176174 let al = fromBase58String(getStringValue(this, (v + "share_asset_id")))
177175 [IntegerEntry((((v + "_") + toString(ad.caller)) + m), Y), IntegerEntry((((v + "_") + toString(ad.caller)) + l), ai), IntegerEntry((v + j), W), IntegerEntry((v + k), height), Reissue(p, X, true), ScriptTransfer(ad.caller, X, p), ScriptTransfer(ad.caller, aj, al)]
178176 }
179177 }
180178
181179
182180
183181 @Callable(ad)
184182 func claim (v) = {
185183 let M = u(v)
186184 let am = A(v)
187185 let C = am._1
188186 let B = am._2
189187 let an = w(v)
190188 let L = an._1
191189 let y = an._2
192190 let N = an._3
193191 let ao = D(v, ad.caller)
194192 let F = ao._1
195193 let G = ao._2
196194 let W = K(C, y, B, L, M, N)
197195 let X = fraction(G, (W - (F * q)), q)
198196 let Y = W
199197 [IntegerEntry((((v + "_") + toString(ad.caller)) + m), Y), IntegerEntry(((v + "_") + j), W), IntegerEntry(((v + "_") + k), height), Reissue(p, X, true), ScriptTransfer(ad.caller, X, p)]
200198 }
201199
202200

github/deemru/w8io/873ac7e 
43.07 ms