tx · H1keRYgn5mT4JkTmph1Buy1mnNepLbqFqS9d5wo58h18 3MsVsEgTUxTm6ETYkHGaqMhMhiY2Nb3yDN5: -0.01900000 Waves 2023.09.24 09:23 [2769119] smart account 3MsVsEgTUxTm6ETYkHGaqMhMhiY2Nb3yDN5 > SELF 0.00000000 Waves
{ "type": 13, "id": "H1keRYgn5mT4JkTmph1Buy1mnNepLbqFqS9d5wo58h18", "fee": 1900000, "feeAssetId": null, "timestamp": 1695536654317, "version": 2, "chainId": 84, "sender": "3MsVsEgTUxTm6ETYkHGaqMhMhiY2Nb3yDN5", "senderPublicKey": "2LmNyaN5YAXdg9C5vsXcTLU66hsW2KUNPsN7KcHBYhUo", "proofs": [ "wxvZMDctRNvprBe74som9989z3J2c8QyVC3hBVyqZnktga62NivsrEayTUwaKhe9iz3aNFNsrAnTtSTd3uNSvZN" ], "script": "base64:BgIgCAISAwoBCBIDCgEIEgMKAQgSAwoBCBIDCgEIEgMKAQgFAA5kQXBwU2luY2VTdGFydADA9/eMqjEAC2xpc3RpbmdfZmVlAID24EIAClhUTkFzc2V0SUQBIAhlhLcP8IpqGvPiaOguCJAkw9MnWAPNLPYuXgvf2hWkABFDb2xsZWN0RmVlQWRkcmVzcwkApwgBASBSg9mgi9eQkjsz5eBARHIbc7Hg/F4fmB0sxZ6ySMfiIAEJY291bnRkYXlzAAQHVFNfRGlmZgkAZQIIBQlsYXN0QmxvY2sJdGltZXN0YW1wBQ5kQXBwU2luY2VTdGFydAQJZGF5bnVtYmVyCQBrAwABBQdUU19EaWZmAIC4mSkFCWRheW51bWJlcgYBaQEMUmVnaXN0ZXJQYWlyAQxFbnRlckFzc2V0SUQEBHBtdDEJAQV2YWx1ZQEJAJEDAggFAWkIcGF5bWVudHMAAAQEcG10MgkBBXZhbHVlAQkAkQMCCAUBaQhwYXltZW50cwABBARwbXQzCQEFdmFsdWUBCQCRAwIIBQFpCHBheW1lbnRzAAIECmN1cnJlbnRLZXkJANgEAQgIBQFpBmNhbGxlc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nR4AQZ2ZXJpZnkACQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5nQxUrg==", "height": 2769119, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9RMqGaS7htDjdg9JHWteCNNSDJMnui3ALmSDPesFCyND Next: Gjv6hNZfH8Pbz3vNLYGLvTCaWRtbo1yfAM4pG4J6CeLj Diff:
Old | New | Differences | |
---|---|---|---|
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let dAppSinceStart = 1694928600000 | |
5 | 5 | ||
6 | - | let listing_fee = | |
6 | + | let listing_fee = 140000000 | |
7 | 7 | ||
8 | 8 | let XTNAssetID = base58'Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H' | |
9 | 9 | ||
20 | 20 | func RegisterPair (EnterAssetID) = { | |
21 | 21 | let pmt1 = value(i.payments[0]) | |
22 | 22 | let pmt2 = value(i.payments[1]) | |
23 | + | let pmt3 = value(i.payments[2]) | |
23 | 24 | let currentKey = toBase58String(i.caller.bytes) | |
24 | 25 | let WAVES = !(isDefined(pmt2.assetId)) | |
25 | 26 | let fetchpair = getString(this, ("Pair_UV_" + EnterAssetID)) | |
44 | 45 | then throw("Attached payment[1] amount is less than 0.1 XTN, please attach 0.1 XTN Minimum.") | |
45 | 46 | else if ((pmt2.assetId != assetinfopmt2)) | |
46 | 47 | then throw("Input String & Attached AssetID in payment2 is not matching.") | |
47 | - | else if ((WAVES == true)) | |
48 | - | then throw("You Attached WAVES Asset ID for Listing, please attach Tokens You want to list in payment[2].") | |
49 | - | else [StringEntry(("Pair_UV_" + EnterAssetID), EnterAssetID), IntegerEntry(("Listing_Fee_" + EnterAssetID), pmt1.amount), IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(XTNAssetID)), pmt1.amount), IntegerEntry(((("Balance_of_" + toBase58String(XTNAssetID)) + "_") + EnterAssetID), pmt2.amount), IntegerEntry(("Total_of_Pair_Txns_" + EnterAssetID), 0), IntegerEntry(((("Total_Swap_Fee_Collected_" + EnterAssetID) + "_") + toBase58String(XTNAssetID)), 0), IntegerEntry(("Total_Swap_Fee_Collected_" + EnterAssetID), 0), IntegerEntry(((((toString(Currentday) + "_Day_Volume_") + EnterAssetID) + "_") + toBase58String(XTNAssetID)), 0), IntegerEntry(((((toString(Currentday) + "_Day_Volume_") + toBase58String(XTNAssetID)) + "_") + EnterAssetID), 0), LPissue, ScriptTransfer(i.caller, getSqrt, LPid), StringEntry(("LP_" + EnterAssetID), toBase58String(LPid)), IntegerEntry(("Total_LP_" + EnterAssetID), getSqrt)] | |
48 | + | else if ((pmt3.amount != listing_fee)) | |
49 | + | then throw((("Attached payment[3] amount has to be exact [" + toString(listing_fee)) + "/10^8] WAVES.")) | |
50 | + | else if ((WAVES == true)) | |
51 | + | then throw("You Attached WAVES Asset ID for Listing, please attach Tokens You want to list in payment[2].") | |
52 | + | else [StringEntry(("Pair_UV_" + EnterAssetID), EnterAssetID), IntegerEntry(("Listing_Fee_" + EnterAssetID), pmt3.amount), IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(XTNAssetID)), pmt1.amount), IntegerEntry(((("Balance_of_" + toBase58String(XTNAssetID)) + "_") + EnterAssetID), pmt2.amount), IntegerEntry(("Total_of_Pair_Txns_" + EnterAssetID), 0), IntegerEntry(((("Total_Swap_Fee_Collected_" + EnterAssetID) + "_") + toBase58String(XTNAssetID)), 0), IntegerEntry(("Total_Swap_Fee_Collected_" + EnterAssetID), 0), IntegerEntry(((((toString(Currentday) + "_Day_Volume_") + EnterAssetID) + "_") + toBase58String(XTNAssetID)), 0), IntegerEntry(((((toString(Currentday) + "_Day_Volume_") + toBase58String(XTNAssetID)) + "_") + EnterAssetID), 0), LPissue, ScriptTransfer(i.caller, getSqrt, LPid), StringEntry(("LP_" + EnterAssetID), toBase58String(LPid)), IntegerEntry(("Total_LP_" + EnterAssetID), getSqrt)] | |
50 | 53 | } | |
51 | 54 | ||
52 | 55 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let dAppSinceStart = 1694928600000 | |
5 | 5 | ||
6 | - | let listing_fee = | |
6 | + | let listing_fee = 140000000 | |
7 | 7 | ||
8 | 8 | let XTNAssetID = base58'Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H' | |
9 | 9 | ||
10 | 10 | let CollectFeeAddress = addressFromPublicKey(base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR') | |
11 | 11 | ||
12 | 12 | func countdays () = { | |
13 | 13 | let TS_Diff = (lastBlock.timestamp - dAppSinceStart) | |
14 | 14 | let daynumber = fraction(1, TS_Diff, 86400000) | |
15 | 15 | daynumber | |
16 | 16 | } | |
17 | 17 | ||
18 | 18 | ||
19 | 19 | @Callable(i) | |
20 | 20 | func RegisterPair (EnterAssetID) = { | |
21 | 21 | let pmt1 = value(i.payments[0]) | |
22 | 22 | let pmt2 = value(i.payments[1]) | |
23 | + | let pmt3 = value(i.payments[2]) | |
23 | 24 | let currentKey = toBase58String(i.caller.bytes) | |
24 | 25 | let WAVES = !(isDefined(pmt2.assetId)) | |
25 | 26 | let fetchpair = getString(this, ("Pair_UV_" + EnterAssetID)) | |
26 | 27 | let assetinfopmt2 = fromBase58String(EnterAssetID) | |
27 | 28 | let Currentday = countdays() | |
28 | 29 | let info = valueOrErrorMessage(assetInfo(fromBase58String(EnterAssetID)), (("Asset " + EnterAssetID) + " doesn't exist")) | |
29 | 30 | let name = info.name | |
30 | 31 | let decimals = info.decimals | |
31 | 32 | let LPdecimals = fraction((decimals + 6), 1, 2) | |
32 | 33 | let FirstLPQty = (1 * pow(10, 0, LPdecimals, 0, 0, CEILING)) | |
33 | 34 | let multiply_amounts = fraction(pmt1.amount, pmt2.amount, FirstLPQty) | |
34 | 35 | let getSqrt = sqrt(multiply_amounts, LPdecimals, LPdecimals, CEILING) | |
35 | 36 | let LPissue = Issue((("LP-" + take(name, 8)) + "-XTN"), (((("LP-" + name) + "-XTN") + " is a Liquidity Provider Token Issued Against ") + EnterAssetID), getSqrt, LPdecimals, true) | |
36 | 37 | let LPid = calculateAssetId(LPissue) | |
37 | 38 | if ((fetchpair == EnterAssetID)) | |
38 | 39 | then throw("Pair Already Exist in List.") | |
39 | 40 | else if ((size(i.payments) != 3)) | |
40 | 41 | then throw((("Two attached assets expected as payment. Kindly Attach payment1 = XTN Token & payment2 = Token you want to List & payment3 = [" + toString(listing_fee)) + "/10^8] Waves.")) | |
41 | 42 | else if ((pmt1.assetId != XTNAssetID)) | |
42 | 43 | then throw("Incorrect asset attached as payment[1], please attach XTN only.") | |
43 | 44 | else if ((100000 > pmt1.amount)) | |
44 | 45 | then throw("Attached payment[1] amount is less than 0.1 XTN, please attach 0.1 XTN Minimum.") | |
45 | 46 | else if ((pmt2.assetId != assetinfopmt2)) | |
46 | 47 | then throw("Input String & Attached AssetID in payment2 is not matching.") | |
47 | - | else if ((WAVES == true)) | |
48 | - | then throw("You Attached WAVES Asset ID for Listing, please attach Tokens You want to list in payment[2].") | |
49 | - | else [StringEntry(("Pair_UV_" + EnterAssetID), EnterAssetID), IntegerEntry(("Listing_Fee_" + EnterAssetID), pmt1.amount), IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(XTNAssetID)), pmt1.amount), IntegerEntry(((("Balance_of_" + toBase58String(XTNAssetID)) + "_") + EnterAssetID), pmt2.amount), IntegerEntry(("Total_of_Pair_Txns_" + EnterAssetID), 0), IntegerEntry(((("Total_Swap_Fee_Collected_" + EnterAssetID) + "_") + toBase58String(XTNAssetID)), 0), IntegerEntry(("Total_Swap_Fee_Collected_" + EnterAssetID), 0), IntegerEntry(((((toString(Currentday) + "_Day_Volume_") + EnterAssetID) + "_") + toBase58String(XTNAssetID)), 0), IntegerEntry(((((toString(Currentday) + "_Day_Volume_") + toBase58String(XTNAssetID)) + "_") + EnterAssetID), 0), LPissue, ScriptTransfer(i.caller, getSqrt, LPid), StringEntry(("LP_" + EnterAssetID), toBase58String(LPid)), IntegerEntry(("Total_LP_" + EnterAssetID), getSqrt)] | |
48 | + | else if ((pmt3.amount != listing_fee)) | |
49 | + | then throw((("Attached payment[3] amount has to be exact [" + toString(listing_fee)) + "/10^8] WAVES.")) | |
50 | + | else if ((WAVES == true)) | |
51 | + | then throw("You Attached WAVES Asset ID for Listing, please attach Tokens You want to list in payment[2].") | |
52 | + | else [StringEntry(("Pair_UV_" + EnterAssetID), EnterAssetID), IntegerEntry(("Listing_Fee_" + EnterAssetID), pmt3.amount), IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(XTNAssetID)), pmt1.amount), IntegerEntry(((("Balance_of_" + toBase58String(XTNAssetID)) + "_") + EnterAssetID), pmt2.amount), IntegerEntry(("Total_of_Pair_Txns_" + EnterAssetID), 0), IntegerEntry(((("Total_Swap_Fee_Collected_" + EnterAssetID) + "_") + toBase58String(XTNAssetID)), 0), IntegerEntry(("Total_Swap_Fee_Collected_" + EnterAssetID), 0), IntegerEntry(((((toString(Currentday) + "_Day_Volume_") + EnterAssetID) + "_") + toBase58String(XTNAssetID)), 0), IntegerEntry(((((toString(Currentday) + "_Day_Volume_") + toBase58String(XTNAssetID)) + "_") + EnterAssetID), 0), LPissue, ScriptTransfer(i.caller, getSqrt, LPid), StringEntry(("LP_" + EnterAssetID), toBase58String(LPid)), IntegerEntry(("Total_LP_" + EnterAssetID), getSqrt)] | |
50 | 53 | } | |
51 | 54 | ||
52 | 55 | ||
53 | 56 | ||
54 | 57 | @Callable(i) | |
55 | 58 | func SwapAssetToXTNPairEntry (EnterAssetID) = { | |
56 | 59 | let calleraddress = toBase58String(i.caller.bytes) | |
57 | 60 | let pmt = if ((size(i.payments) == 1)) | |
58 | 61 | then i.payments[0] | |
59 | 62 | else throw("Whitelisted Token is required as Attached payment[1].") | |
60 | 63 | let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID)) | |
61 | 64 | let CheckXTNBalance = getIntegerValue(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(XTNAssetID))) | |
62 | 65 | let CheckAssetBalance = getIntegerValue(this, ((("Balance_of_" + toBase58String(XTNAssetID)) + "_") + EnterAssetID)) | |
63 | 66 | let newbalanceofXTN = fraction(CheckXTNBalance, CheckAssetBalance, (CheckAssetBalance + pmt.amount)) | |
64 | 67 | let quantityofpriceasset = (CheckXTNBalance - newbalanceofXTN) | |
65 | 68 | let SwapFee = 3 | |
66 | 69 | let Currentday = countdays() | |
67 | 70 | let SwapFeetoreceive = ((quantityofpriceasset * SwapFee) / 1000) | |
68 | 71 | let userbalancetoreceive = ((quantityofpriceasset - SwapFeetoreceive) - SwapFeetoreceive) | |
69 | 72 | let SumupofAssetToXTNSwapFee = match getInteger(this, ((("Total_Swap_Fee_Collected_" + EnterAssetID) + "_") + toBase58String(XTNAssetID))) { | |
70 | 73 | case a: Int => | |
71 | 74 | a | |
72 | 75 | case _ => | |
73 | 76 | 0 | |
74 | 77 | } | |
75 | 78 | let NewSumupofAssetToXTNSwapFee = ((SumupofAssetToXTNSwapFee + SwapFeetoreceive) + SwapFeetoreceive) | |
76 | 79 | let SumupAssetBalance = match getInteger(this, ((("Balance_of_" + toBase58String(XTNAssetID)) + "_") + EnterAssetID)) { | |
77 | 80 | case a: Int => | |
78 | 81 | a | |
79 | 82 | case _ => | |
80 | 83 | 0 | |
81 | 84 | } | |
82 | 85 | let NewSumupofAssetBalance = (CheckAssetBalance + pmt.amount) | |
83 | 86 | let SumupXTNBalance = match getInteger(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(XTNAssetID))) { | |
84 | 87 | case a: Int => | |
85 | 88 | a | |
86 | 89 | case _ => | |
87 | 90 | 0 | |
88 | 91 | } | |
89 | 92 | let NewSumupofXTNBalance = ((CheckXTNBalance - quantityofpriceasset) + SwapFeetoreceive) | |
90 | 93 | let TOPT = match getIntegerValue(this, ("Total_of_Pair_Txns_" + EnterAssetID)) { | |
91 | 94 | case a: Int => | |
92 | 95 | a | |
93 | 96 | case _ => | |
94 | 97 | 0 | |
95 | 98 | } | |
96 | 99 | let NewTPT = (TOPT + 1) | |
97 | 100 | if ((EnterAssetID == toBase58String(XTNAssetID))) | |
98 | 101 | then throw("Input can Never be a XTN AssetID. Enter Whitelisted AssetID in input & Attach Whitelisted Asset as an attachment Token in payment[1].") | |
99 | 102 | else if ((checkpairisavailableornot != EnterAssetID)) | |
100 | 103 | then throw("Pair is not available in Whitelisted Asset.") | |
101 | 104 | else if ((pmt.assetId == XTNAssetID)) | |
102 | 105 | then throw("You can't Attach XTN as an Attached Payment. Only Whitelisted Tokens are accepted.") | |
103 | 106 | else if ((pmt.assetId != fromBase58String(EnterAssetID))) | |
104 | 107 | then throw(("Incorrect asset attached, please attach or send " + EnterAssetID)) | |
105 | 108 | else if ((CheckXTNBalance == 0)) | |
106 | 109 | then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.") | |
107 | 110 | else if ((CheckAssetBalance == 0)) | |
108 | 111 | then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.") | |
109 | 112 | else if ((100000 > quantityofpriceasset)) | |
110 | 113 | then throw((("Your Attached Asset Amount is very low. Attach More " + EnterAssetID) + " Tokens to Claim the minimum Amount of 0.1 dollar atleast.")) | |
111 | 114 | else if ((quantityofpriceasset > CheckXTNBalance)) | |
112 | 115 | then throw((("Pool Only has a Liquidity of " + toString((CheckXTNBalance / pow(10, 0, 6, 0, 0, CEILING)))) + " XTN. Add Liquidity into Pool.")) | |
113 | 116 | else [IntegerEntry(((("Total_Swap_Fee_Collected_" + EnterAssetID) + "_") + toBase58String(XTNAssetID)), NewSumupofAssetToXTNSwapFee), IntegerEntry("Current_Day", Currentday), IntegerEntry(("Total_of_Pair_Txns_" + EnterAssetID), NewTPT), IntegerEntry(((("Balance_of_" + toBase58String(XTNAssetID)) + "_") + EnterAssetID), NewSumupofAssetBalance), IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(XTNAssetID)), NewSumupofXTNBalance), ScriptTransfer(i.caller, userbalancetoreceive, XTNAssetID), ScriptTransfer(CollectFeeAddress, SwapFeetoreceive, XTNAssetID)] | |
114 | 117 | } | |
115 | 118 | ||
116 | 119 | ||
117 | 120 | ||
118 | 121 | @Callable(i) | |
119 | 122 | func SwapXTNToAssetPairEntry (EnterAssetID) = { | |
120 | 123 | let calleraddress = toBase58String(i.caller.bytes) | |
121 | 124 | let pmt = if ((size(i.payments) == 1)) | |
122 | 125 | then i.payments[0] | |
123 | 126 | else throw((("Only " + toBase58String(XTNAssetID)) + " XTN Token is required as an Attached payment[1].")) | |
124 | 127 | let CheckXTNBalance = getIntegerValue(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(XTNAssetID))) | |
125 | 128 | let CheckAssetBalance = getIntegerValue(this, ((("Balance_of_" + toBase58String(XTNAssetID)) + "_") + EnterAssetID)) | |
126 | 129 | let newbalanceofAsset = fraction(CheckXTNBalance, CheckAssetBalance, (CheckXTNBalance + pmt.amount)) | |
127 | 130 | let quantityofpriceasset = (CheckAssetBalance - newbalanceofAsset) | |
128 | 131 | let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID)) | |
129 | 132 | let SwapFee = 3 | |
130 | 133 | let Currentday = countdays() | |
131 | 134 | let SwapFeetoreceive = ((quantityofpriceasset * SwapFee) / 1000) | |
132 | 135 | let userbalancetoreceive = ((quantityofpriceasset - SwapFeetoreceive) - SwapFeetoreceive) | |
133 | 136 | let SumupofXTNToAssetSwapFee = match getInteger(this, ("Total_Swap_Fee_Collected_" + EnterAssetID)) { | |
134 | 137 | case a: Int => | |
135 | 138 | a | |
136 | 139 | case _ => | |
137 | 140 | 0 | |
138 | 141 | } | |
139 | 142 | let NewSumupofXTNToAssetSwapFee = ((SumupofXTNToAssetSwapFee + SwapFeetoreceive) + SwapFeetoreceive) | |
140 | 143 | let SumupAssetBalance = match getInteger(this, ((("Balance_of_" + toBase58String(XTNAssetID)) + "_") + EnterAssetID)) { | |
141 | 144 | case a: Int => | |
142 | 145 | a | |
143 | 146 | case _ => | |
144 | 147 | 0 | |
145 | 148 | } | |
146 | 149 | let NewSumupofAssetBalance = ((CheckAssetBalance - quantityofpriceasset) + SwapFeetoreceive) | |
147 | 150 | let SumupXTNBalance = match getInteger(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(XTNAssetID))) { | |
148 | 151 | case a: Int => | |
149 | 152 | a | |
150 | 153 | case _ => | |
151 | 154 | 0 | |
152 | 155 | } | |
153 | 156 | let NewSumupofXTNBalance = (CheckXTNBalance + pmt.amount) | |
154 | 157 | let TOPT = match getIntegerValue(this, ("Total_of_Pair_Txns_" + EnterAssetID)) { | |
155 | 158 | case a: Int => | |
156 | 159 | a | |
157 | 160 | case _ => | |
158 | 161 | 0 | |
159 | 162 | } | |
160 | 163 | let NewTPT = (TOPT + 1) | |
161 | 164 | if ((checkpairisavailableornot != EnterAssetID)) | |
162 | 165 | then throw("Pair is not available in Whitelisted Asset.") | |
163 | 166 | else if ((EnterAssetID == toBase58String(XTNAssetID))) | |
164 | 167 | then throw("Input can Never be a XTN AssetID. Enter Whitelisted AssetID in input & Attach XTN as an attachment Token in payment[1].") | |
165 | 168 | else if ((pmt.assetId != XTNAssetID)) | |
166 | 169 | then throw("You can Attach XTN as an Attached Payment[1] to Swap XTN To Required Token. Any other asset else than XTN will be rejected.") | |
167 | 170 | else if ((100000 > pmt.amount)) | |
168 | 171 | then throw("Your Attached XTN Amount is very low. Attach Atleast 0.1 XTN to Claim the minimum Tokens.") | |
169 | 172 | else if ((CheckXTNBalance == 0)) | |
170 | 173 | then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.") | |
171 | 174 | else if ((CheckAssetBalance == 0)) | |
172 | 175 | then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.") | |
173 | 176 | else if ((quantityofpriceasset > CheckAssetBalance)) | |
174 | 177 | then throw((("Pool Only has a Liquidity of " + toString(CheckAssetBalance)) + " Tokens. Add Liquidity into Pool.")) | |
175 | 178 | else [IntegerEntry(("Total_Swap_Fee_Collected_" + EnterAssetID), NewSumupofXTNToAssetSwapFee), IntegerEntry("Current_Day", Currentday), IntegerEntry(("Total_of_Pair_Txns_" + EnterAssetID), NewTPT), IntegerEntry(((("Balance_of_" + toBase58String(XTNAssetID)) + "_") + EnterAssetID), NewSumupofAssetBalance), IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(XTNAssetID)), NewSumupofXTNBalance), ScriptTransfer(i.caller, userbalancetoreceive, fromBase58String(EnterAssetID)), ScriptTransfer(CollectFeeAddress, SwapFeetoreceive, fromBase58String(EnterAssetID))] | |
176 | 179 | } | |
177 | 180 | ||
178 | 181 | ||
179 | 182 | ||
180 | 183 | @Callable(i) | |
181 | 184 | func LatestAddLiquidity (EnterAssetID) = { | |
182 | 185 | let calleraddress = toBase58String(i.caller.bytes) | |
183 | 186 | let pmt1 = value(i.payments[0]) | |
184 | 187 | let pmt2 = value(i.payments[1]) | |
185 | 188 | let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID)) | |
186 | 189 | let ReissueassetId = fromBase58String(valueOrErrorMessage(getString(this, ("LP_" + EnterAssetID)), "LP Token is Missing or May be not Generated.")) | |
187 | 190 | let CheckXTNBalance = getIntegerValue(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(XTNAssetID))) | |
188 | 191 | let CheckAssetBalance = getIntegerValue(this, ((("Balance_of_" + toBase58String(XTNAssetID)) + "_") + EnterAssetID)) | |
189 | 192 | let decimalsinfo = valueOrErrorMessage(assetInfo(fromBase58String(EnterAssetID)), (("Asset " + EnterAssetID) + " doesn't exist")) | |
190 | 193 | let decimals = decimalsinfo.decimals | |
191 | 194 | let LPdecimals = fraction((decimals + 6), 1, 2) | |
192 | 195 | let FirstLPQty = (1 * pow(10, 0, LPdecimals, 0, 0, CEILING)) | |
193 | 196 | let multiply_amounts = fraction(pmt1.amount, pmt2.amount, FirstLPQty) | |
194 | 197 | let getSqrt = sqrt(multiply_amounts, LPdecimals, LPdecimals, CEILING) | |
195 | 198 | let XTNHoldingInPair = match getInteger(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(XTNAssetID))) { | |
196 | 199 | case a: Int => | |
197 | 200 | a | |
198 | 201 | case _ => | |
199 | 202 | 0 | |
200 | 203 | } | |
201 | 204 | let NewXTNHoldingInPair = (XTNHoldingInPair + pmt2.amount) | |
202 | 205 | let AssetHoldingInPair = match getInteger(this, ((("Balance_of_" + toBase58String(XTNAssetID)) + "_") + EnterAssetID)) { | |
203 | 206 | case a: Int => | |
204 | 207 | a | |
205 | 208 | case _ => | |
206 | 209 | 0 | |
207 | 210 | } | |
208 | 211 | let NewAssetHoldingInPair = (AssetHoldingInPair + pmt1.amount) | |
209 | 212 | let LPTokenIssued = match getIntegerValue(this, ("Total_LP_" + EnterAssetID)) { | |
210 | 213 | case a: Int => | |
211 | 214 | a | |
212 | 215 | case _ => | |
213 | 216 | 0 | |
214 | 217 | } | |
215 | 218 | let NewLPTokenIssued = (LPTokenIssued + getSqrt) | |
216 | 219 | if ((checkpairisavailableornot != EnterAssetID)) | |
217 | 220 | then throw("Pair is not available in Whitelisted Asset.") | |
218 | 221 | else if ((EnterAssetID == toBase58String(XTNAssetID))) | |
219 | 222 | then throw("Input can Never be a XTN AssetID. Enter Whitelisted AssetID in input as well as in payment[1] & Attach XTN as an attachment Token in payment[2].") | |
220 | 223 | else if ((size(i.payments) != 2)) | |
221 | 224 | then throw("Two attached assets are expected in payment. Kindly Attach payment1 = Token you want to add for Liquidity & payment2 = Amount of XTN Token.") | |
222 | 225 | else if ((pmt1.assetId == XTNAssetID)) | |
223 | 226 | then throw("You Attached XTN asset in payment[1], please attach only whitelisted Token in payment[1] along with XTN in payment[2].") | |
224 | 227 | else if ((pmt1.assetId != fromBase58String(EnterAssetID))) | |
225 | 228 | then throw("Incorrect asset attached for Liquidity in payment[1], please attach String Asset or Whitelisted Token only.") | |
226 | 229 | else if ((pmt2.assetId != XTNAssetID)) | |
227 | 230 | then throw("Wrong Asset Attached in payments[2], Please attach payment[1] = Liquidity Token & payment[2] = XTN Token.") | |
228 | 231 | else if ((100000 > pmt2.amount)) | |
229 | 232 | then throw("please attach atleast 0.1 XTN in payment[2] & Equivalent worth of Token in payment[1]") | |
230 | 233 | else if ((1 > getSqrt)) | |
231 | 234 | then throw("LP Token Outcome is going below 1 in Fractional. Please Attach more amount.") | |
232 | 235 | else [IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(XTNAssetID)), NewXTNHoldingInPair), IntegerEntry(((("Balance_of_" + toBase58String(XTNAssetID)) + "_") + EnterAssetID), NewAssetHoldingInPair), IntegerEntry(("Total_LP_" + EnterAssetID), NewLPTokenIssued), Reissue(ReissueassetId, getSqrt, true), ScriptTransfer(i.caller, getSqrt, ReissueassetId)] | |
233 | 236 | } | |
234 | 237 | ||
235 | 238 | ||
236 | 239 | ||
237 | 240 | @Callable(i) | |
238 | 241 | func AddLiquidity (EnterAssetID) = { | |
239 | 242 | let calleraddress = toBase58String(i.caller.bytes) | |
240 | 243 | let pmt1 = value(i.payments[0]) | |
241 | 244 | let pmt2 = value(i.payments[1]) | |
242 | 245 | let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID)) | |
243 | 246 | let ReissueassetId = fromBase58String(valueOrErrorMessage(getString(this, ("LP_" + EnterAssetID)), "LP Token is Missing or May be not Generated.")) | |
244 | 247 | let CheckXTNBalance = getIntegerValue(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(XTNAssetID))) | |
245 | 248 | let CheckAssetBalance = getIntegerValue(this, ((("Balance_of_" + toBase58String(XTNAssetID)) + "_") + EnterAssetID)) | |
246 | 249 | let decimalsinfo = valueOrErrorMessage(assetInfo(fromBase58String(EnterAssetID)), (("Asset " + EnterAssetID) + " doesn't exist")) | |
247 | 250 | let decimals = decimalsinfo.decimals | |
248 | 251 | let arg1 = CheckXTNBalance | |
249 | 252 | let arg2 = CheckAssetBalance | |
250 | 253 | let args3 = pow((((arg1 * 1000000) / arg2) * pow(10, 0, decimals, 0, 0, CEILING)), 0, 1, 0, 0, CEILING) | |
251 | 254 | let bothassetsdecimals = (6 + decimals) | |
252 | 255 | let sharedecimals = (bothassetsdecimals / 2) | |
253 | 256 | let quantityofEnterAssetID = fraction(args3, pmt1.amount, pow(10, 0, bothassetsdecimals, 0, 0, CEILING)) | |
254 | 257 | let quantityofLPToken1 = pow((fraction(pmt1.amount, 1, pow(10, 0, decimals, 0, 0, CEILING)) * fraction(pmt2.amount, 1, pow(10, 0, 6, 0, 0, CEILING))), 0, 5, 1, sharedecimals, DOWN) | |
255 | 258 | let XTNHoldingInPair = match getInteger(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(XTNAssetID))) { | |
256 | 259 | case a: Int => | |
257 | 260 | a | |
258 | 261 | case _ => | |
259 | 262 | 0 | |
260 | 263 | } | |
261 | 264 | let NewXTNHoldingInPair = (XTNHoldingInPair + pmt2.amount) | |
262 | 265 | let AssetHoldingInPair = match getInteger(this, ((("Balance_of_" + toBase58String(XTNAssetID)) + "_") + EnterAssetID)) { | |
263 | 266 | case a: Int => | |
264 | 267 | a | |
265 | 268 | case _ => | |
266 | 269 | 0 | |
267 | 270 | } | |
268 | 271 | let NewAssetHoldingInPair = (AssetHoldingInPair + pmt1.amount) | |
269 | 272 | let LPTokenIssued = match getIntegerValue(this, ("Total_LP_" + EnterAssetID)) { | |
270 | 273 | case a: Int => | |
271 | 274 | a | |
272 | 275 | case _ => | |
273 | 276 | 0 | |
274 | 277 | } | |
275 | 278 | let NewLPTokenIssued = (LPTokenIssued + quantityofLPToken1) | |
276 | 279 | if ((checkpairisavailableornot != EnterAssetID)) | |
277 | 280 | then throw("Pair is not available in Whitelisted Asset.") | |
278 | 281 | else if ((EnterAssetID == toBase58String(XTNAssetID))) | |
279 | 282 | then throw("Input can Never be a XTN AssetID. Enter Whitelisted AssetID in input as well as in payment[1] & Attach XTN as an attachment Token in payment[2].") | |
280 | 283 | else if ((size(i.payments) != 2)) | |
281 | 284 | then throw("Two attached assets expected as payment in 50%-50%. Kindly Attach payment1 = Token you want to add for Liquidity & payment2 = Equivalent Amount of XTN Token.") | |
282 | 285 | else if ((pmt1.assetId == XTNAssetID)) | |
283 | 286 | then throw("You Attached XTN asset in payment[1], please attach only whitelisted Token in payment[1] along with XTN in payment[2].") | |
284 | 287 | else if ((pmt1.assetId != fromBase58String(EnterAssetID))) | |
285 | 288 | then throw("Incorrect asset attached for Liquidity in payment[1], please attach String Asset or Whitelisted Token only.") | |
286 | 289 | else if ((pmt2.assetId != XTNAssetID)) | |
287 | 290 | then throw("Wrong Asset Attached in payments[2], Please attach payment[1] = Liquidity Token & payment[2] = XTN Token.") | |
288 | 291 | else if ((5000000 > pmt2.amount)) | |
289 | 292 | then throw("please attach atleast 5 XTN in payment[2] & Equivalent worth of Token in payment[1]") | |
290 | 293 | else if ((pmt2.amount != quantityofEnterAssetID)) | |
291 | 294 | then throw((((((("Attached payment[2] qty is not matching as per attached payment[1].payment[2] must be as int [" + toString(quantityofEnterAssetID)) + "] or ") + toString(fraction(quantityofEnterAssetID, 1, 1000000))) + ".") + takeRight(toString(quantityofEnterAssetID), 6)) + " XTN.")) | |
292 | 295 | else if ((1 > quantityofLPToken1)) | |
293 | 296 | then throw((("LP Token Outcome is going below " + toString(sharedecimals)) + " Decimals. Please Attach min. 1 LP token or 5 XTN Atleast.")) | |
294 | 297 | else [IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(XTNAssetID)), NewXTNHoldingInPair), IntegerEntry(((("Balance_of_" + toBase58String(XTNAssetID)) + "_") + EnterAssetID), NewAssetHoldingInPair), IntegerEntry(("Total_LP_" + EnterAssetID), NewLPTokenIssued), Reissue(ReissueassetId, quantityofLPToken1, true), ScriptTransfer(i.caller, quantityofLPToken1, ReissueassetId)] | |
295 | 298 | } | |
296 | 299 | ||
297 | 300 | ||
298 | 301 | ||
299 | 302 | @Callable(i) | |
300 | 303 | func RemoveLiquidity (EnterAssetID) = { | |
301 | 304 | let calleraddress = toBase58String(i.caller.bytes) | |
302 | 305 | let pmt = if ((size(i.payments) == 1)) | |
303 | 306 | then i.payments[0] | |
304 | 307 | else throw("No payment attached, Please Attach LP Token as payment[1].") | |
305 | 308 | let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID)) | |
306 | 309 | let ReissueableassetId = fromBase58String(valueOrErrorMessage(getString(this, ("LP_" + EnterAssetID)), "LP Token is Missing or not Generated.")) | |
307 | 310 | let decimalsinfo = valueOrErrorMessage(assetInfo(fromBase58String(EnterAssetID)), (("Asset " + EnterAssetID) + " doesn't exist")) | |
308 | 311 | let decimals = decimalsinfo.decimals | |
309 | 312 | let bothassetsdecimals = (6 + decimals) | |
310 | 313 | let sharedecimals = (bothassetsdecimals / 2) | |
311 | 314 | let CheckTotalLPAmount = getIntegerValue(this, ("Total_LP_" + EnterAssetID)) | |
312 | 315 | let UserLPPercentage = pow(fraction(pmt.amount, pow(10, 0, 8, 0, 0, CEILING), CheckTotalLPAmount), 6, 1, 0, 6, CEILING) | |
313 | 316 | let CheckXTNBalance = getIntegerValue(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(XTNAssetID))) | |
314 | 317 | let CheckAssetBalance = getIntegerValue(this, ((("Balance_of_" + toBase58String(XTNAssetID)) + "_") + EnterAssetID)) | |
315 | 318 | let UserLPWorthXTN = fraction(CheckXTNBalance, UserLPPercentage, pow(10, 0, 8, 0, 0, CEILING)) | |
316 | 319 | let UserLPWorthAsset = fraction(CheckAssetBalance, UserLPPercentage, pow(10, 0, 8, 0, 0, CEILING)) | |
317 | 320 | let XTNHoldingInPair = match getInteger(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(XTNAssetID))) { | |
318 | 321 | case a: Int => | |
319 | 322 | a | |
320 | 323 | case _ => | |
321 | 324 | 0 | |
322 | 325 | } | |
323 | 326 | let NewXTNHoldingInPair = (XTNHoldingInPair - UserLPWorthXTN) | |
324 | 327 | let AssetHoldingInPair = match getInteger(this, ((("Balance_of_" + toBase58String(XTNAssetID)) + "_") + EnterAssetID)) { | |
325 | 328 | case a: Int => | |
326 | 329 | a | |
327 | 330 | case _ => | |
328 | 331 | 0 | |
329 | 332 | } | |
330 | 333 | let NewAssetHoldingInPair = (AssetHoldingInPair - UserLPWorthAsset) | |
331 | 334 | let LPTokenIssued = match getIntegerValue(this, ("Total_LP_" + EnterAssetID)) { | |
332 | 335 | case a: Int => | |
333 | 336 | a | |
334 | 337 | case _ => | |
335 | 338 | 0 | |
336 | 339 | } | |
337 | 340 | let NewLPTokenIssued = (LPTokenIssued - pmt.amount) | |
338 | 341 | if ((checkpairisavailableornot != EnterAssetID)) | |
339 | 342 | then throw("Pair is not available in Whitelist.") | |
340 | 343 | else if ((fromBase58String(EnterAssetID) == XTNAssetID)) | |
341 | 344 | then throw("Don't choose XTN AssetID as Input, Only Whitelisted Asset as Input String & Attach LP Tokens as payment[1]") | |
342 | 345 | else if ((pmt.assetId != ReissueableassetId)) | |
343 | 346 | then throw("Wrong Asset is attached in payment[1] or LP Token Not Found or Missing.") | |
344 | 347 | else if ((1 > UserLPPercentage)) | |
345 | 348 | then throw("Your LP Token amount % is very low to convert.") | |
346 | 349 | else if ((1 > UserLPWorthXTN)) | |
347 | 350 | then throw("Your LP Token conversion amount is very low to convert or less than 0.000001 XTN.") | |
348 | 351 | else if ((1 > UserLPWorthAsset)) | |
349 | 352 | then throw("Your LP Token conversion amount is very low to convert or less than fraction value of Token.") | |
350 | 353 | else [IntegerEntry("Withdraw_LP_Percentage", UserLPPercentage), Burn(ReissueableassetId, pmt.amount), IntegerEntry(("Total_LP_" + EnterAssetID), NewLPTokenIssued), IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(XTNAssetID)), NewXTNHoldingInPair), IntegerEntry(((("Balance_of_" + toBase58String(XTNAssetID)) + "_") + EnterAssetID), NewAssetHoldingInPair), ScriptTransfer(i.caller, UserLPWorthXTN, XTNAssetID), ScriptTransfer(i.caller, UserLPWorthAsset, fromBase58String(EnterAssetID))] | |
351 | 354 | } | |
352 | 355 | ||
353 | 356 | ||
354 | 357 | @Verifier(tx) | |
355 | 358 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
356 | 359 |
github/deemru/w8io/169f3d6 137.61 ms ◑