tx · FBwAiDsDtWmyxVRXow49gzHPKGgYoGwAwD13ePrCjxPn 3Mrnje6z2xa3xuXyU2Lk6ynKy8tsRnnt4Bv: -0.01400000 Waves 2021.08.23 16:47 [1671055] smart account 3Mrnje6z2xa3xuXyU2Lk6ynKy8tsRnnt4Bv > SELF 0.00000000 Waves
{ "type": 13, "id": "FBwAiDsDtWmyxVRXow49gzHPKGgYoGwAwD13ePrCjxPn", "fee": 1400000, "feeAssetId": null, "timestamp": 1629726450591, "version": 2, "chainId": 84, "sender": "3Mrnje6z2xa3xuXyU2Lk6ynKy8tsRnnt4Bv", "senderPublicKey": "28sGn7FYnmxceAmnGYiDiKuMK1QyXiqX8zQXfKDnrc8t", "proofs": [ "4Gc5Xv5Wxr6P2nqtBvkTsUsq7RsDxEqbbc3S8ePxRvKULhqCYkcAmnuEKfNpXJr2tstg2dEUgax8YNafxJrNjiiw" ], "script": "base64:AAIEAAAAAAAAACsIAhIFCgMIAQESABIAEgMKAQgSAwoBCBIDCgEIEgMKAQgSAwoBCBIDCgEIAAAAAAAAAAkAAAABaQEAAAAVUmVnaXN0ZXJQYWlyRm9yVm90aW5nAAAAAwAAAAhBc3NldElEMQAAAARkYXlzAAAADExpc3RpbmdQcmljZQQAAAAEcG10MQkBAAAABXZhbHVlAAAAAQkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAQAAAAEcG10MgkBAAAABXZhbHVlAAAAAQkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAQQAAAAKRmVlQWRkcmVzcwEAAAAg463XstSKNtaiPAMTm2AWTDVjxzAiveOx6Vx7CmnuvCMEAAAAEW1heGltdW12b3RpbmdkYXlzAAAAAAAAAABaBAAAAA1CYWxsZXRBc3NldElEAQAAACAtb1sBuZ3lSm8ahGink+4TF5YYAu/xRHYwe1h195OooAQAAAALVVNEVEFzc2V0SUQBAAAAIF9XaRjICieBJvFbl+3E7E35wrtZyxIYi4RgoF+m9/zzBAAAA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X0VuZF9IZWlnaHRfBQAAAAxFbnRlckFzc2V0SUQJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQkAASwAAAACAgAAAA5Wb3RpbmdfUGVyaW9kXwUAAAAMRW50ZXJBc3NldElECQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEJAAEsAAAAAgIAAAAPVm90ZXNfUmVxdWlyZWRfBQAAAAxFbnRlckFzc2V0SUQJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQkAASwAAAACAgAAABNWb3RpbmdfTGlzdGluZ19GZWVfBQAAAAxFbnRlckFzc2V0SUQJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQkAASwAAAACAgAAAA5Wb3RpbmdfU3RhdHVzXwUAAAAMRW50ZXJBc3NldElECQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEJAAEsAAAAAgIAAAAPVm90ZXNfUmVjZWl2ZWRfBQAAAAxFbnRlckFzc2V0SUQJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQkAASwAAAACCQABLAAAAAIJAAEsAAAAAgIAAAAJUHJpY2VfT2ZfBQAAAAxFbnRlckFzc2V0SUQCAAAAAV8JAAJYAAAAAQUAAAALVVNEVEFzc2V0SUQFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4CQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleeqDWlU=", "height": 1671055, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: G2Q8nVUW48JemzffEBx7NWc4w19FidNkkHKGuaXiU8Kw Next: G5JYrQmfFeTHpf63VWzpXojsFWZa7iKFt8uxBVqa5UKJ Diff:
Old | New | Differences | |
---|---|---|---|
198 | 198 | then throw(("Incorrect asset attached, please attach or send " + EnterAssetID)) | |
199 | 199 | else if ((10000 > quantityofpriceasset)) | |
200 | 200 | then throw((("Your Attached Asset Amount is very low. Attach More " + EnterAssetID) + " Tokens to Claim the minimum Amount of 1 cent atleast.")) | |
201 | - | else if ((CheckOldBalanceAssettoUSDT == 0)) | |
202 | - | then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.") | |
203 | - | else if ((CheckOldBalanceUSDTtoAsset == 0)) | |
204 | - | then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.") | |
205 | - | else [IntegerEntry(((("Price_Of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)), CheckPairPrice), ScriptTransfer(i.caller, ((quantityofpriceasset * 99) / 100), base58'GyqTYDea3DWBaAyQs5S5uH2223ucELYFazJpZLCfMznU'), ScriptTransfer(i.caller, ((quantityofpriceasset * SwapFee) / 100), base58'GyqTYDea3DWBaAyQs5S5uH2223ucELYFazJpZLCfMznU')] | |
201 | + | else [IntegerEntry(((("Price_Of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)), CheckPairPrice), ScriptTransfer(i.caller, ((quantityofpriceasset * 99) / 100), base58'GyqTYDea3DWBaAyQs5S5uH2223ucELYFazJpZLCfMznU'), ScriptTransfer(i.caller, ((quantityofpriceasset * SwapFee) / 100), base58'GyqTYDea3DWBaAyQs5S5uH2223ucELYFazJpZLCfMznU')] | |
206 | 202 | } | |
207 | 203 | ||
208 | 204 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | 7 | func RegisterPairForVoting (AssetID1,days,ListingPrice) = { | |
8 | 8 | let pmt1 = value(i.payments[0]) | |
9 | 9 | let pmt2 = value(i.payments[1]) | |
10 | 10 | let FeeAddress = base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr' | |
11 | 11 | let maximumvotingdays = 90 | |
12 | 12 | let BalletAssetID = base58'44Mq8KqUhM94t93MiBq3S22iiuGczMxpKmse5dBy2w5y' | |
13 | 13 | let USDTAssetID = base58'7RB3BWayeCVPq3kkpkeJZAFv2DYCB5gEwnutEpRofaw4' | |
14 | 14 | let currentKey = toBase58String(i.caller.bytes) | |
15 | 15 | let TN = !(isDefined(pmt2.assetId)) | |
16 | 16 | let oneday = 1440 | |
17 | 17 | let NoOfDaysBlocks = (oneday * days) | |
18 | 18 | let gap = (NoOfDaysBlocks - 43199) | |
19 | 19 | let votesrequired = ((100000 + ((11574 * gap) / 10000)) * 100000000) | |
20 | 20 | let votingExpire = (height + NoOfDaysBlocks) | |
21 | 21 | let fetchpair = getString(this, ("Pair_Under_Voting_" + AssetID1)) | |
22 | 22 | let votingstatus = "Fail" | |
23 | 23 | let assetinfopmt2 = fromBase58String(AssetID1) | |
24 | 24 | let reverseprice = fraction(1, 1000000000000, ListingPrice) | |
25 | 25 | if ((43 > size(AssetID1))) | |
26 | 26 | then throw("Wrong AssetID1 is Entered for Voting. Please Enter a Valid AssetID1. Probably you entered an ASSETID1 less than 43 Chars.") | |
27 | 27 | else if ((29 >= days)) | |
28 | 28 | then throw("Enter no. of days in between 30 to 90.") | |
29 | 29 | else if ((days > maximumvotingdays)) | |
30 | 30 | then throw("You Entered days greater than 90 please Enter no. of days in between 1 to 90.") | |
31 | 31 | else if ((fetchpair == AssetID1)) | |
32 | 32 | then throw("Pair Already Exist in Voting List.") | |
33 | 33 | else if ((size(i.payments) != 2)) | |
34 | 34 | then throw("Two attached assets expected as payment. Kindly Attach payment1 = Ballet Token and payment2 = Token you want to add to List for Voting.") | |
35 | 35 | else if ((pmt1.assetId != BalletAssetID)) | |
36 | 36 | then throw("Incorrect asset attached for Voting in payment[1], please attach 1000 Ballet Token only.") | |
37 | 37 | else if ((40000000 > pmt1.amount)) | |
38 | 38 | 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.")) | |
39 | 39 | else if ((pmt2.assetId != assetinfopmt2)) | |
40 | 40 | then throw("Asset String Attached in ASSETID1 is not matching with Payment2 AssetID.") | |
41 | 41 | else if ((TN == true)) | |
42 | 42 | then throw("You Attached TN Asset ID for Voting, please attach the Token You want to list in payment[2].") | |
43 | 43 | else if ((pmt2.assetId == BalletAssetID)) | |
44 | 44 | then throw("You Attached Ballet asset for Voting in both payments, please attach the Token You want to list in payment[2].") | |
45 | 45 | else if ((99 >= ListingPrice)) | |
46 | 46 | then throw("Lower listing Price is Entered per token, please enter as a valid range in between range [0.000100-1M] USDT.") | |
47 | 47 | else if ((ListingPrice > 999999999999)) | |
48 | 48 | then throw("Higher listing Price is Entered per token, please enter as a valid range in between range [0.000100-1M] USDT.") | |
49 | 49 | else [StringEntry(("Pair_Under_Voting_" + AssetID1), AssetID1), StringEntry(("Voting_Status_" + AssetID1), votingstatus), IntegerEntry(("Voting_Start_Height_" + AssetID1), height), IntegerEntry(("Voting_End_Height_" + AssetID1), votingExpire), IntegerEntry(("Voting_Period_" + AssetID1), NoOfDaysBlocks), IntegerEntry(("Voting_Listing_Fee_" + AssetID1), pmt1.amount), IntegerEntry(("Votes_Required_" + AssetID1), votesrequired), IntegerEntry(("Votes_Received_" + AssetID1), 0), IntegerEntry(((("Price_Of_" + AssetID1) + "_") + toBase58String(USDTAssetID)), ListingPrice), IntegerEntry(((("ReversePrice_Of_" + AssetID1) + "_") + toBase58String(USDTAssetID)), reverseprice), ScriptTransfer(addressFromPublicKey(FeeAddress), pmt1.amount, BalletAssetID)] | |
50 | 50 | } | |
51 | 51 | ||
52 | 52 | ||
53 | 53 | ||
54 | 54 | @Callable(i) | |
55 | 55 | func IssueBallet () = { | |
56 | 56 | let pmt = value(i.payments[0]) | |
57 | 57 | let currentKey = toBase58String(i.caller.bytes) | |
58 | 58 | let BalletAssetID = base58'44Mq8KqUhM94t93MiBq3S22iiuGczMxpKmse5dBy2w5y' | |
59 | 59 | let PricePerBallet = getIntegerValue(this, "BALLET/TN") | |
60 | 60 | let NewBalletToUser = fraction(100000, pmt.amount, PricePerBallet) | |
61 | 61 | let PreviousIssuedBallet = getIntegerValue(this, "Total_Issued_Ballet:") | |
62 | 62 | let TotalIssuedBallet = (PreviousIssuedBallet + NewBalletToUser) | |
63 | 63 | let PreviousBalletReserveValue = getIntegerValue(this, "Total_Ballet_Reserve_In_TN:") | |
64 | 64 | let BalletReserveValue = (PreviousBalletReserveValue + pmt.amount) | |
65 | 65 | let PreviousBalletBackupPrice = getIntegerValue(this, "Ballet_Backup_Value_In_TN:") | |
66 | 66 | let BalletBackupPrice = fraction(100000, BalletReserveValue, TotalIssuedBallet) | |
67 | 67 | let FeeAddress = base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr' | |
68 | 68 | let FeePercentage = 1 | |
69 | 69 | let BalanceTokensReturnedToUser = (100 - FeePercentage) | |
70 | 70 | if (isDefined(pmt.assetId)) | |
71 | 71 | then throw("Incorrect asset attached, please attach TN.") | |
72 | 72 | else if ((5000000 > pmt.amount)) | |
73 | 73 | then throw("Please Attach minimum 0.05 TN To Issue Ballet Asset.") | |
74 | 74 | 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(addressFromPublicKey(FeeAddress), ((NewBalletToUser * FeePercentage) / 100), BalletAssetID)] | |
75 | 75 | } | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | ||
79 | 79 | @Callable(i) | |
80 | 80 | func Liquidate () = { | |
81 | 81 | let currentKey = toBase58String(i.callerPublicKey) | |
82 | 82 | let pmt = value(i.payments[0]) | |
83 | 83 | let BalletAssetID = base58'44Mq8KqUhM94t93MiBq3S22iiuGczMxpKmse5dBy2w5y' | |
84 | 84 | let PreviousIssuedBallet = getIntegerValue(this, "Total_Issued_Ballet:") | |
85 | 85 | let TotalIssuedBallet = (PreviousIssuedBallet - pmt.amount) | |
86 | 86 | let PreviousBalletReserveValue = getIntegerValue(this, "Total_Ballet_Reserve_In_TN:") | |
87 | 87 | let PreviousBalletBackupPrice = getIntegerValue(this, "Ballet_Backup_Value_In_TN:") | |
88 | 88 | let calculateburnvalue = fraction(PreviousBalletBackupPrice, pmt.amount, 100000) | |
89 | 89 | let BalletReserveValue = (PreviousBalletReserveValue - calculateburnvalue) | |
90 | 90 | let BalletBackupPrice = fraction(100000, BalletReserveValue, TotalIssuedBallet) | |
91 | 91 | if ((pmt.assetId != BalletAssetID)) | |
92 | 92 | then throw("Kindly Deposit Only 44Mq8KqUhM94t93MiBq3S22iiuGczMxpKmse5dBy2w5y (Ballet).") | |
93 | 93 | else if ((100000 > pmt.amount)) | |
94 | 94 | then throw("Attach Amount must be greater than 0.001 Ballet.") | |
95 | 95 | 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)] | |
96 | 96 | } | |
97 | 97 | ||
98 | 98 | ||
99 | 99 | ||
100 | 100 | @Callable(i) | |
101 | 101 | func DoVoting (EnterAssetID) = { | |
102 | 102 | let pmt = if ((size(i.payments) == 1)) | |
103 | 103 | then i.payments[0] | |
104 | 104 | else throw("Ballet Token is required as Attached payment") | |
105 | 105 | let calleraddress = toBase58String(i.caller.bytes) | |
106 | 106 | let BalletAssetID = base58'44Mq8KqUhM94t93MiBq3S22iiuGczMxpKmse5dBy2w5y' | |
107 | 107 | let NewVotingStatus = "Pass" | |
108 | 108 | let USDTAssetID = base58'7RB3BWayeCVPq3kkpkeJZAFv2DYCB5gEwnutEpRofaw4' | |
109 | 109 | let checkprojectexpireheight = getIntegerValue(this, ("Voting_End_Height_" + EnterAssetID)) | |
110 | 110 | let checkpairisavailableornot = getString(this, ("Pair_Under_Voting_" + EnterAssetID)) | |
111 | 111 | let checkvotesrequired = getIntegerValue(this, ("Votes_Required_" + EnterAssetID)) | |
112 | 112 | let checkvotesreceived = getIntegerValue(this, ("Votes_Received_" + EnterAssetID)) | |
113 | 113 | let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID)) | |
114 | 114 | let currentvotes = match getInteger(this, ("Votes_Received_" + EnterAssetID)) { | |
115 | 115 | case a: Int => | |
116 | 116 | a | |
117 | 117 | case _ => | |
118 | 118 | 0 | |
119 | 119 | } | |
120 | 120 | let newvotescount = (currentvotes + pmt.amount) | |
121 | 121 | let individualvotes = match getInteger(this, ((("Votes_Received_" + calleraddress) + "_") + EnterAssetID)) { | |
122 | 122 | case b: Int => | |
123 | 123 | b | |
124 | 124 | case _ => | |
125 | 125 | 0 | |
126 | 126 | } | |
127 | 127 | let individualvotescount = (individualvotes + pmt.amount) | |
128 | 128 | let checkwhitelist = (checkvotesreceived >= checkvotesrequired) | |
129 | 129 | let info = valueOrErrorMessage(assetInfo(fromBase58String(EnterAssetID)), (("Asset " + EnterAssetID) + " doesn't exist")) | |
130 | 130 | let decimals = info.decimals | |
131 | 131 | if ((checkpairisavailableornot != EnterAssetID)) | |
132 | 132 | then throw("Pair is not available in Voting List.") | |
133 | 133 | else if ((height > checkprojectexpireheight)) | |
134 | 134 | then throw((("Voting timeline for " + EnterAssetID) + " is expired.")) | |
135 | 135 | else if ((pmt.assetId != BalletAssetID)) | |
136 | 136 | then throw("Kindly Attach Only 44Mq8KqUhM94t93MiBq3S22iiuGczMxpKmse5dBy2w5y (Ballet).") | |
137 | 137 | else if ((VotingStatus == NewVotingStatus)) | |
138 | 138 | then throw((("Voting for " + EnterAssetID) + " pair is completed and it’s available in whitelist.")) | |
139 | 139 | else if (checkwhitelist) | |
140 | 140 | then [StringEntry(("Voting_Status_" + EnterAssetID), NewVotingStatus), IntegerEntry(("Decimals_of_" + EnterAssetID), decimals), IntegerEntry(((("Old_Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)), 0), IntegerEntry(((("New_Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)), 0), IntegerEntry(((("Old_Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID), 0), IntegerEntry(((("New_Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID), 0), IntegerEntry(((("Total_of_pair_Txns_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)), 0), IntegerEntry("Total_of_Swaps_Txns", 0), IntegerEntry("Total_Swap_Fee_Collected", 0)] | |
141 | 141 | else [IntegerEntry(("Votes_Received_" + EnterAssetID), newvotescount), IntegerEntry(((("Votes_Received_" + calleraddress) + "_") + EnterAssetID), individualvotescount)] | |
142 | 142 | } | |
143 | 143 | ||
144 | 144 | ||
145 | 145 | ||
146 | 146 | @Callable(i) | |
147 | 147 | func WithdrawVotedTokens (EnterAssetID) = { | |
148 | 148 | let pmt = i.payments[0] | |
149 | 149 | let calleraddress = toBase58String(i.caller.bytes) | |
150 | 150 | let BalletAssetID = base58'44Mq8KqUhM94t93MiBq3S22iiuGczMxpKmse5dBy2w5y' | |
151 | 151 | let checkprojectexpireheight = getIntegerValue(this, ("Voting_End_Height_" + EnterAssetID)) | |
152 | 152 | let checkpairisavailableornot = getString(this, ("Pair_Under_Voting_" + EnterAssetID)) | |
153 | 153 | let checkuservotingbalance = getIntegerValue(this, ((("Votes_Received_" + calleraddress) + "_") + EnterAssetID)) | |
154 | 154 | let pendingblocksforprojectexpire = (checkprojectexpireheight - height) | |
155 | 155 | if ((checkpairisavailableornot != EnterAssetID)) | |
156 | 156 | then throw("Pair is not available in Voting List.") | |
157 | 157 | else if ((checkprojectexpireheight > height)) | |
158 | 158 | then throw((("Voting Already Running. You can withdraw your Ballet Token only after the expire of " + toString(pendingblocksforprojectexpire)) + " Blocks")) | |
159 | 159 | else if ((0 >= checkuservotingbalance)) | |
160 | 160 | then throw("You don't have any dues of ballet balance in this Voting Pair.") | |
161 | 161 | else if (isDefined(pmt.assetId)) | |
162 | 162 | then throw("Don't attach any other asset. Please attach 0.1 TN as a fee to release your token") | |
163 | 163 | else if ((pmt.amount != 10000000)) | |
164 | 164 | then throw("Please attach 0.1 TN as a fee to release your token.") | |
165 | 165 | else [IntegerEntry(((("Votes_Received_" + calleraddress) + "_") + EnterAssetID), 0), ScriptTransfer(i.caller, checkuservotingbalance, BalletAssetID)] | |
166 | 166 | } | |
167 | 167 | ||
168 | 168 | ||
169 | 169 | ||
170 | 170 | @Callable(i) | |
171 | 171 | func SwapAssetToUSDTPairEntry (EnterAssetID) = { | |
172 | 172 | let calleraddress = toBase58String(i.caller.bytes) | |
173 | 173 | let pmt = if ((size(i.payments) == 1)) | |
174 | 174 | then i.payments[0] | |
175 | 175 | else throw("Whitelisted Swap Token is required as Attached payment[1].") | |
176 | 176 | let USDTAssetID = base58'7RB3BWayeCVPq3kkpkeJZAFv2DYCB5gEwnutEpRofaw4' | |
177 | 177 | let checkpairisavailableornot = getString(this, ("Pair_Under_Voting_" + EnterAssetID)) | |
178 | 178 | let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID)) | |
179 | 179 | let CheckPairPrice = getIntegerValue(this, ((("Price_Of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) | |
180 | 180 | let CheckOldBalanceAssettoUSDT = getIntegerValue(this, ((("Old_Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) | |
181 | 181 | let CheckOldBalanceUSDTtoAsset = getIntegerValue(this, ((("Old_Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID)) | |
182 | 182 | let CheckAssetDecimals = getIntegerValue(this, ("Decimals_of_" + EnterAssetID)) | |
183 | 183 | let CurrentVotingStatus = "Fail" | |
184 | 184 | let SwapFee = 1 | |
185 | 185 | let amountAssetDecimals = CheckAssetDecimals | |
186 | 186 | let priceAssetDecimals = 6 | |
187 | 187 | let decimalsgap = ((6 - amountAssetDecimals) - 8) | |
188 | 188 | let quantityofpriceasset = (((pmt.amount * CheckPairPrice) * pow(10, 0, decimalsgap, 0, 0, UP)) / pow(10, 0, amountAssetDecimals, 0, 0, UP)) | |
189 | 189 | let getUSDTBalance = assetBalance(this, base58'GyqTYDea3DWBaAyQs5S5uH2223ucELYFazJpZLCfMznU') | |
190 | 190 | let newUSDTBalance = (getUSDTBalance - quantityofpriceasset) | |
191 | 191 | if ((checkpairisavailableornot != EnterAssetID)) | |
192 | 192 | then throw("Pair is not available in Whitelisted Asset.") | |
193 | 193 | else if ((VotingStatus == CurrentVotingStatus)) | |
194 | 194 | then throw((EnterAssetID + " is not A Whitelisted Token Yet.")) | |
195 | 195 | else if ((pmt.assetId == USDTAssetID)) | |
196 | 196 | then throw("You can't Attach USDT as an Attached Payment. Only Whitelisted Tokens are accepted.") | |
197 | 197 | else if ((pmt.assetId != fromBase58String(EnterAssetID))) | |
198 | 198 | then throw(("Incorrect asset attached, please attach or send " + EnterAssetID)) | |
199 | 199 | else if ((10000 > quantityofpriceasset)) | |
200 | 200 | then throw((("Your Attached Asset Amount is very low. Attach More " + EnterAssetID) + " Tokens to Claim the minimum Amount of 1 cent atleast.")) | |
201 | - | else if ((CheckOldBalanceAssettoUSDT == 0)) | |
202 | - | then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.") | |
203 | - | else if ((CheckOldBalanceUSDTtoAsset == 0)) | |
204 | - | then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.") | |
205 | - | else [IntegerEntry(((("Price_Of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)), CheckPairPrice), ScriptTransfer(i.caller, ((quantityofpriceasset * 99) / 100), base58'GyqTYDea3DWBaAyQs5S5uH2223ucELYFazJpZLCfMznU'), ScriptTransfer(i.caller, ((quantityofpriceasset * SwapFee) / 100), base58'GyqTYDea3DWBaAyQs5S5uH2223ucELYFazJpZLCfMznU')] | |
201 | + | else [IntegerEntry(((("Price_Of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)), CheckPairPrice), ScriptTransfer(i.caller, ((quantityofpriceasset * 99) / 100), base58'GyqTYDea3DWBaAyQs5S5uH2223ucELYFazJpZLCfMznU'), ScriptTransfer(i.caller, ((quantityofpriceasset * SwapFee) / 100), base58'GyqTYDea3DWBaAyQs5S5uH2223ucELYFazJpZLCfMznU')] | |
206 | 202 | } | |
207 | 203 | ||
208 | 204 | ||
209 | 205 | ||
210 | 206 | @Callable(i) | |
211 | 207 | func SwapUSDTToAssetPairEntry (EnterAssetID) = { | |
212 | 208 | let calleraddress = toBase58String(i.caller.bytes) | |
213 | 209 | let pmt = if ((size(i.payments) == 1)) | |
214 | 210 | then i.payments[0] | |
215 | 211 | else throw("Only USDT Token is required as an Attached payment[1].") | |
216 | 212 | let USDTAssetID = base58'7RB3BWayeCVPq3kkpkeJZAFv2DYCB5gEwnutEpRofaw4' | |
217 | 213 | let checkpairisavailableornot = getString(this, ("Pair_Under_Voting_" + EnterAssetID)) | |
218 | 214 | let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID)) | |
219 | 215 | let CheckReversePairPrice = getIntegerValue(this, ((("ReversePrice_Of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) | |
220 | 216 | let CheckOldBalanceUSDTToAsset = getIntegerValue(this, ((("Old_Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID)) | |
221 | 217 | let CheckOldBalanceAssettoUSDT = getIntegerValue(this, ((("Old_Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) | |
222 | 218 | let CheckAssetDecimals = getIntegerValue(this, ("Decimals_of_" + EnterAssetID)) | |
223 | 219 | let CurrentVotingStatus = "Fail" | |
224 | 220 | let SwapFee = 1 | |
225 | 221 | let amountAssetDecimals = CheckAssetDecimals | |
226 | 222 | let priceAssetDecimals = 6 | |
227 | 223 | let decimalsgap = ((6 - amountAssetDecimals) - 8) | |
228 | 224 | let quantityofpriceasset = (((pmt.amount * CheckReversePairPrice) * pow(10, 0, decimalsgap, 0, 0, UP)) / pow(10, 0, amountAssetDecimals, 0, 0, UP)) | |
229 | 225 | let getUSDTBalance = assetBalance(this, base58'GyqTYDea3DWBaAyQs5S5uH2223ucELYFazJpZLCfMznU') | |
230 | 226 | let newUSDTBalance = (getUSDTBalance - quantityofpriceasset) | |
231 | 227 | if ((checkpairisavailableornot != EnterAssetID)) | |
232 | 228 | then throw("Pair is not available in Whitelisted Asset.") | |
233 | 229 | else if ((VotingStatus == CurrentVotingStatus)) | |
234 | 230 | then throw((EnterAssetID + " is not A Whitelisted Token Yet.")) | |
235 | 231 | else if ((pmt.assetId != base58'GyqTYDea3DWBaAyQs5S5uH2223ucELYFazJpZLCfMznU')) | |
236 | 232 | then throw("You can Attach USDT as an Attached Payment to Swap USDT To Required Token. Any other asset else than USDT will be rejected.") | |
237 | 233 | else nil | |
238 | 234 | } | |
239 | 235 | ||
240 | 236 | ||
241 | 237 | ||
242 | 238 | @Callable(i) | |
243 | 239 | func AddLiquidity (EnterAssetID) = { | |
244 | 240 | let calleraddress = toBase58String(i.caller.bytes) | |
245 | 241 | let pmt = if ((size(i.payments) == 1)) | |
246 | 242 | then i.payments[0] | |
247 | 243 | else throw("Whitelisted Swap Token is required as Attached payment[1].") | |
248 | 244 | let USDTAssetID = base58'7RB3BWayeCVPq3kkpkeJZAFv2DYCB5gEwnutEpRofaw4' | |
249 | 245 | nil | |
250 | 246 | } | |
251 | 247 | ||
252 | 248 | ||
253 | 249 | ||
254 | 250 | @Callable(i) | |
255 | 251 | func RemovePairEntry (EnterAssetID) = { | |
256 | 252 | let adminrights = getStringValue(this, "Polarity_Admin_Rights") | |
257 | 253 | let USDTAssetID = base58'7RB3BWayeCVPq3kkpkeJZAFv2DYCB5gEwnutEpRofaw4' | |
258 | 254 | let checkprojectexpireheight = getIntegerValue(this, ("Voting_End_Height_" + EnterAssetID)) | |
259 | 255 | let checkpairisavailableornot = getString(this, ("Pair_Under_Voting_" + EnterAssetID)) | |
260 | 256 | let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID)) | |
261 | 257 | let NewVotingStatus = "Pass" | |
262 | 258 | let calleraddress = toBase58String(i.caller.bytes) | |
263 | 259 | let currentheight = height | |
264 | 260 | let pendingblocksforprojectexpire = (checkprojectexpireheight - height) | |
265 | 261 | if ((checkpairisavailableornot != EnterAssetID)) | |
266 | 262 | then throw("Pair is not available in Voting List.") | |
267 | 263 | else if ((adminrights != calleraddress)) | |
268 | 264 | then throw((("I know You are not An Admin. Only " + adminrights) + " has rights to remove the pair.")) | |
269 | 265 | else if ((checkprojectexpireheight > height)) | |
270 | 266 | then throw((("Voting Already Running. You can remove the pair after " + toString(pendingblocksforprojectexpire)) + " Blocks")) | |
271 | 267 | else if ((VotingStatus == NewVotingStatus)) | |
272 | 268 | then throw((EnterAssetID + " is now Whitelisted. So you can't remove it.")) | |
273 | 269 | else [DeleteEntry(("Pair_Under_Voting_" + EnterAssetID)), DeleteEntry(("Voting_Start_Height_" + EnterAssetID)), DeleteEntry(("Voting_End_Height_" + EnterAssetID)), DeleteEntry(("Voting_Period_" + EnterAssetID)), DeleteEntry(("Votes_Required_" + EnterAssetID)), DeleteEntry(("Voting_Listing_Fee_" + EnterAssetID)), DeleteEntry(("Voting_Status_" + EnterAssetID)), DeleteEntry(("Votes_Received_" + EnterAssetID)), DeleteEntry(((("Price_Of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)))] | |
274 | 270 | } | |
275 | 271 | ||
276 | 272 | ||
277 | 273 | @Verifier(tx) | |
278 | 274 | func verify () = match tx { | |
279 | 275 | case _ => | |
280 | 276 | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
281 | 277 | } | |
282 | 278 |
github/deemru/w8io/026f985 48.68 ms ◑