tx · 3BwbhS9qoQoCxDggSjkH4LMvPNHfxS1475NkvCjwv1Vd

3N44cXXhd7Xk7hr7JkLa3mTStLQnFpUfKgC:  -0.00200000 Waves

2024.04.28 22:51 [3083151] smart account 3N44cXXhd7Xk7hr7JkLa3mTStLQnFpUfKgC > SELF 0.00000000 Waves

{ "type": 13, "id": "3BwbhS9qoQoCxDggSjkH4LMvPNHfxS1475NkvCjwv1Vd", "fee": 200000, "feeAssetId": null, "timestamp": 1714333961006, "version": 1, "sender": "3N44cXXhd7Xk7hr7JkLa3mTStLQnFpUfKgC", "senderPublicKey": "EMFFTUQwpCrBAT6yi2xNweK94ew8LJEghFxaD7GBTCrN", "proofs": [ "2GJYwrhPFRGR3WjoFDWLWFzo7mKMDtCBMsiAUkn7feTjc5rysMCEWkBogj2wKVLfkCuYUqVqwkukPut9ag48wqhu" ], "script": "base64:BgIGCAISABIABQAGdXNkbklkASAP8hwSrOTEPJrsRhqrJaiw7LoHK0bMbYhy8LXikkkBtAAJdXNkbklkU3RyAiwyNUZFcUVqUmtxSzZ5Q2tpVDdMejZTQVl6N2dVRkN0eGZDQ2huclZGRDVBVAAIcHV6emxlSWQBIFQg/ZqGxjcfmqC9eEjI30n8t7nczOflywY5wXQfieTbAAtwdXp6bGVJZFN0cgIsNmZRUmFMM0wyNW5HcWV2WFQ4a3h3akJTMjhma0JFcnJKNjlKWWNqN3FLZ1cBDXRyeUdldEludGVnZXIBA2tleQQHJG1hdGNoMAkAmggCBQR0aGlzBQNrZXkDCQABAgUHJG1hdGNoMAIDSW50BAFiBQckbWF0Y2gwBQFiAAACAWkBE3N3YXBBbmRUb3B1cFN0YWtpbmcABAdiYWxhbmNlCQDwBwIFBHRoaXMFBnVzZG5JZAQDaW52CQD8BwQJAQdBZGRyZXNzAQEaAVSv8yQUHiM2iXLvdiGKWE9nvJtEVfIzHpcCEmV4Y2hhbmdlVGhlbkludm9rZQkAzAgCBQtwdXp6bGVJZFN0cgkAzAgCAiMzTXU3VkhBV216RnVDOENDMWpMNjZlZ3dXZHpNbVUzR01kTgkAzAgCAgt0b3BVcFJld2FyZAkAzAgCBQNuaWwJAMwIAgAABQNuaWwJAMwIAgkBD0F0dGFjaGVkUGF5bWVudAIFBnVzZG5JZAUHYmFsYW5jZQUDbmlsAwkAAAIFA2ludgUDaW52CQDMCAIJAQxJbnRlZ2VyRW50cnkCAg5zdGF0c19sYXN0U3dhcAUGaGVpZ2h0CQDMCAIJAQxJbnRlZ2VyRW50cnkCCQCsAgICE3N0YXRzX3RvdGFsU3dhcHBlZF8FCXVzZG5JZFN0cgkAZAIJAQ10cnlHZXRJbnRlZ2VyAQkArAICAhNzdGF0c190b3RhbFN3YXBwZWRfBQl1c2RuSWRTdHIFB2JhbGFuY2UFA25pbAkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgFpAQx0b3B1cFN0YWtpbmcABANpbnYJAPwHBAkBB0FkZHJlc3MBARoBVDkA0yfX6Pybzd6Nx/bYRYn8qLmg8Z7zZQILdG9wVXBSZXdhcmQFA25pbAkAzAgCCQEPQXR0YWNoZWRQYXltZW50AgUIcHV6emxlSWQJAPAHAgUEdGhpcwUIcHV6emxlSWQFA25pbAMJAAACBQNpbnYFA2ludgkAzAgCCQEMSW50ZWdlckVudHJ5AgIOc3RhdHNfbGFzdFN3YXAFBmhlaWdodAUDbmlsCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAQJ0eAEGdmVyaWZ5AAkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tlebpcOI8=", "chainId": 84, "height": 3083151, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: D6UX9eVFsCGx9iSHFkKUScxc5UfuwhMtNjHpbeTS7dmp Next: none Diff:
OldNewDifferences
55
66 let b = "25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT"
77
8-let c = base58'HEB8Qaw9xrWpWs8tHsiATYGBWDBtP2S7kcPALrMu43AS'
8+let c = base58'6fQRaL3L25nGqevXT8kxwjBS28fkBErrJ69JYcj7qKgW'
99
10-let d = "HEB8Qaw9xrWpWs8tHsiATYGBWDBtP2S7kcPALrMu43AS"
10+let d = "6fQRaL3L25nGqevXT8kxwjBS28fkBErrJ69JYcj7qKgW"
1111
1212 func e (f) = {
1313 let g = getInteger(this, f)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT'
55
66 let b = "25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT"
77
8-let c = base58'HEB8Qaw9xrWpWs8tHsiATYGBWDBtP2S7kcPALrMu43AS'
8+let c = base58'6fQRaL3L25nGqevXT8kxwjBS28fkBErrJ69JYcj7qKgW'
99
10-let d = "HEB8Qaw9xrWpWs8tHsiATYGBWDBtP2S7kcPALrMu43AS"
10+let d = "6fQRaL3L25nGqevXT8kxwjBS28fkBErrJ69JYcj7qKgW"
1111
1212 func e (f) = {
1313 let g = getInteger(this, f)
1414 if ($isInstanceOf(g, "Int"))
1515 then {
1616 let h = g
1717 h
1818 }
1919 else 0
2020 }
2121
2222
2323 @Callable(i)
2424 func swapAndTopupStaking () = {
2525 let j = assetBalance(this, a)
2626 let k = invoke(Address(base58'3N5xRJDevNVcgHnJ2pgKKS2DnxVmPrgzW1C'), "exchangeThenInvoke", [d, "3Mu7VHAWmzFuC8CC1jL66egwWdzMmU3GMdN", "topUpReward", nil, 0], [AttachedPayment(a, j)])
2727 if ((k == k))
2828 then [IntegerEntry("stats_lastSwap", height), IntegerEntry(("stats_totalSwapped_" + b), (e(("stats_totalSwapped_" + b)) + j))]
2929 else throw("Strict value is not equal to itself.")
3030 }
3131
3232
3333
3434 @Callable(i)
3535 func topupStaking () = {
3636 let k = invoke(Address(base58'3Mu7VHAWmzFuC8CC1jL66egwWdzMmU3GMdN'), "topUpReward", nil, [AttachedPayment(c, assetBalance(this, c))])
3737 if ((k == k))
3838 then [IntegerEntry("stats_lastSwap", height)]
3939 else throw("Strict value is not equal to itself.")
4040 }
4141
4242
4343 @Verifier(l)
4444 func m () = sigVerify(l.bodyBytes, l.proofs[0], l.senderPublicKey)
4545

github/deemru/w8io/026f985 
23.25 ms