tx · 8mWJMViQUYAhjFJFcDFGbkPyBd1vRtLJcdu6zJtSW7qK

3N7AyMYR2ovan7TNvPE9jMRTejZyXPcV9NP:  -0.05000000 Waves

2021.08.23 19:07 [1671189] smart account 3N7AyMYR2ovan7TNvPE9jMRTejZyXPcV9NP > SELF 0.00000000 Waves

{ "type": 13, "id": "8mWJMViQUYAhjFJFcDFGbkPyBd1vRtLJcdu6zJtSW7qK", "fee": 5000000, "feeAssetId": null, "timestamp": 1629734813790, "version": 2, "chainId": 84, "sender": "3N7AyMYR2ovan7TNvPE9jMRTejZyXPcV9NP", "senderPublicKey": "Go3xxijfukFnawU9Jyy1yX4dSyxKT9SYT6Tp3g6iTAjt", "proofs": [ "2uP1BGFWQTtokPyX8CbkxfnFGByAZs9h89j7Gv6Vm5sppNjdM5bvdh4SA5jaNPs5kpJKLno3hQRXawsB25Grzjpb" ], "script": "base64:AAIFAAAAAAAAAfoIAhIECgIBARIECgIBARoICgJhMRICV1UaCAoCYTISAlNXGggKAmEzEgJTVRoHCgJhNBIBVxoHCgJhNRIBVRoHCgJhNhIBUxoLCgJhNxIFYWRtaW4aDAoCYTgSBnNjYWxlOBoeCgJhORIYY29tbWlzc2lvblNjYWxlRGVsaW1pdGVyGhAKAmIxEgpjb21taXNzaW9uGgoKAmIyEgRmZWVzGgoKAmIzEgRmcm9tGggKAmI0EgJ0bxoKCgJiNRIEYW1udBoWCgJiNhIQYW1vdW50V2l0aG91dEZlZRoTCgJiNxINYW1vdW50V2l0aEZlZRoHCgJiOBIBaRoJCgJiORIDbWluGgkKAmMxEgNlMWEaCQoCYzISA2UxYhoJCgJjMxIDZTJhGgkKAmM0EgNlMmIaCQoCYzUSA2UzYRoJCgJjNhIDZTNiGgkKAmM3EgNiYnUaCQoCYzgSA2JidxoJCgJjORIDYmJzGgoKAmQxEgRkaWZ1GgoKAmQyEgRkaWZzGgoKAmQzEgRkaWZ3GgsKAmQ0EgVzd2FwMRoLCgJkNRIFZGlmZnUaCwoCZDYSBX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W1lbnQAAAACBQAAAAJhNgUAAAACZDcFAAAAA25pbAMJAAAAAAAAAgUAAAACZDYFAAAAAmQ2BAAAAAJkNQkAAGUAAAACCQAD8AAAAAIFAAAABHRoaXMFAAAAAmE1BQAAAAJjNwMJAAAAAAAAAgUAAAACZDUFAAAAAmQ1BAAAAAJkOAkAA/wAAAAEBQAAAAJhMQIAAAAIZXhjaGFuZ2UJAARMAAAAAgAAAAAAAAAAAQUAAAADbmlsCQAETAAAAAIJAQAAAA9BdHRhY2hlZFBheW1lbnQAAAACBQAAAAJhNQUAAAACZDUFAAAAA25pbAMJAAAAAAAAAgUAAAACZDgFAAAAAmQ4BAAAAAJkOQkAAGUAAAACCQAD8AAAAAIFAAAABHRoaXMFAAAAAmE0BQAAAAJjOAMJAAAAAAAAAgUAAAACZDkFAAAAAmQ5AwkAAGYAAAACBQAAAAJkOQUAAAACYjkEAAAAAmUxAgAAAAJvawkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAFZGVidWcFAAAAAmQ5BQAAAANuaWwJAAACAAAAAQkAAaQAAAABBQAAAAJkOQkAAAIAAAABAgAAAAZzdHJpY3QJAAACAAAAAQIAAAAGc3RyaWN0CQAAAgAAAAECAAAABnN0cmljdAkAAAIAAAABAgAAAAZzdHJpY3QJAAACAAAAAQIAAAAGc3RyaWN0CQAAAgAAAAECAAAABnN0cmljdAkAAAIAAAABAgAAAAZTdHJpY3QAAAABAAAAAmUyAQAAAAJlMwAAAAAJAAH0AAAAAwgFAAAAAmUyAAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACZTIAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACZTIAAAAPc2VuZGVyUHVibGljS2V53IXHIQ==", "height": 1671189, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: hEWtLEXeQjKyAjVE6wo4MHYo9zmzmRXYDkiVkyHSVyG Next: DnBq9Q8gpE7Ume3vPDXSU3WHAhhJUrXF3DL7EHLusSY5 Diff:
OldNewDifferences
3838 let e1b = getIntegerValue(WU, "B_asset_balance")
3939 if ((e1b == e1b))
4040 then {
41- let e2a = getIntegerValue(SW, "A_asset_balance")
41+ let e2a = getIntegerValue(SU, "A_asset_balance")
4242 if ((e2a == e2a))
4343 then {
44- let e2b = getIntegerValue(SW, "B_asset_balance")
44+ let e2b = getIntegerValue(SU, "B_asset_balance")
4545 if ((e2b == e2b))
4646 then {
47- let e3a = getIntegerValue(SU, "A_asset_balance")
47+ let e3a = getIntegerValue(SW, "A_asset_balance")
4848 if ((e3a == e3a))
4949 then {
50- let e3b = getIntegerValue(SU, "B_asset_balance")
50+ let e3b = getIntegerValue(SW, "B_asset_balance")
5151 if ((e3b == e3b))
5252 then {
5353 let bbu = assetBalance(this, U)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let WU = addressFromStringValue(value("3NDD3ifAC17cLzxuYqsgXDRY9DTQ5BqmvwL"))
55
66 let SW = addressFromStringValue(value("3NAzES7pSjfoHsKNumP5HRtSt3qadbqnHip"))
77
88 let SU = addressFromStringValue(value("3MrBtdped4oUFs1BvLNu53Dm1AMGiTHkT9B"))
99
1010 let W = base58'3Tg4GRpKeek5wWAQRJKH1ucjMuKNom3f2h67WNNu6xVS'
1111
1212 let U = base58'gAAmMoquySsX6q5EmzciFfB8RecAhZR9W1HKNntNekL'
1313
1414 let S = base58'89G3XEYzMSztS6RPN5h2da7j43r4zgKufReZWn1MqX7g'
1515
1616 let admin = addressFromStringValue("3N97G98bPF5ghnZ1iMmQ7tMH6MBsNZnS272")
1717
1818 let scale8 = 100000000
1919
2020 let commissionScaleDelimiter = 1000000
2121
2222 let commission = 3000
2323
2424 func fees (from,to,amnt) = {
2525 let amountWithoutFee = fraction(to, amnt, (amnt + from))
2626 let amountWithFee = fraction(amountWithoutFee, (commissionScaleDelimiter - commission), commissionScaleDelimiter)
2727 amountWithFee
2828 }
2929
3030
3131 @Callable(i)
3232 func call1 (amnt,min) = if ((i.caller != admin))
3333 then throw("only admin")
3434 else {
3535 let e1a = getIntegerValue(WU, "A_asset_balance")
3636 if ((e1a == e1a))
3737 then {
3838 let e1b = getIntegerValue(WU, "B_asset_balance")
3939 if ((e1b == e1b))
4040 then {
41- let e2a = getIntegerValue(SW, "A_asset_balance")
41+ let e2a = getIntegerValue(SU, "A_asset_balance")
4242 if ((e2a == e2a))
4343 then {
44- let e2b = getIntegerValue(SW, "B_asset_balance")
44+ let e2b = getIntegerValue(SU, "B_asset_balance")
4545 if ((e2b == e2b))
4646 then {
47- let e3a = getIntegerValue(SU, "A_asset_balance")
47+ let e3a = getIntegerValue(SW, "A_asset_balance")
4848 if ((e3a == e3a))
4949 then {
50- let e3b = getIntegerValue(SU, "B_asset_balance")
50+ let e3b = getIntegerValue(SW, "B_asset_balance")
5151 if ((e3b == e3b))
5252 then {
5353 let bbu = assetBalance(this, U)
5454 if ((bbu == bbu))
5555 then {
5656 let bbw = assetBalance(this, W)
5757 if ((bbw == bbw))
5858 then {
5959 let bbs = assetBalance(this, S)
6060 if ((bbs == bbs))
6161 then {
6262 let difu = fees(e1a, e1b, (amnt * scale8))
6363 if ((difu == difu))
6464 then {
6565 let difs = fees(e2a, e2b, difu)
6666 if ((difs == difs))
6767 then {
6868 let difw = fees(e3a, e3b, difs)
6969 if ((difw == difw))
7070 then if ((difw > ((amnt * scale8) + min)))
7171 then {
7272 let swap1 = invoke(WU, "exchange", [1], [AttachedPayment(W, (amnt * scale8))])
7373 if ((swap1 == swap1))
7474 then {
7575 let diffu = (assetBalance(this, U) - bbu)
7676 if ((diffu == diffu))
7777 then {
7878 let swap2 = invoke(SU, "exchange", [1], [AttachedPayment(U, diffu)])
7979 if ((swap2 == swap2))
8080 then {
8181 let diffs = (assetBalance(this, S) - bbs)
8282 if ((diffs == diffs))
8383 then {
8484 let swap3 = invoke(SW, "exchange", [1], [AttachedPayment(S, diffs)])
8585 if ((swap3 == swap3))
8686 then {
8787 let diffw = (assetBalance(this, W) - bbw)
8888 if ((diffw == diffw))
8989 then if ((diffw > min))
9090 then [IntegerEntry("debug", diffw)]
9191 else throw(("diffw" + toString(diffw)))
9292 else throw("Strict value is not equal to itself.")
9393 }
9494 else throw("Strict value is not equal to itself.")
9595 }
9696 else throw("Strict value is not equal to itself.")
9797 }
9898 else throw("Strict value is not equal to itself.")
9999 }
100100 else throw("Strict value is not equal to itself.")
101101 }
102102 else throw("Strict value is not equal to itself.")
103103 }
104104 else throw(("difw" + toString(difw)))
105105 else throw("Strict value is not equal to itself.")
106106 }
107107 else throw("Strict value is not equal to itself.")
108108 }
109109 else throw("Strict value is not equal to itself.")
110110 }
111111 else throw("Strict value is not equal to itself.")
112112 }
113113 else throw("Strict value is not equal to itself.")
114114 }
115115 else throw("Strict value is not equal to itself.")
116116 }
117117 else throw("Strict value is not equal to itself.")
118118 }
119119 else throw("Strict value is not equal to itself.")
120120 }
121121 else throw("Strict value is not equal to itself.")
122122 }
123123 else throw("Strict value is not equal to itself.")
124124 }
125125 else throw("Strict value is not equal to itself.")
126126 }
127127 else throw("Strict value is not equal to itself.")
128128 }
129129
130130
131131
132132 @Callable(i)
133133 func call2 (amnt,min) = if ((i.caller != admin))
134134 then throw("only admin")
135135 else {
136136 let bbu = assetBalance(this, U)
137137 let bbw = assetBalance(this, W)
138138 let bbs = assetBalance(this, S)
139139 if (if (if ((bbu == bbu))
140140 then (bbw == bbw)
141141 else false)
142142 then (bbs == bbs)
143143 else false)
144144 then {
145145 let swap1 = invoke(SW, "exchange", [1], [AttachedPayment(W, (amnt * scale8))])
146146 if ((swap1 == swap1))
147147 then {
148148 let diffs = (assetBalance(this, S) - bbs)
149149 if ((diffs == diffs))
150150 then {
151151 let swap2 = invoke(SU, "exchange", [1], [AttachedPayment(S, diffs)])
152152 if ((swap2 == swap2))
153153 then {
154154 let diffu = (assetBalance(this, U) - bbu)
155155 if ((diffu == diffu))
156156 then {
157157 let swap3 = invoke(WU, "exchange", [1], [AttachedPayment(U, diffu)])
158158 if ((swap3 == swap3))
159159 then {
160160 let diffw = (assetBalance(this, W) - bbw)
161161 if ((diffw == diffw))
162162 then if ((diffw > min))
163163 then {
164164 let ok = "ok"
165165 [IntegerEntry("debug", diffw)]
166166 }
167167 else throw(toString(diffw))
168168 else throw("strict")
169169 }
170170 else throw("strict")
171171 }
172172 else throw("strict")
173173 }
174174 else throw("strict")
175175 }
176176 else throw("strict")
177177 }
178178 else throw("strict")
179179 }
180180 else throw("Strict")
181181 }
182182
183183
184184 @Verifier(tx)
185185 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
186186

github/deemru/w8io/169f3d6 
43.68 ms