tx · 6LnsMiJGzQMS92K8ckUpBuZBYiD6REy8bcg2hK2yjzFu

3NBbFNBed9tcU5AmsJAuExWvgJyNmJxqjWq:  -0.01100000 Waves

2023.09.03 01:18 [2738334] smart account 3NBbFNBed9tcU5AmsJAuExWvgJyNmJxqjWq > SELF 0.00000000 Waves

{ "type": 13, "id": "6LnsMiJGzQMS92K8ckUpBuZBYiD6REy8bcg2hK2yjzFu", "fee": 1100000, "feeAssetId": null, "timestamp": 1693693092880, "version": 2, "chainId": 84, "sender": "3NBbFNBed9tcU5AmsJAuExWvgJyNmJxqjWq", "senderPublicKey": "ERewvWFUFQfR1eCnipNAv9n7SdQhof2ESP6PGVjTueLd", "proofs": [ "5L6DRWCQkTdMqpff6vfKegGanKZMyvQx8vWEXQvUDQCwYurpXsVWama2rx8qdhwJHxGtb1PBq36rLCWi5CULYR7g" ], "script": "base64:BgIQCAISABIAEgASABIAEgASAA8ACXdhdmVzMUxJZAkBB0FkZHJlc3MBASCx9eRWoz/T7on2QCucPEyACTagmHhap+TFH25bD+lGhQAJd2F2ZXMzTElkCQEHQWRkcmVzcwEBIHdXDDXqNpTfTtMV3HoBAJm7TRBH1wyKq1fh63GL4LhkAAl3YXZlczVMSWQJAQdBZGRyZXNzAQEgG0ZokmU5WBTQbm1EIuXU3iDl1u675ol+F8RLM/XoZqQABnVzZG5JZAEgD/IcEqzkxDya7EYaqyWosOy6BytGzG2IcvC14pJJAbQAA2FycgkAzAgCAAEJAMwIAgACCQDMCAIAAwkAzAgCAAQJAMwIAgAFBQNuaWwABGFycjIJAMwIAgABCQDMCAIAAgUDbmlsAARhcnIzCQDMCAIAAQkAzAgCAAIJAMwIAgADBQNuaWwBA3N1bQIBYQFiCQD8BwQJARFAZXh0ck5hdGl2ZSgxMDYyKQECIzNOM0RuVmZmblV5WnR6Mk1SYms1VTdnaU4xMTJXZW1wTU5kAgZib3Jyb3cJAMwIAgIsMjVGRXFFalJrcUs2eUNraVQ3THo2U0FZejdnVUZDdHhmQ0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ZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECF0luY29ycmVjdCBpbnZva2UgcmVzdWx0CQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIXSW5jb3JyZWN0IGludm9rZSByZXN1bHQJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4BAnR4AQZ2ZXJpZnkACQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5jw3R9w==", "height": 2738334, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Dzot2hjvLN8uPwr3wiCkjEZZqm7AwVpJ6kB7732SEKsd Next: 2axgvjparvkHKf2zfrHS1MSim3fuasvTBpzk1gSz5LWd Diff:
OldNewDifferences
295295 if ((thirdSwappedAmount == thirdSwappedAmount))
296296 then match thirdSwappedAmount {
297297 case thirdSwap: Int =>
298-[IntegerEntry("Returned_First_SwappedAmount", r), IntegerEntry("First_Borrow", ((firstAmountIn * 70) / 100)), IntegerEntry("Returned_Second_SwappedAmount", secondSwap), IntegerEntry("Second_Borrow", ((((firstAmountIn * 70) / 100) * 70) / 100)), IntegerEntry("Returned_Third_SwappedAmount", thirdSwap)]
298+[IntegerEntry("Returned_Second_SwappedAmount", secondSwap), IntegerEntry("Second_Borrow", ((((firstAmountIn * 70) / 100) * 70) / 100)), IntegerEntry("Returned_Third_SwappedAmount", thirdSwap)]
299299 case _ =>
300300 throw("Incorrect invoke result")
301301 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let waves1LId = Address(base58'CygdaJKZfxRrHyYMwkNdz9ZgSD5FpJLtk5s5B4q1DKV6')
55
66 let waves3LId = Address(base58'92rW5ucGkH84YeXLnLs8dMN1P7RAFocmR8zfBqUy4gPM')
77
88 let waves5LId = Address(base58'2qUH6Nh6cgC8dxj8fwH3bTJi261PNr5nMQKRbBXBuwmM')
99
1010 let usdnId = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT'
1111
1212 let arr = [1, 2, 3, 4, 5]
1313
1414 let arr2 = [1, 2]
1515
1616 let arr3 = [1, 2, 3]
1717
1818 func sum (a,b) = invoke(addressFromStringValue("3N3DnVffnUyZtz2MRbk5U7giN112WempMNd"), "borrow", ["25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT", 1000000], nil)
1919
2020
2121 func getBalance (assetIdStr,address) = if ((assetIdStr == "WAVES"))
2222 then wavesBalance(address).available
2323 else assetBalance(address, fromBase58String(assetIdStr))
2424
2525
2626 func getCurrentPrice (assetIdStr) = if ((assetIdStr == "WAVES"))
2727 then 2
2828 else throw("Error")
2929
3030
3131 func getWavesCurrentPrice () = 2000000
3232
3333
3434 func getWavesNewPrice () = 3000000
3535
3636
3737 func getWaves3LCurrentPrice () = 1200000
3838
3939
4040 func getWaves3LNewPrice () = 2000000
4141
4242
4343 func tryGetInteger (key) = match getInteger(this, key) {
4444 case b: Int =>
4545 b
4646 case _ =>
4747 0
4848 }
4949
5050
5151 @Callable(i)
5252 func mintWaves3L_v1 () = if (if ((size(i.payments) != 1))
5353 then true
5454 else (i.payments[0].amount == 0))
5555 then throw("1 payment has to be attached")
5656 else {
5757 let address = toString(i.caller)
5858 let stableCoinAmount = i.payments[0].amount
5959 let convertedWavesAmount = ((stableCoinAmount / getWavesCurrentPrice()) * 100000000)
6060 let userWavesAmount = getBalance("WAVES", i.caller)
6161 if ((userWavesAmount > convertedWavesAmount))
6262 then {
6363 let depositResult = invoke(addressFromStringValue("3N3DnVffnUyZtz2MRbk5U7giN112WempMNd"), "supply", nil, [AttachedPayment(unit, convertedWavesAmount)])
6464 if ((depositResult == depositResult))
6565 then {
6666 func repeatFunc (accum,next) = {
6767 let borrowResult = invoke(addressFromStringValue("3N3DnVffnUyZtz2MRbk5U7giN112WempMNd"), "borrow", ["25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT", stableCoinAmount], nil)
6868 if ((borrowResult == borrowResult))
6969 then (accum + next)
7070 else throw("Strict value is not equal to itself.")
7171 }
7272
7373 let array = [stableCoinAmount, stableCoinAmount, stableCoinAmount]
7474 let res = {
7575 let $l = array
7676 let $s = size($l)
7777 let $acc0 = 0
7878 func $f0_1 ($a,$i) = if (($i >= $s))
7979 then $a
8080 else repeatFunc($a, $l[$i])
8181
8282 func $f0_2 ($a,$i) = if (($i >= $s))
8383 then $a
8484 else throw("List size exceeds 3")
8585
8686 $f0_2($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3)
8787 }
8888 let returnedTokenAmount = ((res / getWaves3LCurrentPrice()) * 1000000)
8989 [IntegerEntry((address + "_gave_USDN"), stableCoinAmount), IntegerEntry((address + "_deposited_WAVES"), convertedWavesAmount), IntegerEntry(((address + "_borrowed_") + "25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT"), res), IntegerEntry((address + "_received_WAVES3L"), returnedTokenAmount), ScriptTransfer(i.caller, returnedTokenAmount, base58'92rW5ucGkH84YeXLnLs8dMN1P7RAFocmR8zfBqUy4gPM')]
9090 }
9191 else throw("Strict value is not equal to itself.")
9292 }
9393 else throw("Not enough WAVES to deposit!")
9494 }
9595
9696
9797
9898 @Callable(i)
9999 func redeemWaves3L_v1 () = if (if ((size(i.payments) != 1))
100100 then true
101101 else (i.payments[0].amount == 0))
102102 then throw("1 payment has to be attached")
103103 else {
104104 let address = toString(i.caller)
105105 let tokenAmount = i.payments[0].amount
106106 let returnedUSDNAmount = (tokenAmount * (getWaves3LNewPrice() / 1000000))
107107 [IntegerEntry((address + "_redeemed_WAVES3L"), tokenAmount), IntegerEntry((address + "_received_USDN"), returnedUSDNAmount), ScriptTransfer(i.caller, returnedUSDNAmount, base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT')]
108108 }
109109
110110
111111
112112 @Callable(i)
113113 func mintWaves3L_v2 () = if (if ((size(i.payments) != 1))
114114 then true
115115 else (i.payments[0].amount == 0))
116116 then throw("1 payment has to be attached")
117117 else {
118118 let address = toString(i.caller)
119119 let stableCoinAmount = i.payments[0].amount
120120 let convertedWavesAmount = ((stableCoinAmount / 2000000) * 100000000)
121121 let userWavesAmount = getBalance("WAVES", i.caller)
122122 let bedingung = ((3 - 1) * getWavesCurrentPrice())
123123 if ((stableCoinAmount >= bedingung))
124124 then {
125125 let depositResult = invoke(addressFromStringValue("3N3DnVffnUyZtz2MRbk5U7giN112WempMNd"), "supply", nil, [AttachedPayment(unit, convertedWavesAmount)])
126126 if ((depositResult == depositResult))
127127 then {
128128 func repeatFunc (accum,next) = {
129129 let borrowResult = invoke(addressFromStringValue("3N3DnVffnUyZtz2MRbk5U7giN112WempMNd"), "borrow", ["25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT", stableCoinAmount], nil)
130130 if ((borrowResult == borrowResult))
131131 then (accum + next)
132132 else throw("Strict value is not equal to itself.")
133133 }
134134
135135 let array = [stableCoinAmount, stableCoinAmount, stableCoinAmount]
136136 let res = {
137137 let $l = array
138138 let $s = size($l)
139139 let $acc0 = 0
140140 func $f0_1 ($a,$i) = if (($i >= $s))
141141 then $a
142142 else repeatFunc($a, $l[$i])
143143
144144 func $f0_2 ($a,$i) = if (($i >= $s))
145145 then $a
146146 else throw("List size exceeds 3")
147147
148148 $f0_2($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3)
149149 }
150150 let byWavesKaufen = ((res / getWavesCurrentPrice()) * 100000000)
151151 [IntegerEntry((address + "_gave_USDN"), stableCoinAmount), IntegerEntry((address + "_deposited_WAVES"), convertedWavesAmount), IntegerEntry(((address + "_borrowed_") + "25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT"), res), IntegerEntry((address + "_received_WAVES3L"), 1000000), ScriptTransfer(i.caller, 1000000, base58'92rW5ucGkH84YeXLnLs8dMN1P7RAFocmR8zfBqUy4gPM')]
152152 }
153153 else throw("Strict value is not equal to itself.")
154154 }
155155 else throw("Not enough WAVES to deposit!")
156156 }
157157
158158
159159
160160 @Callable(i)
161161 func redeemWaves3L_v2 () = if (if ((size(i.payments) != 1))
162162 then true
163163 else (i.payments[0].amount == 0))
164164 then throw("1 payment has to be attached")
165165 else {
166166 let address = toString(i.caller)
167167 let tokenAmount = 6
168168 let returnedUSDNAmount = (((tokenAmount * (getWavesNewPrice() / 1000000)) - 4) * 1000000)
169169 [IntegerEntry((address + "_redeemed_WAVES3L"), tokenAmount), IntegerEntry((address + "_received_USDN"), returnedUSDNAmount), ScriptTransfer(i.caller, returnedUSDNAmount, base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT')]
170170 }
171171
172172
173173
174174 @Callable(i)
175175 func long2 () = if (if ((size(i.payments) != 1))
176176 then true
177177 else (i.payments[0].amount == 0))
178178 then throw("1 payment has to be attached")
179179 else {
180180 let firstAmountIn = i.payments[0].amount
181181 let firstSwappedAmount = invoke(addressFromStringValue("3Ms8fqbXM4RhmM6CPTr44hUwHe2CCmVCfVA"), "swapToWaves", nil, [AttachedPayment(usdnId, firstAmountIn)])
182182 if ((firstSwappedAmount == firstSwappedAmount))
183183 then match firstSwappedAmount {
184184 case r: Int =>
185185 let fistDepositResult = invoke(addressFromStringValue("3N3DnVffnUyZtz2MRbk5U7giN112WempMNd"), "supply", nil, [AttachedPayment(unit, r)])
186186 if ((fistDepositResult == fistDepositResult))
187187 then {
188188 let firstBorrowResult = invoke(addressFromStringValue("3N3DnVffnUyZtz2MRbk5U7giN112WempMNd"), "borrow", ["25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT", ((firstAmountIn * 75) / 100)], nil)
189189 if ((firstBorrowResult == firstBorrowResult))
190190 then {
191191 func repeatFunc (accum,next) = (accum + next)
192192
193193 let array = [1, 1, 1, 1]
194194 let res = {
195195 let $l = array
196196 let $s = size($l)
197197 let $acc0 = 0
198198 func $f0_1 ($a,$i) = if (($i >= $s))
199199 then $a
200200 else repeatFunc($a, $l[$i])
201201
202202 func $f0_2 ($a,$i) = if (($i >= $s))
203203 then $a
204204 else throw("List size exceeds 5")
205205
206206 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
207207 }
208208 nil
209209 }
210210 else throw("Strict value is not equal to itself.")
211211 }
212212 else throw("Strict value is not equal to itself.")
213213 case _ =>
214214 throw("Incorrect invoke result")
215215 }
216216 else throw("Strict value is not equal to itself.")
217217 }
218218
219219
220220
221221 @Callable(i)
222222 func long2test () = if (if ((size(i.payments) != 1))
223223 then true
224224 else (i.payments[0].amount == 0))
225225 then throw("1 payment has to be attached")
226226 else {
227227 let firstAmountIn = i.payments[0].amount
228228 let callerId = toString(i.caller)
229229 let firstSwappedAmount = invoke(addressFromStringValue("3Ms8fqbXM4RhmM6CPTr44hUwHe2CCmVCfVA"), "swapToWaves", [toString(i.caller)], [AttachedPayment(usdnId, firstAmountIn)])
230230 if ((firstSwappedAmount == firstSwappedAmount))
231231 then match firstSwappedAmount {
232232 case r: Int =>
233233 let initList = [r, 2000000, 2000000, 2000000]
234234 func filterEven (accum,next) = if ((next != 2000000))
235235 then (accum :+ next)
236236 else {
237237 let swappedAmount = invoke(addressFromStringValue("3Ms8fqbXM4RhmM6CPTr44hUwHe2CCmVCfVA"), "swapToWaves", [toString(i.caller)], [AttachedPayment(usdnId, next)])
238238 if ((swappedAmount == swappedAmount))
239239 then (accum :+ swappedAmount)
240240 else throw("Strict value is not equal to itself.")
241241 }
242242
243243 let result = {
244244 let $l = initList
245245 let $s = size($l)
246246 let $acc0 = nil
247247 func $f0_1 ($a,$i) = if (($i >= $s))
248248 then $a
249249 else filterEven($a, $l[$i])
250250
251251 func $f0_2 ($a,$i) = if (($i >= $s))
252252 then $a
253253 else throw("List size exceeds 4")
254254
255255 $f0_2($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4)
256256 }
257257 [IntegerEntry("Returned_SwappedAmount", r), IntegerEntry("First_Borrow", ((firstAmountIn * 70) / 100)), StringEntry(toBase58String(i.caller.bytes), ((((((toString(result[0]) + "_") + toString(result[1])) + "_") + toString(result[2])) + "_") + toString(result[3])))]
258258 case _ =>
259259 throw("Incorrect invoke result")
260260 }
261261 else throw("Strict value is not equal to itself.")
262262 }
263263
264264
265265
266266 @Callable(i)
267267 func long2test_v1 () = if (if ((size(i.payments) != 1))
268268 then true
269269 else (i.payments[0].amount == 0))
270270 then throw("1 payment has to be attached")
271271 else {
272272 let firstAmountIn = i.payments[0].amount
273273 let callerId = toString(i.caller)
274274 let firstSwappedAmount = invoke(addressFromStringValue("3Ms8fqbXM4RhmM6CPTr44hUwHe2CCmVCfVA"), "swapToWaves", [toString(i.caller)], [AttachedPayment(usdnId, firstAmountIn)])
275275 if ((firstSwappedAmount == firstSwappedAmount))
276276 then match firstSwappedAmount {
277277 case r: Int =>
278278 let firstDepositedWaves = invoke(addressFromStringValue("3N3DnVffnUyZtz2MRbk5U7giN112WempMNd"), "supply", nil, [AttachedPayment(unit, r)])
279279 if ((firstDepositedWaves == firstDepositedWaves))
280280 then {
281281 let firstBorrowedUSDN = invoke(addressFromStringValue("3N3DnVffnUyZtz2MRbk5U7giN112WempMNd"), "borrow", ["25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT", ((firstAmountIn * 70) / 100)], nil)
282282 if ((firstBorrowedUSDN == firstBorrowedUSDN))
283283 then {
284284 let secondSwappedAmount = invoke(addressFromStringValue("3Ms8fqbXM4RhmM6CPTr44hUwHe2CCmVCfVA"), "swapToWaves", [toString(i.caller)], [AttachedPayment(usdnId, ((firstAmountIn * 70) / 100))])
285285 if ((secondSwappedAmount == secondSwappedAmount))
286286 then match secondSwappedAmount {
287287 case secondSwap: Int =>
288288 let secondDepositedWaves = invoke(addressFromStringValue("3N3DnVffnUyZtz2MRbk5U7giN112WempMNd"), "supply", nil, [AttachedPayment(unit, secondSwap)])
289289 if ((secondDepositedWaves == secondDepositedWaves))
290290 then {
291291 let secondBorrowedUSDN = invoke(addressFromStringValue("3N3DnVffnUyZtz2MRbk5U7giN112WempMNd"), "borrow", ["25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT", ((((firstAmountIn * 70) / 100) * 70) / 100)], nil)
292292 if ((secondBorrowedUSDN == secondBorrowedUSDN))
293293 then {
294294 let thirdSwappedAmount = invoke(addressFromStringValue("3Ms8fqbXM4RhmM6CPTr44hUwHe2CCmVCfVA"), "swapToWaves", [toString(i.caller)], [AttachedPayment(usdnId, ((((firstAmountIn * 70) / 100) * 70) / 100))])
295295 if ((thirdSwappedAmount == thirdSwappedAmount))
296296 then match thirdSwappedAmount {
297297 case thirdSwap: Int =>
298-[IntegerEntry("Returned_First_SwappedAmount", r), IntegerEntry("First_Borrow", ((firstAmountIn * 70) / 100)), IntegerEntry("Returned_Second_SwappedAmount", secondSwap), IntegerEntry("Second_Borrow", ((((firstAmountIn * 70) / 100) * 70) / 100)), IntegerEntry("Returned_Third_SwappedAmount", thirdSwap)]
298+[IntegerEntry("Returned_Second_SwappedAmount", secondSwap), IntegerEntry("Second_Borrow", ((((firstAmountIn * 70) / 100) * 70) / 100)), IntegerEntry("Returned_Third_SwappedAmount", thirdSwap)]
299299 case _ =>
300300 throw("Incorrect invoke result")
301301 }
302302 else throw("Strict value is not equal to itself.")
303303 }
304304 else throw("Strict value is not equal to itself.")
305305 }
306306 else throw("Strict value is not equal to itself.")
307307 case _ =>
308308 throw("Incorrect invoke result")
309309 }
310310 else throw("Strict value is not equal to itself.")
311311 }
312312 else throw("Strict value is not equal to itself.")
313313 }
314314 else throw("Strict value is not equal to itself.")
315315 case _ =>
316316 throw("Incorrect invoke result")
317317 }
318318 else throw("Strict value is not equal to itself.")
319319 }
320320
321321
322322 @Verifier(tx)
323323 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
324324

github/deemru/w8io/026f985 
44.13 ms