tx · 8jKGBcDHXhx1Ubq49YSWfWPJtgzDqmTwzV7NsZfZs4Yh 3N1s2w4NHgbrXxNZXH9RtaVT9ptHRJcgSp2: -0.03200000 Waves 2023.11.30 12:21 [2865955] smart account 3N1s2w4NHgbrXxNZXH9RtaVT9ptHRJcgSp2 > SELF 0.00000000 Waves
{ "type": 13, "id": "8jKGBcDHXhx1Ubq49YSWfWPJtgzDqmTwzV7NsZfZs4Yh", "fee": 3200000, "feeAssetId": null, "timestamp": 1701336130332, "version": 2, "chainId": 84, "sender": "3N1s2w4NHgbrXxNZXH9RtaVT9ptHRJcgSp2", "senderPublicKey": "DNKNL32sAVUYg4iGA3tW8Z6VXrENmGCmKfG6DLar82aP", "proofs": [ "2JmDtakBqv1SqxkAgPrhZnXMrUwLHiSGRV1kmqHvH58h3WywQcePKyzqjTBoQHshaJmSuoKdXeNrFNVy4Rus4noi" ], "script": "base64:AAIFAAAAAAAAAEAIAhIMCgoBAQgIAQEBCAEBEgwKCgEBCAgBAQEIAQESABIFCgMBCAgSABIECgIIARIDCgEIEgMKAQgSABIDCgEIAAAADgAAAAAWcG9vbF9saXF1aWRpdHlfYWRkcmVzcwIAAAAjM040d0JnWXRXZ0pXMkxUUmVmMmVrV1FUckVYQ1JmWG1HTGgAAAAAFERhcHBfQWRkcmVzc19wdWJfa2V5AQAAACDI7Zjahu5VNVhgxzyW6CpbYvUiMMUf5OyBUQlo584acwAAAAAYcHJvZHVjdF9sYXVuY2hfdGltZXN0YW1wAAAAAYq/YBYgAAAAAAtDdXJyZW5jeV9JRAIAAAAFV0FWRVMAAAAAFHByb2R1Y3RfbGF1bmNoX2Vycm9yAgAAACNQcm9kdWN0IExhdW5jaCBUaW1lc3RhbXAgaXMgc2V0IGF0IAAAAAAQbm9fcGF5bWVudF9lcnJvcgIAAAA3Tm8gcGF5bWVudCBhdHRhY2hlZCwgUGxlYXNlIEF0dGFjaCBUb2tlbiBpbiBwYXltZW50WzFdLgAAAAASY2xvc2VkX29yYWNsZV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AAAQkAASwAAAACCQABLAAAAAICAAAAJVRoaXMgQWRkcmVzcyBpcyBub3QgQXV0aG9yaXplZC4gT25seSAJAAQlAAAAAQUAAAARd2hpdGVsaXN0X2FkZHJlc3MCAAAAIiBpcyBBdXRob3JpemVkIEFkZHJlc3MgdG8gU2lnbiBpdC4DCQAAAAAAAAIFAAAAEWFkZFNodXRkb3duU3RhdHVzAAAAAAAAAAAACQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAA9TaHV0ZG93bl9TdGF0dXMAAAAAAAAAAAEFAAAAA25pbAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAPU2h1dGRvd25fU3RhdHVzAAAAAAAAAAAABQAAAANuaWwAAAABaQEAAAADRGVsAAAAAQAAAAVFbnRyeQkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAAVFbnRyeQUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAVPcmRlcgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24GAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdNYXNzVHJhbnNmZXJUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAcJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5X391dw==", "height": 2865955, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BEX5SPttMsrNHfUE5n1krteZRR8E9iNRN1rk5SHvkhtR Next: CLzxBiBJLrodSMsEVSbTQecNSjAY3XqwSdBPWF4Hm9Pp Diff:
Old | New | Differences | |
---|---|---|---|
40 | 40 | let F = ((E - p) - j) | |
41 | 41 | let G = x | |
42 | 42 | let H = y | |
43 | - | let I = q | |
44 | - | let J = 1 | |
45 | - | let K = (I + J) | |
46 | - | let L = { | |
47 | - | let M = getInteger(this, "Total_Option_Orders") | |
48 | - | if ($isInstanceOf(M, "Int")) | |
43 | + | let I = if ((E > F)) | |
44 | + | then true | |
45 | + | else false | |
46 | + | let J = q | |
47 | + | let K = 1 | |
48 | + | let L = (J + K) | |
49 | + | let M = { | |
50 | + | let N = getInteger(this, "Total_Option_Orders") | |
51 | + | if ($isInstanceOf(N, "Int")) | |
49 | 52 | then { | |
50 | - | let | |
51 | - | | |
53 | + | let O = N | |
54 | + | O | |
52 | 55 | } | |
53 | 56 | else 0 | |
54 | 57 | } | |
55 | - | let | |
56 | - | let | |
57 | - | let | |
58 | - | if ($isInstanceOf( | |
58 | + | let P = (M + 1) | |
59 | + | let Q = { | |
60 | + | let N = getInteger(this, ("Total_Funds_Added_In_Option_Order_" + toString(J))) | |
61 | + | if ($isInstanceOf(N, "Int")) | |
59 | 62 | then { | |
60 | - | let | |
61 | - | | |
63 | + | let O = N | |
64 | + | O | |
62 | 65 | } | |
63 | 66 | else 0 | |
64 | 67 | } | |
65 | - | let | |
66 | - | let | |
67 | - | let | |
68 | - | if ($isInstanceOf( | |
68 | + | let R = (Q + p) | |
69 | + | let S = { | |
70 | + | let N = getInteger(this, ("Total_Option_Orders_" + toString(J))) | |
71 | + | if ($isInstanceOf(N, "Int")) | |
69 | 72 | then { | |
70 | - | let | |
71 | - | | |
73 | + | let O = N | |
74 | + | O | |
72 | 75 | } | |
73 | 76 | else 0 | |
74 | 77 | } | |
75 | - | let | |
76 | - | let | |
77 | - | let | |
78 | - | if ($isInstanceOf( | |
78 | + | let T = (S + 1) | |
79 | + | let U = { | |
80 | + | let N = getInteger(this, "Total_Calls") | |
81 | + | if ($isInstanceOf(N, "Int")) | |
79 | 82 | then { | |
80 | - | let | |
81 | - | | |
83 | + | let O = N | |
84 | + | O | |
82 | 85 | } | |
83 | 86 | else 0 | |
84 | 87 | } | |
85 | - | let | |
86 | - | let | |
87 | - | let | |
88 | - | if ($isInstanceOf( | |
88 | + | let V = (U + 1) | |
89 | + | let W = { | |
90 | + | let N = getInteger(this, ("Total_Calls_" + toString(J))) | |
91 | + | if ($isInstanceOf(N, "Int")) | |
89 | 92 | then { | |
90 | - | let | |
91 | - | | |
93 | + | let O = N | |
94 | + | O | |
92 | 95 | } | |
93 | 96 | else 0 | |
94 | 97 | } | |
95 | - | let | |
96 | - | let | |
97 | - | let | |
98 | - | if ($isInstanceOf( | |
98 | + | let X = (W + 1) | |
99 | + | let Y = { | |
100 | + | let N = getInteger(this, (s + "_Total_Calls")) | |
101 | + | if ($isInstanceOf(N, "Int")) | |
99 | 102 | then { | |
100 | - | let | |
101 | - | | |
103 | + | let O = N | |
104 | + | O | |
102 | 105 | } | |
103 | 106 | else 0 | |
104 | 107 | } | |
105 | - | let | |
106 | - | let | |
107 | - | let | |
108 | - | if ($isInstanceOf( | |
108 | + | let Z = (Y + 1) | |
109 | + | let aa = { | |
110 | + | let N = getInteger(this, ((s + "_Total_Calls_") + toString(J))) | |
111 | + | if ($isInstanceOf(N, "Int")) | |
109 | 112 | then { | |
110 | - | let | |
111 | - | | |
113 | + | let O = N | |
114 | + | O | |
112 | 115 | } | |
113 | 116 | else 0 | |
114 | 117 | } | |
115 | - | let | |
116 | - | let | |
118 | + | let ab = (aa + 1) | |
119 | + | let ac = fraction(B, 5, 100) | |
117 | 120 | if ((o.caller != h)) | |
118 | 121 | then throw((("This Address is not Authorized. Only " + toString(h)) + " is Authorized Address to Sign it.")) | |
119 | 122 | else if ((n == 1)) | |
126 | 129 | then throw((s + " Address is Blacklisted. Please contact Admin to Whitelist it.")) | |
127 | 130 | else if ((lastBlock.timestamp >= H)) | |
128 | 131 | then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.") | |
129 | - | else if (( | |
130 | - | then throw((((("No more orders accepted, Option House Risk Size is only limited to " + toString( | |
132 | + | else if ((R > ac)) | |
133 | + | then throw((((("No more orders accepted, Option House Risk Size is only limited to " + toString(ac)) + ", Pending House Risk is ") + toString((ac - Q))) + ". Join in next Cycle.")) | |
131 | 134 | else if ((k > p)) | |
132 | 135 | then throw((("Placed Order Size is less than [" + toString(k)) + "/10^8] WAVES.")) | |
133 | 136 | else if ((p > l)) | |
134 | 137 | then throw((("Placed Order Size is more than [" + toString(l)) + "/10^8] WAVES.")) | |
135 | 138 | else if (if ((0 > D)) | |
136 | - | then ( | |
139 | + | then (I == false) | |
137 | 140 | else false) | |
138 | 141 | then throw((("Placed Order Amount is going negative. Please reduce the Order Size.User Fund Amount = [" + toString(D)) + "]")) | |
139 | 142 | else if ((size(toString(x)) != 13)) | |
143 | 146 | else if (if ((E == 0)) | |
144 | 147 | then true | |
145 | 148 | else (0 > F)) | |
146 | - | then [StringEntry(("User_ID_" + s), r), IntegerEntry(((d + "_") + s), D), IntegerEntry("Network_Fee_To_Place_Order", j), StringEntry(((("Call_" + s) + "_") + toString( | |
147 | - | else if ( | |
148 | - | then [StringEntry(("User_ID_" + s), r), IntegerEntry((s + "_Voucher_Balance"), F), IntegerEntry("Network_Fee_To_Place_Order", j), StringEntry(((("Call_" + s) + "_") + toString( | |
149 | + | then [StringEntry(("User_ID_" + s), r), IntegerEntry(((d + "_") + s), D), IntegerEntry("Network_Fee_To_Place_Order", j), StringEntry(((("Call_" + s) + "_") + toString(Z)), toString(t)), IntegerEntry(((("Call_Amount_" + s) + "_") + toString(Z)), p), StringEntry(((("Call_Start_End_" + s) + "_") + toString(Z)), ((toString(J) + "_") + toString(L))), IntegerEntry("Total_Option_Orders", P), IntegerEntry(("Total_Funds_Added_In_Option_Order_" + toString(J)), R), IntegerEntry("Total_Pool_Liquidity", B), IntegerEntry(("Funds_At_Risk_" + toString(J)), ac), IntegerEntry("Call_Limits", u), IntegerEntry("Put_Limits", v), IntegerEntry(("Total_Option_Orders_" + toString(J)), T), IntegerEntry("Total_Calls", V), IntegerEntry(("Total_Calls_" + toString(J)), X), IntegerEntry((s + "_Total_Calls"), Z), IntegerEntry(((s + "_Total_Calls_") + toString(J)), ab), ScriptTransfer(h, j, unit), ScriptTransfer(addressFromStringValue(a), p, unit)] | |
150 | + | else if (I) | |
151 | + | then [StringEntry(("User_ID_" + s), r), IntegerEntry((s + "_Voucher_Balance"), F), IntegerEntry("Network_Fee_To_Place_Order", j), StringEntry(((("Call_" + s) + "_") + toString(Z)), toString(t)), IntegerEntry(((("Call_Amount_" + s) + "_") + toString(Z)), p), StringEntry(((("Call_Start_End_" + s) + "_") + toString(Z)), ((toString(J) + "_") + toString(L))), IntegerEntry("Total_Option_Orders", P), IntegerEntry(("Total_Funds_Added_In_Option_Order_" + toString(J)), R), IntegerEntry("Total_Pool_Liquidity", B), IntegerEntry(("Funds_At_Risk_" + toString(J)), ac), IntegerEntry("Call_Limits", u), IntegerEntry("Put_Limits", v), IntegerEntry(("Total_Option_Orders_" + toString(J)), T), IntegerEntry("Total_Calls", V), IntegerEntry(("Total_Calls_" + toString(J)), X), IntegerEntry((s + "_Total_Calls"), Z), IntegerEntry(((s + "_Total_Calls_") + toString(J)), ab), ScriptTransfer(h, j, unit), ScriptTransfer(addressFromStringValue(a), p, unit)] | |
149 | 152 | else throw("Wrong Entry.") | |
150 | 153 | } | |
151 | 154 | ||
162 | 165 | let F = (E - p) | |
163 | 166 | let G = x | |
164 | 167 | let H = y | |
165 | - | let | |
166 | - | let | |
167 | - | let | |
168 | - | let | |
169 | - | let | |
170 | - | if ($isInstanceOf( | |
168 | + | let J = q | |
169 | + | let K = 1 | |
170 | + | let L = (J + K) | |
171 | + | let M = { | |
172 | + | let N = getInteger(this, "Total_Option_Orders") | |
173 | + | if ($isInstanceOf(N, "Int")) | |
171 | 174 | then { | |
172 | - | let | |
173 | - | | |
175 | + | let O = N | |
176 | + | O | |
174 | 177 | } | |
175 | 178 | else 0 | |
176 | 179 | } | |
177 | - | let | |
178 | - | let | |
179 | - | let | |
180 | - | if ($isInstanceOf( | |
180 | + | let P = (M + 1) | |
181 | + | let Q = { | |
182 | + | let N = getInteger(this, ("Total_Funds_Added_In_Option_Order_" + toString(J))) | |
183 | + | if ($isInstanceOf(N, "Int")) | |
181 | 184 | then { | |
182 | - | let | |
183 | - | | |
185 | + | let O = N | |
186 | + | O | |
184 | 187 | } | |
185 | 188 | else 0 | |
186 | 189 | } | |
187 | - | let | |
188 | - | let | |
189 | - | let | |
190 | - | if ($isInstanceOf( | |
190 | + | let R = (Q + p) | |
191 | + | let S = { | |
192 | + | let N = getInteger(this, ("Total_Option_Orders_" + toString(J))) | |
193 | + | if ($isInstanceOf(N, "Int")) | |
191 | 194 | then { | |
192 | - | let | |
193 | - | | |
195 | + | let O = N | |
196 | + | O | |
194 | 197 | } | |
195 | 198 | else 0 | |
196 | 199 | } | |
197 | - | let | |
198 | - | let | |
199 | - | let | |
200 | - | if ($isInstanceOf( | |
200 | + | let T = (S + 1) | |
201 | + | let ad = { | |
202 | + | let N = getInteger(this, "Total_Puts") | |
203 | + | if ($isInstanceOf(N, "Int")) | |
201 | 204 | then { | |
202 | - | let | |
203 | - | | |
205 | + | let O = N | |
206 | + | O | |
204 | 207 | } | |
205 | 208 | else 0 | |
206 | 209 | } | |
207 | - | let | |
208 | - | let | |
209 | - | let | |
210 | - | if ($isInstanceOf( | |
210 | + | let ae = (ad + 1) | |
211 | + | let af = { | |
212 | + | let N = getInteger(this, ("Total_Puts_" + toString(J))) | |
213 | + | if ($isInstanceOf(N, "Int")) | |
211 | 214 | then { | |
212 | - | let | |
213 | - | | |
215 | + | let O = N | |
216 | + | O | |
214 | 217 | } | |
215 | 218 | else 0 | |
216 | 219 | } | |
217 | - | let | |
218 | - | let | |
219 | - | let | |
220 | - | if ($isInstanceOf( | |
220 | + | let ag = (af + 1) | |
221 | + | let ah = { | |
222 | + | let N = getInteger(this, (s + "_Total_Puts")) | |
223 | + | if ($isInstanceOf(N, "Int")) | |
221 | 224 | then { | |
222 | - | let | |
223 | - | | |
225 | + | let O = N | |
226 | + | O | |
224 | 227 | } | |
225 | 228 | else 0 | |
226 | 229 | } | |
227 | - | let | |
228 | - | let | |
229 | - | let | |
230 | - | if ($isInstanceOf( | |
230 | + | let ai = (ah + 1) | |
231 | + | let aj = { | |
232 | + | let N = getInteger(this, ((s + "_Total_Puts_") + toString(J))) | |
233 | + | if ($isInstanceOf(N, "Int")) | |
231 | 234 | then { | |
232 | - | let | |
233 | - | | |
235 | + | let O = N | |
236 | + | O | |
234 | 237 | } | |
235 | 238 | else 0 | |
236 | 239 | } | |
237 | - | let | |
238 | - | let | |
240 | + | let ak = (aj + 1) | |
241 | + | let ac = fraction(B, 5, 100) | |
239 | 242 | if ((o.caller != h)) | |
240 | 243 | then throw((("This Address is not Authorized. Only " + toString(h)) + " is Authorized Address to Sign it.")) | |
241 | 244 | else if ((n == 1)) | |
248 | 251 | then throw((s + " Address is Blacklisted. Please contact Admin to Whitelist it.")) | |
249 | 252 | else if ((lastBlock.timestamp >= H)) | |
250 | 253 | then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.") | |
251 | - | else if (( | |
252 | - | then throw((((("No more orders accepted, Option House Risk Size is only limited to " + toString( | |
254 | + | else if ((R > ac)) | |
255 | + | then throw((((("No more orders accepted, Option House Risk Size is only limited to " + toString(ac)) + ", Pending House Risk is ") + toString((ac - Q))) + ". Join in next Cycle.")) | |
253 | 256 | else if ((k > p)) | |
254 | 257 | then throw((("Placed Order Size is less than [" + toString(k)) + "/10^8] WAVES.")) | |
255 | 258 | else if ((p > l)) | |
260 | 263 | then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.") | |
261 | 264 | else if ((size(toString(y)) != 13)) | |
262 | 265 | then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.") | |
263 | - | else [StringEntry(("User_ID_" + s), r), IntegerEntry(((d + "_") + s), D), IntegerEntry((s + "_Voucher_Balance"), F), IntegerEntry("Network_Fee_To_Place_Order", j), StringEntry(((("Put_" + s) + "_") + toString( | |
266 | + | else [StringEntry(("User_ID_" + s), r), IntegerEntry(((d + "_") + s), D), IntegerEntry((s + "_Voucher_Balance"), F), IntegerEntry("Network_Fee_To_Place_Order", j), StringEntry(((("Put_" + s) + "_") + toString(ai)), toString(t)), IntegerEntry(((("Put_Amount_" + s) + "_") + toString(ai)), p), StringEntry(((("Put_Start_End_" + s) + "_") + toString(ai)), ((toString(J) + "_") + toString(L))), IntegerEntry("Total_Option_Orders", P), IntegerEntry(("Total_Funds_Added_In_Option_Order_" + toString(J)), R), IntegerEntry("Total_Pool_Liquidity", B), IntegerEntry(("Funds_At_Risk_" + toString(J)), ac), IntegerEntry("Call_Limits", u), IntegerEntry("Put_Limits", v), IntegerEntry(("Total_Option_Orders_" + toString(J)), T), IntegerEntry("Total_Puts", ae), IntegerEntry(("Total_Puts_" + toString(J)), ag), IntegerEntry((s + "_Total_Puts"), ai), IntegerEntry(((s + "_Total_Puts_") + toString(J)), ak), ScriptTransfer(h, j, unit), ScriptTransfer(addressFromStringValue(a), p, unit)] | |
264 | 267 | } | |
265 | 268 | ||
266 | 269 | ||
268 | 271 | @Callable(o) | |
269 | 272 | func Fill_Vouchers_Liquidity () = { | |
270 | 273 | let z = toBase58String(o.caller.bytes) | |
271 | - | let | |
274 | + | let al = if ((size(o.payments) == 1)) | |
272 | 275 | then o.payments[0] | |
273 | 276 | else throw("No payment attached, Please Attach only Whitelisted Tokens in payment[1].") | |
274 | - | let | |
275 | - | let | |
276 | - | if ($isInstanceOf( | |
277 | + | let am = { | |
278 | + | let N = getInteger(this, "Available_Vouchers_Balance") | |
279 | + | if ($isInstanceOf(N, "Int")) | |
277 | 280 | then { | |
278 | - | let | |
279 | - | | |
281 | + | let O = N | |
282 | + | O | |
280 | 283 | } | |
281 | 284 | else 0 | |
282 | 285 | } | |
283 | - | let | |
284 | - | let | |
285 | - | let | |
286 | - | if ($isInstanceOf( | |
286 | + | let an = (am + al.amount) | |
287 | + | let ao = { | |
288 | + | let N = getInteger(this, "Vouchers_Counter_ID") | |
289 | + | if ($isInstanceOf(N, "Int")) | |
287 | 290 | then { | |
288 | - | let | |
289 | - | | |
291 | + | let O = N | |
292 | + | O | |
290 | 293 | } | |
291 | 294 | else 0 | |
292 | 295 | } | |
293 | - | let | |
294 | - | if (isDefined( | |
296 | + | let ap = (ao + 1) | |
297 | + | if (isDefined(al.assetId)) | |
295 | 298 | then throw("Only WAVES is allowed to deposit at the moment") | |
296 | 299 | else if ((n == 1)) | |
297 | 300 | then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.") | |
298 | - | else [IntegerEntry("Available_Vouchers_Balance", | |
301 | + | else [IntegerEntry("Available_Vouchers_Balance", an), IntegerEntry((toString(ap) + "_Voucher_Added_Amount"), al.amount), IntegerEntry("Vouchers_Counter_ID", ap)] | |
299 | 302 | } | |
300 | 303 | ||
301 | 304 | ||
302 | 305 | ||
303 | 306 | @Callable(o) | |
304 | - | func Issue_Vouchers ( | |
305 | - | let | |
306 | - | let | |
307 | - | let | |
308 | - | let | |
309 | - | if ($isInstanceOf( | |
307 | + | func Issue_Vouchers (aq,r,s) = { | |
308 | + | let ar = valueOrErrorMessage(getInteger(this, "Available_Vouchers_Balance"), "Available_Vouchers_Balance Entry is not Found. Initiate Fill_Vouchers_Liquidity Function first.") | |
309 | + | let as = (ar - aq) | |
310 | + | let at = { | |
311 | + | let N = getInteger(this, ("Total_Vouchers_Issued_To_" + s)) | |
312 | + | if ($isInstanceOf(N, "Int")) | |
310 | 313 | then { | |
311 | - | let | |
312 | - | | |
314 | + | let O = N | |
315 | + | O | |
313 | 316 | } | |
314 | 317 | else 0 | |
315 | 318 | } | |
316 | - | let | |
317 | - | let | |
318 | - | let | |
319 | - | if ($isInstanceOf( | |
319 | + | let au = (at + 1) | |
320 | + | let av = { | |
321 | + | let N = getInteger(this, ("Total_Vouchers_Amount_Issued_To_" + s)) | |
322 | + | if ($isInstanceOf(N, "Int")) | |
320 | 323 | then { | |
321 | - | let | |
322 | - | | |
324 | + | let O = N | |
325 | + | O | |
323 | 326 | } | |
324 | 327 | else 0 | |
325 | 328 | } | |
326 | - | let | |
327 | - | let | |
328 | - | let | |
329 | - | if ($isInstanceOf( | |
329 | + | let aw = (av + aq) | |
330 | + | let ax = { | |
331 | + | let N = getInteger(this, (s + "_Voucher_Balance")) | |
332 | + | if ($isInstanceOf(N, "Int")) | |
330 | 333 | then { | |
331 | - | let | |
332 | - | | |
334 | + | let O = N | |
335 | + | O | |
333 | 336 | } | |
334 | 337 | else 0 | |
335 | 338 | } | |
336 | - | let | |
339 | + | let ay = (ax + aq) | |
337 | 340 | if ((o.caller != h)) | |
338 | 341 | then throw((("This Address is not Authorized. Only " + toString(h)) + " is Authorized Address to Sign it.")) | |
339 | 342 | else if ((n == 1)) | |
340 | 343 | then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.") | |
341 | - | else if ((0 >= | |
344 | + | else if ((0 >= aq)) | |
342 | 345 | then throw((("Voucher Balance can't be 0 or go in negative State. Increase the Voucher Amount where maximum limit is " + toString(m)) + "/10^8 Waves.")) | |
343 | - | else if ((0 >= | |
344 | - | then throw((("Updated Voucher Balance can't go in negative State of " + toString( | |
345 | - | else if (( | |
346 | + | else if ((0 >= as)) | |
347 | + | then throw((("Updated Voucher Balance can't go in negative State of " + toString(as)) + " /10^8 WAVES. Reduce the Voucher Amount.")) | |
348 | + | else if ((aq > m)) | |
346 | 349 | then throw((("Input Voucher Balance can't exceed the set maximum limit of " + toString(m)) + "/10^8 Waves.")) | |
347 | - | else if (( | |
350 | + | else if ((ay > m)) | |
348 | 351 | then throw((((s + " Voucher Balance is exceeding the limit of ") + toString(m)) + "/10^8 Waves.")) | |
349 | - | else [IntegerEntry(("Total_Vouchers_Issued_To_" + s), | |
352 | + | else [IntegerEntry(("Total_Vouchers_Issued_To_" + s), au), IntegerEntry(("Total_Vouchers_Amount_Issued_To_" + s), aw), IntegerEntry((s + "_Voucher_Balance"), ay), IntegerEntry("Available_Vouchers_Balance", as)] | |
350 | 353 | } | |
351 | 354 | ||
352 | 355 | ||
354 | 357 | @Callable(o) | |
355 | 358 | func DepositUserFunds () = { | |
356 | 359 | let z = toBase58String(o.caller.bytes) | |
357 | - | let | |
360 | + | let al = if ((size(o.payments) == 1)) | |
358 | 361 | then o.payments[0] | |
359 | 362 | else throw("No payment attached, Please Attach only Whitelisted Tokens in payment[1].") | |
360 | 363 | let A = getString(this, ("addr_BLACKLISTED_" + z)) | |
361 | - | let | |
362 | - | let | |
363 | - | if ($isInstanceOf( | |
364 | + | let az = { | |
365 | + | let N = getInteger(this, ((d + "_") + z)) | |
366 | + | if ($isInstanceOf(N, "Int")) | |
364 | 367 | then { | |
365 | - | let | |
366 | - | | |
368 | + | let O = N | |
369 | + | O | |
367 | 370 | } | |
368 | 371 | else 0 | |
369 | 372 | } | |
370 | - | let | |
371 | - | let | |
372 | - | let | |
373 | - | if ($isInstanceOf( | |
373 | + | let aA = (az + al.amount) | |
374 | + | let aB = { | |
375 | + | let N = getInteger(this, "Deposit_Counter_ID") | |
376 | + | if ($isInstanceOf(N, "Int")) | |
374 | 377 | then { | |
375 | - | let | |
376 | - | | |
378 | + | let O = N | |
379 | + | O | |
377 | 380 | } | |
378 | 381 | else 0 | |
379 | 382 | } | |
380 | - | let | |
383 | + | let aC = (aB + 1) | |
381 | 384 | if ((c > lastBlock.timestamp)) | |
382 | 385 | then throw((e + toString(c))) | |
383 | 386 | else if ((n == 1)) | |
384 | 387 | then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.") | |
385 | 388 | else if ((A == "Yes")) | |
386 | 389 | then throw((z + " Address is Blacklisted. Please contact Admin to Whitelist it.")) | |
387 | - | else if (isDefined( | |
390 | + | else if (isDefined(al.assetId)) | |
388 | 391 | then throw("Only WAVES is allowed to deposit at the moment") | |
389 | - | else [IntegerEntry(((d + "_") + z), | |
392 | + | else [IntegerEntry(((d + "_") + z), aA), IntegerEntry(((((toString(aC) + "_") + d) + "_") + z), al.amount), IntegerEntry("Deposit_Counter_ID", aC)] | |
390 | 393 | } | |
391 | 394 | ||
392 | 395 | ||
394 | 397 | @Callable(o) | |
395 | 398 | func WithdrawUserFunds (s,p) = { | |
396 | 399 | let z = toBase58String(o.caller.bytes) | |
397 | - | let | |
398 | - | let D = (( | |
399 | - | let | |
400 | + | let aD = getIntegerValue(((d + "_") + s)) | |
401 | + | let D = ((aD - p) - j) | |
402 | + | let aE = 10000000 | |
400 | 403 | if ((o.caller != h)) | |
401 | 404 | then throw((("This Address is not Authorized. Only " + toString(h)) + " is Authorized Address to Sign it.")) | |
402 | 405 | else if ((n == 1)) | |
403 | 406 | then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.") | |
404 | - | else if (( | |
405 | - | then throw((("Minimum Withdraw Amount is " + toString( | |
407 | + | else if ((aE > p)) | |
408 | + | then throw((("Minimum Withdraw Amount is " + toString(aE)) + "/10^8] WAVES.")) | |
406 | 409 | else if ((0 > D)) | |
407 | 410 | then throw((("Placed Withdraw Amount is going in negative State of " + toString(D)) + "/10^8] WAVES.")) | |
408 | - | else [IntegerEntry("Previous_Balance", | |
411 | + | else [IntegerEntry("Previous_Balance", aD), IntegerEntry("Network_Fee_To_Withdraw", j), IntegerEntry(((d + "_") + s), D), ScriptTransfer(h, j, unit), ScriptTransfer(addressFromStringValue(s), p, unit)] | |
409 | 412 | } | |
410 | 413 | ||
411 | 414 | ||
412 | 415 | ||
413 | 416 | @Callable(o) | |
414 | - | func BlackListAddress ( | |
415 | - | let A = getString(this, ("addr_BLACKLISTED_" + | |
416 | - | let | |
417 | - | let | |
418 | - | if ($isInstanceOf( | |
417 | + | func BlackListAddress (aF) = { | |
418 | + | let A = getString(this, ("addr_BLACKLISTED_" + aF)) | |
419 | + | let aG = { | |
420 | + | let N = getInteger(this, "Total_Black_Listed_Address") | |
421 | + | if ($isInstanceOf(N, "Int")) | |
419 | 422 | then { | |
420 | - | let | |
421 | - | | |
423 | + | let O = N | |
424 | + | O | |
422 | 425 | } | |
423 | 426 | else 0 | |
424 | 427 | } | |
425 | - | let | |
428 | + | let aH = (aG + 1) | |
426 | 429 | if ((c > lastBlock.timestamp)) | |
427 | 430 | then throw((e + toString(c))) | |
428 | 431 | else if ((o.caller != h)) | |
431 | 434 | then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.") | |
432 | 435 | else if ((A == "Yes")) | |
433 | 436 | then throw("Address is already available in Blacklist.") | |
434 | - | else [StringEntry(("addr_BLACKLISTED_" + | |
437 | + | else [StringEntry(("addr_BLACKLISTED_" + aF), "Yes"), IntegerEntry("Total_Black_Listed_Address", aH)] | |
435 | 438 | } | |
436 | 439 | ||
437 | 440 | ||
438 | 441 | ||
439 | 442 | @Callable(o) | |
440 | - | func DeleteBlackListAddress ( | |
441 | - | let A = getString(this, ("addr_BLACKLISTED_" + | |
442 | - | let | |
443 | - | let | |
444 | - | if ($isInstanceOf( | |
443 | + | func DeleteBlackListAddress (aF) = { | |
444 | + | let A = getString(this, ("addr_BLACKLISTED_" + aF)) | |
445 | + | let aG = { | |
446 | + | let N = getInteger(this, "Total_Black_Listed_Address") | |
447 | + | if ($isInstanceOf(N, "Int")) | |
445 | 448 | then { | |
446 | - | let | |
447 | - | | |
449 | + | let O = N | |
450 | + | O | |
448 | 451 | } | |
449 | 452 | else 0 | |
450 | 453 | } | |
451 | - | let | |
454 | + | let aH = (aG - 1) | |
452 | 455 | if ((c > lastBlock.timestamp)) | |
453 | 456 | then throw(("Product Launch Timestamp is set at " + toString(c))) | |
454 | 457 | else if ((o.caller != h)) | |
456 | 459 | else if ((n == 1)) | |
457 | 460 | then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.") | |
458 | 461 | else if ((A == "Yes")) | |
459 | - | then [DeleteEntry(("addr_BLACKLISTED_" + | |
462 | + | then [DeleteEntry(("addr_BLACKLISTED_" + aF)), IntegerEntry("Total_Black_Listed_Address", aH)] | |
460 | 463 | else throw("Address is not available in Blacklist.") | |
461 | 464 | } | |
462 | 465 | ||
464 | 467 | ||
465 | 468 | @Callable(o) | |
466 | 469 | func Initiate_Contract_Shutdown () = { | |
467 | - | let | |
468 | - | let | |
469 | - | if ($isInstanceOf( | |
470 | + | let aI = { | |
471 | + | let N = getInteger(this, "Shutdown_Status") | |
472 | + | if ($isInstanceOf(N, "Int")) | |
470 | 473 | then { | |
471 | - | let | |
472 | - | | |
474 | + | let O = N | |
475 | + | O | |
473 | 476 | } | |
474 | 477 | else 0 | |
475 | 478 | } | |
476 | 479 | if ((o.caller != h)) | |
477 | 480 | then throw((("This Address is not Authorized. Only " + toString(h)) + " is Authorized Address to Sign it.")) | |
478 | - | else if (( | |
481 | + | else if ((aI == 0)) | |
479 | 482 | then [IntegerEntry("Shutdown_Status", 1)] | |
480 | 483 | else [IntegerEntry("Shutdown_Status", 0)] | |
481 | 484 | } | |
483 | 486 | ||
484 | 487 | ||
485 | 488 | @Callable(o) | |
486 | - | func Del ( | |
489 | + | func Del (aJ) = [DeleteEntry(aJ)] | |
487 | 490 | ||
488 | 491 | ||
489 | - | @Verifier( | |
490 | - | func | |
491 | - | let | |
492 | - | if (if ($isInstanceOf( | |
492 | + | @Verifier(aK) | |
493 | + | func aL () = { | |
494 | + | let N = aK | |
495 | + | if (if ($isInstanceOf(N, "Order")) | |
493 | 496 | then true | |
494 | - | else if ($isInstanceOf( | |
497 | + | else if ($isInstanceOf(N, "ExchangeTransaction")) | |
495 | 498 | then true | |
496 | - | else if ($isInstanceOf( | |
499 | + | else if ($isInstanceOf(N, "MassTransferTransaction")) | |
497 | 500 | then true | |
498 | - | else $isInstanceOf( | |
501 | + | else $isInstanceOf(N, "TransferTransaction")) | |
499 | 502 | then { | |
500 | - | let | |
503 | + | let aM = N | |
501 | 504 | false | |
502 | 505 | } | |
503 | - | else sigVerify( | |
506 | + | else sigVerify(aK.bodyBytes, aK.proofs[0], aK.senderPublicKey) | |
504 | 507 | } | |
505 | 508 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "3N4wBgYtWgJW2LTRef2ekWQTrEXCRfXmGLh" | |
5 | 5 | ||
6 | 6 | let b = base58'EXLfxKmqhQPiProBaoPatTentUSZX5Dd8A8bYDcmfNwt' | |
7 | 7 | ||
8 | 8 | let c = 1695427860000 | |
9 | 9 | ||
10 | 10 | let d = "WAVES" | |
11 | 11 | ||
12 | 12 | let e = "Product Launch Timestamp is set at " | |
13 | 13 | ||
14 | 14 | let f = "No payment attached, Please Attach Token in payment[1]." | |
15 | 15 | ||
16 | 16 | let g = "Oracle is closed. Wait Until Oracle is Turned On." | |
17 | 17 | ||
18 | 18 | let h = addressFromPublicKey(b) | |
19 | 19 | ||
20 | 20 | let i = addressFromPublicKey(base58'6oay51Q6zPcFP9bSwUC4Potx2KGyD4AUjpL5uLR4QeRN') | |
21 | 21 | ||
22 | 22 | let j = 900000 | |
23 | 23 | ||
24 | 24 | let k = 10000000 | |
25 | 25 | ||
26 | 26 | let l = 10000000000 | |
27 | 27 | ||
28 | 28 | let m = 100000000 | |
29 | 29 | ||
30 | 30 | let n = valueOrErrorMessage(getInteger(this, "Shutdown_Status"), "Initiate_Contract_Shutdown function value is not Set, Please Sign that first.") | |
31 | 31 | ||
32 | 32 | @Callable(o) | |
33 | 33 | func placeoptionCall (p,q,r,s,t,u,v,w,x,y) = { | |
34 | 34 | let z = toBase58String(o.caller.bytes) | |
35 | 35 | let A = getString(this, ("addr_BLACKLISTED_" + s)) | |
36 | 36 | let B = valueOrErrorMessage(getInteger(addressFromStringValue(a), "Total_Pool_Liquidity"), "No Initial Pool Liquidity was Found.") | |
37 | 37 | let C = valueOrElse(getInteger(((d + "_") + s)), 0) | |
38 | 38 | let D = ((C - p) - j) | |
39 | 39 | let E = valueOrElse(getInteger((s + "_Voucher_Balance")), 0) | |
40 | 40 | let F = ((E - p) - j) | |
41 | 41 | let G = x | |
42 | 42 | let H = y | |
43 | - | let I = q | |
44 | - | let J = 1 | |
45 | - | let K = (I + J) | |
46 | - | let L = { | |
47 | - | let M = getInteger(this, "Total_Option_Orders") | |
48 | - | if ($isInstanceOf(M, "Int")) | |
43 | + | let I = if ((E > F)) | |
44 | + | then true | |
45 | + | else false | |
46 | + | let J = q | |
47 | + | let K = 1 | |
48 | + | let L = (J + K) | |
49 | + | let M = { | |
50 | + | let N = getInteger(this, "Total_Option_Orders") | |
51 | + | if ($isInstanceOf(N, "Int")) | |
49 | 52 | then { | |
50 | - | let | |
51 | - | | |
53 | + | let O = N | |
54 | + | O | |
52 | 55 | } | |
53 | 56 | else 0 | |
54 | 57 | } | |
55 | - | let | |
56 | - | let | |
57 | - | let | |
58 | - | if ($isInstanceOf( | |
58 | + | let P = (M + 1) | |
59 | + | let Q = { | |
60 | + | let N = getInteger(this, ("Total_Funds_Added_In_Option_Order_" + toString(J))) | |
61 | + | if ($isInstanceOf(N, "Int")) | |
59 | 62 | then { | |
60 | - | let | |
61 | - | | |
63 | + | let O = N | |
64 | + | O | |
62 | 65 | } | |
63 | 66 | else 0 | |
64 | 67 | } | |
65 | - | let | |
66 | - | let | |
67 | - | let | |
68 | - | if ($isInstanceOf( | |
68 | + | let R = (Q + p) | |
69 | + | let S = { | |
70 | + | let N = getInteger(this, ("Total_Option_Orders_" + toString(J))) | |
71 | + | if ($isInstanceOf(N, "Int")) | |
69 | 72 | then { | |
70 | - | let | |
71 | - | | |
73 | + | let O = N | |
74 | + | O | |
72 | 75 | } | |
73 | 76 | else 0 | |
74 | 77 | } | |
75 | - | let | |
76 | - | let | |
77 | - | let | |
78 | - | if ($isInstanceOf( | |
78 | + | let T = (S + 1) | |
79 | + | let U = { | |
80 | + | let N = getInteger(this, "Total_Calls") | |
81 | + | if ($isInstanceOf(N, "Int")) | |
79 | 82 | then { | |
80 | - | let | |
81 | - | | |
83 | + | let O = N | |
84 | + | O | |
82 | 85 | } | |
83 | 86 | else 0 | |
84 | 87 | } | |
85 | - | let | |
86 | - | let | |
87 | - | let | |
88 | - | if ($isInstanceOf( | |
88 | + | let V = (U + 1) | |
89 | + | let W = { | |
90 | + | let N = getInteger(this, ("Total_Calls_" + toString(J))) | |
91 | + | if ($isInstanceOf(N, "Int")) | |
89 | 92 | then { | |
90 | - | let | |
91 | - | | |
93 | + | let O = N | |
94 | + | O | |
92 | 95 | } | |
93 | 96 | else 0 | |
94 | 97 | } | |
95 | - | let | |
96 | - | let | |
97 | - | let | |
98 | - | if ($isInstanceOf( | |
98 | + | let X = (W + 1) | |
99 | + | let Y = { | |
100 | + | let N = getInteger(this, (s + "_Total_Calls")) | |
101 | + | if ($isInstanceOf(N, "Int")) | |
99 | 102 | then { | |
100 | - | let | |
101 | - | | |
103 | + | let O = N | |
104 | + | O | |
102 | 105 | } | |
103 | 106 | else 0 | |
104 | 107 | } | |
105 | - | let | |
106 | - | let | |
107 | - | let | |
108 | - | if ($isInstanceOf( | |
108 | + | let Z = (Y + 1) | |
109 | + | let aa = { | |
110 | + | let N = getInteger(this, ((s + "_Total_Calls_") + toString(J))) | |
111 | + | if ($isInstanceOf(N, "Int")) | |
109 | 112 | then { | |
110 | - | let | |
111 | - | | |
113 | + | let O = N | |
114 | + | O | |
112 | 115 | } | |
113 | 116 | else 0 | |
114 | 117 | } | |
115 | - | let | |
116 | - | let | |
118 | + | let ab = (aa + 1) | |
119 | + | let ac = fraction(B, 5, 100) | |
117 | 120 | if ((o.caller != h)) | |
118 | 121 | then throw((("This Address is not Authorized. Only " + toString(h)) + " is Authorized Address to Sign it.")) | |
119 | 122 | else if ((n == 1)) | |
120 | 123 | then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.") | |
121 | 124 | else if ((c > lastBlock.timestamp)) | |
122 | 125 | then throw((e + toString(c))) | |
123 | 126 | else if ((w == "CLOSE")) | |
124 | 127 | then throw(g) | |
125 | 128 | else if ((A == "Yes")) | |
126 | 129 | then throw((s + " Address is Blacklisted. Please contact Admin to Whitelist it.")) | |
127 | 130 | else if ((lastBlock.timestamp >= H)) | |
128 | 131 | then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.") | |
129 | - | else if (( | |
130 | - | then throw((((("No more orders accepted, Option House Risk Size is only limited to " + toString( | |
132 | + | else if ((R > ac)) | |
133 | + | then throw((((("No more orders accepted, Option House Risk Size is only limited to " + toString(ac)) + ", Pending House Risk is ") + toString((ac - Q))) + ". Join in next Cycle.")) | |
131 | 134 | else if ((k > p)) | |
132 | 135 | then throw((("Placed Order Size is less than [" + toString(k)) + "/10^8] WAVES.")) | |
133 | 136 | else if ((p > l)) | |
134 | 137 | then throw((("Placed Order Size is more than [" + toString(l)) + "/10^8] WAVES.")) | |
135 | 138 | else if (if ((0 > D)) | |
136 | - | then ( | |
139 | + | then (I == false) | |
137 | 140 | else false) | |
138 | 141 | then throw((("Placed Order Amount is going negative. Please reduce the Order Size.User Fund Amount = [" + toString(D)) + "]")) | |
139 | 142 | else if ((size(toString(x)) != 13)) | |
140 | 143 | then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.") | |
141 | 144 | else if ((size(toString(y)) != 13)) | |
142 | 145 | then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.") | |
143 | 146 | else if (if ((E == 0)) | |
144 | 147 | then true | |
145 | 148 | else (0 > F)) | |
146 | - | then [StringEntry(("User_ID_" + s), r), IntegerEntry(((d + "_") + s), D), IntegerEntry("Network_Fee_To_Place_Order", j), StringEntry(((("Call_" + s) + "_") + toString( | |
147 | - | else if ( | |
148 | - | then [StringEntry(("User_ID_" + s), r), IntegerEntry((s + "_Voucher_Balance"), F), IntegerEntry("Network_Fee_To_Place_Order", j), StringEntry(((("Call_" + s) + "_") + toString( | |
149 | + | then [StringEntry(("User_ID_" + s), r), IntegerEntry(((d + "_") + s), D), IntegerEntry("Network_Fee_To_Place_Order", j), StringEntry(((("Call_" + s) + "_") + toString(Z)), toString(t)), IntegerEntry(((("Call_Amount_" + s) + "_") + toString(Z)), p), StringEntry(((("Call_Start_End_" + s) + "_") + toString(Z)), ((toString(J) + "_") + toString(L))), IntegerEntry("Total_Option_Orders", P), IntegerEntry(("Total_Funds_Added_In_Option_Order_" + toString(J)), R), IntegerEntry("Total_Pool_Liquidity", B), IntegerEntry(("Funds_At_Risk_" + toString(J)), ac), IntegerEntry("Call_Limits", u), IntegerEntry("Put_Limits", v), IntegerEntry(("Total_Option_Orders_" + toString(J)), T), IntegerEntry("Total_Calls", V), IntegerEntry(("Total_Calls_" + toString(J)), X), IntegerEntry((s + "_Total_Calls"), Z), IntegerEntry(((s + "_Total_Calls_") + toString(J)), ab), ScriptTransfer(h, j, unit), ScriptTransfer(addressFromStringValue(a), p, unit)] | |
150 | + | else if (I) | |
151 | + | then [StringEntry(("User_ID_" + s), r), IntegerEntry((s + "_Voucher_Balance"), F), IntegerEntry("Network_Fee_To_Place_Order", j), StringEntry(((("Call_" + s) + "_") + toString(Z)), toString(t)), IntegerEntry(((("Call_Amount_" + s) + "_") + toString(Z)), p), StringEntry(((("Call_Start_End_" + s) + "_") + toString(Z)), ((toString(J) + "_") + toString(L))), IntegerEntry("Total_Option_Orders", P), IntegerEntry(("Total_Funds_Added_In_Option_Order_" + toString(J)), R), IntegerEntry("Total_Pool_Liquidity", B), IntegerEntry(("Funds_At_Risk_" + toString(J)), ac), IntegerEntry("Call_Limits", u), IntegerEntry("Put_Limits", v), IntegerEntry(("Total_Option_Orders_" + toString(J)), T), IntegerEntry("Total_Calls", V), IntegerEntry(("Total_Calls_" + toString(J)), X), IntegerEntry((s + "_Total_Calls"), Z), IntegerEntry(((s + "_Total_Calls_") + toString(J)), ab), ScriptTransfer(h, j, unit), ScriptTransfer(addressFromStringValue(a), p, unit)] | |
149 | 152 | else throw("Wrong Entry.") | |
150 | 153 | } | |
151 | 154 | ||
152 | 155 | ||
153 | 156 | ||
154 | 157 | @Callable(o) | |
155 | 158 | func placeoptionPut (p,q,r,s,t,u,v,w,x,y) = { | |
156 | 159 | let z = toBase58String(o.caller.bytes) | |
157 | 160 | let A = getString(this, ("addr_BLACKLISTED_" + s)) | |
158 | 161 | let B = valueOrErrorMessage(getInteger(addressFromStringValue(a), "Total_Pool_Liquidity"), "No Initial Pool Liquidity was Found.") | |
159 | 162 | let C = valueOrElse(getInteger(((d + "_") + s)), 0) | |
160 | 163 | let D = ((C - p) - j) | |
161 | 164 | let E = valueOrElse(getInteger((s + "_Voucher_Balance")), 0) | |
162 | 165 | let F = (E - p) | |
163 | 166 | let G = x | |
164 | 167 | let H = y | |
165 | - | let | |
166 | - | let | |
167 | - | let | |
168 | - | let | |
169 | - | let | |
170 | - | if ($isInstanceOf( | |
168 | + | let J = q | |
169 | + | let K = 1 | |
170 | + | let L = (J + K) | |
171 | + | let M = { | |
172 | + | let N = getInteger(this, "Total_Option_Orders") | |
173 | + | if ($isInstanceOf(N, "Int")) | |
171 | 174 | then { | |
172 | - | let | |
173 | - | | |
175 | + | let O = N | |
176 | + | O | |
174 | 177 | } | |
175 | 178 | else 0 | |
176 | 179 | } | |
177 | - | let | |
178 | - | let | |
179 | - | let | |
180 | - | if ($isInstanceOf( | |
180 | + | let P = (M + 1) | |
181 | + | let Q = { | |
182 | + | let N = getInteger(this, ("Total_Funds_Added_In_Option_Order_" + toString(J))) | |
183 | + | if ($isInstanceOf(N, "Int")) | |
181 | 184 | then { | |
182 | - | let | |
183 | - | | |
185 | + | let O = N | |
186 | + | O | |
184 | 187 | } | |
185 | 188 | else 0 | |
186 | 189 | } | |
187 | - | let | |
188 | - | let | |
189 | - | let | |
190 | - | if ($isInstanceOf( | |
190 | + | let R = (Q + p) | |
191 | + | let S = { | |
192 | + | let N = getInteger(this, ("Total_Option_Orders_" + toString(J))) | |
193 | + | if ($isInstanceOf(N, "Int")) | |
191 | 194 | then { | |
192 | - | let | |
193 | - | | |
195 | + | let O = N | |
196 | + | O | |
194 | 197 | } | |
195 | 198 | else 0 | |
196 | 199 | } | |
197 | - | let | |
198 | - | let | |
199 | - | let | |
200 | - | if ($isInstanceOf( | |
200 | + | let T = (S + 1) | |
201 | + | let ad = { | |
202 | + | let N = getInteger(this, "Total_Puts") | |
203 | + | if ($isInstanceOf(N, "Int")) | |
201 | 204 | then { | |
202 | - | let | |
203 | - | | |
205 | + | let O = N | |
206 | + | O | |
204 | 207 | } | |
205 | 208 | else 0 | |
206 | 209 | } | |
207 | - | let | |
208 | - | let | |
209 | - | let | |
210 | - | if ($isInstanceOf( | |
210 | + | let ae = (ad + 1) | |
211 | + | let af = { | |
212 | + | let N = getInteger(this, ("Total_Puts_" + toString(J))) | |
213 | + | if ($isInstanceOf(N, "Int")) | |
211 | 214 | then { | |
212 | - | let | |
213 | - | | |
215 | + | let O = N | |
216 | + | O | |
214 | 217 | } | |
215 | 218 | else 0 | |
216 | 219 | } | |
217 | - | let | |
218 | - | let | |
219 | - | let | |
220 | - | if ($isInstanceOf( | |
220 | + | let ag = (af + 1) | |
221 | + | let ah = { | |
222 | + | let N = getInteger(this, (s + "_Total_Puts")) | |
223 | + | if ($isInstanceOf(N, "Int")) | |
221 | 224 | then { | |
222 | - | let | |
223 | - | | |
225 | + | let O = N | |
226 | + | O | |
224 | 227 | } | |
225 | 228 | else 0 | |
226 | 229 | } | |
227 | - | let | |
228 | - | let | |
229 | - | let | |
230 | - | if ($isInstanceOf( | |
230 | + | let ai = (ah + 1) | |
231 | + | let aj = { | |
232 | + | let N = getInteger(this, ((s + "_Total_Puts_") + toString(J))) | |
233 | + | if ($isInstanceOf(N, "Int")) | |
231 | 234 | then { | |
232 | - | let | |
233 | - | | |
235 | + | let O = N | |
236 | + | O | |
234 | 237 | } | |
235 | 238 | else 0 | |
236 | 239 | } | |
237 | - | let | |
238 | - | let | |
240 | + | let ak = (aj + 1) | |
241 | + | let ac = fraction(B, 5, 100) | |
239 | 242 | if ((o.caller != h)) | |
240 | 243 | then throw((("This Address is not Authorized. Only " + toString(h)) + " is Authorized Address to Sign it.")) | |
241 | 244 | else if ((n == 1)) | |
242 | 245 | then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.") | |
243 | 246 | else if ((c > lastBlock.timestamp)) | |
244 | 247 | then throw((e + toString(c))) | |
245 | 248 | else if ((w == "CLOSE")) | |
246 | 249 | then throw(g) | |
247 | 250 | else if ((A == "Yes")) | |
248 | 251 | then throw((s + " Address is Blacklisted. Please contact Admin to Whitelist it.")) | |
249 | 252 | else if ((lastBlock.timestamp >= H)) | |
250 | 253 | then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.") | |
251 | - | else if (( | |
252 | - | then throw((((("No more orders accepted, Option House Risk Size is only limited to " + toString( | |
254 | + | else if ((R > ac)) | |
255 | + | then throw((((("No more orders accepted, Option House Risk Size is only limited to " + toString(ac)) + ", Pending House Risk is ") + toString((ac - Q))) + ". Join in next Cycle.")) | |
253 | 256 | else if ((k > p)) | |
254 | 257 | then throw((("Placed Order Size is less than [" + toString(k)) + "/10^8] WAVES.")) | |
255 | 258 | else if ((p > l)) | |
256 | 259 | then throw((("Placed Order Size is more than [" + toString(l)) + "/10^8] WAVES.")) | |
257 | 260 | else if ((0 > D)) | |
258 | 261 | then throw(("Placed Order Amount is going negative. Please reduce the Order Size. Negative Fund Amount = " + toString(D))) | |
259 | 262 | else if ((size(toString(x)) != 13)) | |
260 | 263 | then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.") | |
261 | 264 | else if ((size(toString(y)) != 13)) | |
262 | 265 | then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.") | |
263 | - | else [StringEntry(("User_ID_" + s), r), IntegerEntry(((d + "_") + s), D), IntegerEntry((s + "_Voucher_Balance"), F), IntegerEntry("Network_Fee_To_Place_Order", j), StringEntry(((("Put_" + s) + "_") + toString( | |
266 | + | else [StringEntry(("User_ID_" + s), r), IntegerEntry(((d + "_") + s), D), IntegerEntry((s + "_Voucher_Balance"), F), IntegerEntry("Network_Fee_To_Place_Order", j), StringEntry(((("Put_" + s) + "_") + toString(ai)), toString(t)), IntegerEntry(((("Put_Amount_" + s) + "_") + toString(ai)), p), StringEntry(((("Put_Start_End_" + s) + "_") + toString(ai)), ((toString(J) + "_") + toString(L))), IntegerEntry("Total_Option_Orders", P), IntegerEntry(("Total_Funds_Added_In_Option_Order_" + toString(J)), R), IntegerEntry("Total_Pool_Liquidity", B), IntegerEntry(("Funds_At_Risk_" + toString(J)), ac), IntegerEntry("Call_Limits", u), IntegerEntry("Put_Limits", v), IntegerEntry(("Total_Option_Orders_" + toString(J)), T), IntegerEntry("Total_Puts", ae), IntegerEntry(("Total_Puts_" + toString(J)), ag), IntegerEntry((s + "_Total_Puts"), ai), IntegerEntry(((s + "_Total_Puts_") + toString(J)), ak), ScriptTransfer(h, j, unit), ScriptTransfer(addressFromStringValue(a), p, unit)] | |
264 | 267 | } | |
265 | 268 | ||
266 | 269 | ||
267 | 270 | ||
268 | 271 | @Callable(o) | |
269 | 272 | func Fill_Vouchers_Liquidity () = { | |
270 | 273 | let z = toBase58String(o.caller.bytes) | |
271 | - | let | |
274 | + | let al = if ((size(o.payments) == 1)) | |
272 | 275 | then o.payments[0] | |
273 | 276 | else throw("No payment attached, Please Attach only Whitelisted Tokens in payment[1].") | |
274 | - | let | |
275 | - | let | |
276 | - | if ($isInstanceOf( | |
277 | + | let am = { | |
278 | + | let N = getInteger(this, "Available_Vouchers_Balance") | |
279 | + | if ($isInstanceOf(N, "Int")) | |
277 | 280 | then { | |
278 | - | let | |
279 | - | | |
281 | + | let O = N | |
282 | + | O | |
280 | 283 | } | |
281 | 284 | else 0 | |
282 | 285 | } | |
283 | - | let | |
284 | - | let | |
285 | - | let | |
286 | - | if ($isInstanceOf( | |
286 | + | let an = (am + al.amount) | |
287 | + | let ao = { | |
288 | + | let N = getInteger(this, "Vouchers_Counter_ID") | |
289 | + | if ($isInstanceOf(N, "Int")) | |
287 | 290 | then { | |
288 | - | let | |
289 | - | | |
291 | + | let O = N | |
292 | + | O | |
290 | 293 | } | |
291 | 294 | else 0 | |
292 | 295 | } | |
293 | - | let | |
294 | - | if (isDefined( | |
296 | + | let ap = (ao + 1) | |
297 | + | if (isDefined(al.assetId)) | |
295 | 298 | then throw("Only WAVES is allowed to deposit at the moment") | |
296 | 299 | else if ((n == 1)) | |
297 | 300 | then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.") | |
298 | - | else [IntegerEntry("Available_Vouchers_Balance", | |
301 | + | else [IntegerEntry("Available_Vouchers_Balance", an), IntegerEntry((toString(ap) + "_Voucher_Added_Amount"), al.amount), IntegerEntry("Vouchers_Counter_ID", ap)] | |
299 | 302 | } | |
300 | 303 | ||
301 | 304 | ||
302 | 305 | ||
303 | 306 | @Callable(o) | |
304 | - | func Issue_Vouchers ( | |
305 | - | let | |
306 | - | let | |
307 | - | let | |
308 | - | let | |
309 | - | if ($isInstanceOf( | |
307 | + | func Issue_Vouchers (aq,r,s) = { | |
308 | + | let ar = valueOrErrorMessage(getInteger(this, "Available_Vouchers_Balance"), "Available_Vouchers_Balance Entry is not Found. Initiate Fill_Vouchers_Liquidity Function first.") | |
309 | + | let as = (ar - aq) | |
310 | + | let at = { | |
311 | + | let N = getInteger(this, ("Total_Vouchers_Issued_To_" + s)) | |
312 | + | if ($isInstanceOf(N, "Int")) | |
310 | 313 | then { | |
311 | - | let | |
312 | - | | |
314 | + | let O = N | |
315 | + | O | |
313 | 316 | } | |
314 | 317 | else 0 | |
315 | 318 | } | |
316 | - | let | |
317 | - | let | |
318 | - | let | |
319 | - | if ($isInstanceOf( | |
319 | + | let au = (at + 1) | |
320 | + | let av = { | |
321 | + | let N = getInteger(this, ("Total_Vouchers_Amount_Issued_To_" + s)) | |
322 | + | if ($isInstanceOf(N, "Int")) | |
320 | 323 | then { | |
321 | - | let | |
322 | - | | |
324 | + | let O = N | |
325 | + | O | |
323 | 326 | } | |
324 | 327 | else 0 | |
325 | 328 | } | |
326 | - | let | |
327 | - | let | |
328 | - | let | |
329 | - | if ($isInstanceOf( | |
329 | + | let aw = (av + aq) | |
330 | + | let ax = { | |
331 | + | let N = getInteger(this, (s + "_Voucher_Balance")) | |
332 | + | if ($isInstanceOf(N, "Int")) | |
330 | 333 | then { | |
331 | - | let | |
332 | - | | |
334 | + | let O = N | |
335 | + | O | |
333 | 336 | } | |
334 | 337 | else 0 | |
335 | 338 | } | |
336 | - | let | |
339 | + | let ay = (ax + aq) | |
337 | 340 | if ((o.caller != h)) | |
338 | 341 | then throw((("This Address is not Authorized. Only " + toString(h)) + " is Authorized Address to Sign it.")) | |
339 | 342 | else if ((n == 1)) | |
340 | 343 | then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.") | |
341 | - | else if ((0 >= | |
344 | + | else if ((0 >= aq)) | |
342 | 345 | then throw((("Voucher Balance can't be 0 or go in negative State. Increase the Voucher Amount where maximum limit is " + toString(m)) + "/10^8 Waves.")) | |
343 | - | else if ((0 >= | |
344 | - | then throw((("Updated Voucher Balance can't go in negative State of " + toString( | |
345 | - | else if (( | |
346 | + | else if ((0 >= as)) | |
347 | + | then throw((("Updated Voucher Balance can't go in negative State of " + toString(as)) + " /10^8 WAVES. Reduce the Voucher Amount.")) | |
348 | + | else if ((aq > m)) | |
346 | 349 | then throw((("Input Voucher Balance can't exceed the set maximum limit of " + toString(m)) + "/10^8 Waves.")) | |
347 | - | else if (( | |
350 | + | else if ((ay > m)) | |
348 | 351 | then throw((((s + " Voucher Balance is exceeding the limit of ") + toString(m)) + "/10^8 Waves.")) | |
349 | - | else [IntegerEntry(("Total_Vouchers_Issued_To_" + s), | |
352 | + | else [IntegerEntry(("Total_Vouchers_Issued_To_" + s), au), IntegerEntry(("Total_Vouchers_Amount_Issued_To_" + s), aw), IntegerEntry((s + "_Voucher_Balance"), ay), IntegerEntry("Available_Vouchers_Balance", as)] | |
350 | 353 | } | |
351 | 354 | ||
352 | 355 | ||
353 | 356 | ||
354 | 357 | @Callable(o) | |
355 | 358 | func DepositUserFunds () = { | |
356 | 359 | let z = toBase58String(o.caller.bytes) | |
357 | - | let | |
360 | + | let al = if ((size(o.payments) == 1)) | |
358 | 361 | then o.payments[0] | |
359 | 362 | else throw("No payment attached, Please Attach only Whitelisted Tokens in payment[1].") | |
360 | 363 | let A = getString(this, ("addr_BLACKLISTED_" + z)) | |
361 | - | let | |
362 | - | let | |
363 | - | if ($isInstanceOf( | |
364 | + | let az = { | |
365 | + | let N = getInteger(this, ((d + "_") + z)) | |
366 | + | if ($isInstanceOf(N, "Int")) | |
364 | 367 | then { | |
365 | - | let | |
366 | - | | |
368 | + | let O = N | |
369 | + | O | |
367 | 370 | } | |
368 | 371 | else 0 | |
369 | 372 | } | |
370 | - | let | |
371 | - | let | |
372 | - | let | |
373 | - | if ($isInstanceOf( | |
373 | + | let aA = (az + al.amount) | |
374 | + | let aB = { | |
375 | + | let N = getInteger(this, "Deposit_Counter_ID") | |
376 | + | if ($isInstanceOf(N, "Int")) | |
374 | 377 | then { | |
375 | - | let | |
376 | - | | |
378 | + | let O = N | |
379 | + | O | |
377 | 380 | } | |
378 | 381 | else 0 | |
379 | 382 | } | |
380 | - | let | |
383 | + | let aC = (aB + 1) | |
381 | 384 | if ((c > lastBlock.timestamp)) | |
382 | 385 | then throw((e + toString(c))) | |
383 | 386 | else if ((n == 1)) | |
384 | 387 | then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.") | |
385 | 388 | else if ((A == "Yes")) | |
386 | 389 | then throw((z + " Address is Blacklisted. Please contact Admin to Whitelist it.")) | |
387 | - | else if (isDefined( | |
390 | + | else if (isDefined(al.assetId)) | |
388 | 391 | then throw("Only WAVES is allowed to deposit at the moment") | |
389 | - | else [IntegerEntry(((d + "_") + z), | |
392 | + | else [IntegerEntry(((d + "_") + z), aA), IntegerEntry(((((toString(aC) + "_") + d) + "_") + z), al.amount), IntegerEntry("Deposit_Counter_ID", aC)] | |
390 | 393 | } | |
391 | 394 | ||
392 | 395 | ||
393 | 396 | ||
394 | 397 | @Callable(o) | |
395 | 398 | func WithdrawUserFunds (s,p) = { | |
396 | 399 | let z = toBase58String(o.caller.bytes) | |
397 | - | let | |
398 | - | let D = (( | |
399 | - | let | |
400 | + | let aD = getIntegerValue(((d + "_") + s)) | |
401 | + | let D = ((aD - p) - j) | |
402 | + | let aE = 10000000 | |
400 | 403 | if ((o.caller != h)) | |
401 | 404 | then throw((("This Address is not Authorized. Only " + toString(h)) + " is Authorized Address to Sign it.")) | |
402 | 405 | else if ((n == 1)) | |
403 | 406 | then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.") | |
404 | - | else if (( | |
405 | - | then throw((("Minimum Withdraw Amount is " + toString( | |
407 | + | else if ((aE > p)) | |
408 | + | then throw((("Minimum Withdraw Amount is " + toString(aE)) + "/10^8] WAVES.")) | |
406 | 409 | else if ((0 > D)) | |
407 | 410 | then throw((("Placed Withdraw Amount is going in negative State of " + toString(D)) + "/10^8] WAVES.")) | |
408 | - | else [IntegerEntry("Previous_Balance", | |
411 | + | else [IntegerEntry("Previous_Balance", aD), IntegerEntry("Network_Fee_To_Withdraw", j), IntegerEntry(((d + "_") + s), D), ScriptTransfer(h, j, unit), ScriptTransfer(addressFromStringValue(s), p, unit)] | |
409 | 412 | } | |
410 | 413 | ||
411 | 414 | ||
412 | 415 | ||
413 | 416 | @Callable(o) | |
414 | - | func BlackListAddress ( | |
415 | - | let A = getString(this, ("addr_BLACKLISTED_" + | |
416 | - | let | |
417 | - | let | |
418 | - | if ($isInstanceOf( | |
417 | + | func BlackListAddress (aF) = { | |
418 | + | let A = getString(this, ("addr_BLACKLISTED_" + aF)) | |
419 | + | let aG = { | |
420 | + | let N = getInteger(this, "Total_Black_Listed_Address") | |
421 | + | if ($isInstanceOf(N, "Int")) | |
419 | 422 | then { | |
420 | - | let | |
421 | - | | |
423 | + | let O = N | |
424 | + | O | |
422 | 425 | } | |
423 | 426 | else 0 | |
424 | 427 | } | |
425 | - | let | |
428 | + | let aH = (aG + 1) | |
426 | 429 | if ((c > lastBlock.timestamp)) | |
427 | 430 | then throw((e + toString(c))) | |
428 | 431 | else if ((o.caller != h)) | |
429 | 432 | then throw((("This Address is not Authorized. Only " + toString(h)) + " is Authorized Address to Sign it.")) | |
430 | 433 | else if ((n == 1)) | |
431 | 434 | then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.") | |
432 | 435 | else if ((A == "Yes")) | |
433 | 436 | then throw("Address is already available in Blacklist.") | |
434 | - | else [StringEntry(("addr_BLACKLISTED_" + | |
437 | + | else [StringEntry(("addr_BLACKLISTED_" + aF), "Yes"), IntegerEntry("Total_Black_Listed_Address", aH)] | |
435 | 438 | } | |
436 | 439 | ||
437 | 440 | ||
438 | 441 | ||
439 | 442 | @Callable(o) | |
440 | - | func DeleteBlackListAddress ( | |
441 | - | let A = getString(this, ("addr_BLACKLISTED_" + | |
442 | - | let | |
443 | - | let | |
444 | - | if ($isInstanceOf( | |
443 | + | func DeleteBlackListAddress (aF) = { | |
444 | + | let A = getString(this, ("addr_BLACKLISTED_" + aF)) | |
445 | + | let aG = { | |
446 | + | let N = getInteger(this, "Total_Black_Listed_Address") | |
447 | + | if ($isInstanceOf(N, "Int")) | |
445 | 448 | then { | |
446 | - | let | |
447 | - | | |
449 | + | let O = N | |
450 | + | O | |
448 | 451 | } | |
449 | 452 | else 0 | |
450 | 453 | } | |
451 | - | let | |
454 | + | let aH = (aG - 1) | |
452 | 455 | if ((c > lastBlock.timestamp)) | |
453 | 456 | then throw(("Product Launch Timestamp is set at " + toString(c))) | |
454 | 457 | else if ((o.caller != h)) | |
455 | 458 | then throw((("This Address is not Authorized. Only " + toString(h)) + " is Authorized Address to Sign it.")) | |
456 | 459 | else if ((n == 1)) | |
457 | 460 | then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.") | |
458 | 461 | else if ((A == "Yes")) | |
459 | - | then [DeleteEntry(("addr_BLACKLISTED_" + | |
462 | + | then [DeleteEntry(("addr_BLACKLISTED_" + aF)), IntegerEntry("Total_Black_Listed_Address", aH)] | |
460 | 463 | else throw("Address is not available in Blacklist.") | |
461 | 464 | } | |
462 | 465 | ||
463 | 466 | ||
464 | 467 | ||
465 | 468 | @Callable(o) | |
466 | 469 | func Initiate_Contract_Shutdown () = { | |
467 | - | let | |
468 | - | let | |
469 | - | if ($isInstanceOf( | |
470 | + | let aI = { | |
471 | + | let N = getInteger(this, "Shutdown_Status") | |
472 | + | if ($isInstanceOf(N, "Int")) | |
470 | 473 | then { | |
471 | - | let | |
472 | - | | |
474 | + | let O = N | |
475 | + | O | |
473 | 476 | } | |
474 | 477 | else 0 | |
475 | 478 | } | |
476 | 479 | if ((o.caller != h)) | |
477 | 480 | then throw((("This Address is not Authorized. Only " + toString(h)) + " is Authorized Address to Sign it.")) | |
478 | - | else if (( | |
481 | + | else if ((aI == 0)) | |
479 | 482 | then [IntegerEntry("Shutdown_Status", 1)] | |
480 | 483 | else [IntegerEntry("Shutdown_Status", 0)] | |
481 | 484 | } | |
482 | 485 | ||
483 | 486 | ||
484 | 487 | ||
485 | 488 | @Callable(o) | |
486 | - | func Del ( | |
489 | + | func Del (aJ) = [DeleteEntry(aJ)] | |
487 | 490 | ||
488 | 491 | ||
489 | - | @Verifier( | |
490 | - | func | |
491 | - | let | |
492 | - | if (if ($isInstanceOf( | |
492 | + | @Verifier(aK) | |
493 | + | func aL () = { | |
494 | + | let N = aK | |
495 | + | if (if ($isInstanceOf(N, "Order")) | |
493 | 496 | then true | |
494 | - | else if ($isInstanceOf( | |
497 | + | else if ($isInstanceOf(N, "ExchangeTransaction")) | |
495 | 498 | then true | |
496 | - | else if ($isInstanceOf( | |
499 | + | else if ($isInstanceOf(N, "MassTransferTransaction")) | |
497 | 500 | then true | |
498 | - | else $isInstanceOf( | |
501 | + | else $isInstanceOf(N, "TransferTransaction")) | |
499 | 502 | then { | |
500 | - | let | |
503 | + | let aM = N | |
501 | 504 | false | |
502 | 505 | } | |
503 | - | else sigVerify( | |
506 | + | else sigVerify(aK.bodyBytes, aK.proofs[0], aK.senderPublicKey) | |
504 | 507 | } | |
505 | 508 |
github/deemru/w8io/169f3d6 188.17 ms ◑