tx · 6A5XmSPt9eiV7TsdF7oTpRnNmP3SjHGGtpXktDmadE9m

3NBbFNBed9tcU5AmsJAuExWvgJyNmJxqjWq:  -0.01000000 Waves

2023.09.01 03:59 [2735614] smart account 3NBbFNBed9tcU5AmsJAuExWvgJyNmJxqjWq > SELF 0.00000000 Waves

{ "type": 13, "id": "6A5XmSPt9eiV7TsdF7oTpRnNmP3SjHGGtpXktDmadE9m", "fee": 1000000, "feeAssetId": null, "timestamp": 1693529990709, "version": 2, "chainId": 84, "sender": "3NBbFNBed9tcU5AmsJAuExWvgJyNmJxqjWq", "senderPublicKey": "ERewvWFUFQfR1eCnipNAv9n7SdQhof2ESP6PGVjTueLd", "proofs": [ "3Whhc9Cau9YcXZsJQrYZNTnrRkjRQyubeRzW6mNCV4yYAj2gpF4Vvgvf7jCu9x2LfQjdFme1bmg9vo3bhBXHWM5E" ], "script": "base64:BgIOCAISABIAEgASABIAEgAPAAl3YXZlczFMSWQJAQdBZGRyZXNzAQEgsfXkVqM/0+6J9kArnDxMgAk2oJh4WqfkxR9uWw/pRoUACXdhdmVzM0xJZAkBB0FkZHJlc3MBASB3Vww16jaU307TFdx6AQCZu00QR9cMiqtX4etxi+C4ZAAJd2F2ZXM1TElkCQEHQWRkcmVzcwEBIBtGaJJlOVgU0G5tRCLl1N4g5dbuu+aJfhfESzP16GakAAZ1c2RuSWQBIA/yHBKs5MQ8muxGGqslqLDsugcrRsxtiHLwteKSSQG0AANhcnIJAMwIAgABCQDMCAIAAgkAzAgCAAMJAMwIAgAECQDMCAIABQUDbmlsAARhcnIyCQDMCAIAAQkAzAgCAAIFA25pbAAEYXJyMwkAzAgCAAEJAMwIAgACCQDMCAIAAwUDbmlsAQNzdW0CAWEBYgkA/AcECQERQGV4dHJOYXRpdmUoMTA2MikBAiMzTjNEblZmZm5VeVp0ejJNUmJrNVU3Z2lOMTEyV2VtcE1OZAIGYm9ycm93CQDMCAICLDI1RkVxRWpSa3FLNnlDa2lUN0x6NlNBWXo3Z1V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ICAiRhAiRpAwkAZwIFAiRpBQIkcwUCJGEJAAIBAhNMaXN0IHNpemUgZXhjZWVkcyA0CQEFJGYxXzICCQEFJGYxXzECCQEFJGYxXzECCQEFJGYxXzECCQEFJGYxXzECBQUkYWNjMAAAAAEAAgADAAQJAMwIAgkBDEludGVnZXJFbnRyeQICFlJldHVybmVkX1N3YXBwZWRBbW91bnQFAXIJAMwIAgkBDEludGVnZXJFbnRyeQICDEZpcnN0X0JvcnJvdwkAaQIJAGgCBQ1maXJzdEFtb3VudEluAEYAZAkAzAgCCQELU3RyaW5nRW50cnkCCQDYBAEICAUBaQZjYWxsZXIFYnl0ZXMJAKwCAgkArAICCQCsAgIJAKwCAgkArAICCQCsAgIJAKQDAQkAkQMCBQZyZXN1bHQAAAIBXwkApAMBCQCRAwIFBnJlc3VsdAABAgFfCQCkAwEJAJEDAgUGcmVzdWx0AAICAV8JAKQDAQkAkQMCBQZyZXN1bHQAAwUDbmlsCQACAQIXSW5jb3JyZWN0IGludm9rZSByZXN1bHQJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4BAnR4AQZ2ZXJpZnkACQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5IuCiGg==", "height": 2735614, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BrMyTiK3Yz2aNmEV2Twivod4FP4mhVHWjn2HKgRnk7Gq Next: 4uBwNXZ8y1XS1yW4kA5iWAigcrE3LYBcV6J6bY7eYt3u Diff:
OldNewDifferences
250250 func filterEven (accum,next) = if ((next != 1000000))
251251 then (accum :+ next)
252252 else {
253- let swappedAmount = invoke(addressFromStringValue("3Ms8fqbXM4RhmM6CPTr44hUwHe2CCmVCfVA"), "swapToWaves", [toString(i.caller)], [AttachedPayment(usdnId, 1000000)])
253+ let swappedAmount = invoke(addressFromStringValue("3Ms8fqbXM4RhmM6CPTr44hUwHe2CCmVCfVA"), "swapToWaves", [toString(i.caller)], [AttachedPayment(usdnId, 2000000)])
254254 if ((swappedAmount == swappedAmount))
255255 then (accum :+ swappedAmount)
256256 else throw("Strict value is not equal to itself.")
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, 1000000, 1000000, 1000000]
234234 func repeatFunc (accum,next) = accum
235235
236236 let res = {
237237 let $l = initList
238238 let $s = size($l)
239239 let $acc0 = 0
240240 func $f0_1 ($a,$i) = if (($i >= $s))
241241 then $a
242242 else repeatFunc($a, $l[$i])
243243
244244 func $f0_2 ($a,$i) = if (($i >= $s))
245245 then $a
246246 else throw("List size exceeds 4")
247247
248248 $f0_2($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4)
249249 }
250250 func filterEven (accum,next) = if ((next != 1000000))
251251 then (accum :+ next)
252252 else {
253- let swappedAmount = invoke(addressFromStringValue("3Ms8fqbXM4RhmM6CPTr44hUwHe2CCmVCfVA"), "swapToWaves", [toString(i.caller)], [AttachedPayment(usdnId, 1000000)])
253+ let swappedAmount = invoke(addressFromStringValue("3Ms8fqbXM4RhmM6CPTr44hUwHe2CCmVCfVA"), "swapToWaves", [toString(i.caller)], [AttachedPayment(usdnId, 2000000)])
254254 if ((swappedAmount == swappedAmount))
255255 then (accum :+ swappedAmount)
256256 else throw("Strict value is not equal to itself.")
257257 }
258258
259259 let result = {
260260 let $l = initList
261261 let $s = size($l)
262262 let $acc0 = nil
263263 func $f1_1 ($a,$i) = if (($i >= $s))
264264 then $a
265265 else filterEven($a, $l[$i])
266266
267267 func $f1_2 ($a,$i) = if (($i >= $s))
268268 then $a
269269 else throw("List size exceeds 4")
270270
271271 $f1_2($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4)
272272 }
273273 [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])))]
274274 case _ =>
275275 throw("Incorrect invoke result")
276276 }
277277 else throw("Strict value is not equal to itself.")
278278 }
279279
280280
281281 @Verifier(tx)
282282 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
283283

github/deemru/w8io/169f3d6 
43.03 ms