tx · 9Se83aPHtNhZmZxgFxnaaMLC7oTpseqo3KCKW12sLt7N

3Mx8raFsQfjh2JBeT8MN1Jv5sTvGkx5PDDS:  -0.01000000 Waves

2023.08.31 17:26 [2734969] smart account 3Mx8raFsQfjh2JBeT8MN1Jv5sTvGkx5PDDS > SELF 0.00000000 Waves

{ "type": 13, "id": "9Se83aPHtNhZmZxgFxnaaMLC7oTpseqo3KCKW12sLt7N", "fee": 1000000, "feeAssetId": null, "timestamp": 1693492047618, "version": 2, "chainId": 84, "sender": "3Mx8raFsQfjh2JBeT8MN1Jv5sTvGkx5PDDS", "senderPublicKey": "HmWR8GbhBF4LAodJ9xNgR7PpWF79RuCrhPWJWxqdB1KL", "proofs": [ "4tiCUdoPjGyQ562G48rGBCFRaZDf7zvdd6S33W4grZuvUJPxpYDVtAD4uWzLnScwhJAE5yJvBQ3W7SXcWpmBRZ7H" ], "script": "base64:AAIFAAAAAAAAAA4IAhIAEgMKAQESAwoBAQAAAAQAAAAAEWxwX2FkZHJlc3NfcHVia2V5AQAAACD5Ic6hH7prLmpePnu+NHOaX7/pUxioJAxXi6SfYaOBNwAAAAAgbWFzc3RyYW5zZmVyX3doaXRlbGlzdGVkX2FkZHJlc3MJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEFAAAAEWxwX2FkZHJlc3NfcHVia2V5AAAAABRscF9kZXBvc2l0b3JfYWRkcmVzcwEAAAAg463XstSKNtaiPAMTm2AWTDVjxzAiveOx6Vx7CmnuvCMAAAAAFGxwX3doaXRlbGlzdF9hZGRyZXNzCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABBQAAABRscF9kZXBvc2l0b3JfYWRkcmVzcwAAAAMAAAABaQEAAAAQQWRkUG9vbExpcXVpZGl0eQAAAAAEAAAADWNhbGxlcmFkZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAADcG10AwkAAAAAAAACCQABkAAAAAEIBQAAAAFpAA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AAIAAAABAgAAAD5QbGFjZWQgV2l0aGRyYXcgQW1vdW50IFNpemUgaXMgbW9yZSB0aGFuIFRvdGFsIFBvb2wgTGlxdWlkaXR5LgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAUVG90YWxfUG9vbF9MaXF1aWRpdHkFAAAAFHVwZGF0ZWRfcG9vbF9iYWxhbmNlCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAABNMUF9XaXRoZHJhd19Db3VudGVyBQAAABZUb3RhbExQV2l0aGRyYXdDb3VudGVyCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAABFUb3RhbF9MUF9XaXRoZHJhdwUAAAAPVG90YWxMUFdpdGhkcmF3CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAGkAAAAAQUAAAAWVG90YWxMUFdpdGhkcmF3Q291bnRlcgIAAAAMX0xQX1dpdGhkcmF3BQAAAA9Ub3RhbExQV2l0aGRyYXcFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4AwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAFT3JkZXIGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwBwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkre8G3", "height": 2734969, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: F4zqxUGZ554ec6aZMQhghSuG9q1qRrUzqSdpXn1HdY13 Next: Cqr1NRm9yk7gzPsJfNcDekX6t1bSyvQ1e7tvybJSUweU Diff:
OldNewDifferences
8282 let x = (w + p)
8383 if ((e.caller != b))
8484 then throw((("This Address is not Authorized. Only " + toString(b)) + " is Authorized Address to Sign it."))
85- else [IntegerEntry("Total_Pool_Liquidity", t), IntegerEntry("Mass_Transfer_Counter", v), IntegerEntry("Total_Mass_Transfer_Send", x), IntegerEntry((toString(v) + "_Mass_Transfer_Send"), p)]
85+ else if ((p > r))
86+ then throw("Placed Mass Transfer Amount Size is more than Total Pool Liquidity.")
87+ else [IntegerEntry("Total_Pool_Liquidity", t), IntegerEntry("Mass_Transfer_Counter", v), IntegerEntry("Total_Mass_Transfer_Send", x), IntegerEntry((toString(v) + "_Mass_Transfer_Send"), p)]
8688 }
8789
8890
89-@Verifier(y)
90-func z () = {
91- let i = y
91+
92+@Callable(e)
93+func WithdrawLPBalance (y) = {
94+ let r = valueOrErrorMessage(getInteger(this, "Total_Pool_Liquidity"), "No Initial Pool Liquidity was Found.")
95+ let t = (r - y)
96+ let z = {
97+ let i = getInteger(this, "LP_Withdraw_Counter")
98+ if ($isInstanceOf(i, "Int"))
99+ then {
100+ let j = i
101+ j
102+ }
103+ else 0
104+ }
105+ let A = (z + 1)
106+ let B = {
107+ let i = getInteger(this, "Total_LP_Withdraw")
108+ if ($isInstanceOf(i, "Int"))
109+ then {
110+ let j = i
111+ j
112+ }
113+ else 0
114+ }
115+ let C = (B + y)
116+ if ((e.caller != d))
117+ then throw((("This Address is not Authorized. Only " + toString(b)) + " is Authorized Address to Sign it."))
118+ else if ((y > r))
119+ then throw("Placed Withdraw Amount Size is more than Total Pool Liquidity.")
120+ else [IntegerEntry("Total_Pool_Liquidity", t), IntegerEntry("LP_Withdraw_Counter", A), IntegerEntry("Total_LP_Withdraw", C), IntegerEntry((toString(A) + "_LP_Withdraw"), C)]
121+ }
122+
123+
124+@Verifier(D)
125+func E () = {
126+ let i = D
92127 if (if ($isInstanceOf(i, "Order"))
93128 then true
94129 else if ($isInstanceOf(i, "ExchangeTransaction"))
95130 then true
96131 else $isInstanceOf(i, "TransferTransaction"))
97132 then {
98- let A = i
133+ let F = i
99134 false
100135 }
101- else sigVerify(y.bodyBytes, y.proofs[0], y.senderPublicKey)
136+ else sigVerify(D.bodyBytes, D.proofs[0], D.senderPublicKey)
102137 }
103138
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'HmWR8GbhBF4LAodJ9xNgR7PpWF79RuCrhPWJWxqdB1KL'
55
66 let b = addressFromPublicKey(a)
77
88 let c = base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr'
99
1010 let d = addressFromPublicKey(c)
1111
1212 @Callable(e)
1313 func AddPoolLiquidity () = {
1414 let f = toBase58String(e.caller.bytes)
1515 let g = if ((size(e.payments) == 1))
1616 then e.payments[0]
1717 else throw("No payment attached, Please Attach only Whitelisted Tokens in payment[1].")
1818 let h = {
1919 let i = getInteger(this, "Total_LP_Added")
2020 if ($isInstanceOf(i, "Int"))
2121 then {
2222 let j = i
2323 j
2424 }
2525 else 0
2626 }
2727 let k = (h + g.amount)
2828 let l = {
2929 let i = getInteger(this, "Total_Pool_Liquidity")
3030 if ($isInstanceOf(i, "Int"))
3131 then {
3232 let j = i
3333 j
3434 }
3535 else 0
3636 }
3737 let m = (l + g.amount)
3838 let n = {
3939 let i = getInteger(this, "LP_Deposit_Counter")
4040 if ($isInstanceOf(i, "Int"))
4141 then {
4242 let j = i
4343 j
4444 }
4545 else 0
4646 }
4747 let o = (n + 1)
4848 if ((e.caller != d))
4949 then throw((("This Address is not Authorized. Only " + toString(d)) + " is Authorized Address to Sign it."))
5050 else if (isDefined(g.assetId))
5151 then throw("Only WAVES is allowed to deposit at the moment")
5252 else [IntegerEntry("Total_Pool_Liquidity", m), IntegerEntry("LP_Deposit_Counter", o), IntegerEntry("Total_LP_Added", k)]
5353 }
5454
5555
5656
5757 @Callable(e)
5858 func UpdateLPBalance (p) = {
5959 let q = wavesBalance(this).regular
6060 let r = valueOrErrorMessage(getInteger(this, "Total_Pool_Liquidity"), "No Initial Pool Liquidity was Found.")
6161 let s = (q - r)
6262 let t = ((r - p) + s)
6363 let u = {
6464 let i = getInteger(this, "Mass_Transfer_Counter")
6565 if ($isInstanceOf(i, "Int"))
6666 then {
6767 let j = i
6868 j
6969 }
7070 else 0
7171 }
7272 let v = (u + 1)
7373 let w = {
7474 let i = getInteger(this, "Total_Mass_Transfer_Send")
7575 if ($isInstanceOf(i, "Int"))
7676 then {
7777 let j = i
7878 j
7979 }
8080 else 0
8181 }
8282 let x = (w + p)
8383 if ((e.caller != b))
8484 then throw((("This Address is not Authorized. Only " + toString(b)) + " is Authorized Address to Sign it."))
85- else [IntegerEntry("Total_Pool_Liquidity", t), IntegerEntry("Mass_Transfer_Counter", v), IntegerEntry("Total_Mass_Transfer_Send", x), IntegerEntry((toString(v) + "_Mass_Transfer_Send"), p)]
85+ else if ((p > r))
86+ then throw("Placed Mass Transfer Amount Size is more than Total Pool Liquidity.")
87+ else [IntegerEntry("Total_Pool_Liquidity", t), IntegerEntry("Mass_Transfer_Counter", v), IntegerEntry("Total_Mass_Transfer_Send", x), IntegerEntry((toString(v) + "_Mass_Transfer_Send"), p)]
8688 }
8789
8890
89-@Verifier(y)
90-func z () = {
91- let i = y
91+
92+@Callable(e)
93+func WithdrawLPBalance (y) = {
94+ let r = valueOrErrorMessage(getInteger(this, "Total_Pool_Liquidity"), "No Initial Pool Liquidity was Found.")
95+ let t = (r - y)
96+ let z = {
97+ let i = getInteger(this, "LP_Withdraw_Counter")
98+ if ($isInstanceOf(i, "Int"))
99+ then {
100+ let j = i
101+ j
102+ }
103+ else 0
104+ }
105+ let A = (z + 1)
106+ let B = {
107+ let i = getInteger(this, "Total_LP_Withdraw")
108+ if ($isInstanceOf(i, "Int"))
109+ then {
110+ let j = i
111+ j
112+ }
113+ else 0
114+ }
115+ let C = (B + y)
116+ if ((e.caller != d))
117+ then throw((("This Address is not Authorized. Only " + toString(b)) + " is Authorized Address to Sign it."))
118+ else if ((y > r))
119+ then throw("Placed Withdraw Amount Size is more than Total Pool Liquidity.")
120+ else [IntegerEntry("Total_Pool_Liquidity", t), IntegerEntry("LP_Withdraw_Counter", A), IntegerEntry("Total_LP_Withdraw", C), IntegerEntry((toString(A) + "_LP_Withdraw"), C)]
121+ }
122+
123+
124+@Verifier(D)
125+func E () = {
126+ let i = D
92127 if (if ($isInstanceOf(i, "Order"))
93128 then true
94129 else if ($isInstanceOf(i, "ExchangeTransaction"))
95130 then true
96131 else $isInstanceOf(i, "TransferTransaction"))
97132 then {
98- let A = i
133+ let F = i
99134 false
100135 }
101- else sigVerify(y.bodyBytes, y.proofs[0], y.senderPublicKey)
136+ else sigVerify(D.bodyBytes, D.proofs[0], D.senderPublicKey)
102137 }
103138

github/deemru/w8io/026f985 
26.38 ms