tx · 9iVFtks9rJvRNUyBRio4Fqth881eJTuZFBPyPx3zjU6g 3Mtit8bwuKhT8FTUFx26q1p6o4ZTecyuLRW: -0.02500000 Waves 2023.08.26 00:41 [2726731] smart account 3Mtit8bwuKhT8FTUFx26q1p6o4ZTecyuLRW > SELF 0.00000000 Waves
{ "type": 13, "id": "9iVFtks9rJvRNUyBRio4Fqth881eJTuZFBPyPx3zjU6g", "fee": 2500000, "feeAssetId": null, "timestamp": 1692999789160, "version": 2, "chainId": 84, "sender": "3Mtit8bwuKhT8FTUFx26q1p6o4ZTecyuLRW", "senderPublicKey": "6Ao9CXtWYPtv2jCfbfCbjCK6Pwtqzu1i3hP1NzznxZbM", "proofs": [ "4JaWMTeCshq8wUPjKVjfy9YEuMtCxQCcNo7mjGifdx17RyeVSi21GpxGKSjdaP4cDBhnEbQryD7UwsqWE38Tf5jA" ], "script": "base64:AAIFAAAAAAAAADQIAhINCgsBAQgIAQEBAQgBARINCgsBAQgIAQEBAQgBARIAEgASBAoCCAESAwoBCBIDCgEIAAAACgAAAAAURGFwcF9BZGRyZXNzX3B1Yl9rZXkBAAAAIOOt17LUijbWojwDE5tgFkw1Y8cwIr3jselcewpp7rwjAAAAABhwcm9kdWN0X2xhdW5jaF90aW1lc3RhbXAAAAABhgpF7AAAAAAAC0N1cnJlbmN5X0lEAgAAAAVXQVZFUwAAAAAUcHJvZHVjdF9sYXVuY2hfZXJyb3ICAAAAI1Byb2R1Y3QgTGF1bmNoIFRpbWVzdGFtcCBpcyBzZXQgYXQgAAAAABBub19wYXltZW50X2Vycm9yAgAAADdObyBwYXltZW50IGF0dGFjaGVkLCBQbGVhc2UgQXR0YWNoIFRva2VuIGluIHBheW1lbnRbMV0uAAAAABJjbG9zZWRfb3JhY2xlX2Vyb3ICAAAAMU9yYWNsZSBpcyBjbG9zZWQuIFdhaXQgVW50aWwgT3JhY2xlIGlzIFR1cm5lZCBPbi4AAAAAEXdoaXRlbGlzdF9hZGRyZXNzCQEAAAAUYWRk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ACdHgDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAVPcmRlcgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAHCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleUvloPU=", "height": 2726731, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6ikRHgX738qQFxzs54N3GvV19gjBAMcf3G3b7xCojqEN Next: JC7rwFWcHfXiehq8JvGWFj6BsDjZzXnq3PawWYPiUgBe Diff:
Old | New | Differences | |
---|---|---|---|
119 | 119 | else if ((l > j)) | |
120 | 120 | then throw((("Placed Order Size is more than [" + toString(j)) + "/10^8] WAVES.")) | |
121 | 121 | else if ((0 > A)) | |
122 | - | then throw("Placed Order Amount is going negative. Please reduce the Order Size.") | |
122 | + | then throw(("Placed Order Amount is going negative. Please reduce the Order Size. Left Fund Amount = " + toString(A))) | |
123 | 123 | else if ((size(toString(u)) != 13)) | |
124 | 124 | then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.") | |
125 | 125 | else if ((size(toString(v)) != 13)) | |
227 | 227 | else if ((l > j)) | |
228 | 228 | then throw((("Placed Order Size is more than [" + toString(j)) + "/10^8] WAVES.")) | |
229 | 229 | else if ((0 > A)) | |
230 | - | then throw("Placed Order Amount is going negative. Please reduce the Order Size.") | |
230 | + | then throw(("Placed Order Amount is going negative. Please reduce the Order Size. Left Fund Amount = " + toString(A))) | |
231 | 231 | else if ((size(toString(u)) != 13)) | |
232 | 232 | then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.") | |
233 | 233 | else if ((size(toString(v)) != 13)) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr' | |
5 | 5 | ||
6 | 6 | let b = 1675209600000 | |
7 | 7 | ||
8 | 8 | let c = "WAVES" | |
9 | 9 | ||
10 | 10 | let d = "Product Launch Timestamp is set at " | |
11 | 11 | ||
12 | 12 | let e = "No payment attached, Please Attach Token in payment[1]." | |
13 | 13 | ||
14 | 14 | let f = "Oracle is closed. Wait Until Oracle is Turned On." | |
15 | 15 | ||
16 | 16 | let g = addressFromPublicKey(a) | |
17 | 17 | ||
18 | 18 | let h = 900000 | |
19 | 19 | ||
20 | 20 | let i = 10000000 | |
21 | 21 | ||
22 | 22 | let j = 10000000000 | |
23 | 23 | ||
24 | 24 | @Callable(k) | |
25 | 25 | func placeoptionCall (l,m,n,o,p,q,r,s,t,u,v) = { | |
26 | 26 | let w = toBase58String(k.caller.bytes) | |
27 | 27 | let x = getString(this, ("addr_BLACKLISTED_" + o)) | |
28 | 28 | let y = getIntegerValue(this, "Total_Pool_Liquidity") | |
29 | 29 | let z = getIntegerValue(((c + "_") + o)) | |
30 | 30 | let A = ((z - l) - h) | |
31 | 31 | let B = u | |
32 | 32 | let C = v | |
33 | 33 | let D = m | |
34 | 34 | let E = 1 | |
35 | 35 | let F = (D + E) | |
36 | 36 | let G = { | |
37 | 37 | let H = getInteger(this, "Total_Option_Orders") | |
38 | 38 | if ($isInstanceOf(H, "Int")) | |
39 | 39 | then { | |
40 | 40 | let I = H | |
41 | 41 | I | |
42 | 42 | } | |
43 | 43 | else 0 | |
44 | 44 | } | |
45 | 45 | let J = (G + 1) | |
46 | 46 | let K = { | |
47 | 47 | let H = getInteger(this, ("Total_Funds_Added_In_Option_Order_" + toString(D))) | |
48 | 48 | if ($isInstanceOf(H, "Int")) | |
49 | 49 | then { | |
50 | 50 | let I = H | |
51 | 51 | I | |
52 | 52 | } | |
53 | 53 | else 0 | |
54 | 54 | } | |
55 | 55 | let L = (K + l) | |
56 | 56 | let M = { | |
57 | 57 | let H = getInteger(this, ("Total_Option_Orders_" + toString(D))) | |
58 | 58 | if ($isInstanceOf(H, "Int")) | |
59 | 59 | then { | |
60 | 60 | let I = H | |
61 | 61 | I | |
62 | 62 | } | |
63 | 63 | else 0 | |
64 | 64 | } | |
65 | 65 | let N = (M + 1) | |
66 | 66 | let O = { | |
67 | 67 | let H = getInteger(this, "Total_Calls") | |
68 | 68 | if ($isInstanceOf(H, "Int")) | |
69 | 69 | then { | |
70 | 70 | let I = H | |
71 | 71 | I | |
72 | 72 | } | |
73 | 73 | else 0 | |
74 | 74 | } | |
75 | 75 | let P = (O + 1) | |
76 | 76 | let Q = { | |
77 | 77 | let H = getInteger(this, ("Total_Calls_" + toString(D))) | |
78 | 78 | if ($isInstanceOf(H, "Int")) | |
79 | 79 | then { | |
80 | 80 | let I = H | |
81 | 81 | I | |
82 | 82 | } | |
83 | 83 | else 0 | |
84 | 84 | } | |
85 | 85 | let R = (Q + 1) | |
86 | 86 | let S = { | |
87 | 87 | let H = getInteger(this, (o + "_Total_Calls")) | |
88 | 88 | if ($isInstanceOf(H, "Int")) | |
89 | 89 | then { | |
90 | 90 | let I = H | |
91 | 91 | I | |
92 | 92 | } | |
93 | 93 | else 0 | |
94 | 94 | } | |
95 | 95 | let T = (S + 1) | |
96 | 96 | let U = { | |
97 | 97 | let H = getInteger(this, ((o + "_Total_Calls_") + toString(D))) | |
98 | 98 | if ($isInstanceOf(H, "Int")) | |
99 | 99 | then { | |
100 | 100 | let I = H | |
101 | 101 | I | |
102 | 102 | } | |
103 | 103 | else 0 | |
104 | 104 | } | |
105 | 105 | let V = (U + 1) | |
106 | 106 | let W = p | |
107 | 107 | if ((k.caller != g)) | |
108 | 108 | then throw((("This Address is not Authorized. Only " + toString(g)) + " is Authorized Address to Sign it.")) | |
109 | 109 | else if ((b > lastBlock.timestamp)) | |
110 | 110 | then throw((d + toString(b))) | |
111 | 111 | else if ((t == "CLOSE")) | |
112 | 112 | then throw(f) | |
113 | 113 | else if ((x == "Yes")) | |
114 | 114 | then throw((o + " Address is Blacklisted. Please contact Admin to Whitelist it.")) | |
115 | 115 | else if ((lastBlock.timestamp >= C)) | |
116 | 116 | then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.") | |
117 | 117 | else if ((i > l)) | |
118 | 118 | then throw((("Placed Order Size is less than [" + toString(i)) + "/10^8] WAVES.")) | |
119 | 119 | else if ((l > j)) | |
120 | 120 | then throw((("Placed Order Size is more than [" + toString(j)) + "/10^8] WAVES.")) | |
121 | 121 | else if ((0 > A)) | |
122 | - | then throw("Placed Order Amount is going negative. Please reduce the Order Size.") | |
122 | + | then throw(("Placed Order Amount is going negative. Please reduce the Order Size. Left Fund Amount = " + toString(A))) | |
123 | 123 | else if ((size(toString(u)) != 13)) | |
124 | 124 | then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.") | |
125 | 125 | else if ((size(toString(v)) != 13)) | |
126 | 126 | then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.") | |
127 | 127 | else [StringEntry(("User_ID_" + o), n), IntegerEntry(((c + "_") + o), A), IntegerEntry("Network_Fee_To_Place_Order", h), StringEntry(((("Call_" + o) + "_") + toString(T)), toString(q)), IntegerEntry(((("Call_Amount_" + o) + "_") + toString(T)), l), StringEntry(((("Call_Start_End_" + o) + "_") + toString(T)), ((toString(D) + "_") + toString(F))), IntegerEntry("Total_Option_Orders", J), IntegerEntry(("Total_Funds_Added_In_Option_Order_" + toString(D)), L), IntegerEntry("Total_Pool_Liquidity", y), IntegerEntry(("Funds_At_Risk_" + toString(D)), W), IntegerEntry("Call_Limits", r), IntegerEntry("Put_Limits", s), IntegerEntry(("Total_Option_Orders_" + toString(D)), N), IntegerEntry("Total_Calls", P), IntegerEntry(("Total_Calls_" + toString(D)), R), IntegerEntry((o + "_Total_Calls"), T), IntegerEntry(((o + "_Total_Calls_") + toString(D)), V)] | |
128 | 128 | } | |
129 | 129 | ||
130 | 130 | ||
131 | 131 | ||
132 | 132 | @Callable(k) | |
133 | 133 | func placeoptionPut (l,m,n,o,p,q,r,s,t,u,v) = { | |
134 | 134 | let w = toBase58String(k.caller.bytes) | |
135 | 135 | let x = getString(this, ("addr_BLACKLISTED_" + o)) | |
136 | 136 | let y = getIntegerValue("Total_Pool_Liquidity") | |
137 | 137 | let z = getIntegerValue(((c + "_") + o)) | |
138 | 138 | let A = ((z - l) - h) | |
139 | 139 | let B = u | |
140 | 140 | let C = v | |
141 | 141 | let D = m | |
142 | 142 | let E = 1 | |
143 | 143 | let F = (D + E) | |
144 | 144 | let G = { | |
145 | 145 | let H = getInteger(this, "Total_Option_Orders") | |
146 | 146 | if ($isInstanceOf(H, "Int")) | |
147 | 147 | then { | |
148 | 148 | let I = H | |
149 | 149 | I | |
150 | 150 | } | |
151 | 151 | else 0 | |
152 | 152 | } | |
153 | 153 | let J = (G + 1) | |
154 | 154 | let K = { | |
155 | 155 | let H = getInteger(this, ("Total_Funds_Added_In_Option_Order_" + toString(D))) | |
156 | 156 | if ($isInstanceOf(H, "Int")) | |
157 | 157 | then { | |
158 | 158 | let I = H | |
159 | 159 | I | |
160 | 160 | } | |
161 | 161 | else 0 | |
162 | 162 | } | |
163 | 163 | let L = (K + l) | |
164 | 164 | let M = { | |
165 | 165 | let H = getInteger(this, ("Total_Option_Orders_" + toString(D))) | |
166 | 166 | if ($isInstanceOf(H, "Int")) | |
167 | 167 | then { | |
168 | 168 | let I = H | |
169 | 169 | I | |
170 | 170 | } | |
171 | 171 | else 0 | |
172 | 172 | } | |
173 | 173 | let N = (M + 1) | |
174 | 174 | let X = { | |
175 | 175 | let H = getInteger(this, "Total_Puts") | |
176 | 176 | if ($isInstanceOf(H, "Int")) | |
177 | 177 | then { | |
178 | 178 | let I = H | |
179 | 179 | I | |
180 | 180 | } | |
181 | 181 | else 0 | |
182 | 182 | } | |
183 | 183 | let Y = (X + 1) | |
184 | 184 | let Z = { | |
185 | 185 | let H = getInteger(this, ("Total_Puts_" + toString(D))) | |
186 | 186 | if ($isInstanceOf(H, "Int")) | |
187 | 187 | then { | |
188 | 188 | let I = H | |
189 | 189 | I | |
190 | 190 | } | |
191 | 191 | else 0 | |
192 | 192 | } | |
193 | 193 | let aa = (Z + 1) | |
194 | 194 | let ab = { | |
195 | 195 | let H = getInteger(this, (o + "_Total_Puts")) | |
196 | 196 | if ($isInstanceOf(H, "Int")) | |
197 | 197 | then { | |
198 | 198 | let I = H | |
199 | 199 | I | |
200 | 200 | } | |
201 | 201 | else 0 | |
202 | 202 | } | |
203 | 203 | let ac = (ab + 1) | |
204 | 204 | let ad = { | |
205 | 205 | let H = getInteger(this, ((o + "_Total_Puts_") + toString(D))) | |
206 | 206 | if ($isInstanceOf(H, "Int")) | |
207 | 207 | then { | |
208 | 208 | let I = H | |
209 | 209 | I | |
210 | 210 | } | |
211 | 211 | else 0 | |
212 | 212 | } | |
213 | 213 | let ae = (ad + 1) | |
214 | 214 | let W = p | |
215 | 215 | if ((k.caller != g)) | |
216 | 216 | then throw((("This Address is not Authorized. Only " + toString(g)) + " is Authorized Address to Sign it.")) | |
217 | 217 | else if ((b > lastBlock.timestamp)) | |
218 | 218 | then throw((d + toString(b))) | |
219 | 219 | else if ((t == "CLOSE")) | |
220 | 220 | then throw(f) | |
221 | 221 | else if ((x == "Yes")) | |
222 | 222 | then throw((o + " Address is Blacklisted. Please contact Admin to Whitelist it.")) | |
223 | 223 | else if ((lastBlock.timestamp >= C)) | |
224 | 224 | then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.") | |
225 | 225 | else if ((i > l)) | |
226 | 226 | then throw((("Placed Order Size is less than [" + toString(i)) + "/10^8] WAVES.")) | |
227 | 227 | else if ((l > j)) | |
228 | 228 | then throw((("Placed Order Size is more than [" + toString(j)) + "/10^8] WAVES.")) | |
229 | 229 | else if ((0 > A)) | |
230 | - | then throw("Placed Order Amount is going negative. Please reduce the Order Size.") | |
230 | + | then throw(("Placed Order Amount is going negative. Please reduce the Order Size. Left Fund Amount = " + toString(A))) | |
231 | 231 | else if ((size(toString(u)) != 13)) | |
232 | 232 | then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.") | |
233 | 233 | else if ((size(toString(v)) != 13)) | |
234 | 234 | then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.") | |
235 | 235 | else [StringEntry(("User_ID_" + o), n), IntegerEntry(((c + "_") + o), A), IntegerEntry("Network_Fee_To_Place_Order", h), StringEntry(((("Put_" + o) + "_") + toString(ac)), toString(q)), IntegerEntry(((("Put_Amount_" + o) + "_") + toString(ac)), l), StringEntry(((("Put_Start_End_" + o) + "_") + toString(ac)), ((toString(D) + "_") + toString(F))), IntegerEntry("Total_Option_Orders", J), IntegerEntry(("Total_Funds_Added_In_Option_Order_" + toString(D)), L), IntegerEntry("Total_Pool_Liquidity", y), IntegerEntry(("Funds_At_Risk_" + toString(D)), W), IntegerEntry("Call_Limits", r), IntegerEntry("Put_Limits", s), IntegerEntry(("Total_Option_Orders_" + toString(D)), N), IntegerEntry("Total_Puts", Y), IntegerEntry(("Total_Puts_" + toString(D)), aa), IntegerEntry((o + "_Total_Puts"), ac), IntegerEntry(((o + "_Total_Puts_") + toString(D)), ae)] | |
236 | 236 | } | |
237 | 237 | ||
238 | 238 | ||
239 | 239 | ||
240 | 240 | @Callable(k) | |
241 | 241 | func DepositUserFunds () = { | |
242 | 242 | let w = toBase58String(k.caller.bytes) | |
243 | 243 | let af = if ((size(k.payments) == 1)) | |
244 | 244 | then k.payments[0] | |
245 | 245 | else throw("No payment attached, Please Attach only Whitelisted Tokens in payment[1].") | |
246 | 246 | let x = getString(this, ("addr_BLACKLISTED_" + w)) | |
247 | 247 | let ag = { | |
248 | 248 | let H = getInteger(this, ((c + "_") + w)) | |
249 | 249 | if ($isInstanceOf(H, "Int")) | |
250 | 250 | then { | |
251 | 251 | let I = H | |
252 | 252 | I | |
253 | 253 | } | |
254 | 254 | else 0 | |
255 | 255 | } | |
256 | 256 | let ah = (ag + af.amount) | |
257 | 257 | let ai = { | |
258 | 258 | let H = getInteger(this, "Deposit_Counter_ID") | |
259 | 259 | if ($isInstanceOf(H, "Int")) | |
260 | 260 | then { | |
261 | 261 | let I = H | |
262 | 262 | I | |
263 | 263 | } | |
264 | 264 | else 0 | |
265 | 265 | } | |
266 | 266 | let aj = (ai + 1) | |
267 | 267 | if ((b > lastBlock.timestamp)) | |
268 | 268 | then throw((d + toString(b))) | |
269 | 269 | else if ((x == "Yes")) | |
270 | 270 | then throw((w + " Address is Blacklisted. Please contact Admin to Whitelist it.")) | |
271 | 271 | else if (isDefined(af.assetId)) | |
272 | 272 | then throw("Only WAVES is allowed to deposit at the moment") | |
273 | 273 | else [IntegerEntry(((c + "_") + w), ah), IntegerEntry(((((toString(aj) + "_") + c) + "_") + w), af.amount), IntegerEntry("Deposit_Counter_ID", aj)] | |
274 | 274 | } | |
275 | 275 | ||
276 | 276 | ||
277 | 277 | ||
278 | 278 | @Callable(k) | |
279 | 279 | func AddPoolLiquidity () = { | |
280 | 280 | let w = toBase58String(k.caller.bytes) | |
281 | 281 | let af = if ((size(k.payments) == 1)) | |
282 | 282 | then k.payments[0] | |
283 | 283 | else throw("No payment attached, Please Attach only Whitelisted Tokens in payment[1].") | |
284 | 284 | let ak = { | |
285 | 285 | let H = getInteger(this, ("Total_LP_Added_" + toString(g))) | |
286 | 286 | if ($isInstanceOf(H, "Int")) | |
287 | 287 | then { | |
288 | 288 | let I = H | |
289 | 289 | I | |
290 | 290 | } | |
291 | 291 | else 0 | |
292 | 292 | } | |
293 | 293 | let al = (ak + af.amount) | |
294 | 294 | let am = { | |
295 | 295 | let H = getInteger(this, "Total_Pool_Liquidity") | |
296 | 296 | if ($isInstanceOf(H, "Int")) | |
297 | 297 | then { | |
298 | 298 | let I = H | |
299 | 299 | I | |
300 | 300 | } | |
301 | 301 | else 0 | |
302 | 302 | } | |
303 | 303 | let an = (am + af.amount) | |
304 | 304 | let ao = { | |
305 | 305 | let H = getInteger(this, "LP_Deposit_Counter") | |
306 | 306 | if ($isInstanceOf(H, "Int")) | |
307 | 307 | then { | |
308 | 308 | let I = H | |
309 | 309 | I | |
310 | 310 | } | |
311 | 311 | else 0 | |
312 | 312 | } | |
313 | 313 | let ap = (ao + 1) | |
314 | 314 | if ((k.caller != g)) | |
315 | 315 | then throw((("This Address is not Authorized. Only " + toString(g)) + " is Authorized Address to Sign it.")) | |
316 | 316 | else if (isDefined(af.assetId)) | |
317 | 317 | then throw("Only WAVES is allowed to deposit at the moment") | |
318 | 318 | else [IntegerEntry("Total_Pool_Liquidity", an), IntegerEntry("LP_Deposit_Counter", ap), IntegerEntry(("Total_LP_Added_" + toString(g)), al)] | |
319 | 319 | } | |
320 | 320 | ||
321 | 321 | ||
322 | 322 | ||
323 | 323 | @Callable(k) | |
324 | 324 | func WithdrawUserFunds (o,l) = { | |
325 | 325 | let w = toBase58String(k.caller.bytes) | |
326 | 326 | let aq = getIntegerValue(((c + "_") + o)) | |
327 | 327 | let A = ((aq - l) - h) | |
328 | 328 | let ar = 10000000 | |
329 | 329 | if ((k.caller != g)) | |
330 | 330 | then throw((("This Address is not Authorized. Only " + toString(g)) + " is Authorized Address to Sign it.")) | |
331 | 331 | else if ((ar > l)) | |
332 | 332 | then throw((("Minimum Withdraw Amount is " + toString(ar)) + "/10^8] WAVES.")) | |
333 | 333 | else if ((0 > A)) | |
334 | 334 | then throw((("Placed Withdraw Amount is going in negative State of " + toString(A)) + "/10^8] WAVES.")) | |
335 | 335 | else [IntegerEntry("Previous_Balance", aq), IntegerEntry("Network_Fee_To_Withdraw", h), IntegerEntry(((c + "_") + o), A), ScriptTransfer(g, h, unit), ScriptTransfer(addressFromStringValue(o), l, unit)] | |
336 | 336 | } | |
337 | 337 | ||
338 | 338 | ||
339 | 339 | ||
340 | 340 | @Callable(k) | |
341 | 341 | func BlackListAddress (as) = { | |
342 | 342 | let x = getString(this, ("addr_BLACKLISTED_" + as)) | |
343 | 343 | let at = { | |
344 | 344 | let H = getInteger(this, "Total_Black_Listed_Address") | |
345 | 345 | if ($isInstanceOf(H, "Int")) | |
346 | 346 | then { | |
347 | 347 | let I = H | |
348 | 348 | I | |
349 | 349 | } | |
350 | 350 | else 0 | |
351 | 351 | } | |
352 | 352 | let au = (at + 1) | |
353 | 353 | if ((b > lastBlock.timestamp)) | |
354 | 354 | then throw((d + toString(b))) | |
355 | 355 | else if ((k.caller != g)) | |
356 | 356 | then throw((("This Address is not Authorized. Only " + toString(g)) + " is Authorized Address to Sign it.")) | |
357 | 357 | else if ((x == "Yes")) | |
358 | 358 | then throw("Address is already available in Blacklist.") | |
359 | 359 | else [StringEntry(("addr_BLACKLISTED_" + as), "Yes"), IntegerEntry("Total_Black_Listed_Address", au)] | |
360 | 360 | } | |
361 | 361 | ||
362 | 362 | ||
363 | 363 | ||
364 | 364 | @Callable(k) | |
365 | 365 | func DeleteBlackListAddress (as) = { | |
366 | 366 | let x = getString(this, ("addr_BLACKLISTED_" + as)) | |
367 | 367 | let at = { | |
368 | 368 | let H = getInteger(this, "Total_Black_Listed_Address") | |
369 | 369 | if ($isInstanceOf(H, "Int")) | |
370 | 370 | then { | |
371 | 371 | let I = H | |
372 | 372 | I | |
373 | 373 | } | |
374 | 374 | else 0 | |
375 | 375 | } | |
376 | 376 | let au = (at - 1) | |
377 | 377 | if ((b > lastBlock.timestamp)) | |
378 | 378 | then throw(("Product Launch Timestamp is set at " + toString(b))) | |
379 | 379 | else if ((k.caller != g)) | |
380 | 380 | then throw((("This Address is not Authorized. Only " + toString(g)) + " is Authorized Address to Sign it.")) | |
381 | 381 | else if ((x == "Yes")) | |
382 | 382 | then [DeleteEntry(("addr_BLACKLISTED_" + as)), IntegerEntry("Total_Black_Listed_Address", au)] | |
383 | 383 | else throw("Address is not available in Blacklist.") | |
384 | 384 | } | |
385 | 385 | ||
386 | 386 | ||
387 | 387 | @Verifier(av) | |
388 | 388 | func aw () = { | |
389 | 389 | let H = av | |
390 | 390 | if (if ($isInstanceOf(H, "Order")) | |
391 | 391 | then true | |
392 | 392 | else if ($isInstanceOf(H, "ExchangeTransaction")) | |
393 | 393 | then true | |
394 | 394 | else $isInstanceOf(H, "TransferTransaction")) | |
395 | 395 | then { | |
396 | 396 | let ax = H | |
397 | 397 | false | |
398 | 398 | } | |
399 | 399 | else sigVerify(av.bodyBytes, av.proofs[0], av.senderPublicKey) | |
400 | 400 | } | |
401 | 401 |
github/deemru/w8io/026f985 62.75 ms ◑