tx · B9idnqEtSr3GSrkwfyZADRFoV5Ngt5WJozXQDfqUrtjw

3MyfKzBNordUSxbv54zj1hxm98ojcDvaiXU:  -0.05000000 Waves

2021.10.14 17:30 [1746053] smart account 3MyfKzBNordUSxbv54zj1hxm98ojcDvaiXU > SELF 0.00000000 Waves

{ "type": 13, "id": "B9idnqEtSr3GSrkwfyZADRFoV5Ngt5WJozXQDfqUrtjw", "fee": 5000000, "feeAssetId": null, "timestamp": 1634221829262, "version": 2, "chainId": 84, "sender": "3MyfKzBNordUSxbv54zj1hxm98ojcDvaiXU", "senderPublicKey": "EhGswdVQkp8SXCWyKvRCUKYDidTrRjnzTPa8CZk6GYgN", "proofs": [ "3u5uwZDShgncGk78arfFDpFPtfp8kA9PK4h75cmVHLmJx9HgWq6J49AZZT6eo1AZKXtERf2bP23qKoRBD8PanVgi" ], "script": "base64:AAIFAAAAAAAAAEoIAhIDCgEIEgMKAQgSBwoFCAEIAQgSBAoCCAQSAwoBCBIDCgEIEgQKAggBEgQKAggBEgQKAggBEgMKAQgSBwoFCAgBCAgSAwoBCAAAAC4AAAAACmJhc2VGYWN0b3IAAAAAAAAAA+gAAAAACWJhc2VJbmRleAAAI4byb8EAAAAAAAANYmxvY2tzUGVyWWVhcgAAAAAAAAgFIAAAAAAGY29uZmlnCQEAAAALdmFsdWVPckVsc2UAAAACCQAEHQAAAAIFAAAABHRoaXMCAAAADWNvbmZpZ0FkZHJlc3MCAAAAAAAAAAAFYWRtaW4JAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQdAAAAAgkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQUAAAAGY29uZmlnAgAAAAVhZG1pbgIAAAAAAAAAAAt3YXZldHJvbGxlcgkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABB0AAAACCQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABBQAAAAZjb25maWcCAAAAC3dhdmV0cm9sbGVyAgAAAAAAAAAABm9yYWNsZQkBAAAAC3Zhb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nR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tlecklH0o=", "height": 1746053, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: JAQHG9ia53NYmzwNFBs3qNwh5Kk6PVBRojuoQ6DoZdDX Next: GXjmijv5qL6NGfhpbjdfLxJnxENywS1iN4WFAdGyCXXn Diff:
OldNewDifferences
142142 let ac = pow(10, 0, i, 0, 0, CEILING)
143143 let an = {
144144 let ao = invoke(addressFromStringValue(g), "getPrice", [h], nil)
145- let ap = ao
146- if ($isInstanceOf(ap, "Int"))
145+ if ((ao == ao))
147146 then {
148- let aq = ap
149- aq
147+ let ap = ao
148+ if ($isInstanceOf(ap, "Int"))
149+ then {
150+ let aq = ap
151+ aq
152+ }
153+ else throw("Price is not an Integer!")
150154 }
151- else throw("Price is not an Integer!")
155+ else throw("Strict value is not equal to itself.")
152156 }
153157 $Tuple2(nil, $Tuple3(am, an, ac))
154158 }
162166 let ac = pow(10, 0, i, 0, 0, CEILING)
163167 let an = {
164168 let ao = invoke(addressFromStringValue(g), "getPrice", [h], nil)
165- let ap = ao
166- if ($isInstanceOf(ap, "Int"))
169+ if ((ao == ao))
167170 then {
168- let aq = ap
169- aq
171+ let ap = ao
172+ if ($isInstanceOf(ap, "Int"))
173+ then {
174+ let aq = ap
175+ aq
176+ }
177+ else throw("Price is not an Integer!")
170178 }
171- else throw("Price is not an Integer!")
179+ else throw("Strict value is not equal to itself.")
172180 }
173181 $Tuple2(nil, $Tuple3(as, an, ac))
174182 }
187195 else ah(ai)
188196 let aA = af(ay)
189197 let an = invoke(addressFromStringValue(g), "getPrice", [h], nil)
190- let ap = an
191- if ($isInstanceOf(ap, "Int"))
198+ if ((an == an))
192199 then {
193- let aq = ap
194- let aB = fraction(o, aA, a)
195- let ac = pow(10, 0, i, 0, 0, CEILING)
196- let aC = fraction(aB, aq, ac)
197- let aD = fraction(az, aq, ac)
198- let aE = fraction(aD, a, p)
199- $Tuple2(nil, $Tuple2(aC, aE))
200+ let ap = an
201+ if ($isInstanceOf(ap, "Int"))
202+ then {
203+ let aq = ap
204+ let aB = fraction(o, aA, a)
205+ let ac = pow(10, 0, i, 0, 0, CEILING)
206+ let aC = fraction(aB, aq, ac)
207+ let aD = fraction(az, aq, ac)
208+ let aE = fraction(aD, a, p)
209+ $Tuple2(nil, $Tuple2(aC, aE))
210+ }
211+ else throw("Incorrect pricing")
200212 }
201- else throw("Incorrect pricing")
213+ else throw("Strict value is not equal to itself.")
202214 }
203215 else throw("Address does not match with wavetroller address!")
204216
309321 else throw("Pool already setup!")
310322
311323
324+
325+@Callable(al)
326+func deleteStorageEntry (G) = [DeleteEntry(G)]
327+
328+
312329 @Verifier(aV)
313330 func aW () = sigVerify(aV.bodyBytes, aV.proofs[0], aV.senderPublicKey)
314331
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = 1000
55
66 let b = 10000000000000000
77
88 let c = 525600
99
1010 let d = valueOrElse(getString(this, "configAddress"), "")
1111
1212 let e = valueOrElse(getString(addressFromStringValue(d), "admin"), "")
1313
1414 let f = valueOrElse(getString(addressFromStringValue(d), "wavetroller"), "")
1515
1616 let g = valueOrElse(getString(addressFromStringValue(d), "oracle"), "")
1717
1818 let h = valueOrErrorMessage(getString(this, "assetId"), "No assetId could be found in data storage!")
1919
2020 let i = valueOrErrorMessage(getInteger(addressFromStringValue(d), (h + "_Decimals")), (("No key " + (h + "_Decimals")) + " was found"))
2121
2222 let j = valueOrErrorMessage(getInteger(addressFromStringValue(d), (h + "_Multiplier")), (("No key " + (h + "_Multiplier")) + " was found"))
2323
2424 let k = valueOrErrorMessage(getInteger(addressFromStringValue(d), (h + "_Kink")), (("No key " + (h + "_Kink")) + " was found"))
2525
2626 let l = valueOrErrorMessage(getInteger(addressFromStringValue(d), (h + "_JumpMultiplier")), (("No key " + (h + "_JumpMultiplier")) + " was found"))
2727
2828 let m = valueOrErrorMessage(getInteger(addressFromStringValue(d), (h + "_BaseRate")), (("No key " + (h + "_BaseRate")) + " was found"))
2929
3030 let n = valueOrErrorMessage(getInteger(this, "baseExchangeRate"), "No key baseExchangeRate was found")
3131
3232 let o = valueOrErrorMessage(getInteger(addressFromStringValue(d), (h + "_CollateralFactor")), (("No key " + (h + "_CollateralFactor")) + " was found"))
3333
3434 let p = valueOrErrorMessage(getInteger(addressFromStringValue(d), (h + "_Threshold")), (("No key " + (h + "_Threshold")) + " was found"))
3535
3636 let q = valueOrErrorMessage(getInteger(addressFromStringValue(d), (h + "_ReserveFactor")), (("No key " + (h + "_ReserveFactor")) + " was found"))
3737
3838 let r = valueOrElse(getInteger(this, "totalBorrow"), 0)
3939
4040 let s = valueOrElse(getInteger(this, "totalSupply"), 0)
4141
4242 let t = valueOrElse(getInteger(this, "totalReserve"), 0)
4343
4444 let u = valueOrErrorMessage(getInteger(this, "dTokenSupply"), "No key dTokenSupply was found")
4545
4646 let v = valueOrErrorMessage(getInteger(this, "dTokenDecimals"), "No key dTokenDecimals was found")
4747
4848 let w = valueOrErrorMessage(getString(this, "dTokenId"), "No key dTokenId was found")
4949
5050 let x = valueOrErrorMessage(getString(this, "dTokenName"), "No key dTokenName was found")
5151
5252 let y = valueOrElse(getInteger(this, "storedHeight"), height)
5353
5454 let z = valueOrElse(getInteger(this, "storedIndex"), 10000000000000000)
5555
5656 func A (B) = if ((addressFromStringValue(e) == B))
5757 then true
5858 else false
5959
6060
6161 func C (B) = if ((addressFromStringValue(f) == B))
6262 then true
6363 else false
6464
6565
6666 func D (E) = if ((E == h))
6767 then true
6868 else false
6969
7070
7171 func F (G,H) = StringEntry(G, H)
7272
7373
7474 func I (G,J) = IntegerEntry(G, J)
7575
7676
7777 func K (L) = valueOrElse(getInteger(this, (L + "_locked")), 0)
7878
7979
8080 let M = if ((s > 0))
8181 then fraction(r, a, s)
8282 else 0
8383
8484 let N = {
8585 let O = [M, k]
8686 let P = min(O)
8787 let Q = [0, (M - k)]
8888 let R = max(Q)
8989 ((fraction(j, P, a) + fraction(l, R, a)) + m)
9090 }
9191
9292 let S = fraction(fraction(N, M, a), (a - q), a)
9393
9494 let T = fraction(N, b, (c * a))
9595
9696 let U = (height - y)
9797
9898 let V = fraction(z, (b + (T * U)), b, CEILING)
9999
100100 let W = fraction(r, V, z)
101101
102102 let X = fraction(r, (T * U), b)
103103
104104 let Y = (s + fraction((a - q), X, a))
105105
106106 let Z = (t + fraction(q, X, a))
107107
108108 let aa = if ((u > 0))
109109 then {
110110 let ab = ((18 - v) + i)
111111 let ac = pow(10, 0, ab, 0, 0, CEILING)
112112 fraction(Y, ac, u)
113113 }
114114 else n
115115
116116 func ad (ae) = {
117117 let ab = ((18 - v) + i)
118118 let ac = pow(10, 0, ab, 0, 0, CEILING)
119119 fraction(ae, ac, aa)
120120 }
121121
122122
123123 func af (ag) = {
124124 let ab = ((18 - v) + i)
125125 let ac = pow(10, 0, ab, 0, 0, CEILING)
126126 fraction(ag, aa, ac)
127127 }
128128
129129
130130 func ah (ai) = {
131131 let aj = valueOrElse(getInteger(this, (ai + "_borrow")), 0)
132132 let ak = valueOrElse(getInteger(this, (ai + "_index")), 0)
133133 if ((ak > 0))
134134 then fraction(aj, V, ak)
135135 else 0
136136 }
137137
138138
139139 @Callable(al)
140140 func getBorrowUSD (ai) = {
141141 let am = ah(ai)
142142 let ac = pow(10, 0, i, 0, 0, CEILING)
143143 let an = {
144144 let ao = invoke(addressFromStringValue(g), "getPrice", [h], nil)
145- let ap = ao
146- if ($isInstanceOf(ap, "Int"))
145+ if ((ao == ao))
147146 then {
148- let aq = ap
149- aq
147+ let ap = ao
148+ if ($isInstanceOf(ap, "Int"))
149+ then {
150+ let aq = ap
151+ aq
152+ }
153+ else throw("Price is not an Integer!")
150154 }
151- else throw("Price is not an Integer!")
155+ else throw("Strict value is not equal to itself.")
152156 }
153157 $Tuple2(nil, $Tuple3(am, an, ac))
154158 }
155159
156160
157161
158162 @Callable(al)
159163 func getCollateralUSD (ai) = {
160164 let ar = valueOrElse(getInteger(this, (ai + "_locked")), 0)
161165 let as = af(ar)
162166 let ac = pow(10, 0, i, 0, 0, CEILING)
163167 let an = {
164168 let ao = invoke(addressFromStringValue(g), "getPrice", [h], nil)
165- let ap = ao
166- if ($isInstanceOf(ap, "Int"))
169+ if ((ao == ao))
167170 then {
168- let aq = ap
169- aq
171+ let ap = ao
172+ if ($isInstanceOf(ap, "Int"))
173+ then {
174+ let aq = ap
175+ aq
176+ }
177+ else throw("Price is not an Integer!")
170178 }
171- else throw("Price is not an Integer!")
179+ else throw("Strict value is not equal to itself.")
172180 }
173181 $Tuple2(nil, $Tuple3(as, an, ac))
174182 }
175183
176184
177185
178186 @Callable(al)
179187 func getUserHealthParameter (ai,at,au,av,aw) = if (C(al.caller))
180188 then {
181189 let ax = valueOrElse(getInteger(this, (ai + "_locked")), 0)
182190 let ay = if ((w == au))
183191 then (ax - at)
184192 else ax
185193 let az = if ((aw == h))
186194 then (ah(ai) + av)
187195 else ah(ai)
188196 let aA = af(ay)
189197 let an = invoke(addressFromStringValue(g), "getPrice", [h], nil)
190- let ap = an
191- if ($isInstanceOf(ap, "Int"))
198+ if ((an == an))
192199 then {
193- let aq = ap
194- let aB = fraction(o, aA, a)
195- let ac = pow(10, 0, i, 0, 0, CEILING)
196- let aC = fraction(aB, aq, ac)
197- let aD = fraction(az, aq, ac)
198- let aE = fraction(aD, a, p)
199- $Tuple2(nil, $Tuple2(aC, aE))
200+ let ap = an
201+ if ($isInstanceOf(ap, "Int"))
202+ then {
203+ let aq = ap
204+ let aB = fraction(o, aA, a)
205+ let ac = pow(10, 0, i, 0, 0, CEILING)
206+ let aC = fraction(aB, aq, ac)
207+ let aD = fraction(az, aq, ac)
208+ let aE = fraction(aD, a, p)
209+ $Tuple2(nil, $Tuple2(aC, aE))
210+ }
211+ else throw("Incorrect pricing")
200212 }
201- else throw("Incorrect pricing")
213+ else throw("Strict value is not equal to itself.")
202214 }
203215 else throw("Address does not match with wavetroller address!")
204216
205217
206218
207219 @Callable(al)
208220 func deposit (ai,aF) = if (C(al.caller))
209221 then {
210222 let aG = ad(al.payments[0].amount)
211223 let aH = (u + aG)
212224 if (aF)
213225 then {
214226 let aI = (K(ai) + aG)
215227 $Tuple2([I((ai + "_locked"), aI), I("dTokenSupply", aH), I("totalBorrow", W), I("totalSupply", (Y + al.payments[0].amount)), I("totalReserve", Z), I("storedIndex", V), I("storedHeight", height), Reissue(fromBase58String(w), aG, true)], ((toString(al.payments[0].amount) + x) + "were successfully locked"))
216228 }
217229 else $Tuple2([I("dTokenSupply", aH), I("totalBorrow", W), I("totalSupply", (Y + al.payments[0].amount)), I("totalReserve", Z), I("storedIndex", V), I("storedHeight", height), Reissue(fromBase58String(w), aG, true), ScriptTransfer(al.caller, aG, fromBase58String(w))], aG)
218230 }
219231 else throw("Address does not match with wavetroller address!")
220232
221233
222234
223235 @Callable(al)
224236 func withdraw (ai) = if (C(al.caller))
225237 then {
226238 let aJ = (Y - W)
227239 let aK = af(al.payments[0].amount)
228240 if ((aJ >= aK))
229241 then $Tuple2([I("dTokenSupply", (u - al.payments[0].amount)), I("totalBorrow", W), I("totalSupply", (Y - aK)), I("totalReserve", Z), I("storedIndex", V), I("storedHeight", height), Burn(fromBase58String(w), al.payments[0].amount), if ((h == "WAVES"))
230242 then ScriptTransfer(al.caller, aK, unit)
231243 else ScriptTransfer(al.caller, aK, fromBase58String(h))], aK)
232244 else throw("Pool liquidity is not sufficient!")
233245 }
234246 else throw("Address does not match with wavetroller address!")
235247
236248
237249
238250 @Callable(al)
239251 func lockAsCollateral (ai) = if (C(al.caller))
240252 then {
241253 let aL = (K(ai) + al.payments[0].amount)
242254 $Tuple2([I((ai + "_locked"), aL), I("totalBorrow", W), I("totalSupply", Y), I("totalReserve", Z), I("storedIndex", V), I("storedHeight", height)], ((toString(al.payments[0].amount) + x) + "were successfully locked"))
243255 }
244256 else throw("Address does not match with wavetroller address!")
245257
246258
247259
248260 @Callable(al)
249261 func redeemCollateral (ai,aM) = if (C(al.caller))
250262 then {
251263 let aA = valueOrElse(getInteger(this, (ai + "_locked")), 0)
252264 if ((aA >= aM))
253265 then $Tuple2([I((ai + "_locked"), (aA - aM)), I("totalBorrow", W), I("totalSupply", Y), I("totalReserve", Z), I("storedIndex", V), I("storedHeight", height), ScriptTransfer(al.caller, aM, fromBase58String(w))], aM)
254266 else $Tuple2([I((ai + "_locked"), 0), I("totalBorrow", W), I("totalSupply", Y), I("totalReserve", Z), I("storedIndex", V), I("storedHeight", height), ScriptTransfer(al.caller, aA, fromBase58String(w))], aA)
255267 }
256268 else throw("Address does not match with wavetroller address!")
257269
258270
259271
260272 @Callable(al)
261273 func borrow (ai,aM) = if (C(al.caller))
262274 then {
263275 let az = ah(ai)
264276 $Tuple2([I((ai + "_borrow"), (az + aM)), I((ai + "_index"), V), I("totalBorrow", (W + aM)), I("totalSupply", Y), I("totalReserve", Z), I("storedIndex", V), I("storedHeight", height), if ((h == "WAVES"))
265277 then ScriptTransfer(al.caller, aM, unit)
266278 else ScriptTransfer(al.caller, aM, fromBase58String(h))], aM)
267279 }
268280 else throw("Address does not match with wavetroller address!")
269281
270282
271283
272284 @Callable(al)
273285 func payoutPenalty (ai,aM) = if (C(al.caller))
274286 then {
275287 let ar = getIntegerValue(this, (ai + "_locked"))
276288 let aN = ad(aM)
277289 $Tuple2([I((ai + "_locked"), (ar - aN)), Burn(fromBase58String(w), aN), I("dTokenSupply", (u - aN)), I("totalBorrow", W), I("totalSupply", (Y - aM)), I("totalReserve", Z), I("storedIndex", V), I("storedHeight", height), if ((h == "WAVES"))
278290 then ScriptTransfer(al.caller, aM, unit)
279291 else ScriptTransfer(al.caller, aM, fromBase58String(h))], aM)
280292 }
281293 else throw("Address does not match with wavetroller address!")
282294
283295
284296
285297 @Callable(al)
286298 func repay (ai) = if (C(al.caller))
287299 then {
288300 let az = ah(ai)
289301 if ((az >= al.payments[0].amount))
290302 then $Tuple2([I((ai + "_borrow"), (az - al.payments[0].amount)), I((ai + "_index"), V), I("totalBorrow", (W - al.payments[0].amount)), I("totalSupply", Y), I("totalReserve", Z), I("storedIndex", V), I("storedHeight", height)], ((toString(al.payments[0].amount) + " successfully repaid. User credit at") + toString((az - al.payments[0].amount))))
291303 else {
292304 let aO = (al.payments[0].amount - az)
293305 $Tuple2([I((ai + "_borrow"), 0), I((ai + "_index"), V), I("totalBorrow", (W - az)), I("totalSupply", Y), I("totalReserve", Z), I("storedIndex", V), I("storedHeight", height), if ((h == "WAVES"))
294306 then ScriptTransfer(al.caller, aO, unit)
295307 else ScriptTransfer(al.caller, aO, fromBase58String(h))], aO)
296308 }
297309 }
298310 else throw("Address does not match with wavetroller address!")
299311
300312
301313
302314 @Callable(al)
303315 func setup (aP,aQ,n,aR,aS) = if (!(isDefined(getString(this, "configAddress"))))
304316 then {
305317 let aT = Issue(aR, aS, 0, 8, true)
306318 let aU = calculateAssetId(aT)
307319 [aT, F("assetId", aP), F("configAddress", aQ), IntegerEntry("totalBorrow", 0), IntegerEntry("totalSupply", 0), IntegerEntry("totalReserve", 0), IntegerEntry("storedIndex", b), IntegerEntry("storedHeight", height), IntegerEntry("baseExchangeRate", n), F("dTokenName", aR), F("dTokenId", toBase58String(aU)), IntegerEntry("dTokenDecimals", 8), IntegerEntry("dTokenSupply", 0)]
308320 }
309321 else throw("Pool already setup!")
310322
311323
324+
325+@Callable(al)
326+func deleteStorageEntry (G) = [DeleteEntry(G)]
327+
328+
312329 @Verifier(aV)
313330 func aW () = sigVerify(aV.bodyBytes, aV.proofs[0], aV.senderPublicKey)
314331

github/deemru/w8io/026f985 
49.65 ms