tx · A6woZ33GCSj5eAcqGi4tRDsyAafx84odmcX9rQpNhFVz 3Mrnje6z2xa3xuXyU2Lk6ynKy8tsRnnt4Bv: -0.01400000 Waves 2021.08.23 23:10 [1671437] smart account 3Mrnje6z2xa3xuXyU2Lk6ynKy8tsRnnt4Bv > SELF 0.00000000 Waves
{ "type": 13, "id": "A6woZ33GCSj5eAcqGi4tRDsyAafx84odmcX9rQpNhFVz", "fee": 1400000, "feeAssetId": null, "timestamp": 1629749429116, "version": 2, "chainId": 84, "sender": "3Mrnje6z2xa3xuXyU2Lk6ynKy8tsRnnt4Bv", "senderPublicKey": "28sGn7FYnmxceAmnGYiDiKuMK1QyXiqX8zQXfKDnrc8t", "proofs": [ "5LNGf5kczEUuDPeVDQS9RtWvVuADPxT4vR1dha9mtmfry7udUbNfUR5Reo8fktpKymtFtGPXfsKnafQ3YbmvH4Wt" ], "script": "base64:AAIEAAAAAAAAACsIAhIFCgMIAQESABIAEgMKAQgSAwoBCBIDCgEIEgMKAQgSAwoBCBIDCgEIAAAAAAAAAAkAAAABaQEAAAAVUmVnaXN0ZXJQYWlyRm9yVm90aW5nAAAAAwAAAAhBc3NldElEMQAAAARkYXlzAAAADExpc3RpbmdQcmljZQQAAAAEcG10MQkBAAAABXZhbHVlAAAAAQkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAQAAAAEcG10MgkBAAAABXZhbHVlAAAAAQkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAQQAAAAKRmVlQWRkcmVzcwEAAAAg463XstSKNtaiPAMTm2AWTDVjxzAiveOx6Vx7CmnuvCMEAAAAEW1heGltdW12b3RpbmdkYXlzAAAAAAAAAABaBAAAAA1CYWxsZXRBc3NldElEAQAAACAtb1sBuZ3lSm8ahGink+4TF5YYAu/xRHYwe1h195OooAQAAAALVVNEVEFzc2V0SUQBAAAAIO1uns5hlJz9zuYakh0t3uLmLZDCTZgfB7wEww+WnHxxBAAAAApjdXJyZ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F1aXJlZF8FAAAADEVudGVyQXNzZXRJRAkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQABLAAAAAICAAAAE1ZvdGluZ19MaXN0aW5nX0ZlZV8FAAAADEVudGVyQXNzZXRJRAkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQABLAAAAAICAAAADlZvdGluZ19TdGF0dXNfBQAAAAxFbnRlckFzc2V0SUQJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQkAASwAAAACAgAAAA9Wb3Rlc19SZWNlaXZlZF8FAAAADEVudGVyQXNzZXRJRAkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAlQcmljZV9PZl8FAAAADEVudGVyQXNzZXRJRAIAAAABXwkAAlgAAAABBQAAAAtVU0RUQXNzZXRJRAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5CBU2PQ==", "height": 1671437, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BxFrrTMmS9dmSv5WyqMkxXY9h5idaFPNvFkupZcqFibN Next: DjJQ7z798qf3XKUBdBUbuGX9ALKiS5wZ8e6irm1Uq77U Diff:
Old | New | Differences | |
---|---|---|---|
229 | 229 | let ah = ae | |
230 | 230 | let ai = 6 | |
231 | 231 | let aj = ((6 - ah) - 8) | |
232 | - | let ak = ((v.amount * an) / pow(10, 0, ah, 0, 0, UP)) | |
232 | + | let ak = (((v.amount * an) / pow(10, 0, ah, 0, 0, UP)) / pow(10, 0, aj, 0, 0, UP)) | |
233 | 233 | let ap = assetBalance(this, fromBase58String(H)) | |
234 | 234 | let aq = (ap - ak) | |
235 | 235 | if ((L != H)) |
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(a) | |
7 | 7 | func RegisterPairForVoting (b,c,d) = { | |
8 | 8 | let e = value(a.payments[0]) | |
9 | 9 | let f = value(a.payments[1]) | |
10 | 10 | let g = base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr' | |
11 | 11 | let h = 90 | |
12 | 12 | let i = base58'44Mq8KqUhM94t93MiBq3S22iiuGczMxpKmse5dBy2w5y' | |
13 | 13 | let j = base58'GyqTYDea3DWBaAyQs5S5uH2223ucELYFazJpZLCfMznU' | |
14 | 14 | let k = toBase58String(a.caller.bytes) | |
15 | 15 | let l = !(isDefined(f.assetId)) | |
16 | 16 | let m = 1440 | |
17 | 17 | let n = (m * c) | |
18 | 18 | let o = (n - 43199) | |
19 | 19 | let p = ((100000 + ((11574 * o) / 10000)) * 100000000) | |
20 | 20 | let q = (height + n) | |
21 | 21 | let r = getString(this, ("Pair_Under_Voting_" + b)) | |
22 | 22 | let s = "Fail" | |
23 | 23 | let t = fromBase58String(b) | |
24 | 24 | let u = fraction(1, 1000000000000, d) | |
25 | 25 | if ((43 > size(b))) | |
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 >= c)) | |
28 | 28 | then throw("Enter no. of days in between 30 to 90.") | |
29 | 29 | else if ((c > h)) | |
30 | 30 | then throw("You Entered days greater than 90 please Enter no. of days in between 1 to 90.") | |
31 | 31 | else if ((r == b)) | |
32 | 32 | then throw("Pair Already Exist in Voting List.") | |
33 | 33 | else if ((size(a.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 ((e.assetId != i)) | |
36 | 36 | then throw("Incorrect asset attached for Voting in payment[1], please attach 1000 Ballet Token only.") | |
37 | 37 | else if ((10000000 > e.amount)) | |
38 | 38 | then throw((((("You attached only " + toString(fraction(e.amount, 1, 100000000))) + ".") + toString(fraction(e.amount, 1, 10000000))) + " Ballet for Voting in payment[1], please attach 1000 Ballet Token only.")) | |
39 | 39 | else if ((f.assetId != t)) | |
40 | 40 | then throw("Asset String Attached in ASSETID1 is not matching with Payment2 AssetID.") | |
41 | 41 | else if ((l == 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 ((f.assetId == i)) | |
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 >= d)) | |
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 ((d > 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_" + b), b), StringEntry(("Voting_Status_" + b), s), IntegerEntry(("Voting_Start_Height_" + b), height), IntegerEntry(("Voting_End_Height_" + b), q), IntegerEntry(("Voting_Period_" + b), n), IntegerEntry(("Voting_Listing_Fee_" + b), e.amount), IntegerEntry(("Votes_Required_" + b), p), IntegerEntry(("Votes_Received_" + b), 0), IntegerEntry(((("Price_Of_" + b) + "_") + toBase58String(j)), d), IntegerEntry(((("ReversePrice_Of_" + b) + "_") + toBase58String(j)), u), ScriptTransfer(addressFromPublicKey(g), e.amount, i)] | |
50 | 50 | } | |
51 | 51 | ||
52 | 52 | ||
53 | 53 | ||
54 | 54 | @Callable(a) | |
55 | 55 | func IssueBallet () = { | |
56 | 56 | let v = value(a.payments[0]) | |
57 | 57 | let k = toBase58String(a.caller.bytes) | |
58 | 58 | let i = base58'44Mq8KqUhM94t93MiBq3S22iiuGczMxpKmse5dBy2w5y' | |
59 | 59 | let w = getIntegerValue(this, "BALLET/TN") | |
60 | 60 | let x = fraction(100000, v.amount, w) | |
61 | 61 | let y = getIntegerValue(this, "Total_Issued_Ballet:") | |
62 | 62 | let z = (y + x) | |
63 | 63 | let A = getIntegerValue(this, "Total_Ballet_Reserve_In_TN:") | |
64 | 64 | let B = (A + v.amount) | |
65 | 65 | let C = getIntegerValue(this, "Ballet_Backup_Value_In_TN:") | |
66 | 66 | let D = fraction(100000, B, z) | |
67 | 67 | let g = base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr' | |
68 | 68 | let E = 1 | |
69 | 69 | let F = (100 - E) | |
70 | 70 | if (isDefined(v.assetId)) | |
71 | 71 | then throw("Incorrect asset attached, please attach TN.") | |
72 | 72 | else if ((5000000 > v.amount)) | |
73 | 73 | then throw("Please Attach minimum 0.05 TN To Issue Ballet Asset.") | |
74 | 74 | else [IntegerEntry("Total_Issued_Ballet:", z), IntegerEntry("Total_Ballet_Reserve_In_TN:", B), IntegerEntry("Ballet_Backup_Value_In_TN:", D), StringEntry("message", "<h1>Ballet Issued Successfully!</h1><br>"), Reissue(i, x, true), ScriptTransfer(a.caller, ((x * F) / 100), i), ScriptTransfer(addressFromPublicKey(g), ((x * E) / 100), i)] | |
75 | 75 | } | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | ||
79 | 79 | @Callable(a) | |
80 | 80 | func Liquidate () = { | |
81 | 81 | let k = toBase58String(a.callerPublicKey) | |
82 | 82 | let v = value(a.payments[0]) | |
83 | 83 | let i = base58'44Mq8KqUhM94t93MiBq3S22iiuGczMxpKmse5dBy2w5y' | |
84 | 84 | let y = getIntegerValue(this, "Total_Issued_Ballet:") | |
85 | 85 | let z = (y - v.amount) | |
86 | 86 | let A = getIntegerValue(this, "Total_Ballet_Reserve_In_TN:") | |
87 | 87 | let C = getIntegerValue(this, "Ballet_Backup_Value_In_TN:") | |
88 | 88 | let G = fraction(C, v.amount, 100000) | |
89 | 89 | let B = (A - G) | |
90 | 90 | let D = fraction(100000, B, z) | |
91 | 91 | if ((v.assetId != i)) | |
92 | 92 | then throw("Kindly Deposit Only 44Mq8KqUhM94t93MiBq3S22iiuGczMxpKmse5dBy2w5y (Ballet).") | |
93 | 93 | else if ((100000 > v.amount)) | |
94 | 94 | then throw("Attach Amount must be greater than 0.001 Ballet.") | |
95 | 95 | else [Burn(i, v.amount), IntegerEntry("Total_Issued_Ballet:", z), IntegerEntry("Total_Ballet_Reserve_In_TN:", B), IntegerEntry("Ballet_Backup_Value_In_TN:", D), StringEntry("message", "<h1>Ballet Liquidated Successfully!</h1><br>"), ScriptTransfer(a.caller, G, unit)] | |
96 | 96 | } | |
97 | 97 | ||
98 | 98 | ||
99 | 99 | ||
100 | 100 | @Callable(a) | |
101 | 101 | func DoVoting (H) = { | |
102 | 102 | let v = if ((size(a.payments) == 1)) | |
103 | 103 | then a.payments[0] | |
104 | 104 | else throw("Ballet Token is required as Attached payment") | |
105 | 105 | let I = toBase58String(a.caller.bytes) | |
106 | 106 | let i = base58'44Mq8KqUhM94t93MiBq3S22iiuGczMxpKmse5dBy2w5y' | |
107 | 107 | let J = "Pass" | |
108 | 108 | let j = base58'GyqTYDea3DWBaAyQs5S5uH2223ucELYFazJpZLCfMznU' | |
109 | 109 | let K = getIntegerValue(this, ("Voting_End_Height_" + H)) | |
110 | 110 | let L = getString(this, ("Pair_Under_Voting_" + H)) | |
111 | 111 | let M = getIntegerValue(this, ("Votes_Required_" + H)) | |
112 | 112 | let N = getIntegerValue(this, ("Votes_Received_" + H)) | |
113 | 113 | let O = getStringValue(this, ("Voting_Status_" + H)) | |
114 | 114 | let P = { | |
115 | 115 | let Q = getInteger(this, ("Votes_Received_" + H)) | |
116 | 116 | if ($isInstanceOf(Q, "Int")) | |
117 | 117 | then { | |
118 | 118 | let R = Q | |
119 | 119 | R | |
120 | 120 | } | |
121 | 121 | else 0 | |
122 | 122 | } | |
123 | 123 | let S = (P + v.amount) | |
124 | 124 | let T = { | |
125 | 125 | let Q = getInteger(this, ((("Votes_Received_" + I) + "_") + H)) | |
126 | 126 | if ($isInstanceOf(Q, "Int")) | |
127 | 127 | then { | |
128 | 128 | let U = Q | |
129 | 129 | U | |
130 | 130 | } | |
131 | 131 | else 0 | |
132 | 132 | } | |
133 | 133 | let V = (T + v.amount) | |
134 | 134 | let W = (N >= M) | |
135 | 135 | let X = valueOrErrorMessage(assetInfo(fromBase58String(H)), (("Asset " + H) + " doesn't exist")) | |
136 | 136 | let Y = X.decimals | |
137 | 137 | if ((L != H)) | |
138 | 138 | then throw("Pair is not available in Voting List.") | |
139 | 139 | else if ((height > K)) | |
140 | 140 | then throw((("Voting timeline for " + H) + " is expired.")) | |
141 | 141 | else if ((v.assetId != i)) | |
142 | 142 | then throw("Kindly Attach Only 44Mq8KqUhM94t93MiBq3S22iiuGczMxpKmse5dBy2w5y (Ballet).") | |
143 | 143 | else if ((O == J)) | |
144 | 144 | then throw((("Voting for " + H) + " pair is completed and it’s available in whitelist.")) | |
145 | 145 | else if (W) | |
146 | 146 | then [StringEntry(("Voting_Status_" + H), J), IntegerEntry(("Decimals_of_" + H), Y), IntegerEntry(((("Old_Balance_of_" + H) + "_") + toBase58String(j)), 0), IntegerEntry(((("New_Balance_of_" + H) + "_") + toBase58String(j)), 0), IntegerEntry(((("Old_Balance_of_" + toBase58String(j)) + "_") + H), 0), IntegerEntry(((("New_Balance_of_" + toBase58String(j)) + "_") + H), 0), IntegerEntry(((("Total_of_pair_Txns_" + H) + "_") + toBase58String(j)), 0), IntegerEntry("Total_of_Swaps_Txns", 0), IntegerEntry("Total_Swap_Fee_Collected", 0)] | |
147 | 147 | else [IntegerEntry(("Votes_Received_" + H), S), IntegerEntry(((("Votes_Received_" + I) + "_") + H), V)] | |
148 | 148 | } | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | ||
152 | 152 | @Callable(a) | |
153 | 153 | func WithdrawVotedTokens (H) = { | |
154 | 154 | let v = a.payments[0] | |
155 | 155 | let I = toBase58String(a.caller.bytes) | |
156 | 156 | let i = base58'44Mq8KqUhM94t93MiBq3S22iiuGczMxpKmse5dBy2w5y' | |
157 | 157 | let K = getIntegerValue(this, ("Voting_End_Height_" + H)) | |
158 | 158 | let L = getString(this, ("Pair_Under_Voting_" + H)) | |
159 | 159 | let Z = getIntegerValue(this, ((("Votes_Received_" + I) + "_") + H)) | |
160 | 160 | let aa = (K - height) | |
161 | 161 | if ((L != H)) | |
162 | 162 | then throw("Pair is not available in Voting List.") | |
163 | 163 | else if ((K > height)) | |
164 | 164 | then throw((("Voting Already Running. You can withdraw your Ballet Token only after the expire of " + toString(aa)) + " Blocks")) | |
165 | 165 | else if ((0 >= Z)) | |
166 | 166 | then throw("You don't have any dues of ballet balance in this Voting Pair.") | |
167 | 167 | else if (isDefined(v.assetId)) | |
168 | 168 | then throw("Don't attach any other asset. Please attach 0.1 TN as a fee to release your token") | |
169 | 169 | else if ((v.amount != 10000000)) | |
170 | 170 | then throw("Please attach 0.1 TN as a fee to release your token.") | |
171 | 171 | else [IntegerEntry(((("Votes_Received_" + I) + "_") + H), 0), ScriptTransfer(a.caller, Z, i)] | |
172 | 172 | } | |
173 | 173 | ||
174 | 174 | ||
175 | 175 | ||
176 | 176 | @Callable(a) | |
177 | 177 | func SwapAssetToUSDTPairEntry (H) = { | |
178 | 178 | let I = toBase58String(a.caller.bytes) | |
179 | 179 | let v = if ((size(a.payments) == 1)) | |
180 | 180 | then a.payments[0] | |
181 | 181 | else throw("Whitelisted Swap Token is required as Attached payment[1].") | |
182 | 182 | let j = base58'GyqTYDea3DWBaAyQs5S5uH2223ucELYFazJpZLCfMznU' | |
183 | 183 | let L = getString(this, ("Pair_Under_Voting_" + H)) | |
184 | 184 | let O = getStringValue(this, ("Voting_Status_" + H)) | |
185 | 185 | let ab = getIntegerValue(this, ((("Price_Of_" + H) + "_") + toBase58String(j))) | |
186 | 186 | let ac = getIntegerValue(this, ((("Old_Balance_of_" + H) + "_") + toBase58String(j))) | |
187 | 187 | let ad = getIntegerValue(this, ((("Old_Balance_of_" + toBase58String(j)) + "_") + H)) | |
188 | 188 | let ae = getIntegerValue(this, ("Decimals_of_" + H)) | |
189 | 189 | let af = "Fail" | |
190 | 190 | let ag = 1 | |
191 | 191 | let ah = ae | |
192 | 192 | let ai = 6 | |
193 | 193 | let aj = ((6 - ah) - 8) | |
194 | 194 | let ak = (((v.amount * ab) * pow(10, 0, aj, 0, 0, UP)) / pow(10, 0, ah, 0, 0, UP)) | |
195 | 195 | let al = assetBalance(this, j) | |
196 | 196 | let am = (al - ak) | |
197 | 197 | if ((L != H)) | |
198 | 198 | then throw("Pair is not available in Whitelisted Asset.") | |
199 | 199 | else if ((O == af)) | |
200 | 200 | then throw((H + " is not A Whitelisted Token Yet.")) | |
201 | 201 | else if ((v.assetId == j)) | |
202 | 202 | then throw("You can't Attach USDT as an Attached Payment. Only Whitelisted Tokens are accepted.") | |
203 | 203 | else if ((v.assetId != fromBase58String(H))) | |
204 | 204 | then throw(("Incorrect asset attached, please attach or send " + H)) | |
205 | 205 | else if ((10000 > ak)) | |
206 | 206 | then throw((("Your Attached Asset Amount is very low. Attach More " + H) + " Tokens to Claim the minimum Amount of 1 cent atleast.")) | |
207 | 207 | else if ((ac == 0)) | |
208 | 208 | then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.") | |
209 | 209 | else if ((ad == 0)) | |
210 | 210 | then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.") | |
211 | 211 | else [IntegerEntry(((("Price_Of_" + H) + "_") + toBase58String(j)), ab), ScriptTransfer(a.caller, ((ak * 99) / 100), j), ScriptTransfer(a.caller, ((ak * ag) / 100), j)] | |
212 | 212 | } | |
213 | 213 | ||
214 | 214 | ||
215 | 215 | ||
216 | 216 | @Callable(a) | |
217 | 217 | func SwapUSDTToAssetPairEntry (H) = { | |
218 | 218 | let I = toBase58String(a.caller.bytes) | |
219 | 219 | let v = if ((size(a.payments) == 1)) | |
220 | 220 | then a.payments[0] | |
221 | 221 | else throw("Only USDT Token is required as an Attached payment[1].") | |
222 | 222 | let j = base58'GyqTYDea3DWBaAyQs5S5uH2223ucELYFazJpZLCfMznU' | |
223 | 223 | let L = getString(this, ("Pair_Under_Voting_" + H)) | |
224 | 224 | let O = getStringValue(this, ("Voting_Status_" + H)) | |
225 | 225 | let an = getIntegerValue(this, ((("ReversePrice_Of_" + H) + "_") + toBase58String(j))) | |
226 | 226 | let ae = getIntegerValue(this, ("Decimals_of_" + H)) | |
227 | 227 | let af = "Fail" | |
228 | 228 | let ao = 1 | |
229 | 229 | let ah = ae | |
230 | 230 | let ai = 6 | |
231 | 231 | let aj = ((6 - ah) - 8) | |
232 | - | let ak = ((v.amount * an) / pow(10, 0, ah, 0, 0, UP)) | |
232 | + | let ak = (((v.amount * an) / pow(10, 0, ah, 0, 0, UP)) / pow(10, 0, aj, 0, 0, UP)) | |
233 | 233 | let ap = assetBalance(this, fromBase58String(H)) | |
234 | 234 | let aq = (ap - ak) | |
235 | 235 | if ((L != H)) | |
236 | 236 | then throw("Pair is not available in Whitelisted Asset.") | |
237 | 237 | else if ((O == af)) | |
238 | 238 | then throw((H + " is not A Whitelisted Token Yet.")) | |
239 | 239 | else if ((H == toBase58String(j))) | |
240 | 240 | then throw("Input can Never be a USDT AssetID. Enter AssetID in input and Attach USDT as attachment Token.") | |
241 | 241 | else if ((v.assetId != j)) | |
242 | 242 | 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.") | |
243 | 243 | else if ((1000000 > v.amount)) | |
244 | 244 | then throw("Your Attached USDT Amount is very low. Attach Atleast 1 USDT to Claim the minimum Tokens.") | |
245 | 245 | else [IntegerEntry(((("ReversePrice_Of_" + H) + "_") + toBase58String(j)), an), ScriptTransfer(a.caller, ((ak * 99) / 100), fromBase58String(H)), ScriptTransfer(a.caller, ((ak * ao) / 100), fromBase58String(H))] | |
246 | 246 | } | |
247 | 247 | ||
248 | 248 | ||
249 | 249 | ||
250 | 250 | @Callable(a) | |
251 | 251 | func AddLiquidity (H) = { | |
252 | 252 | let I = toBase58String(a.caller.bytes) | |
253 | 253 | let v = if ((size(a.payments) == 1)) | |
254 | 254 | then a.payments[0] | |
255 | 255 | else throw("Whitelisted Swap Token is required as Attached payment[1].") | |
256 | 256 | let j = base58'GyqTYDea3DWBaAyQs5S5uH2223ucELYFazJpZLCfMznU' | |
257 | 257 | nil | |
258 | 258 | } | |
259 | 259 | ||
260 | 260 | ||
261 | 261 | ||
262 | 262 | @Callable(a) | |
263 | 263 | func RemovePairEntry (H) = { | |
264 | 264 | let ar = getStringValue(this, "Polarity_Admin_Rights") | |
265 | 265 | let j = base58'GyqTYDea3DWBaAyQs5S5uH2223ucELYFazJpZLCfMznU' | |
266 | 266 | let K = getIntegerValue(this, ("Voting_End_Height_" + H)) | |
267 | 267 | let L = getString(this, ("Pair_Under_Voting_" + H)) | |
268 | 268 | let O = getStringValue(this, ("Voting_Status_" + H)) | |
269 | 269 | let J = "Pass" | |
270 | 270 | let I = toBase58String(a.caller.bytes) | |
271 | 271 | let as = height | |
272 | 272 | let aa = (K - height) | |
273 | 273 | if ((L != H)) | |
274 | 274 | then throw("Pair is not available in Voting List.") | |
275 | 275 | else if ((ar != I)) | |
276 | 276 | then throw((("I know You are not An Admin. Only " + ar) + " has rights to remove the pair.")) | |
277 | 277 | else if ((K > height)) | |
278 | 278 | then throw((("Voting Already Running. You can remove the pair after " + toString(aa)) + " Blocks")) | |
279 | 279 | else if ((O == J)) | |
280 | 280 | then throw((H + " is now Whitelisted. So you can't remove it.")) | |
281 | 281 | else [DeleteEntry(("Pair_Under_Voting_" + H)), DeleteEntry(("Voting_Start_Height_" + H)), DeleteEntry(("Voting_End_Height_" + H)), DeleteEntry(("Voting_Period_" + H)), DeleteEntry(("Votes_Required_" + H)), DeleteEntry(("Voting_Listing_Fee_" + H)), DeleteEntry(("Voting_Status_" + H)), DeleteEntry(("Votes_Received_" + H)), DeleteEntry(((("Price_Of_" + H) + "_") + toBase58String(j)))] | |
282 | 282 | } | |
283 | 283 | ||
284 | 284 | ||
285 | 285 | @Verifier(at) | |
286 | 286 | func au () = { | |
287 | 287 | let Q = at | |
288 | 288 | sigVerify(at.bodyBytes, at.proofs[0], at.senderPublicKey) | |
289 | 289 | } | |
290 | 290 |
github/deemru/w8io/169f3d6 48.64 ms ◑