tx · 8kSAF3cUePkvDSLad2BePfx2ZYnoPxvTSJSPjfBLgthU

3Mtit8bwuKhT8FTUFx26q1p6o4ZTecyuLRW:  -0.02500000 Waves

2023.08.28 14:35 [2730470] smart account 3Mtit8bwuKhT8FTUFx26q1p6o4ZTecyuLRW > SELF 0.00000000 Waves

{ "type": 13, "id": "8kSAF3cUePkvDSLad2BePfx2ZYnoPxvTSJSPjfBLgthU", "fee": 2500000, "feeAssetId": null, "timestamp": 1693222596781, "version": 2, "chainId": 84, "sender": "3Mtit8bwuKhT8FTUFx26q1p6o4ZTecyuLRW", "senderPublicKey": "6Ao9CXtWYPtv2jCfbfCbjCK6Pwtqzu1i3hP1NzznxZbM", "proofs": [ "4dTdBeeqrH1UZ8ZYporj8EM5kW7sTusmqknEuTqNVQCf5tFu7REfPLpdcXFjnD7hsqcVL1WND5mFfBL6ghZLMoD1" ], "script": "base64:AAIFAAAAAAAAADAIAhIMCgoBAQgIAQEBCAEBEgwKCgEBCAgBAQEIAQESABIECgIIARIDCgEIEgMKAQgAAAALAAAAABZwb29sX2xpcXVpZGl0eV9hZGRyZXNzAgAAACMzTXg4cmFGc1FmamgySkJlVDhNTjFKdjVzVHZHa3g1UEREUwAAAAAURGFwcF9BZGRyZXNzX3B1Yl9rZXkBAAAAIOOt17LUijbWojwDE5tgFkw1Y8cwIr3jselcewpp7rwjAAAAABhwcm9kdWN0X2xhdW5jaF90aW1lc3RhbXAAAAABhgpF7AAAAAAAC0N1cnJlbmN5X0lEAgAAAAVXQVZFUwAAAAAUcHJvZHVjdF9sYXVuY2hfZXJyb3ICAAAAI1Byb2R1Y3QgTGF1bmNoIFRpbWVzdGFtcCBpcyBzZXQgYXQgAAAAABBub19wYXltZW50X2Vycm9yAgAAADdObyBwYXltZW50IGF0dGFjaGVkLCBQbGVhc2UgQXR0YWNoIFRva2VuIGluIHBheW1lbnRbMV0uAAAAABJjbG9zZWRfb3JhY2xlX2Vyb3ICAAAAMU9yYWNsZSBpcyBjbG9zZWQ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AFVRvdGFsQmxhY2tMaXN0QWRkcmVzcwUAAAADbmlsCQAAAgAAAAECAAAAJkFkZHJlc3MgaXMgbm90IGF2YWlsYWJsZSBpbiBCbGFja2xpc3QuAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAVPcmRlcgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24GAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdNYXNzVHJhbnNmZXJUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAcJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5F6nDZQ==", "height": 2730470, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Heu1qj5yMK3c9hHAnKG6xPrUAysAJkRmLpQni2VteRNY Next: 3F2J2msFskQJ9D8gFYubpoN9yEvQf2f86anrA3V4r4s9 Diff:
OldNewDifferences
33 {-# CONTENT_TYPE DAPP #-}
44 let pool_liquidity_address = "3Mx8raFsQfjh2JBeT8MN1Jv5sTvGkx5PDDS"
55
6-let Dapp_Address_pub_key = base58'8qHJzcPU9KZsuxd3YJcomU8sNZi5mky8nsL45RmQmhap'
6+let Dapp_Address_pub_key = base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr'
77
88 let product_launch_timestamp = 1675209600000
99
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.")
98- else if ((minimum_order_size > Amount))
99- then throw((("Placed Order Size is less than [" + toString(minimum_order_size)) + "/10^8] WAVES."))
100- else if ((Amount > maximum_order_size))
101- then throw((("Placed Order Size is more than [" + toString(maximum_order_size)) + "/10^8] WAVES."))
102- else if ((0 > update_user_funds))
103- then throw(("Placed Order Amount is going negative. Please reduce the Order Size. Negative Fund Amount = " + toString(update_user_funds)))
104- else if ((size(toString(Start_Order_Timestamp)) != 13))
105- then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
106- else if ((size(toString(End_Order_Timestamp)) != 13))
107- then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
108- 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)]
98+ 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."))
100+ else if ((minimum_order_size > Amount))
101+ then throw((("Placed Order Size is less than [" + toString(minimum_order_size)) + "/10^8] WAVES."))
102+ else if ((Amount > maximum_order_size))
103+ then throw((("Placed Order Size is more than [" + toString(maximum_order_size)) + "/10^8] WAVES."))
104+ else if ((0 > update_user_funds))
105+ then throw(("Placed Order Amount is going negative. Please reduce the Order Size. Negative Fund Amount = " + toString(update_user_funds)))
106+ else if ((size(toString(Start_Order_Timestamp)) != 13))
107+ then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
108+ else if ((size(toString(End_Order_Timestamp)) != 13))
109+ then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
110+ 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)]
109111 }
110112
111113
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let pool_liquidity_address = "3Mx8raFsQfjh2JBeT8MN1Jv5sTvGkx5PDDS"
55
6-let Dapp_Address_pub_key = base58'8qHJzcPU9KZsuxd3YJcomU8sNZi5mky8nsL45RmQmhap'
6+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.")
98- else if ((minimum_order_size > Amount))
99- then throw((("Placed Order Size is less than [" + toString(minimum_order_size)) + "/10^8] WAVES."))
100- else if ((Amount > maximum_order_size))
101- then throw((("Placed Order Size is more than [" + toString(maximum_order_size)) + "/10^8] WAVES."))
102- else if ((0 > update_user_funds))
103- then throw(("Placed Order Amount is going negative. Please reduce the Order Size. Negative Fund Amount = " + toString(update_user_funds)))
104- else if ((size(toString(Start_Order_Timestamp)) != 13))
105- then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
106- else if ((size(toString(End_Order_Timestamp)) != 13))
107- then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
108- 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)]
98+ 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."))
100+ else if ((minimum_order_size > Amount))
101+ then throw((("Placed Order Size is less than [" + toString(minimum_order_size)) + "/10^8] WAVES."))
102+ else if ((Amount > maximum_order_size))
103+ then throw((("Placed Order Size is more than [" + toString(maximum_order_size)) + "/10^8] WAVES."))
104+ else if ((0 > update_user_funds))
105+ then throw(("Placed Order Amount is going negative. Please reduce the Order Size. Negative Fund Amount = " + toString(update_user_funds)))
106+ else if ((size(toString(Start_Order_Timestamp)) != 13))
107+ then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
108+ else if ((size(toString(End_Order_Timestamp)) != 13))
109+ then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
110+ 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)]
109111 }
110112
111113
112114
113115 @Callable(i)
114116 func placeoptionPut (Amount,OptionCounterID,User_ID,User_Address,Price,Call_Limits,Put_Limits,Oracle_Status,Start_Order_Timestamp,End_Order_Timestamp) = {
115117 let calleraddress = toBase58String(i.caller.bytes)
116118 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + User_Address))
117119 let read_TPL = valueOrErrorMessage(getInteger(addressFromStringValue(pool_liquidity_address), "Total_Pool_Liquidity"), "No Initial Pool Liquidity was Found.")
118120 let read_user_funds = getIntegerValue(((Currency_ID + "_") + User_Address))
119121 let update_user_funds = ((read_user_funds - Amount) - network_fee)
120122 let read_start_order_permit_timestamp = Start_Order_Timestamp
121123 let read_end_order_permit_timestamp = End_Order_Timestamp
122124 let read_OptionCounterID = OptionCounterID
123125 let OpionExpireCounter = 1
124126 let OptionExpireCounterID = (read_OptionCounterID + OpionExpireCounter)
125127 let PreviousOptionOrders = match getInteger(this, "Total_Option_Orders") {
126128 case a: Int =>
127129 a
128130 case _ =>
129131 0
130132 }
131133 let TotalOptionOrders = (PreviousOptionOrders + 1)
132134 let PreviousFundsAddedInSpecificOptionOrder = match getInteger(this, ("Total_Funds_Added_In_Option_Order_" + toString(read_OptionCounterID))) {
133135 case a: Int =>
134136 a
135137 case _ =>
136138 0
137139 }
138140 let TotalFundsAddedInSpecificOptionOrder = (PreviousFundsAddedInSpecificOptionOrder + Amount)
139141 let PreviousOptionOrdersinSpecificCounter = match getInteger(this, ("Total_Option_Orders_" + toString(read_OptionCounterID))) {
140142 case a: Int =>
141143 a
142144 case _ =>
143145 0
144146 }
145147 let TotalOptionOrdersinSpecificCounter = (PreviousOptionOrdersinSpecificCounter + 1)
146148 let PreviousPut = match getInteger(this, "Total_Puts") {
147149 case a: Int =>
148150 a
149151 case _ =>
150152 0
151153 }
152154 let TotalPut = (PreviousPut + 1)
153155 let PreviousPutinSpecificCounter = match getInteger(this, ("Total_Puts_" + toString(read_OptionCounterID))) {
154156 case a: Int =>
155157 a
156158 case _ =>
157159 0
158160 }
159161 let TotalPutinSpecificCounter = (PreviousPutinSpecificCounter + 1)
160162 let PreviousUserPut = match getInteger(this, (User_Address + "_Total_Puts")) {
161163 case a: Int =>
162164 a
163165 case _ =>
164166 0
165167 }
166168 let TotalUserPut = (PreviousUserPut + 1)
167169 let PreviousUserPutinSpecificCounter = match getInteger(this, ((User_Address + "_Total_Puts_") + toString(read_OptionCounterID))) {
168170 case a: Int =>
169171 a
170172 case _ =>
171173 0
172174 }
173175 let TotalUserPutinSpecificCounter = (PreviousUserPutinSpecificCounter + 1)
174176 let Funds_at_risk = fraction(read_TPL, 5, 100)
175177 if ((i.caller != whitelist_address))
176178 then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
177179 else if ((product_launch_timestamp > lastBlock.timestamp))
178180 then throw((product_launch_error + toString(product_launch_timestamp)))
179181 else if ((Oracle_Status == "CLOSE"))
180182 then throw(closed_oracle_eror)
181183 else if ((ifBlacklisted == "Yes"))
182184 then throw((User_Address + " Address is Blacklisted. Please contact Admin to Whitelist it."))
183185 else if ((lastBlock.timestamp >= read_end_order_permit_timestamp))
184186 then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.")
185187 else if ((minimum_order_size > Amount))
186188 then throw((("Placed Order Size is less than [" + toString(minimum_order_size)) + "/10^8] WAVES."))
187189 else if ((Amount > maximum_order_size))
188190 then throw((("Placed Order Size is more than [" + toString(maximum_order_size)) + "/10^8] WAVES."))
189191 else if ((0 > update_user_funds))
190192 then throw(("Placed Order Amount is going negative. Please reduce the Order Size. Negative Fund Amount = " + toString(update_user_funds)))
191193 else if ((size(toString(Start_Order_Timestamp)) != 13))
192194 then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
193195 else if ((size(toString(End_Order_Timestamp)) != 13))
194196 then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
195197 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)]
196198 }
197199
198200
199201
200202 @Callable(i)
201203 func DepositUserFunds () = {
202204 let calleraddress = toBase58String(i.caller.bytes)
203205 let pmt = if ((size(i.payments) == 1))
204206 then i.payments[0]
205207 else throw("No payment attached, Please Attach only Whitelisted Tokens in payment[1].")
206208 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + calleraddress))
207209 let PreviousUserDeposit = match getInteger(this, ((Currency_ID + "_") + calleraddress)) {
208210 case a: Int =>
209211 a
210212 case _ =>
211213 0
212214 }
213215 let TotalUserDeposit = (PreviousUserDeposit + pmt.amount)
214216 let PreviousDepositCounterID = match getInteger(this, "Deposit_Counter_ID") {
215217 case a: Int =>
216218 a
217219 case _ =>
218220 0
219221 }
220222 let TotalDepositCounterID = (PreviousDepositCounterID + 1)
221223 if ((product_launch_timestamp > lastBlock.timestamp))
222224 then throw((product_launch_error + toString(product_launch_timestamp)))
223225 else if ((ifBlacklisted == "Yes"))
224226 then throw((calleraddress + " Address is Blacklisted. Please contact Admin to Whitelist it."))
225227 else if (isDefined(pmt.assetId))
226228 then throw("Only WAVES is allowed to deposit at the moment")
227229 else [IntegerEntry(((Currency_ID + "_") + calleraddress), TotalUserDeposit), IntegerEntry(((((toString(TotalDepositCounterID) + "_") + Currency_ID) + "_") + calleraddress), pmt.amount), IntegerEntry("Deposit_Counter_ID", TotalDepositCounterID)]
228230 }
229231
230232
231233
232234 @Callable(i)
233235 func WithdrawUserFunds (User_Address,Amount) = {
234236 let calleraddress = toBase58String(i.caller.bytes)
235237 let readuserbalance = getIntegerValue(((Currency_ID + "_") + User_Address))
236238 let update_user_funds = ((readuserbalance - Amount) - network_fee)
237239 let minimim_withdraw_amount = 10000000
238240 if ((i.caller != whitelist_address))
239241 then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
240242 else if ((minimim_withdraw_amount > Amount))
241243 then throw((("Minimum Withdraw Amount is " + toString(minimim_withdraw_amount)) + "/10^8] WAVES."))
242244 else if ((0 > update_user_funds))
243245 then throw((("Placed Withdraw Amount is going in negative State of " + toString(update_user_funds)) + "/10^8] WAVES."))
244246 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)]
245247 }
246248
247249
248250
249251 @Callable(i)
250252 func BlackListAddress (UserAddress) = {
251253 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + UserAddress))
252254 let PreviousBlackListAddress = match getInteger(this, "Total_Black_Listed_Address") {
253255 case a: Int =>
254256 a
255257 case _ =>
256258 0
257259 }
258260 let TotalBlackListAddress = (PreviousBlackListAddress + 1)
259261 if ((product_launch_timestamp > lastBlock.timestamp))
260262 then throw((product_launch_error + toString(product_launch_timestamp)))
261263 else if ((i.caller != whitelist_address))
262264 then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
263265 else if ((ifBlacklisted == "Yes"))
264266 then throw("Address is already available in Blacklist.")
265267 else [StringEntry(("addr_BLACKLISTED_" + UserAddress), "Yes"), IntegerEntry("Total_Black_Listed_Address", TotalBlackListAddress)]
266268 }
267269
268270
269271
270272 @Callable(i)
271273 func DeleteBlackListAddress (UserAddress) = {
272274 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + UserAddress))
273275 let PreviousBlackListAddress = match getInteger(this, "Total_Black_Listed_Address") {
274276 case a: Int =>
275277 a
276278 case _ =>
277279 0
278280 }
279281 let TotalBlackListAddress = (PreviousBlackListAddress - 1)
280282 if ((product_launch_timestamp > lastBlock.timestamp))
281283 then throw(("Product Launch Timestamp is set at " + toString(product_launch_timestamp)))
282284 else if ((i.caller != whitelist_address))
283285 then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
284286 else if ((ifBlacklisted == "Yes"))
285287 then [DeleteEntry(("addr_BLACKLISTED_" + UserAddress)), IntegerEntry("Total_Black_Listed_Address", TotalBlackListAddress)]
286288 else throw("Address is not available in Blacklist.")
287289 }
288290
289291
290292 @Verifier(tx)
291293 func verify () = match tx {
292294 case t: Order|ExchangeTransaction|MassTransferTransaction|TransferTransaction =>
293295 false
294296 case _ =>
295297 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
296298 }
297299

github/deemru/w8io/026f985 
55.78 ms