tx · 3F2J2msFskQJ9D8gFYubpoN9yEvQf2f86anrA3V4r4s9

3Mtit8bwuKhT8FTUFx26q1p6o4ZTecyuLRW:  -0.02500000 Waves

2023.08.28 14:43 [2730476] smart account 3Mtit8bwuKhT8FTUFx26q1p6o4ZTecyuLRW > SELF 0.00000000 Waves

{ "type": 13, "id": "3F2J2msFskQJ9D8gFYubpoN9yEvQf2f86anrA3V4r4s9", "fee": 2500000, "feeAssetId": null, "timestamp": 1693223065835, "version": 2, "chainId": 84, "sender": "3Mtit8bwuKhT8FTUFx26q1p6o4ZTecyuLRW", "senderPublicKey": "6Ao9CXtWYPtv2jCfbfCbjCK6Pwtqzu1i3hP1NzznxZbM", "proofs": [ "2oTNLKw6C6y6idJJBvpiNrsvQTKtThPsbt8jok9KuLd3pyim6sF28BecYYJrk4bvQHZv4MS92m7ymETFyneJpwtU" ], "script": "base64:AAIFAAAAAAAAADAIAhIMCgoBAQgIAQEBCAEBEgwKCgEBCAgBAQEIAQESABIECgIIARIDCgEIEgMKAQgAAAALAAAAABZwb29sX2xpcXVpZGl0eV9hZGRyZXNzAgAAACMzTXg4cmFGc1FmamgySkJlVDhNTjFKdjVzVHZHa3g1UEREUwAAAAAURGFwcF9BZGRyZXNzX3B1Yl9rZXkBAAAAIOOt17LUijbWojwDE5tgFkw1Y8cwIr3jselcewpp7rwjAAAAABhwcm9kdWN0X2xhdW5jaF90aW1lc3RhbXAAAAABhgpF7AAAAAAAC0N1cnJlbmN5X0lEAgAAAAVXQVZFUwAAAAAUcHJvZHVjdF9sYXVuY2hfZXJyb3ICAAAAI1Byb2R1Y3QgTGF1bmNoIFRpbWVzdGFtcCBpcyBzZXQgYXQgAAAAABBub19wYXltZW50X2Vycm9yAgAAADdObyBwYXltZW50IGF0dGFjaGVkLCBQbGVhc2UgQXR0YWNoIFRva2VuIGluIHBheW1lbnRbMV0uAAAAABJjbG9zZWRfb3JhY2xlX2Vyb3ICAAAAMU9yYWNsZSBpcyBjbG9zZWQuIFdhaX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CQABLAAAAAICAAAAEWFkZHJfQkxBQ0tMSVNURURfBQAAAAtVc2VyQWRkcmVzcwkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAaVG90YWxfQmxhY2tfTGlzdGVkX0FkZHJlc3MFAAAAFVRvdGFsQmxhY2tMaXN0QWRkcmVzcwUAAAADbmlsCQAAAgAAAAECAAAAJkFkZHJlc3MgaXMgbm90IGF2YWlsYWJsZSBpbiBCbGFja2xpc3QuAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAVPcmRlcgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24GAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdNYXNzVHJhbnNmZXJUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAcJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5uhi+1Q==", "height": 2730476, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8kSAF3cUePkvDSLad2BePfx2ZYnoPxvTSJSPjfBLgthU Next: D5cxNBwnQmFwY8rQ43N3SVW4XQ41onpy6bB1DqeNLpmd Diff:
OldNewDifferences
9696 else if ((lastBlock.timestamp >= read_end_order_permit_timestamp))
9797 then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.")
9898 else if ((TotalFundsAddedInSpecificOptionOrder > Funds_at_risk))
99- then throw((("No more orders accepted, Option House Risk Size is only limited to " + toString(Funds_at_risk)) + ". Join in next Cycle."))
99+ then throw((((("No more orders accepted, Option House Risk Size is only limited to " + toString(Funds_at_risk)) + ", Pending House Risk is ") + toString((Funds_at_risk - TotalFundsAddedInSpecificOptionOrder))) + ". Join in next Cycle."))
100100 else if ((minimum_order_size > Amount))
101101 then throw((("Placed Order Size is less than [" + toString(minimum_order_size)) + "/10^8] WAVES."))
102102 else if ((Amount > maximum_order_size))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let pool_liquidity_address = "3Mx8raFsQfjh2JBeT8MN1Jv5sTvGkx5PDDS"
55
66 let Dapp_Address_pub_key = base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr'
77
88 let product_launch_timestamp = 1675209600000
99
1010 let Currency_ID = "WAVES"
1111
1212 let product_launch_error = "Product Launch Timestamp is set at "
1313
1414 let no_payment_error = "No payment attached, Please Attach Token in payment[1]."
1515
1616 let closed_oracle_eror = "Oracle is closed. Wait Until Oracle is Turned On."
1717
1818 let whitelist_address = addressFromPublicKey(Dapp_Address_pub_key)
1919
2020 let network_fee = 900000
2121
2222 let minimum_order_size = 10000000
2323
2424 let maximum_order_size = 10000000000
2525
2626 @Callable(i)
2727 func placeoptionCall (Amount,OptionCounterID,User_ID,User_Address,Price,Call_Limits,Put_Limits,Oracle_Status,Start_Order_Timestamp,End_Order_Timestamp) = {
2828 let calleraddress = toBase58String(i.caller.bytes)
2929 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + User_Address))
3030 let read_TPL = valueOrErrorMessage(getInteger(addressFromStringValue(pool_liquidity_address), "Total_Pool_Liquidity"), "No Initial Pool Liquidity was Found.")
3131 let read_user_funds = getIntegerValue(((Currency_ID + "_") + User_Address))
3232 let update_user_funds = ((read_user_funds - Amount) - network_fee)
3333 let read_start_order_permit_timestamp = Start_Order_Timestamp
3434 let read_end_order_permit_timestamp = End_Order_Timestamp
3535 let read_OptionCounterID = OptionCounterID
3636 let OpionExpireCounter = 1
3737 let OptionExpireCounterID = (read_OptionCounterID + OpionExpireCounter)
3838 let PreviousOptionOrders = match getInteger(this, "Total_Option_Orders") {
3939 case a: Int =>
4040 a
4141 case _ =>
4242 0
4343 }
4444 let TotalOptionOrders = (PreviousOptionOrders + 1)
4545 let PreviousFundsAddedInSpecificOptionOrder = match getInteger(this, ("Total_Funds_Added_In_Option_Order_" + toString(read_OptionCounterID))) {
4646 case a: Int =>
4747 a
4848 case _ =>
4949 0
5050 }
5151 let TotalFundsAddedInSpecificOptionOrder = (PreviousFundsAddedInSpecificOptionOrder + Amount)
5252 let PreviousOptionOrdersinSpecificCounter = match getInteger(this, ("Total_Option_Orders_" + toString(read_OptionCounterID))) {
5353 case a: Int =>
5454 a
5555 case _ =>
5656 0
5757 }
5858 let TotalOptionOrdersinSpecificCounter = (PreviousOptionOrdersinSpecificCounter + 1)
5959 let PreviousCall = match getInteger(this, "Total_Calls") {
6060 case a: Int =>
6161 a
6262 case _ =>
6363 0
6464 }
6565 let TotalCall = (PreviousCall + 1)
6666 let PreviousCallinSpecificCounter = match getInteger(this, ("Total_Calls_" + toString(read_OptionCounterID))) {
6767 case a: Int =>
6868 a
6969 case _ =>
7070 0
7171 }
7272 let TotalCallinSpecificCounter = (PreviousCallinSpecificCounter + 1)
7373 let PreviousUserCall = match getInteger(this, (User_Address + "_Total_Calls")) {
7474 case a: Int =>
7575 a
7676 case _ =>
7777 0
7878 }
7979 let TotalUserCall = (PreviousUserCall + 1)
8080 let PreviousUserCallinSpecificCounter = match getInteger(this, ((User_Address + "_Total_Calls_") + toString(read_OptionCounterID))) {
8181 case a: Int =>
8282 a
8383 case _ =>
8484 0
8585 }
8686 let TotalUserCallinSpecificCounter = (PreviousUserCallinSpecificCounter + 1)
8787 let Funds_at_risk = fraction(read_TPL, 5, 100)
8888 if ((i.caller != whitelist_address))
8989 then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
9090 else if ((product_launch_timestamp > lastBlock.timestamp))
9191 then throw((product_launch_error + toString(product_launch_timestamp)))
9292 else if ((Oracle_Status == "CLOSE"))
9393 then throw(closed_oracle_eror)
9494 else if ((ifBlacklisted == "Yes"))
9595 then throw((User_Address + " Address is Blacklisted. Please contact Admin to Whitelist it."))
9696 else if ((lastBlock.timestamp >= read_end_order_permit_timestamp))
9797 then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.")
9898 else if ((TotalFundsAddedInSpecificOptionOrder > Funds_at_risk))
99- then throw((("No more orders accepted, Option House Risk Size is only limited to " + toString(Funds_at_risk)) + ". Join in next Cycle."))
99+ then throw((((("No more orders accepted, Option House Risk Size is only limited to " + toString(Funds_at_risk)) + ", Pending House Risk is ") + toString((Funds_at_risk - TotalFundsAddedInSpecificOptionOrder))) + ". Join in next Cycle."))
100100 else if ((minimum_order_size > Amount))
101101 then throw((("Placed Order Size is less than [" + toString(minimum_order_size)) + "/10^8] WAVES."))
102102 else if ((Amount > maximum_order_size))
103103 then throw((("Placed Order Size is more than [" + toString(maximum_order_size)) + "/10^8] WAVES."))
104104 else if ((0 > update_user_funds))
105105 then throw(("Placed Order Amount is going negative. Please reduce the Order Size. Negative Fund Amount = " + toString(update_user_funds)))
106106 else if ((size(toString(Start_Order_Timestamp)) != 13))
107107 then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
108108 else if ((size(toString(End_Order_Timestamp)) != 13))
109109 then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
110110 else [StringEntry(("User_ID_" + User_Address), User_ID), IntegerEntry(((Currency_ID + "_") + User_Address), update_user_funds), IntegerEntry("Network_Fee_To_Place_Order", network_fee), StringEntry(((("Call_" + User_Address) + "_") + toString(TotalUserCall)), toString(Price)), IntegerEntry(((("Call_Amount_" + User_Address) + "_") + toString(TotalUserCall)), Amount), StringEntry(((("Call_Start_End_" + User_Address) + "_") + toString(TotalUserCall)), ((toString(read_OptionCounterID) + "_") + toString(OptionExpireCounterID))), IntegerEntry("Total_Option_Orders", TotalOptionOrders), IntegerEntry(("Total_Funds_Added_In_Option_Order_" + toString(read_OptionCounterID)), TotalFundsAddedInSpecificOptionOrder), IntegerEntry("Total_Pool_Liquidity", read_TPL), IntegerEntry(("Funds_At_Risk_" + toString(read_OptionCounterID)), Funds_at_risk), IntegerEntry("Call_Limits", Call_Limits), IntegerEntry("Put_Limits", Put_Limits), IntegerEntry(("Total_Option_Orders_" + toString(read_OptionCounterID)), TotalOptionOrdersinSpecificCounter), IntegerEntry("Total_Calls", TotalCall), IntegerEntry(("Total_Calls_" + toString(read_OptionCounterID)), TotalCallinSpecificCounter), IntegerEntry((User_Address + "_Total_Calls"), TotalUserCall), IntegerEntry(((User_Address + "_Total_Calls_") + toString(read_OptionCounterID)), TotalUserCallinSpecificCounter), ScriptTransfer(whitelist_address, network_fee, unit), ScriptTransfer(addressFromStringValue(pool_liquidity_address), Amount, unit)]
111111 }
112112
113113
114114
115115 @Callable(i)
116116 func placeoptionPut (Amount,OptionCounterID,User_ID,User_Address,Price,Call_Limits,Put_Limits,Oracle_Status,Start_Order_Timestamp,End_Order_Timestamp) = {
117117 let calleraddress = toBase58String(i.caller.bytes)
118118 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + User_Address))
119119 let read_TPL = valueOrErrorMessage(getInteger(addressFromStringValue(pool_liquidity_address), "Total_Pool_Liquidity"), "No Initial Pool Liquidity was Found.")
120120 let read_user_funds = getIntegerValue(((Currency_ID + "_") + User_Address))
121121 let update_user_funds = ((read_user_funds - Amount) - network_fee)
122122 let read_start_order_permit_timestamp = Start_Order_Timestamp
123123 let read_end_order_permit_timestamp = End_Order_Timestamp
124124 let read_OptionCounterID = OptionCounterID
125125 let OpionExpireCounter = 1
126126 let OptionExpireCounterID = (read_OptionCounterID + OpionExpireCounter)
127127 let PreviousOptionOrders = match getInteger(this, "Total_Option_Orders") {
128128 case a: Int =>
129129 a
130130 case _ =>
131131 0
132132 }
133133 let TotalOptionOrders = (PreviousOptionOrders + 1)
134134 let PreviousFundsAddedInSpecificOptionOrder = match getInteger(this, ("Total_Funds_Added_In_Option_Order_" + toString(read_OptionCounterID))) {
135135 case a: Int =>
136136 a
137137 case _ =>
138138 0
139139 }
140140 let TotalFundsAddedInSpecificOptionOrder = (PreviousFundsAddedInSpecificOptionOrder + Amount)
141141 let PreviousOptionOrdersinSpecificCounter = match getInteger(this, ("Total_Option_Orders_" + toString(read_OptionCounterID))) {
142142 case a: Int =>
143143 a
144144 case _ =>
145145 0
146146 }
147147 let TotalOptionOrdersinSpecificCounter = (PreviousOptionOrdersinSpecificCounter + 1)
148148 let PreviousPut = match getInteger(this, "Total_Puts") {
149149 case a: Int =>
150150 a
151151 case _ =>
152152 0
153153 }
154154 let TotalPut = (PreviousPut + 1)
155155 let PreviousPutinSpecificCounter = match getInteger(this, ("Total_Puts_" + toString(read_OptionCounterID))) {
156156 case a: Int =>
157157 a
158158 case _ =>
159159 0
160160 }
161161 let TotalPutinSpecificCounter = (PreviousPutinSpecificCounter + 1)
162162 let PreviousUserPut = match getInteger(this, (User_Address + "_Total_Puts")) {
163163 case a: Int =>
164164 a
165165 case _ =>
166166 0
167167 }
168168 let TotalUserPut = (PreviousUserPut + 1)
169169 let PreviousUserPutinSpecificCounter = match getInteger(this, ((User_Address + "_Total_Puts_") + toString(read_OptionCounterID))) {
170170 case a: Int =>
171171 a
172172 case _ =>
173173 0
174174 }
175175 let TotalUserPutinSpecificCounter = (PreviousUserPutinSpecificCounter + 1)
176176 let Funds_at_risk = fraction(read_TPL, 5, 100)
177177 if ((i.caller != whitelist_address))
178178 then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
179179 else if ((product_launch_timestamp > lastBlock.timestamp))
180180 then throw((product_launch_error + toString(product_launch_timestamp)))
181181 else if ((Oracle_Status == "CLOSE"))
182182 then throw(closed_oracle_eror)
183183 else if ((ifBlacklisted == "Yes"))
184184 then throw((User_Address + " Address is Blacklisted. Please contact Admin to Whitelist it."))
185185 else if ((lastBlock.timestamp >= read_end_order_permit_timestamp))
186186 then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.")
187187 else if ((minimum_order_size > Amount))
188188 then throw((("Placed Order Size is less than [" + toString(minimum_order_size)) + "/10^8] WAVES."))
189189 else if ((Amount > maximum_order_size))
190190 then throw((("Placed Order Size is more than [" + toString(maximum_order_size)) + "/10^8] WAVES."))
191191 else if ((0 > update_user_funds))
192192 then throw(("Placed Order Amount is going negative. Please reduce the Order Size. Negative Fund Amount = " + toString(update_user_funds)))
193193 else if ((size(toString(Start_Order_Timestamp)) != 13))
194194 then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
195195 else if ((size(toString(End_Order_Timestamp)) != 13))
196196 then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
197197 else [StringEntry(("User_ID_" + User_Address), User_ID), IntegerEntry(((Currency_ID + "_") + User_Address), update_user_funds), IntegerEntry("Network_Fee_To_Place_Order", network_fee), StringEntry(((("Put_" + User_Address) + "_") + toString(TotalUserPut)), toString(Price)), IntegerEntry(((("Put_Amount_" + User_Address) + "_") + toString(TotalUserPut)), Amount), StringEntry(((("Put_Start_End_" + User_Address) + "_") + toString(TotalUserPut)), ((toString(read_OptionCounterID) + "_") + toString(OptionExpireCounterID))), IntegerEntry("Total_Option_Orders", TotalOptionOrders), IntegerEntry(("Total_Funds_Added_In_Option_Order_" + toString(read_OptionCounterID)), TotalFundsAddedInSpecificOptionOrder), IntegerEntry("Total_Pool_Liquidity", read_TPL), IntegerEntry(("Funds_At_Risk_" + toString(read_OptionCounterID)), Funds_at_risk), IntegerEntry("Call_Limits", Call_Limits), IntegerEntry("Put_Limits", Put_Limits), IntegerEntry(("Total_Option_Orders_" + toString(read_OptionCounterID)), TotalOptionOrdersinSpecificCounter), IntegerEntry("Total_Puts", TotalPut), IntegerEntry(("Total_Puts_" + toString(read_OptionCounterID)), TotalPutinSpecificCounter), IntegerEntry((User_Address + "_Total_Puts"), TotalUserPut), IntegerEntry(((User_Address + "_Total_Puts_") + toString(read_OptionCounterID)), TotalUserPutinSpecificCounter), ScriptTransfer(whitelist_address, network_fee, unit), ScriptTransfer(addressFromStringValue(pool_liquidity_address), Amount, unit)]
198198 }
199199
200200
201201
202202 @Callable(i)
203203 func DepositUserFunds () = {
204204 let calleraddress = toBase58String(i.caller.bytes)
205205 let pmt = if ((size(i.payments) == 1))
206206 then i.payments[0]
207207 else throw("No payment attached, Please Attach only Whitelisted Tokens in payment[1].")
208208 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + calleraddress))
209209 let PreviousUserDeposit = match getInteger(this, ((Currency_ID + "_") + calleraddress)) {
210210 case a: Int =>
211211 a
212212 case _ =>
213213 0
214214 }
215215 let TotalUserDeposit = (PreviousUserDeposit + pmt.amount)
216216 let PreviousDepositCounterID = match getInteger(this, "Deposit_Counter_ID") {
217217 case a: Int =>
218218 a
219219 case _ =>
220220 0
221221 }
222222 let TotalDepositCounterID = (PreviousDepositCounterID + 1)
223223 if ((product_launch_timestamp > lastBlock.timestamp))
224224 then throw((product_launch_error + toString(product_launch_timestamp)))
225225 else if ((ifBlacklisted == "Yes"))
226226 then throw((calleraddress + " Address is Blacklisted. Please contact Admin to Whitelist it."))
227227 else if (isDefined(pmt.assetId))
228228 then throw("Only WAVES is allowed to deposit at the moment")
229229 else [IntegerEntry(((Currency_ID + "_") + calleraddress), TotalUserDeposit), IntegerEntry(((((toString(TotalDepositCounterID) + "_") + Currency_ID) + "_") + calleraddress), pmt.amount), IntegerEntry("Deposit_Counter_ID", TotalDepositCounterID)]
230230 }
231231
232232
233233
234234 @Callable(i)
235235 func WithdrawUserFunds (User_Address,Amount) = {
236236 let calleraddress = toBase58String(i.caller.bytes)
237237 let readuserbalance = getIntegerValue(((Currency_ID + "_") + User_Address))
238238 let update_user_funds = ((readuserbalance - Amount) - network_fee)
239239 let minimim_withdraw_amount = 10000000
240240 if ((i.caller != whitelist_address))
241241 then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
242242 else if ((minimim_withdraw_amount > Amount))
243243 then throw((("Minimum Withdraw Amount is " + toString(minimim_withdraw_amount)) + "/10^8] WAVES."))
244244 else if ((0 > update_user_funds))
245245 then throw((("Placed Withdraw Amount is going in negative State of " + toString(update_user_funds)) + "/10^8] WAVES."))
246246 else [IntegerEntry("Previous_Balance", readuserbalance), IntegerEntry("Network_Fee_To_Withdraw", network_fee), IntegerEntry(((Currency_ID + "_") + User_Address), update_user_funds), ScriptTransfer(whitelist_address, network_fee, unit), ScriptTransfer(addressFromStringValue(User_Address), Amount, unit)]
247247 }
248248
249249
250250
251251 @Callable(i)
252252 func BlackListAddress (UserAddress) = {
253253 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + UserAddress))
254254 let PreviousBlackListAddress = match getInteger(this, "Total_Black_Listed_Address") {
255255 case a: Int =>
256256 a
257257 case _ =>
258258 0
259259 }
260260 let TotalBlackListAddress = (PreviousBlackListAddress + 1)
261261 if ((product_launch_timestamp > lastBlock.timestamp))
262262 then throw((product_launch_error + toString(product_launch_timestamp)))
263263 else if ((i.caller != whitelist_address))
264264 then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
265265 else if ((ifBlacklisted == "Yes"))
266266 then throw("Address is already available in Blacklist.")
267267 else [StringEntry(("addr_BLACKLISTED_" + UserAddress), "Yes"), IntegerEntry("Total_Black_Listed_Address", TotalBlackListAddress)]
268268 }
269269
270270
271271
272272 @Callable(i)
273273 func DeleteBlackListAddress (UserAddress) = {
274274 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + UserAddress))
275275 let PreviousBlackListAddress = match getInteger(this, "Total_Black_Listed_Address") {
276276 case a: Int =>
277277 a
278278 case _ =>
279279 0
280280 }
281281 let TotalBlackListAddress = (PreviousBlackListAddress - 1)
282282 if ((product_launch_timestamp > lastBlock.timestamp))
283283 then throw(("Product Launch Timestamp is set at " + toString(product_launch_timestamp)))
284284 else if ((i.caller != whitelist_address))
285285 then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
286286 else if ((ifBlacklisted == "Yes"))
287287 then [DeleteEntry(("addr_BLACKLISTED_" + UserAddress)), IntegerEntry("Total_Black_Listed_Address", TotalBlackListAddress)]
288288 else throw("Address is not available in Blacklist.")
289289 }
290290
291291
292292 @Verifier(tx)
293293 func verify () = match tx {
294294 case t: Order|ExchangeTransaction|MassTransferTransaction|TransferTransaction =>
295295 false
296296 case _ =>
297297 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
298298 }
299299

github/deemru/w8io/026f985 
51.94 ms