tx · E173anzkbj7VYPpxpKbXTJDEX3ijRHeAthGQLcY7xWjG

3N1s2w4NHgbrXxNZXH9RtaVT9ptHRJcgSp2:  -0.03200000 Waves

2023.11.30 08:58 [2865744] smart account 3N1s2w4NHgbrXxNZXH9RtaVT9ptHRJcgSp2 > SELF 0.00000000 Waves

{ "type": 13, "id": "E173anzkbj7VYPpxpKbXTJDEX3ijRHeAthGQLcY7xWjG", "fee": 3200000, "feeAssetId": null, "timestamp": 1701323929563, "version": 2, "chainId": 84, "sender": "3N1s2w4NHgbrXxNZXH9RtaVT9ptHRJcgSp2", "senderPublicKey": "DNKNL32sAVUYg4iGA3tW8Z6VXrENmGCmKfG6DLar82aP", "proofs": [ "4Wx56sNXqnHsUFrZrZ98WUP3rV3uRiEyFZULxgB6q2LhFmm5FuPyD93V4zDdmBuAY7jHVi4M4ay49h1YTKv1wm29" ], "script": "base64:AAIFAAAAAAAAADsIAhIMCgoBAQgIAQEBCAEBEgwKCgEBCAgBAQEIAQESABIFCgMBCAgSABIECgIIARIDCgEIEgMKAQgSAAAAAA4AAAAAFnBvb2xfbGlxdWlkaXR5X2FkZHJlc3MCAAAAIzNONHdCZ1l0V2dKVzJMVFJlZjJla1dRVHJFWENSZlhtR0xoAAAAABREYXBwX0FkZHJlc3NfcHViX2tleQEAAAAgyO2Y2obuVTVYYMc8lugqW2L1IjDFH+TsgVEJaOfOGnMAAAAAGHByb2R1Y3RfbGF1bmNoX3RpbWVzdGFtcAAAAAGKv2AWIAAAAAALQ3VycmVuY3lfSUQCAAAABVdBVkVTAAAAABRwcm9kdWN0X2xhdW5jaF9lcnJvcgIAAAAjUHJvZHVjdCBMYXVuY2ggVGltZXN0YW1wIGlzIHNldCBhdCAAAAAAEG5vX3BheW1lbnRfZXJyb3ICAAAAN05vIHBheW1lbnQgYXR0YWNoZWQsIFBsZWFzZSBBdHRhY2ggVG9rZW4gaW4gcGF5bWVudFsxXS4AAAAAEmNsb3NlZF9vcmFjbGVfZXJvcgIAAAAxT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AJVRoaXMgQWRkcmVzcyBpcyBub3QgQXV0aG9yaXplZC4gT25seSAJAAQlAAAAAQUAAAARd2hpdGVsaXN0X2FkZHJlc3MCAAAAIiBpcyBBdXRob3JpemVkIEFkZHJlc3MgdG8gU2lnbiBpdC4DCQAAAAAAAAIFAAAAEWFkZFNodXRkb3duU3RhdHVzAAAAAAAAAAAACQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAA9TaHV0ZG93bl9TdGF0dXMAAAAAAAAAAAEFAAAAA25pbAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAPU2h1dGRvd25fU3RhdHVzAAAAAAAAAAAABQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABU9yZGVyBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF01hc3NUcmFuc2ZlclRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwBwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkxcGfn", "height": 2865744, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DGQ7dFmFdCs3Q2zPdwsu7bf91K5FctJMRcE98WwqdprS Next: HDjjYweTkrTjetLFdSEUjat5dojRYYsTgPJ8LkXJ1s8b Diff:
OldNewDifferences
113113 then (read_user_voucher_funds == 0)
114114 else false)
115115 then throw("User Balance and Voucher Balance both are Zero. Please Add Funds to Dapp.")
116- else if (if ((0 > update_user_funds))
117- then (0 > update_user_voucher_balance)
116+ else if (if (((minimum_order_size + network_fee) > update_user_funds))
117+ then ((minimum_order_size + network_fee) > update_user_voucher_balance)
118118 else false)
119- then throw((((("Placed Order Amount is going negative. Please reduce the Order Size.User Fund Amount = [-" + toString(update_user_funds)) + "], Voucher Balance [-") + toString(update_user_voucher_balance)) + "]"))
120- else if ((minimum_order_size > Amount))
121- then throw((("Placed Order Size is less than [" + toString(minimum_order_size)) + "/10^8] WAVES."))
122- else if ((Amount > maximum_order_size))
123- then throw((("Placed Order Size is more than [" + toString(maximum_order_size)) + "/10^8] WAVES."))
124- else if ((size(toString(Start_Order_Timestamp)) != 13))
125- then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
126- else if ((size(toString(End_Order_Timestamp)) != 13))
127- then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
128- else if (if ((read_user_voucher_funds == 0))
129- then true
130- else (0 > update_user_voucher_balance))
131- then [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)]
132- else if ((update_user_voucher_balance > Amount))
133- then [StringEntry(("User_ID_" + User_Address), User_ID), IntegerEntry((User_Address + "_Voucher_Balance"), update_user_voucher_balance), 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)]
134- else throw("Wrong Entry.")
119+ then throw((("Voucher Funds and User Balance both are less than minimum order size" + toString((minimum_order_size + network_fee))) + "/10^8 WAVES including network fee."))
120+ else if (if ((0 > update_user_funds))
121+ then (0 > update_user_voucher_balance)
122+ else false)
123+ then throw((((("Placed Order Amount is going negative. Please reduce the Order Size. User Fund Amount = [-" + toString(update_user_funds)) + "], Voucher Balance [-") + toString(update_user_voucher_balance)) + "]"))
124+ else if ((0 > update_user_funds))
125+ then throw((("Placed Order Amount is going negative. Please reduce the Order Size.User Fund Amount = [-" + toString(update_user_funds)) + "]"))
126+ else if ((minimum_order_size > Amount))
127+ then throw((("Placed Order Size is less than [" + toString(minimum_order_size)) + "/10^8] WAVES."))
128+ else if ((Amount > maximum_order_size))
129+ then throw((("Placed Order Size is more than [" + toString(maximum_order_size)) + "/10^8] WAVES."))
130+ else if ((size(toString(Start_Order_Timestamp)) != 13))
131+ then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
132+ else if ((size(toString(End_Order_Timestamp)) != 13))
133+ then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
134+ else if (if ((read_user_voucher_funds == 0))
135+ then true
136+ else (0 > update_user_voucher_balance))
137+ then [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)]
138+ else if ((update_user_voucher_balance > Amount))
139+ then [StringEntry(("User_ID_" + User_Address), User_ID), IntegerEntry((User_Address + "_Voucher_Balance"), update_user_voucher_balance), 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)]
140+ else throw("Wrong Entry.")
135141 }
136142
137143
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let pool_liquidity_address = "3N4wBgYtWgJW2LTRef2ekWQTrEXCRfXmGLh"
55
66 let Dapp_Address_pub_key = base58'EXLfxKmqhQPiProBaoPatTentUSZX5Dd8A8bYDcmfNwt'
77
88 let product_launch_timestamp = 1695427860000
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 d2dcaller = addressFromPublicKey(base58'6oay51Q6zPcFP9bSwUC4Potx2KGyD4AUjpL5uLR4QeRN')
2121
2222 let network_fee = 900000
2323
2424 let minimum_order_size = 10000000
2525
2626 let maximum_order_size = 10000000000
2727
2828 let maximum_voucher_size = 100000000
2929
3030 let read_shutdown_status = valueOrErrorMessage(getInteger(this, "Shutdown_Status"), "Initiate_Contract_Shutdown function value is not Set, Please Sign that first.")
3131
3232 @Callable(i)
3333 func placeoptionCall (Amount,OptionCounterID,User_ID,User_Address,Price,Call_Limits,Put_Limits,Oracle_Status,Start_Order_Timestamp,End_Order_Timestamp) = {
3434 let calleraddress = toBase58String(i.caller.bytes)
3535 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + User_Address))
3636 let read_TPL = valueOrErrorMessage(getInteger(addressFromStringValue(pool_liquidity_address), "Total_Pool_Liquidity"), "No Initial Pool Liquidity was Found.")
3737 let read_user_funds = valueOrElse(getInteger(((Currency_ID + "_") + User_Address)), 0)
3838 let update_user_funds = ((read_user_funds - Amount) - network_fee)
3939 let read_user_voucher_funds = valueOrElse(getInteger((User_Address + "_Voucher_Balance")), 0)
4040 let update_user_voucher_balance = ((read_user_voucher_funds - Amount) - network_fee)
4141 let read_start_order_permit_timestamp = Start_Order_Timestamp
4242 let read_end_order_permit_timestamp = End_Order_Timestamp
4343 let read_OptionCounterID = OptionCounterID
4444 let OpionExpireCounter = 1
4545 let OptionExpireCounterID = (read_OptionCounterID + OpionExpireCounter)
4646 let PreviousOptionOrders = match getInteger(this, "Total_Option_Orders") {
4747 case a: Int =>
4848 a
4949 case _ =>
5050 0
5151 }
5252 let TotalOptionOrders = (PreviousOptionOrders + 1)
5353 let PreviousFundsAddedInSpecificOptionOrder = match getInteger(this, ("Total_Funds_Added_In_Option_Order_" + toString(read_OptionCounterID))) {
5454 case a: Int =>
5555 a
5656 case _ =>
5757 0
5858 }
5959 let TotalFundsAddedInSpecificOptionOrder = (PreviousFundsAddedInSpecificOptionOrder + Amount)
6060 let PreviousOptionOrdersinSpecificCounter = match getInteger(this, ("Total_Option_Orders_" + toString(read_OptionCounterID))) {
6161 case a: Int =>
6262 a
6363 case _ =>
6464 0
6565 }
6666 let TotalOptionOrdersinSpecificCounter = (PreviousOptionOrdersinSpecificCounter + 1)
6767 let PreviousCall = match getInteger(this, "Total_Calls") {
6868 case a: Int =>
6969 a
7070 case _ =>
7171 0
7272 }
7373 let TotalCall = (PreviousCall + 1)
7474 let PreviousCallinSpecificCounter = match getInteger(this, ("Total_Calls_" + toString(read_OptionCounterID))) {
7575 case a: Int =>
7676 a
7777 case _ =>
7878 0
7979 }
8080 let TotalCallinSpecificCounter = (PreviousCallinSpecificCounter + 1)
8181 let PreviousUserCall = match getInteger(this, (User_Address + "_Total_Calls")) {
8282 case a: Int =>
8383 a
8484 case _ =>
8585 0
8686 }
8787 let TotalUserCall = (PreviousUserCall + 1)
8888 let PreviousUserCallinSpecificCounter = match getInteger(this, ((User_Address + "_Total_Calls_") + toString(read_OptionCounterID))) {
8989 case a: Int =>
9090 a
9191 case _ =>
9292 0
9393 }
9494 let TotalUserCallinSpecificCounter = (PreviousUserCallinSpecificCounter + 1)
9595 let Funds_at_risk = fraction(read_TPL, 5, 100)
9696 if (if ((i.caller != whitelist_address))
9797 then (i.caller != d2dcaller)
9898 else false)
9999 then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
100100 else if ((read_shutdown_status == 1))
101101 then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.")
102102 else if ((product_launch_timestamp > lastBlock.timestamp))
103103 then throw((product_launch_error + toString(product_launch_timestamp)))
104104 else if ((Oracle_Status == "CLOSE"))
105105 then throw(closed_oracle_eror)
106106 else if ((ifBlacklisted == "Yes"))
107107 then throw((User_Address + " Address is Blacklisted. Please contact Admin to Whitelist it."))
108108 else if ((lastBlock.timestamp >= read_end_order_permit_timestamp))
109109 then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.")
110110 else if ((TotalFundsAddedInSpecificOptionOrder > Funds_at_risk))
111111 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 - PreviousFundsAddedInSpecificOptionOrder))) + ". Join in next Cycle."))
112112 else if (if ((read_user_funds == 0))
113113 then (read_user_voucher_funds == 0)
114114 else false)
115115 then throw("User Balance and Voucher Balance both are Zero. Please Add Funds to Dapp.")
116- else if (if ((0 > update_user_funds))
117- then (0 > update_user_voucher_balance)
116+ else if (if (((minimum_order_size + network_fee) > update_user_funds))
117+ then ((minimum_order_size + network_fee) > update_user_voucher_balance)
118118 else false)
119- then throw((((("Placed Order Amount is going negative. Please reduce the Order Size.User Fund Amount = [-" + toString(update_user_funds)) + "], Voucher Balance [-") + toString(update_user_voucher_balance)) + "]"))
120- else if ((minimum_order_size > Amount))
121- then throw((("Placed Order Size is less than [" + toString(minimum_order_size)) + "/10^8] WAVES."))
122- else if ((Amount > maximum_order_size))
123- then throw((("Placed Order Size is more than [" + toString(maximum_order_size)) + "/10^8] WAVES."))
124- else if ((size(toString(Start_Order_Timestamp)) != 13))
125- then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
126- else if ((size(toString(End_Order_Timestamp)) != 13))
127- then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
128- else if (if ((read_user_voucher_funds == 0))
129- then true
130- else (0 > update_user_voucher_balance))
131- then [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)]
132- else if ((update_user_voucher_balance > Amount))
133- then [StringEntry(("User_ID_" + User_Address), User_ID), IntegerEntry((User_Address + "_Voucher_Balance"), update_user_voucher_balance), 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)]
134- else throw("Wrong Entry.")
119+ then throw((("Voucher Funds and User Balance both are less than minimum order size" + toString((minimum_order_size + network_fee))) + "/10^8 WAVES including network fee."))
120+ else if (if ((0 > update_user_funds))
121+ then (0 > update_user_voucher_balance)
122+ else false)
123+ then throw((((("Placed Order Amount is going negative. Please reduce the Order Size. User Fund Amount = [-" + toString(update_user_funds)) + "], Voucher Balance [-") + toString(update_user_voucher_balance)) + "]"))
124+ else if ((0 > update_user_funds))
125+ then throw((("Placed Order Amount is going negative. Please reduce the Order Size.User Fund Amount = [-" + toString(update_user_funds)) + "]"))
126+ else if ((minimum_order_size > Amount))
127+ then throw((("Placed Order Size is less than [" + toString(minimum_order_size)) + "/10^8] WAVES."))
128+ else if ((Amount > maximum_order_size))
129+ then throw((("Placed Order Size is more than [" + toString(maximum_order_size)) + "/10^8] WAVES."))
130+ else if ((size(toString(Start_Order_Timestamp)) != 13))
131+ then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
132+ else if ((size(toString(End_Order_Timestamp)) != 13))
133+ then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
134+ else if (if ((read_user_voucher_funds == 0))
135+ then true
136+ else (0 > update_user_voucher_balance))
137+ then [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)]
138+ else if ((update_user_voucher_balance > Amount))
139+ then [StringEntry(("User_ID_" + User_Address), User_ID), IntegerEntry((User_Address + "_Voucher_Balance"), update_user_voucher_balance), 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)]
140+ else throw("Wrong Entry.")
135141 }
136142
137143
138144
139145 @Callable(i)
140146 func placeoptionPut (Amount,OptionCounterID,User_ID,User_Address,Price,Call_Limits,Put_Limits,Oracle_Status,Start_Order_Timestamp,End_Order_Timestamp) = {
141147 let calleraddress = toBase58String(i.caller.bytes)
142148 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + User_Address))
143149 let read_TPL = valueOrErrorMessage(getInteger(addressFromStringValue(pool_liquidity_address), "Total_Pool_Liquidity"), "No Initial Pool Liquidity was Found.")
144150 let read_user_funds = valueOrElse(getInteger(((Currency_ID + "_") + User_Address)), 0)
145151 let update_user_funds = ((read_user_funds - Amount) - network_fee)
146152 let read_user_voucher_funds = valueOrElse(getInteger((User_Address + "_Voucher_Balance")), 0)
147153 let update_user_voucher_balance = (read_user_voucher_funds - Amount)
148154 let read_start_order_permit_timestamp = Start_Order_Timestamp
149155 let read_end_order_permit_timestamp = End_Order_Timestamp
150156 let read_OptionCounterID = OptionCounterID
151157 let OpionExpireCounter = 1
152158 let OptionExpireCounterID = (read_OptionCounterID + OpionExpireCounter)
153159 let PreviousOptionOrders = match getInteger(this, "Total_Option_Orders") {
154160 case a: Int =>
155161 a
156162 case _ =>
157163 0
158164 }
159165 let TotalOptionOrders = (PreviousOptionOrders + 1)
160166 let PreviousFundsAddedInSpecificOptionOrder = match getInteger(this, ("Total_Funds_Added_In_Option_Order_" + toString(read_OptionCounterID))) {
161167 case a: Int =>
162168 a
163169 case _ =>
164170 0
165171 }
166172 let TotalFundsAddedInSpecificOptionOrder = (PreviousFundsAddedInSpecificOptionOrder + Amount)
167173 let PreviousOptionOrdersinSpecificCounter = match getInteger(this, ("Total_Option_Orders_" + toString(read_OptionCounterID))) {
168174 case a: Int =>
169175 a
170176 case _ =>
171177 0
172178 }
173179 let TotalOptionOrdersinSpecificCounter = (PreviousOptionOrdersinSpecificCounter + 1)
174180 let PreviousPut = match getInteger(this, "Total_Puts") {
175181 case a: Int =>
176182 a
177183 case _ =>
178184 0
179185 }
180186 let TotalPut = (PreviousPut + 1)
181187 let PreviousPutinSpecificCounter = match getInteger(this, ("Total_Puts_" + toString(read_OptionCounterID))) {
182188 case a: Int =>
183189 a
184190 case _ =>
185191 0
186192 }
187193 let TotalPutinSpecificCounter = (PreviousPutinSpecificCounter + 1)
188194 let PreviousUserPut = match getInteger(this, (User_Address + "_Total_Puts")) {
189195 case a: Int =>
190196 a
191197 case _ =>
192198 0
193199 }
194200 let TotalUserPut = (PreviousUserPut + 1)
195201 let PreviousUserPutinSpecificCounter = match getInteger(this, ((User_Address + "_Total_Puts_") + toString(read_OptionCounterID))) {
196202 case a: Int =>
197203 a
198204 case _ =>
199205 0
200206 }
201207 let TotalUserPutinSpecificCounter = (PreviousUserPutinSpecificCounter + 1)
202208 let Funds_at_risk = fraction(read_TPL, 5, 100)
203209 if (if ((i.caller != whitelist_address))
204210 then (i.caller != d2dcaller)
205211 else false)
206212 then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
207213 else if ((read_shutdown_status == 1))
208214 then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.")
209215 else if ((product_launch_timestamp > lastBlock.timestamp))
210216 then throw((product_launch_error + toString(product_launch_timestamp)))
211217 else if ((Oracle_Status == "CLOSE"))
212218 then throw(closed_oracle_eror)
213219 else if ((ifBlacklisted == "Yes"))
214220 then throw((User_Address + " Address is Blacklisted. Please contact Admin to Whitelist it."))
215221 else if ((lastBlock.timestamp >= read_end_order_permit_timestamp))
216222 then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.")
217223 else if ((TotalFundsAddedInSpecificOptionOrder > Funds_at_risk))
218224 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 - PreviousFundsAddedInSpecificOptionOrder))) + ". Join in next Cycle."))
219225 else if ((minimum_order_size > Amount))
220226 then throw((("Placed Order Size is less than [" + toString(minimum_order_size)) + "/10^8] WAVES."))
221227 else if ((Amount > maximum_order_size))
222228 then throw((("Placed Order Size is more than [" + toString(maximum_order_size)) + "/10^8] WAVES."))
223229 else if ((0 > update_user_funds))
224230 then throw(("Placed Order Amount is going negative. Please reduce the Order Size. Negative Fund Amount = " + toString(update_user_funds)))
225231 else if ((size(toString(Start_Order_Timestamp)) != 13))
226232 then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
227233 else if ((size(toString(End_Order_Timestamp)) != 13))
228234 then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
229235 else [StringEntry(("User_ID_" + User_Address), User_ID), IntegerEntry(((Currency_ID + "_") + User_Address), update_user_funds), IntegerEntry((User_Address + "_Voucher_Balance"), update_user_voucher_balance), 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)]
230236 }
231237
232238
233239
234240 @Callable(i)
235241 func Fill_Vouchers_Liquidity () = {
236242 let calleraddress = toBase58String(i.caller.bytes)
237243 let pmt = if ((size(i.payments) == 1))
238244 then i.payments[0]
239245 else throw("No payment attached, Please Attach only Whitelisted Tokens in payment[1].")
240246 let PreviousVouchersBalance = match getInteger(this, "Available_Vouchers_Balance") {
241247 case a: Int =>
242248 a
243249 case _ =>
244250 0
245251 }
246252 let TotalVouchersBalance = (PreviousVouchersBalance + pmt.amount)
247253 let PreviousVouchersCounterID = match getInteger(this, "Vouchers_Counter_ID") {
248254 case a: Int =>
249255 a
250256 case _ =>
251257 0
252258 }
253259 let TotalVouchersCounterID = (PreviousVouchersCounterID + 1)
254260 if (isDefined(pmt.assetId))
255261 then throw("Only WAVES is allowed to deposit at the moment")
256262 else if ((read_shutdown_status == 1))
257263 then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.")
258264 else [IntegerEntry("Available_Vouchers_Balance", TotalVouchersBalance), IntegerEntry((toString(TotalVouchersCounterID) + "_Voucher_Added_Amount"), pmt.amount), IntegerEntry("Vouchers_Counter_ID", TotalVouchersCounterID)]
259265 }
260266
261267
262268
263269 @Callable(i)
264270 func Issue_Vouchers (Voucher_Amount,User_ID,User_Address) = {
265271 let read_TotalVouchersBalance = valueOrErrorMessage(getInteger(this, "Available_Vouchers_Balance"), "Available_Vouchers_Balance Entry is not Found. Initiate Fill_Vouchers_Liquidity Function first.")
266272 let update_TotalVouchersBalance = (read_TotalVouchersBalance - Voucher_Amount)
267273 let VouchersIssuedToUser = match getInteger(this, ("Total_Vouchers_Issued_To_" + User_Address)) {
268274 case a: Int =>
269275 a
270276 case _ =>
271277 0
272278 }
273279 let TotalVouchersIssuedToUser = (VouchersIssuedToUser + 1)
274280 let VouchersAmountIssuedToUser = match getInteger(this, ("Total_Vouchers_Amount_Issued_To_" + User_Address)) {
275281 case a: Int =>
276282 a
277283 case _ =>
278284 0
279285 }
280286 let TotalVouchersAmountIssuedToUser = (VouchersAmountIssuedToUser + Voucher_Amount)
281287 let PreviousVouchersBalanceofUser = match getInteger(this, (User_Address + "_Voucher_Balance")) {
282288 case a: Int =>
283289 a
284290 case _ =>
285291 0
286292 }
287293 let TotalVouchersBalanceofUser = (PreviousVouchersBalanceofUser + Voucher_Amount)
288294 if ((i.caller != whitelist_address))
289295 then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
290296 else if ((read_shutdown_status == 1))
291297 then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.")
292298 else if ((0 >= Voucher_Amount))
293299 then throw((("Voucher Balance can't be 0 or go in negative State. Increase the Voucher Amount where maximum limit is " + toString(maximum_voucher_size)) + "/10^8 Waves."))
294300 else if ((0 >= update_TotalVouchersBalance))
295301 then throw((("Updated Voucher Balance can't go in negative State of " + toString(update_TotalVouchersBalance)) + " /10^8 WAVES. Reduce the Voucher Amount."))
296302 else if ((Voucher_Amount > maximum_voucher_size))
297303 then throw((("Input Voucher Balance can't exceed the set maximum limit of " + toString(maximum_voucher_size)) + "/10^8 Waves."))
298304 else if ((TotalVouchersBalanceofUser > maximum_voucher_size))
299305 then throw((((User_Address + " Voucher Balance is exceeding the limit of ") + toString(maximum_voucher_size)) + "/10^8 Waves."))
300306 else [IntegerEntry(("Total_Vouchers_Issued_To_" + User_Address), TotalVouchersIssuedToUser), IntegerEntry(("Total_Vouchers_Amount_Issued_To_" + User_Address), TotalVouchersAmountIssuedToUser), IntegerEntry((User_Address + "_Voucher_Balance"), TotalVouchersBalanceofUser), IntegerEntry("Available_Vouchers_Balance", update_TotalVouchersBalance)]
301307 }
302308
303309
304310
305311 @Callable(i)
306312 func DepositUserFunds () = {
307313 let calleraddress = toBase58String(i.caller.bytes)
308314 let pmt = if ((size(i.payments) == 1))
309315 then i.payments[0]
310316 else throw("No payment attached, Please Attach only Whitelisted Tokens in payment[1].")
311317 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + calleraddress))
312318 let PreviousUserDeposit = match getInteger(this, ((Currency_ID + "_") + calleraddress)) {
313319 case a: Int =>
314320 a
315321 case _ =>
316322 0
317323 }
318324 let TotalUserDeposit = (PreviousUserDeposit + pmt.amount)
319325 let PreviousDepositCounterID = match getInteger(this, "Deposit_Counter_ID") {
320326 case a: Int =>
321327 a
322328 case _ =>
323329 0
324330 }
325331 let TotalDepositCounterID = (PreviousDepositCounterID + 1)
326332 if ((product_launch_timestamp > lastBlock.timestamp))
327333 then throw((product_launch_error + toString(product_launch_timestamp)))
328334 else if ((read_shutdown_status == 1))
329335 then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.")
330336 else if ((ifBlacklisted == "Yes"))
331337 then throw((calleraddress + " Address is Blacklisted. Please contact Admin to Whitelist it."))
332338 else if (isDefined(pmt.assetId))
333339 then throw("Only WAVES is allowed to deposit at the moment")
334340 else [IntegerEntry(((Currency_ID + "_") + calleraddress), TotalUserDeposit), IntegerEntry(((((toString(TotalDepositCounterID) + "_") + Currency_ID) + "_") + calleraddress), pmt.amount), IntegerEntry("Deposit_Counter_ID", TotalDepositCounterID)]
335341 }
336342
337343
338344
339345 @Callable(i)
340346 func WithdrawUserFunds (User_Address,Amount) = {
341347 let calleraddress = toBase58String(i.caller.bytes)
342348 let readuserbalance = getIntegerValue(((Currency_ID + "_") + User_Address))
343349 let update_user_funds = ((readuserbalance - Amount) - network_fee)
344350 let minimim_withdraw_amount = 10000000
345351 if ((i.caller != whitelist_address))
346352 then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
347353 else if ((read_shutdown_status == 1))
348354 then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.")
349355 else if ((minimim_withdraw_amount > Amount))
350356 then throw((("Minimum Withdraw Amount is " + toString(minimim_withdraw_amount)) + "/10^8] WAVES."))
351357 else if ((0 > update_user_funds))
352358 then throw((("Placed Withdraw Amount is going in negative State of " + toString(update_user_funds)) + "/10^8] WAVES."))
353359 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)]
354360 }
355361
356362
357363
358364 @Callable(i)
359365 func BlackListAddress (UserAddress) = {
360366 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + UserAddress))
361367 let PreviousBlackListAddress = match getInteger(this, "Total_Black_Listed_Address") {
362368 case a: Int =>
363369 a
364370 case _ =>
365371 0
366372 }
367373 let TotalBlackListAddress = (PreviousBlackListAddress + 1)
368374 if ((product_launch_timestamp > lastBlock.timestamp))
369375 then throw((product_launch_error + toString(product_launch_timestamp)))
370376 else if ((i.caller != whitelist_address))
371377 then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
372378 else if ((read_shutdown_status == 1))
373379 then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.")
374380 else if ((ifBlacklisted == "Yes"))
375381 then throw("Address is already available in Blacklist.")
376382 else [StringEntry(("addr_BLACKLISTED_" + UserAddress), "Yes"), IntegerEntry("Total_Black_Listed_Address", TotalBlackListAddress)]
377383 }
378384
379385
380386
381387 @Callable(i)
382388 func DeleteBlackListAddress (UserAddress) = {
383389 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + UserAddress))
384390 let PreviousBlackListAddress = match getInteger(this, "Total_Black_Listed_Address") {
385391 case a: Int =>
386392 a
387393 case _ =>
388394 0
389395 }
390396 let TotalBlackListAddress = (PreviousBlackListAddress - 1)
391397 if ((product_launch_timestamp > lastBlock.timestamp))
392398 then throw(("Product Launch Timestamp is set at " + toString(product_launch_timestamp)))
393399 else if ((i.caller != whitelist_address))
394400 then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
395401 else if ((read_shutdown_status == 1))
396402 then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.")
397403 else if ((ifBlacklisted == "Yes"))
398404 then [DeleteEntry(("addr_BLACKLISTED_" + UserAddress)), IntegerEntry("Total_Black_Listed_Address", TotalBlackListAddress)]
399405 else throw("Address is not available in Blacklist.")
400406 }
401407
402408
403409
404410 @Callable(i)
405411 func Initiate_Contract_Shutdown () = {
406412 let addShutdownStatus = match getInteger(this, "Shutdown_Status") {
407413 case a: Int =>
408414 a
409415 case _ =>
410416 0
411417 }
412418 if ((i.caller != whitelist_address))
413419 then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
414420 else if ((addShutdownStatus == 0))
415421 then [IntegerEntry("Shutdown_Status", 1)]
416422 else [IntegerEntry("Shutdown_Status", 0)]
417423 }
418424
419425
420426 @Verifier(tx)
421427 func verify () = match tx {
422428 case t: Order|ExchangeTransaction|MassTransferTransaction|TransferTransaction =>
423429 false
424430 case _ =>
425431 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
426432 }
427433

github/deemru/w8io/026f985 
82.23 ms