tx · DVqLENCpdkESXkVwpoWZy5s8xyPdYcmtLyKExBsmetBw

3N2dRaZobzhvApXZdrFKsTWZfczyyx6FboD:  -0.05000000 Waves

2021.08.19 18:48 [1665439] smart account 3N2dRaZobzhvApXZdrFKsTWZfczyyx6FboD > SELF 0.00000000 Waves

{ "type": 13, "id": "DVqLENCpdkESXkVwpoWZy5s8xyPdYcmtLyKExBsmetBw", "fee": 5000000, "feeAssetId": null, "timestamp": 1629388231440, "version": 2, "chainId": 84, "sender": "3N2dRaZobzhvApXZdrFKsTWZfczyyx6FboD", "senderPublicKey": "9WSLkkzDD1adiGFyZbCjY47yzFtCW8U5DKWUqpiuaL3p", "proofs": [ "2YwUC5N7PcHCckzE5LoyTNH3P3a3iyDNdqmMWEWFZxL4cFZJavrekerH35qQHSv8SXmhncZZLmnZoNqpQsqTbQ4q" ], "script": "base64:AAIFAAAAAAAAAQAIAhIAGggKAmExEgJXVRoICgJhMhICU1caCAoCYTMSAlNVGgcKAmE0EgFXGgcKAmE1EgFVGgcKAmE2EgFTGgsKAmE3EgVhZG1pbhoMCgJhOBIGc2NhbGU4GgwKAmE5EgZzY2FsZTYaBwoCYjESAWkaCQoCYjISA2JidRoJCgJiMxIDYmJ3GgkKAmI0EgNiYnMaCwoCYjUSBXN3YXAxGgsKAmI2EgVkaWZmdRoLCgJiNxIFc3dhcDIaCwoCYjgSBWRpZmZzGgsKAmI5EgVzd2FwMxoLCgJjMRIFZGlmZncaCAoCYzISAm9rGggKAmMzEgJ0eBoMCgJjNBIGdmVyaWZ5AAAACQAAAAACYTEJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAEJAQAAAAV2YWx1ZQAAAAECAAAAIzNOREQzaWZBQzE3Y0x6eHVZcXNnWERSWTlEVFE1QnFtdndMAAAAAAJhMgkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQkBAAAABXZhbHVlAAAAAQIAAAAjM05BekVTN3BTamZvSHNLTnVtUDVIUnRTdDNxYWRicW5IaX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WwgdG8gaXRzZWxmAAAAAQAAAAJjMwEAAAACYzQAAAAACQAB9AAAAAMIBQAAAAJjMwAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAmMzAAAABnByb29mcwAAAAAAAAAAAAgFAAAAAmMzAAAAD3NlbmRlclB1YmxpY0tleWSvxaA=", "height": 1665439, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: D5DHB8NvdFdysAZm73g5w9Vg9V1UJc1fy72jwvj9tavX Next: GFALYFuGboyMoycGiVqce7rsYBPHJWs1m5okTDKQyVFT Diff:
OldNewDifferences
4949 then {
5050 let s = (assetBalance(this, d) - l)
5151 if ((s == s))
52- then {
53- let t = "ok"
52+ then if ((s > 0))
53+ then {
54+ let t = "ok"
5455 [IntegerEntry("debug", s)]
55- }
56+ }
57+ else throw(toString(s))
5658 else throw("strict value what the fuck")
5759 }
5860 else throw("strict value what the fuck")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = addressFromStringValue(value("3NDD3ifAC17cLzxuYqsgXDRY9DTQ5BqmvwL"))
55
66 let b = addressFromStringValue(value("3NAzES7pSjfoHsKNumP5HRtSt3qadbqnHip"))
77
88 let c = addressFromStringValue(value("3MrBtdped4oUFs1BvLNu53Dm1AMGiTHkT9B"))
99
1010 let d = base58'3Tg4GRpKeek5wWAQRJKH1ucjMuKNom3f2h67WNNu6xVS'
1111
1212 let e = base58'gAAmMoquySsX6q5EmzciFfB8RecAhZR9W1HKNntNekL'
1313
1414 let f = base58'89G3XEYzMSztS6RPN5h2da7j43r4zgKufReZWn1MqX7g'
1515
1616 let g = addressFromStringValue("3N97G98bPF5ghnZ1iMmQ7tMH6MBsNZnS272")
1717
1818 let h = 100000000
1919
2020 let i = 1000000
2121
2222 @Callable(j)
2323 func call () = if ((j.caller != g))
2424 then throw("only admin")
2525 else {
2626 let k = assetBalance(this, e)
2727 let l = assetBalance(this, d)
2828 let m = assetBalance(this, f)
2929 if (if (if ((k == k))
3030 then (l == l)
3131 else false)
3232 then (m == m)
3333 else false)
3434 then {
3535 let n = invoke(a, "exchange", [1], [AttachedPayment(d, (1 * h))])
3636 if ((n == n))
3737 then {
3838 let o = (assetBalance(this, e) - k)
3939 if ((o == o))
4040 then {
4141 let p = invoke(c, "exchange", [1], [AttachedPayment(e, o)])
4242 if ((p == p))
4343 then {
4444 let q = (assetBalance(this, f) - m)
4545 if ((q == q))
4646 then {
4747 let r = invoke(b, "exchange", [1], [AttachedPayment(f, q)])
4848 if ((r == r))
4949 then {
5050 let s = (assetBalance(this, d) - l)
5151 if ((s == s))
52- then {
53- let t = "ok"
52+ then if ((s > 0))
53+ then {
54+ let t = "ok"
5455 [IntegerEntry("debug", s)]
55- }
56+ }
57+ else throw(toString(s))
5658 else throw("strict value what the fuck")
5759 }
5860 else throw("strict value what the fuck")
5961 }
6062 else throw("strict value what the fuck")
6163 }
6264 else throw("strict value what the fuck")
6365 }
6466 else throw("strict value what the fuck")
6567 }
6668 else throw("strict value what the fuck")
6769 }
6870 else throw("Strict value is not equal to itself")
6971 }
7072
7173
7274 @Verifier(u)
7375 func v () = sigVerify(u.bodyBytes, u.proofs[0], u.senderPublicKey)
7476

github/deemru/w8io/169f3d6 
36.37 ms