tx · BPpxfK8vBsidFfgpwgfAzSJFJYbiox3ogyEz8Kc75Fy6

3P34HwLjszPa99wRek7DBtNSUMorVBk9gD7:  -0.01000000 Waves

2022.10.31 23:33 [3362459] smart account 3P34HwLjszPa99wRek7DBtNSUMorVBk9gD7 > SELF 0.00000000 Waves

{ "type": 13, "id": "BPpxfK8vBsidFfgpwgfAzSJFJYbiox3ogyEz8Kc75Fy6", "fee": 1000000, "feeAssetId": null, "timestamp": 1667248438668, "version": 1, "sender": "3P34HwLjszPa99wRek7DBtNSUMorVBk9gD7", "senderPublicKey": "9p8VfFcAVKGDXApcK2ZTBwPamGf5z2d68jfFA8pgrtBs", "proofs": [ "5t9hcTWsyh6qek18gwaZUfJzyg32hTT9ndTdZpZtxH3KYbpGAnEXRCN1rtsg5CeGUPS6njxXgSYZYz47DaLhyz8D" ], "script": "base64:BgIICAISABIAEgADAAl2aXJlc01haW4JAQdBZGRyZXNzAQEaAVdewZYZMMmiQ3hGadYm1vHmuEPQvfZMHrgADHZpcmVzVmVzdGluZwkBB0FkZHJlc3MBARoBV3US3ZOCD1veJXYVOctJ1R9TKAnE6HFeJwAGdXNkdExwASAcDFnC+hMLK+WkJlhR4Werzc+yLRwW39K6M76lbcafngMBaQEBYQADCQECIT0CCAUBaQZjYWxsZXIFBHRoaXMJAAIBAg1BY2Nlc3MgRGVuaWVkBAlscEJhbGFuY2UJAPAHAgUEdGhpcwUGdXNkdExwBBJ0cnVuY2F0ZWRMcEJhbGFuY2UDCQBmAgCC7J5mBQlscEJhbGFuY2UFCWxwQmFsYW5jZQCC7J5mBARjYWxsCQD8BwQFCXZpcmVzTWFpbgITcmVwbGVuaXNoV2l0aEF0b2tlbgUDbmlsCQDMCAIJAQ9BdHRhY2hlZFBheW1lbnQCBQZ1c2R0THAFEnRydW5jYXRlZExwQmFsYW5jZQUDbmlsAwkAAAIFBGNhbGwFBGNhbGwFA25pbAkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgFpAQFiAAMJAQIhPQIIBQFpBmNhbGxlcgUEdGhpcwkAAgECDUFjY2VzcyBEZW5pZWQEBGNhbGwJAPwHBAUMdmlyZXNWZXN0aW5nAg1jb252ZXJ0VG9VU0ROBQNuaWwFA25pbAMJAAACBQRjYWxsBQRjYWxsBQNuaWwJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4BaQEBYwADCQECIT0CCAUBaQZjYWxsZXIFBHRoaXMJAAIBAg1BY2Nlc3MgRGVuaWVkBARjYWxsCQD8BwQFDHZpcmVzVmVzdGluZwIVd2l0aGRyYXdWZXN0ZWRBbGxVU0ROCQDMCAIHCQDMCAIGBQNuaWwFA25pbAMJAAACBQRjYWxsBQRjYWxsBQNuaWwJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4BAnR4AQZ2ZXJpZnkABAckbWF0Y2gwBQJ0eAMJAAECBQckbWF0Y2gwAhdJbnZva2VTY3JpcHRUcmFuc2FjdGlvbgQDaW52BQckbWF0Y2gwAwkAAAIJAKQIAQgFA2ludgRkQXBwBQR0aGlzBgkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleQkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleRgpqBs=", "chainId": 87, "height": 3362459, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4ekgFdMaR8vK7paNep8bgTAt3ktNoQRrTHPBMZunLzUt Next: 2WuzYzhib6LmXVhQH3c46W6e6km9iJof699zoaTnw6zf Diff:
OldNewDifferences
1212 then throw("Access Denied")
1313 else {
1414 let lpBalance = assetBalance(this, usdtLp)
15- let truncatedLpBalance = if ((222921315 > lpBalance))
15+ let truncatedLpBalance = if ((214414850 > lpBalance))
1616 then lpBalance
17- else 222921315
17+ else 214414850
1818 let call = invoke(viresMain, "replenishWithAtoken", nil, [AttachedPayment(usdtLp, truncatedLpBalance)])
1919 if ((call == call))
2020 then nil
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let viresMain = Address(base58'3PAZv9tgK1PX7dKR7b4kchq5qdpUS3G5sYT')
55
66 let viresVesting = Address(base58'3PCbvPVQfSvVu88ip8Fm5YjwJhjEYk1Txhk')
77
88 let usdtLp = base58'2tVLdi5fQXk2JcuDAojhctnDp5B5PZhNMyj5GUpeC3tZ'
99
1010 @Callable(i)
1111 func a () = if ((i.caller != this))
1212 then throw("Access Denied")
1313 else {
1414 let lpBalance = assetBalance(this, usdtLp)
15- let truncatedLpBalance = if ((222921315 > lpBalance))
15+ let truncatedLpBalance = if ((214414850 > lpBalance))
1616 then lpBalance
17- else 222921315
17+ else 214414850
1818 let call = invoke(viresMain, "replenishWithAtoken", nil, [AttachedPayment(usdtLp, truncatedLpBalance)])
1919 if ((call == call))
2020 then nil
2121 else throw("Strict value is not equal to itself.")
2222 }
2323
2424
2525
2626 @Callable(i)
2727 func b () = if ((i.caller != this))
2828 then throw("Access Denied")
2929 else {
3030 let call = invoke(viresVesting, "convertToUSDN", nil, nil)
3131 if ((call == call))
3232 then nil
3333 else throw("Strict value is not equal to itself.")
3434 }
3535
3636
3737
3838 @Callable(i)
3939 func c () = if ((i.caller != this))
4040 then throw("Access Denied")
4141 else {
4242 let call = invoke(viresVesting, "withdrawVestedAllUSDN", [false, true], nil)
4343 if ((call == call))
4444 then nil
4545 else throw("Strict value is not equal to itself.")
4646 }
4747
4848
4949 @Verifier(tx)
5050 func verify () = match tx {
5151 case inv: InvokeScriptTransaction =>
5252 if ((addressFromRecipient(inv.dApp) == this))
5353 then true
5454 else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
5555 case _ =>
5656 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
5757 }
5858

github/deemru/w8io/873ac7e 
36.73 ms