tx · Fp71nqXeqkrBTiYvc9XrDNFGuLxceVUkbaEgi8m9vg9i 3Mrnje6z2xa3xuXyU2Lk6ynKy8tsRnnt4Bv: -0.01400000 Waves 2021.08.30 11:26 [1680826] smart account 3Mrnje6z2xa3xuXyU2Lk6ynKy8tsRnnt4Bv > SELF 0.00000000 Waves
{ "type": 13, "id": "Fp71nqXeqkrBTiYvc9XrDNFGuLxceVUkbaEgi8m9vg9i", "fee": 1400000, "feeAssetId": null, "timestamp": 1630312014746, "version": 2, "chainId": 84, "sender": "3Mrnje6z2xa3xuXyU2Lk6ynKy8tsRnnt4Bv", "senderPublicKey": "28sGn7FYnmxceAmnGYiDiKuMK1QyXiqX8zQXfKDnrc8t", "proofs": [ "3hTQAQx2jwvkg3aqhx4qngeC7bjon6GtUijanpeDGkqL8TSJLKeXzZp8yikSDXwfByk6T39t9FUxwUfsUuwRRMra" ], "script": "base64:AAIEAAAAAAAAADwIAhIAEgASBAoCCAESAwoBCBIDCgEIEgMKAQgSAwoBCBIDCgEIEgMKAQgSAwoBCBIDCgEIEgYKBAgICAgAAAAGAAAAAAtVU0RUQXNzZXRJRAEAAAAgCGWEtw/wimoa8+Jo6C4IkCTD0ydYA80s9i5eC9/aFaQAAAAADUJhbGxldEFzc2V0SUQBAAAAIC1vWwG5neVKbxqEaKeT7hMXlhgC7/FEdjB7WHX3k6igAAAAABdDb2xsZWN0QmFsbGV0RmVlQWRkcmVzcwkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQEAAAAg463XstSKNtaiPAMTm2AWTDVjxzAiveOx6Vx7CmnuvCMAAAAAFUlzc3VlQmFsbGV0RmVlQWRkcmVzcwkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQEAAAAg463XstSKNtaiPAMTm2AWTDVjxzAiveOx6Vx7CmnuvCMAAAAAGUNvbGxlY3RVU0RUU3dhcEZlZUFkZHJlc3MJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEBAAAAIO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VfBQAAAAxFbnRlckFzc2V0SUQJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQkAASwAAAACAgAAAA5Wb3RpbmdfU3RhdHVzXwUAAAAMRW50ZXJBc3NldElECQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEJAAEsAAAAAgIAAAALVm90ZXNfUmN2ZF8FAAAADEVudGVyQXNzZXRJRAUAAAADbmlsAAAAAWkBAAAAC1JlbW92ZUVudHJ5AAAABAAAAANLZXkAAAAES2V5MQAAAARLZXkyAAAABEtleTMJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAADS2V5CQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAABEtleTEJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAAES2V5MgkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAARLZXkzBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmcwmLU", "height": 1680826, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: ETLguNy2ZyxtwyupksSjBzHaoe8iSLuTvsVvTyozR9SP Next: FgA4QbTjGASZJ8L8WxzjejvcT86zidzeFvBToaTEWKU5 Diff:
Old | New | Differences | |
---|---|---|---|
349 | 349 | let decimalsinfo = valueOrErrorMessage(assetInfo(fromBase58String(EnterAssetID)), (("Asset " + EnterAssetID) + " doesn't exist")) | |
350 | 350 | let decimals = decimalsinfo.decimals | |
351 | 351 | let decimalsgap = ((8 - decimals) - 8) | |
352 | - | let quantityofLPToken1 = ((pmt2.amount / pow(10, 0, decimalsgap, 0, 0, UP)) * pow(10, 0, | |
352 | + | let quantityofLPToken1 = ((pmt2.amount / pow(10, 0, decimalsgap, 0, 0, UP)) * pow(10, 0, 8, 0, 0, UP)) | |
353 | 353 | let USDTHoldingInPair = match getInteger(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) { | |
354 | 354 | case a: Int => | |
355 | 355 | a |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let USDTAssetID = base58'Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H' | |
5 | 5 | ||
6 | 6 | let BalletAssetID = base58'44Mq8KqUhM94t93MiBq3S22iiuGczMxpKmse5dBy2w5y' | |
7 | 7 | ||
8 | 8 | let CollectBalletFeeAddress = addressFromPublicKey(base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr') | |
9 | 9 | ||
10 | 10 | let IssueBalletFeeAddress = addressFromPublicKey(base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr') | |
11 | 11 | ||
12 | 12 | let CollectUSDTSwapFeeAddress = addressFromPublicKey(base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr') | |
13 | 13 | ||
14 | 14 | let CollectAssetSwapFeeAddress = addressFromPublicKey(base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr') | |
15 | 15 | ||
16 | 16 | @Callable(i) | |
17 | 17 | func IssueBallet () = { | |
18 | 18 | let pmt = value(i.payments[0]) | |
19 | 19 | let currentKey = toBase58String(i.caller.bytes) | |
20 | 20 | let PricePerBallet = getIntegerValue(this, "BALLET/TN") | |
21 | 21 | let NewBalletToUser = fraction(100000, pmt.amount, PricePerBallet) | |
22 | 22 | let PreviousIssuedBallet = getIntegerValue(this, "Total_Issued_Ballet:") | |
23 | 23 | let TotalIssuedBallet = (PreviousIssuedBallet + NewBalletToUser) | |
24 | 24 | let PreviousBalletReserveValue = getIntegerValue(this, "Total_Ballet_Reserve_In_TN:") | |
25 | 25 | let BalletReserveValue = (PreviousBalletReserveValue + pmt.amount) | |
26 | 26 | let PreviousBalletBackupPrice = getIntegerValue(this, "Ballet_Backup_Value_In_TN:") | |
27 | 27 | let BalletBackupPrice = fraction(100000, BalletReserveValue, TotalIssuedBallet) | |
28 | 28 | let FeePercentage = 1 | |
29 | 29 | let BalanceTokensReturnedToUser = (100 - FeePercentage) | |
30 | 30 | if (isDefined(pmt.assetId)) | |
31 | 31 | then throw("Incorrect asset attached, please attach TN.") | |
32 | 32 | else if ((5000000 > pmt.amount)) | |
33 | 33 | then throw("Please Attach minimum 0.05 TN To Issue Ballet Asset.") | |
34 | 34 | else [IntegerEntry("Total_Issued_Ballet:", TotalIssuedBallet), IntegerEntry("Total_Ballet_Reserve_In_TN:", BalletReserveValue), IntegerEntry("Ballet_Backup_Value_In_TN:", BalletBackupPrice), StringEntry("message", "<h1>Ballet Issued Successfully!</h1><br>"), Reissue(BalletAssetID, NewBalletToUser, true), ScriptTransfer(i.caller, ((NewBalletToUser * BalanceTokensReturnedToUser) / 100), BalletAssetID), ScriptTransfer(IssueBalletFeeAddress, ((NewBalletToUser * FeePercentage) / 100), BalletAssetID)] | |
35 | 35 | } | |
36 | 36 | ||
37 | 37 | ||
38 | 38 | ||
39 | 39 | @Callable(i) | |
40 | 40 | func Liquidate () = { | |
41 | 41 | let currentKey = toBase58String(i.callerPublicKey) | |
42 | 42 | let pmt = value(i.payments[0]) | |
43 | 43 | let PreviousIssuedBallet = getIntegerValue(this, "Total_Issued_Ballet:") | |
44 | 44 | let TotalIssuedBallet = (PreviousIssuedBallet - pmt.amount) | |
45 | 45 | let PreviousBalletReserveValue = getIntegerValue(this, "Total_Ballet_Reserve_In_TN:") | |
46 | 46 | let PreviousBalletBackupPrice = getIntegerValue(this, "Ballet_Backup_Value_In_TN:") | |
47 | 47 | let calculateburnvalue = fraction(PreviousBalletBackupPrice, pmt.amount, 100000) | |
48 | 48 | let BalletReserveValue = (PreviousBalletReserveValue - calculateburnvalue) | |
49 | 49 | let BalletBackupPrice = fraction(100000, BalletReserveValue, TotalIssuedBallet) | |
50 | 50 | if ((pmt.assetId != BalletAssetID)) | |
51 | 51 | then throw("Kindly Deposit Only 44Mq8KqUhM94t93MiBq3S22iiuGczMxpKmse5dBy2w5y (Ballet).") | |
52 | 52 | else if ((100000 > pmt.amount)) | |
53 | 53 | then throw("Attach Amount must be greater than 0.001 Ballet.") | |
54 | 54 | else [Burn(BalletAssetID, pmt.amount), IntegerEntry("Total_Issued_Ballet:", TotalIssuedBallet), IntegerEntry("Total_Ballet_Reserve_In_TN:", BalletReserveValue), IntegerEntry("Ballet_Backup_Value_In_TN:", BalletBackupPrice), StringEntry("message", "<h1>Ballet Liquidated Successfully!</h1><br>"), ScriptTransfer(i.caller, calculateburnvalue, unit)] | |
55 | 55 | } | |
56 | 56 | ||
57 | 57 | ||
58 | 58 | ||
59 | 59 | @Callable(i) | |
60 | 60 | func RegisterPairForVoting (EnterAssetID,days) = { | |
61 | 61 | let pmt1 = value(i.payments[0]) | |
62 | 62 | let pmt2 = value(i.payments[1]) | |
63 | 63 | let maximumvotingdays = 90 | |
64 | 64 | let currentKey = toBase58String(i.caller.bytes) | |
65 | 65 | let TN = !(isDefined(pmt2.assetId)) | |
66 | 66 | let oneday = 1440 | |
67 | 67 | let NoOfDaysBlocks = (oneday * days) | |
68 | 68 | let gap = (NoOfDaysBlocks - 43199) | |
69 | 69 | let votesrequired = ((100000 + ((11574 * gap) / 10000)) * 100000000) | |
70 | 70 | let votingExpire = (height + NoOfDaysBlocks) | |
71 | 71 | let fetchpair = getString(this, ("Pair_UV_" + EnterAssetID)) | |
72 | 72 | let votingstatus = "F" | |
73 | 73 | let assetinfopmt2 = fromBase58String(EnterAssetID) | |
74 | 74 | if ((43 > size(EnterAssetID))) | |
75 | 75 | then throw("Wrong AssetID is Entered for Voting. Please Enter a Valid AssetID. Probably you entered an AssetID less than 43 Chars.") | |
76 | 76 | else if ((29 >= days)) | |
77 | 77 | then throw("Enter no. of days in between 30 to 90.") | |
78 | 78 | else if ((days > maximumvotingdays)) | |
79 | 79 | then throw("You Entered days greater than 90 please Enter no. of days in between 1 to 90.") | |
80 | 80 | else if ((fetchpair == EnterAssetID)) | |
81 | 81 | then throw("Pair Already Exist in Voting List.") | |
82 | 82 | else if ((size(i.payments) != 2)) | |
83 | 83 | then throw("Two attached assets expected as payment. Kindly Attach payment1 = Ballet Token & payment2 = Token you want to List for Voting.") | |
84 | 84 | else if ((pmt1.assetId != BalletAssetID)) | |
85 | 85 | then throw("Incorrect asset attached for Voting in payment[1], please attach 1000 Ballet Token only.") | |
86 | 86 | else if ((pmt1.amount != 10000000)) | |
87 | 87 | then throw((((("You attached only " + toString(fraction(pmt1.amount, 1, 100000000))) + ".") + toString(fraction(pmt1.amount, 1, 10000000))) + " Ballet for Voting in payment[1], please attach 1000 Ballet Token only.")) | |
88 | 88 | else if ((pmt2.assetId != assetinfopmt2)) | |
89 | 89 | then throw("Input String and Attached AssetID in payment2 is not matching.") | |
90 | 90 | else if ((TN == true)) | |
91 | 91 | then throw("You Attached TN Asset ID for Voting, please attach the Token You want to list in payment[2].") | |
92 | 92 | else if ((pmt2.assetId == BalletAssetID)) | |
93 | 93 | then throw("You Attached Ballet asset for Voting in both payments, please attach the Token You want to list in payment[2].") | |
94 | 94 | else [StringEntry(("Pair_UV_" + EnterAssetID), EnterAssetID), StringEntry(("Voting_Status_" + EnterAssetID), votingstatus), IntegerEntry(("Voting_SH_" + EnterAssetID), height), IntegerEntry(("Voting_EH_" + EnterAssetID), votingExpire), IntegerEntry(("Voting_Period_" + EnterAssetID), NoOfDaysBlocks), IntegerEntry(("Listing_Fee_" + EnterAssetID), pmt1.amount), IntegerEntry(("Votes_Req_" + EnterAssetID), votesrequired), IntegerEntry(("Votes_Rcvd_" + EnterAssetID), 0), ScriptTransfer(CollectBalletFeeAddress, pmt1.amount, BalletAssetID)] | |
95 | 95 | } | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | ||
99 | 99 | @Callable(i) | |
100 | 100 | func DoVoting (EnterAssetID) = { | |
101 | 101 | let pmt = if ((size(i.payments) == 1)) | |
102 | 102 | then i.payments[0] | |
103 | 103 | else throw("Ballet Token is required as Attached payment") | |
104 | 104 | let calleraddress = toBase58String(i.caller.bytes) | |
105 | 105 | let NewVotingStatus = "P" | |
106 | 106 | let checkendheight = getIntegerValue(this, ("Voting_EH_" + EnterAssetID)) | |
107 | 107 | let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID)) | |
108 | 108 | let checkvotesrequired = getIntegerValue(this, ("Votes_Req_" + EnterAssetID)) | |
109 | 109 | let checkvotesreceived = getIntegerValue(this, ("Votes_Rcvd_" + EnterAssetID)) | |
110 | 110 | let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID)) | |
111 | 111 | let currentvotes = match getInteger(this, ("Votes_Rcvd_" + EnterAssetID)) { | |
112 | 112 | case a: Int => | |
113 | 113 | a | |
114 | 114 | case _ => | |
115 | 115 | 0 | |
116 | 116 | } | |
117 | 117 | let newvotescount = (currentvotes + pmt.amount) | |
118 | 118 | let individualvotes = match getInteger(this, ((("Votes_Rcvd_" + calleraddress) + "_") + EnterAssetID)) { | |
119 | 119 | case b: Int => | |
120 | 120 | b | |
121 | 121 | case _ => | |
122 | 122 | 0 | |
123 | 123 | } | |
124 | 124 | let individualvotescount = (individualvotes + pmt.amount) | |
125 | 125 | let checkwhitelist = (checkvotesreceived >= checkvotesrequired) | |
126 | 126 | let info = valueOrErrorMessage(assetInfo(fromBase58String(EnterAssetID)), (("Asset " + EnterAssetID) + " doesn't exist")) | |
127 | 127 | if ((checkpairisavailableornot != EnterAssetID)) | |
128 | 128 | then throw("Pair is not available in Voting List.") | |
129 | 129 | else if ((height > checkendheight)) | |
130 | 130 | then throw((("Voting timeline for " + EnterAssetID) + " is expired.")) | |
131 | 131 | else if ((pmt.assetId != BalletAssetID)) | |
132 | 132 | then throw((("Kindly Attach Only " + toBase58String(BalletAssetID)) + " Token.")) | |
133 | 133 | else if ((VotingStatus == NewVotingStatus)) | |
134 | 134 | then throw((("Voting for " + EnterAssetID) + " pair is completed and it’s available in whitelist.")) | |
135 | 135 | else if (checkwhitelist) | |
136 | 136 | then [StringEntry(("Voting_Status_" + EnterAssetID), NewVotingStatus), IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)), 0), IntegerEntry(((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID), 0), IntegerEntry(("Total_of_Pair_Txns_" + EnterAssetID), 0), IntegerEntry("Total_of_Swaps_Txns", 0), IntegerEntry(("Total_Swap_Fee_Collected_" + toBase58String(USDTAssetID)), 0), IntegerEntry(("Total_Swap_Fee_Collected_" + EnterAssetID), 0)] | |
137 | 137 | else [IntegerEntry(("Votes_Rcvd_" + EnterAssetID), newvotescount), IntegerEntry(((("Votes_Rcvd_" + calleraddress) + "_") + EnterAssetID), individualvotescount)] | |
138 | 138 | } | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | ||
142 | 142 | @Callable(i) | |
143 | 143 | func WithdrawVotedTokens (EnterAssetID) = { | |
144 | 144 | let pmt = if ((size(i.payments) == 1)) | |
145 | 145 | then i.payments[0] | |
146 | 146 | else throw("0.1 TN Token is required as Attached payment.") | |
147 | 147 | let calleraddress = toBase58String(i.caller.bytes) | |
148 | 148 | let checkendheight = getIntegerValue(this, ("Voting_EH_" + EnterAssetID)) | |
149 | 149 | let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID)) | |
150 | 150 | let checkuservotingbalance = valueOrErrorMessage(getInteger(this, ((("Votes_Rcvd_" + calleraddress) + "_") + EnterAssetID)), (calleraddress + " Address never voted and exist in list.")) | |
151 | 151 | let pendingblocksforprojectexpire = (checkendheight - height) | |
152 | 152 | if ((checkpairisavailableornot != EnterAssetID)) | |
153 | 153 | then throw("Pair is not available in Voting List.") | |
154 | 154 | else if ((checkendheight > height)) | |
155 | 155 | then throw((("Voting Already Running. You can withdraw your Ballet Token after " + toString(pendingblocksforprojectexpire)) + " blocks")) | |
156 | 156 | else if ((0 >= checkuservotingbalance)) | |
157 | 157 | then throw("You don't have any dues of ballet balance in this Voting Pair.") | |
158 | 158 | else if (isDefined(pmt.assetId)) | |
159 | 159 | then throw("Don't attach any other asset. Please attach 0.1 TN as a fee to release your token") | |
160 | 160 | else if ((pmt.amount != 10000000)) | |
161 | 161 | then throw("Please attach 0.1 TN as a fee to release your token.") | |
162 | 162 | else [IntegerEntry(((("Votes_Rcvd_" + calleraddress) + "_") + EnterAssetID), 0), ScriptTransfer(i.caller, checkuservotingbalance, BalletAssetID)] | |
163 | 163 | } | |
164 | 164 | ||
165 | 165 | ||
166 | 166 | ||
167 | 167 | @Callable(i) | |
168 | 168 | func IssueLPToken (EnterAssetID) = { | |
169 | 169 | let adminrights = valueOrErrorMessage(getString(this, "LP_Admin_Rights"), "LP Admin Rights are Not Included into Smart Contract. Deploy Admin Rights First.") | |
170 | 170 | let calleraddress = toBase58String(i.caller.bytes) | |
171 | 171 | let checkpairisavailableornot = valueOrErrorMessage(getString(this, ("Pair_UV_" + EnterAssetID)), "Asset not Found in Whitelisted Token") | |
172 | 172 | let info = valueOrErrorMessage(assetInfo(fromBase58String(EnterAssetID)), (("Asset " + EnterAssetID) + " doesn't exist")) | |
173 | 173 | let name = info.name | |
174 | 174 | let NewVotingStatus = "P" | |
175 | 175 | let VotingStatus = valueOrErrorMessage(getString(this, ("Voting_Status_" + EnterAssetID)), ("Voting Status is Missing for " + EnterAssetID)) | |
176 | 176 | let LPissue = Issue((("LP-" + name) + "-USDT"), (((("LP-" + name) + "-USDT") + " is a Liquidity Provider Token Issued Against ") + EnterAssetID), 100000000, 8, true) | |
177 | 177 | let LPid = calculateAssetId(LPissue) | |
178 | 178 | if ((adminrights != calleraddress)) | |
179 | 179 | then throw((("Your are not allowded to Issue LP Token. Only " + adminrights) + " can issue the LP Token.")) | |
180 | 180 | else if ((checkpairisavailableornot != EnterAssetID)) | |
181 | 181 | then throw("Pair is not available in Voting List.") | |
182 | 182 | else if ((VotingStatus != NewVotingStatus)) | |
183 | 183 | then throw("LP Token must be a Whitelisted Token.") | |
184 | 184 | else [LPissue, StringEntry(("LP_" + EnterAssetID), toBase58String(LPid))] | |
185 | 185 | } | |
186 | 186 | ||
187 | 187 | ||
188 | 188 | ||
189 | 189 | @Callable(i) | |
190 | 190 | func SwapAssetToUSDTPairEntry (EnterAssetID) = { | |
191 | 191 | let calleraddress = toBase58String(i.caller.bytes) | |
192 | 192 | let pmt = if ((size(i.payments) == 1)) | |
193 | 193 | then i.payments[0] | |
194 | 194 | else throw("Whitelisted Token is required as Attached payment[1].") | |
195 | 195 | let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID)) | |
196 | 196 | let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID)) | |
197 | 197 | let CheckUSDTBalance = getIntegerValue(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) | |
198 | 198 | let CheckAssetBalance = getIntegerValue(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID)) | |
199 | 199 | let newbalanceofUSDT = fraction(CheckUSDTBalance, CheckAssetBalance, (CheckAssetBalance + pmt.amount)) | |
200 | 200 | let quantityofpriceasset = (CheckUSDTBalance - newbalanceofUSDT) | |
201 | 201 | let CurrentVotingStatus = "F" | |
202 | 202 | let SwapFee = 1 | |
203 | 203 | let SwapFeetoreceive = ((quantityofpriceasset * SwapFee) / 100) | |
204 | 204 | let userbalancetoreceive = (quantityofpriceasset - SwapFeetoreceive) | |
205 | 205 | let SumupofAssetToUSDTSwapFee = match getInteger(this, ("Total_Swap_Fee_Collected_" + toBase58String(USDTAssetID))) { | |
206 | 206 | case a: Int => | |
207 | 207 | a | |
208 | 208 | case _ => | |
209 | 209 | 0 | |
210 | 210 | } | |
211 | 211 | let NewSumupofAssetToUSDTSwapFee = (SumupofAssetToUSDTSwapFee + SwapFeetoreceive) | |
212 | 212 | let SumupAssetBalance = match getInteger(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID)) { | |
213 | 213 | case a: Int => | |
214 | 214 | a | |
215 | 215 | case _ => | |
216 | 216 | 0 | |
217 | 217 | } | |
218 | 218 | let NewSumupofAssetBalance = (CheckAssetBalance + pmt.amount) | |
219 | 219 | let SumupUSDTBalance = match getInteger(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) { | |
220 | 220 | case a: Int => | |
221 | 221 | a | |
222 | 222 | case _ => | |
223 | 223 | 0 | |
224 | 224 | } | |
225 | 225 | let NewSumupofUSDTBalance = (CheckUSDTBalance - quantityofpriceasset) | |
226 | 226 | let SumupofSwapTxns = match getInteger(this, "Total_of_Swaps_Txns") { | |
227 | 227 | case a: Int => | |
228 | 228 | a | |
229 | 229 | case _ => | |
230 | 230 | 0 | |
231 | 231 | } | |
232 | 232 | let NewSumupofSwapTxns = (SumupofSwapTxns + 1) | |
233 | 233 | let TOPT = match getIntegerValue(this, ("Total_of_Pair_Txns_" + EnterAssetID)) { | |
234 | 234 | case a: Int => | |
235 | 235 | a | |
236 | 236 | case _ => | |
237 | 237 | 0 | |
238 | 238 | } | |
239 | 239 | let NewTPT = (TOPT + 1) | |
240 | 240 | if ((EnterAssetID == toBase58String(USDTAssetID))) | |
241 | 241 | then throw("Input can Never be a USDT AssetID. Enter Whitelisted AssetID in input and Attach Whitelisted Asset as an attachment Token in payment[1].") | |
242 | 242 | else if ((checkpairisavailableornot != EnterAssetID)) | |
243 | 243 | then throw("Pair is not available in Whitelisted Asset.") | |
244 | 244 | else if ((VotingStatus == CurrentVotingStatus)) | |
245 | 245 | then throw((EnterAssetID + " is not A Whitelisted Token Yet.")) | |
246 | 246 | else if ((pmt.assetId == USDTAssetID)) | |
247 | 247 | then throw("You can't Attach USDT as an Attached Payment. Only Whitelisted Tokens are accepted.") | |
248 | 248 | else if ((pmt.assetId != fromBase58String(EnterAssetID))) | |
249 | 249 | then throw(("Incorrect asset attached, please attach or send " + EnterAssetID)) | |
250 | 250 | else if ((CheckUSDTBalance == 0)) | |
251 | 251 | then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.") | |
252 | 252 | else if ((CheckAssetBalance == 0)) | |
253 | 253 | then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.") | |
254 | 254 | else if ((1000000 > quantityofpriceasset)) | |
255 | 255 | then throw((("Your Attached Asset Amount is very low. Attach More " + EnterAssetID) + " Tokens to Claim the minimum Amount of 1 dollar atleast.")) | |
256 | 256 | else if ((quantityofpriceasset > CheckUSDTBalance)) | |
257 | 257 | then throw((("Pool Only has a Liquidity of " + toString((CheckUSDTBalance / pow(10, 0, 6, 0, 0, UP)))) + " USDT. Add Liquidity into Pool.")) | |
258 | 258 | else [IntegerEntry(("Total_Swap_Fee_Collected_" + toBase58String(USDTAssetID)), NewSumupofAssetToUSDTSwapFee), IntegerEntry("Total_of_Swaps_Txns", NewSumupofSwapTxns), IntegerEntry(("Total_of_Pair_Txns_" + EnterAssetID), NewTPT), IntegerEntry(((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID), NewSumupofAssetBalance), IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)), NewSumupofUSDTBalance), ScriptTransfer(i.caller, userbalancetoreceive, USDTAssetID), ScriptTransfer(CollectUSDTSwapFeeAddress, SwapFeetoreceive, USDTAssetID)] | |
259 | 259 | } | |
260 | 260 | ||
261 | 261 | ||
262 | 262 | ||
263 | 263 | @Callable(i) | |
264 | 264 | func SwapUSDTToAssetPairEntry (EnterAssetID) = { | |
265 | 265 | let calleraddress = toBase58String(i.caller.bytes) | |
266 | 266 | let pmt = if ((size(i.payments) == 1)) | |
267 | 267 | then i.payments[0] | |
268 | 268 | else throw("Only USDT Token is required as an Attached payment[1].") | |
269 | 269 | let CheckUSDTBalance = getIntegerValue(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) | |
270 | 270 | let CheckAssetBalance = getIntegerValue(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID)) | |
271 | 271 | let newbalanceofAsset = fraction(CheckUSDTBalance, CheckAssetBalance, (CheckUSDTBalance + pmt.amount)) | |
272 | 272 | let quantityofpriceasset = (CheckAssetBalance - newbalanceofAsset) | |
273 | 273 | let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID)) | |
274 | 274 | let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID)) | |
275 | 275 | let CurrentVotingStatus = "F" | |
276 | 276 | let SwapFee = 1 | |
277 | 277 | let SwapFeetoreceive = ((quantityofpriceasset * SwapFee) / 100) | |
278 | 278 | let userbalancetoreceive = (quantityofpriceasset - SwapFeetoreceive) | |
279 | 279 | let SumupofSwapTxns = match getInteger(this, "Total_of_Swaps_Txns") { | |
280 | 280 | case a: Int => | |
281 | 281 | a | |
282 | 282 | case _ => | |
283 | 283 | 0 | |
284 | 284 | } | |
285 | 285 | let NewSumupofSwapTxns = (SumupofSwapTxns + 1) | |
286 | 286 | let SumupofUSDTToAssetSwapFee = match getInteger(this, ("Total_Swap_Fee_Collected_" + EnterAssetID)) { | |
287 | 287 | case a: Int => | |
288 | 288 | a | |
289 | 289 | case _ => | |
290 | 290 | 0 | |
291 | 291 | } | |
292 | 292 | let NewSumupofUSDTToAssetSwapFee = (SumupofUSDTToAssetSwapFee + SwapFeetoreceive) | |
293 | 293 | let SumupAssetBalance = match getInteger(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID)) { | |
294 | 294 | case a: Int => | |
295 | 295 | a | |
296 | 296 | case _ => | |
297 | 297 | 0 | |
298 | 298 | } | |
299 | 299 | let NewSumupofAssetBalance = (CheckAssetBalance - quantityofpriceasset) | |
300 | 300 | let SumupUSDTBalance = match getInteger(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) { | |
301 | 301 | case a: Int => | |
302 | 302 | a | |
303 | 303 | case _ => | |
304 | 304 | 0 | |
305 | 305 | } | |
306 | 306 | let NewSumupofUSDTBalance = (CheckUSDTBalance + pmt.amount) | |
307 | 307 | let TOPT = match getIntegerValue(this, ("Total_of_Pair_Txns_" + EnterAssetID)) { | |
308 | 308 | case a: Int => | |
309 | 309 | a | |
310 | 310 | case _ => | |
311 | 311 | 0 | |
312 | 312 | } | |
313 | 313 | let NewTPT = (TOPT + 1) | |
314 | 314 | if ((checkpairisavailableornot != EnterAssetID)) | |
315 | 315 | then throw("Pair is not available in Whitelisted Asset.") | |
316 | 316 | else if ((VotingStatus == CurrentVotingStatus)) | |
317 | 317 | then throw((EnterAssetID + " is not A Whitelisted Token Yet.")) | |
318 | 318 | else if ((EnterAssetID == toBase58String(USDTAssetID))) | |
319 | 319 | then throw("Input can Never be a USDT AssetID. Enter Whitelisted AssetID in input and Attach USDT as an attachment Token in payment[1].") | |
320 | 320 | else if ((pmt.assetId != USDTAssetID)) | |
321 | 321 | then throw("You can Attach USDT as an Attached Payment[1] to Swap USDT To Required Token. Any other asset else than USDT will be rejected.") | |
322 | 322 | else if ((1000000 > pmt.amount)) | |
323 | 323 | then throw("Your Attached USDT Amount is very low. Attach Atleast 1 USDT to Claim the minimum Tokens.") | |
324 | 324 | else if ((CheckUSDTBalance == 0)) | |
325 | 325 | then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.") | |
326 | 326 | else if ((CheckAssetBalance == 0)) | |
327 | 327 | then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.") | |
328 | 328 | else if ((quantityofpriceasset > CheckAssetBalance)) | |
329 | 329 | then throw((("Pool Only has a Liquidity of " + toString(CheckAssetBalance)) + " Tokens. Add Liquidity into Pool.")) | |
330 | 330 | else [IntegerEntry(("Total_Swap_Fee_Collected_" + EnterAssetID), NewSumupofUSDTToAssetSwapFee), IntegerEntry("Total_of_Swaps_Txns", NewSumupofSwapTxns), IntegerEntry(("Total_of_Pair_Txns_" + EnterAssetID), NewTPT), IntegerEntry(((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID), NewSumupofAssetBalance), IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)), NewSumupofUSDTBalance), ScriptTransfer(i.caller, userbalancetoreceive, fromBase58String(EnterAssetID)), ScriptTransfer(CollectAssetSwapFeeAddress, SwapFeetoreceive, fromBase58String(EnterAssetID))] | |
331 | 331 | } | |
332 | 332 | ||
333 | 333 | ||
334 | 334 | ||
335 | 335 | @Callable(i) | |
336 | 336 | func AddLiquidity (EnterAssetID) = { | |
337 | 337 | let calleraddress = toBase58String(i.caller.bytes) | |
338 | 338 | let pmt1 = value(i.payments[0]) | |
339 | 339 | let pmt2 = value(i.payments[1]) | |
340 | 340 | let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID)) | |
341 | 341 | let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID)) | |
342 | 342 | let ReissueassetId = fromBase58String(valueOrErrorMessage(getString(this, ("LP_" + EnterAssetID)), "LP Token is Missing or May be not Generated.")) | |
343 | 343 | let CurrentVotingStatus = "F" | |
344 | 344 | let AddLiquidityFee = 100000 | |
345 | 345 | let CheckUSDTBalance = getIntegerValue(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) | |
346 | 346 | let CheckAssetBalance = getIntegerValue(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID)) | |
347 | 347 | let newpriceofAsset = fraction(CheckUSDTBalance, 1, CheckAssetBalance) | |
348 | 348 | let quantityofEnterAssetID = fraction(1, pmt1.amount, newpriceofAsset) | |
349 | 349 | let decimalsinfo = valueOrErrorMessage(assetInfo(fromBase58String(EnterAssetID)), (("Asset " + EnterAssetID) + " doesn't exist")) | |
350 | 350 | let decimals = decimalsinfo.decimals | |
351 | 351 | let decimalsgap = ((8 - decimals) - 8) | |
352 | - | let quantityofLPToken1 = ((pmt2.amount / pow(10, 0, decimalsgap, 0, 0, UP)) * pow(10, 0, | |
352 | + | let quantityofLPToken1 = ((pmt2.amount / pow(10, 0, decimalsgap, 0, 0, UP)) * pow(10, 0, 8, 0, 0, UP)) | |
353 | 353 | let USDTHoldingInPair = match getInteger(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) { | |
354 | 354 | case a: Int => | |
355 | 355 | a | |
356 | 356 | case _ => | |
357 | 357 | 0 | |
358 | 358 | } | |
359 | 359 | let NewUSDTHoldingInPair = (USDTHoldingInPair + pmt1.amount) | |
360 | 360 | let AssetHoldingInPair = match getInteger(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID)) { | |
361 | 361 | case a: Int => | |
362 | 362 | a | |
363 | 363 | case _ => | |
364 | 364 | 0 | |
365 | 365 | } | |
366 | 366 | let NewAssetHoldingInPair = (AssetHoldingInPair + pmt2.amount) | |
367 | 367 | let LPTokenIssued = match getIntegerValue(this, ("Total_LP_" + EnterAssetID)) { | |
368 | 368 | case a: Int => | |
369 | 369 | a | |
370 | 370 | case _ => | |
371 | 371 | 0 | |
372 | 372 | } | |
373 | 373 | let NewLPTokenIssued = (LPTokenIssued + quantityofLPToken1) | |
374 | 374 | if ((checkpairisavailableornot != EnterAssetID)) | |
375 | 375 | then throw("Pair is not available in Whitelisted Asset.") | |
376 | 376 | else if ((VotingStatus == CurrentVotingStatus)) | |
377 | 377 | then throw((EnterAssetID + " is not A Whitelisted Token Yet.")) | |
378 | 378 | else if ((EnterAssetID == toBase58String(USDTAssetID))) | |
379 | 379 | then throw("Input can Never be a USDT AssetID. Enter Whitelisted AssetID in input as well as in payment[1] and Attach USDT as an attachment Token in payment[2].") | |
380 | 380 | else if ((size(i.payments) != 2)) | |
381 | 381 | then throw("Two attached assets expected as payment in 50%-50%. Kindly Attach payment1 = USDT Token and payment2 = Token you want to add for Liquidity.") | |
382 | 382 | else if ((pmt1.assetId != USDTAssetID)) | |
383 | 383 | then throw("Incorrect asset attached for Liquidity in payment[1], please attach USDT Token only.") | |
384 | 384 | else if ((10000000 > pmt1.amount)) | |
385 | 385 | then throw("please attach atleast 10 USDT in payment[1].") | |
386 | 386 | else if ((pmt2.assetId == USDTAssetID)) | |
387 | 387 | then throw("You Attached USDT asset for Liquidity in both payments, Kindly Attach payment1 = USDT Token and payment2 = Token you want to add for Liquidity.") | |
388 | 388 | else if ((pmt2.assetId != fromBase58String(EnterAssetID))) | |
389 | 389 | then throw((("Asset String " + EnterAssetID) + " is not matching with attached payment[2]. String and payment[2] must be same.")) | |
390 | 390 | else if ((pmt2.amount != quantityofEnterAssetID)) | |
391 | 391 | then throw(("Attached payment[2] quantity is not matching as per attached payment[1] USDT.It must be " + toString(quantityofEnterAssetID))) | |
392 | 392 | else [IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)), NewUSDTHoldingInPair), IntegerEntry(((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID), NewAssetHoldingInPair), IntegerEntry(("Total_LP_" + EnterAssetID), NewLPTokenIssued), Reissue(ReissueassetId, quantityofLPToken1, true), ScriptTransfer(i.caller, quantityofLPToken1, ReissueassetId)] | |
393 | 393 | } | |
394 | 394 | ||
395 | 395 | ||
396 | 396 | ||
397 | 397 | @Callable(i) | |
398 | 398 | func RemoveLiquidity (EnterAssetID) = { | |
399 | 399 | let calleraddress = toBase58String(i.caller.bytes) | |
400 | 400 | let pmt = if ((size(i.payments) == 1)) | |
401 | 401 | then i.payments[0] | |
402 | 402 | else throw("No payment attached, Please Attach LP Token as payment[1].") | |
403 | 403 | let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID)) | |
404 | 404 | let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID)) | |
405 | 405 | let ReissueableassetId = fromBase58String(valueOrErrorMessage(getString(this, ("LP_" + EnterAssetID)), "LP Token is Missing or May be not Generated.")) | |
406 | 406 | let CurrentVotingStatus = "F" | |
407 | 407 | let AddLiquidityFee = 100000 | |
408 | 408 | let CheckUSDTBalance = getIntegerValue(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) | |
409 | 409 | let CheckAssetBalance = getIntegerValue(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID)) | |
410 | 410 | let CheckLPTokenispresent = getIntegerValue(this, ("Total_LP_" + EnterAssetID)) | |
411 | 411 | let SubtractedUSDT = fraction(CheckUSDTBalance, pmt.amount, getIntegerValue(this, ("Total_LP_" + EnterAssetID))) | |
412 | 412 | let CurrentpriceofToken = fraction(CheckUSDTBalance, 1, CheckAssetBalance) | |
413 | 413 | let SubtractedAsset = fraction(SubtractedUSDT, 1, CurrentpriceofToken) | |
414 | 414 | let USDTHoldingInPair = match getInteger(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) { | |
415 | 415 | case a: Int => | |
416 | 416 | a | |
417 | 417 | case _ => | |
418 | 418 | 0 | |
419 | 419 | } | |
420 | 420 | let NewUSDTHoldingInPair = (USDTHoldingInPair - SubtractedUSDT) | |
421 | 421 | let AssetHoldingInPair = match getInteger(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID)) { | |
422 | 422 | case a: Int => | |
423 | 423 | a | |
424 | 424 | case _ => | |
425 | 425 | 0 | |
426 | 426 | } | |
427 | 427 | let NewAssetHoldingInPair = (AssetHoldingInPair - SubtractedAsset) | |
428 | 428 | let LPTokenIssued = match getIntegerValue(this, ("Total_LP_" + EnterAssetID)) { | |
429 | 429 | case a: Int => | |
430 | 430 | a | |
431 | 431 | case _ => | |
432 | 432 | 0 | |
433 | 433 | } | |
434 | 434 | let NewLPTokenIssued = (LPTokenIssued - pmt.amount) | |
435 | 435 | if ((checkpairisavailableornot != EnterAssetID)) | |
436 | 436 | then throw("Pair is not available in Whitelisted Asset.") | |
437 | 437 | else if ((VotingStatus == CurrentVotingStatus)) | |
438 | 438 | then throw((EnterAssetID + " is not A Whitelisted Token Yet.")) | |
439 | 439 | else if ((fromBase58String(EnterAssetID) == USDTAssetID)) | |
440 | 440 | then throw("You can't choose USDT AssetID as Input String, Choose Whitelisted Asset as Input String and Attach LP Tokens as payment[1]") | |
441 | 441 | else if ((pmt.assetId != ReissueableassetId)) | |
442 | 442 | then throw("LP Token Not Found or Missing or Wrong Asset is attached.") | |
443 | 443 | else [Burn(ReissueableassetId, pmt.amount), IntegerEntry(("Total_LP_" + EnterAssetID), NewLPTokenIssued), IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)), NewUSDTHoldingInPair), IntegerEntry(((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID), NewAssetHoldingInPair), ScriptTransfer(i.caller, SubtractedUSDT, USDTAssetID), ScriptTransfer(i.caller, SubtractedAsset, fromBase58String(EnterAssetID))] | |
444 | 444 | } | |
445 | 445 | ||
446 | 446 | ||
447 | 447 | ||
448 | 448 | @Callable(i) | |
449 | 449 | func RemovePairEntry (EnterAssetID) = { | |
450 | 450 | let adminrights = getStringValue(this, "Polarity_Admin_Rights") | |
451 | 451 | let checkendheight = getIntegerValue(this, ("Voting_EH_" + EnterAssetID)) | |
452 | 452 | let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID)) | |
453 | 453 | let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID)) | |
454 | 454 | let NewVotingStatus = "P" | |
455 | 455 | let calleraddress = toBase58String(i.caller.bytes) | |
456 | 456 | let currentheight = height | |
457 | 457 | let pendingblocksforprojectexpire = (checkendheight - height) | |
458 | 458 | if ((checkpairisavailableornot != EnterAssetID)) | |
459 | 459 | then throw("Pair is not available in Voting List.") | |
460 | 460 | else if ((adminrights != calleraddress)) | |
461 | 461 | then throw((("I know You are not An Admin. Only " + adminrights) + " has rights to remove the pair.")) | |
462 | 462 | else if ((checkendheight > height)) | |
463 | 463 | then throw((("Voting Already Running. You can remove the pair after " + toString(pendingblocksforprojectexpire)) + " Blocks")) | |
464 | 464 | else if ((VotingStatus == NewVotingStatus)) | |
465 | 465 | then throw((EnterAssetID + " is now Whitelisted. So you can't remove it.")) | |
466 | 466 | else [DeleteEntry(("Pair_UV_" + EnterAssetID)), DeleteEntry(("Voting_SH_" + EnterAssetID)), DeleteEntry(("Voting_EH_" + EnterAssetID)), DeleteEntry(("Voting_Period_" + EnterAssetID)), DeleteEntry(("Votes_Req_" + EnterAssetID)), DeleteEntry(("Listing_Fee_" + EnterAssetID)), DeleteEntry(("Voting_Status_" + EnterAssetID)), DeleteEntry(("Votes_Rcvd_" + EnterAssetID))] | |
467 | 467 | } | |
468 | 468 | ||
469 | 469 | ||
470 | 470 | ||
471 | 471 | @Callable(i) | |
472 | 472 | func RemoveEntry (Key,Key1,Key2,Key3) = [DeleteEntry(Key), DeleteEntry(Key1), DeleteEntry(Key2), DeleteEntry(Key3)] | |
473 | 473 | ||
474 | 474 | ||
475 | 475 | @Verifier(tx) | |
476 | 476 | func verify () = match tx { | |
477 | 477 | case _ => | |
478 | 478 | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
479 | 479 | } | |
480 | 480 |
github/deemru/w8io/026f985 70.49 ms ◑