tx · FF2osRoaV1e6t46ku9ahRZ4K6zHx1XhGSkAt7ZFiQCqb

3N1s2w4NHgbrXxNZXH9RtaVT9ptHRJcgSp2:  -0.02300000 Waves

2023.11.28 11:42 [2863020] smart account 3N1s2w4NHgbrXxNZXH9RtaVT9ptHRJcgSp2 > SELF 0.00000000 Waves

{ "type": 13, "id": "FF2osRoaV1e6t46ku9ahRZ4K6zHx1XhGSkAt7ZFiQCqb", "fee": 2300000, "feeAssetId": null, "timestamp": 1701161020186, "version": 2, "chainId": 84, "sender": "3N1s2w4NHgbrXxNZXH9RtaVT9ptHRJcgSp2", "senderPublicKey": "DNKNL32sAVUYg4iGA3tW8Z6VXrENmGCmKfG6DLar82aP", "proofs": [ "5t761JBwAPfurXyUSKZCUqQsF3jzB9oDD6fzULAvFaCoR4RhA76goyr6ViHnBrFJH6hYTDwJNjGGoM1md3XYfvTM" ], "script": "base64:AAIFAAAAAAAAADAIAhIMCgoBAQgIAQEBCAEBEgwKCgEBCAgBAQEIAQESABIECgIIARIDCgEIEgMKAQgAAAAMAAAAABZwb29sX2xpcXVpZGl0eV9hZGRyZXNzAgAAACMzTjR3QmdZdFdnSlcyTFRSZWYyZWtXUVRyRVhDUmZYbUdMaAAAAAAURGFwcF9BZGRyZXNzX3B1Yl9rZXkBAAAAIMjtmNqG7lU1WGDHPJboKlti9SIwxR/k7IFRCWjnzhpzAAAAABhwcm9kdWN0X2xhdW5jaF90aW1lc3RhbXAAAAABir9gFiAAAAAAC0N1cnJlbmN5X0lEAgAAAAVXQVZFUwAAAAAUcHJvZHVjdF9sYXVuY2hfZXJyb3ICAAAAI1Byb2R1Y3QgTGF1bmNoIFRpbWVzdGFtcCBpcyBzZXQgYXQgAAAAABBub19wYXltZW50X2Vycm9yAgAAADdObyBwYXltZW50IGF0dGFjaGVkLCBQbGVhc2UgQXR0YWNoIFRva2VuIGluIHBheW1lbnRbMV0uAAAAABJjbG9zZWRfb3JhY2xlX2Vyb3ICAAAAMU9yYWNsZSBpcyB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3QuAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAVPcmRlcgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24GAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdNYXNzVHJhbnNmZXJUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAcJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V504VEnw==", "height": 2863020, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BVcwPjLiPjqnrH8ivv9xj1LVNGAFaMNx2pm7KjPi3JdX Next: CVFn2qiBCovqsa9PdxTD4jmCd6Y7uDNUCufWrwSfxaDD Diff:
OldNewDifferences
8787 }
8888 let TotalUserCallinSpecificCounter = (PreviousUserCallinSpecificCounter + 1)
8989 let Funds_at_risk = fraction(read_TPL, 5, 100)
90- if (if ((i.caller != whitelist_address))
91- then true
92- else (i.caller != d2dcaller))
93- then throw((((("This Address is not Authorized. Only " + toString(whitelist_address)) + " or ") + toString(d2dcaller)) + " is Authorized Address to Sign it."))
94- else if ((product_launch_timestamp > lastBlock.timestamp))
95- then throw((product_launch_error + toString(product_launch_timestamp)))
96- else if ((Oracle_Status == "CLOSE"))
97- then throw(closed_oracle_eror)
98- else if ((ifBlacklisted == "Yes"))
99- then throw((User_Address + " Address is Blacklisted. Please contact Admin to Whitelist it."))
100- else if ((lastBlock.timestamp >= read_end_order_permit_timestamp))
101- then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.")
102- else if ((TotalFundsAddedInSpecificOptionOrder > Funds_at_risk))
103- 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."))
104- else if ((minimum_order_size > Amount))
105- then throw((("Placed Order Size is less than [" + toString(minimum_order_size)) + "/10^8] WAVES."))
106- else if ((Amount > maximum_order_size))
107- then throw((("Placed Order Size is more than [" + toString(maximum_order_size)) + "/10^8] WAVES."))
108- else if ((0 > update_user_funds))
109- then throw(("Placed Order Amount is going negative. Please reduce the Order Size. Negative Fund Amount = " + toString(update_user_funds)))
110- else if ((size(toString(Start_Order_Timestamp)) != 13))
111- then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
112- else if ((size(toString(End_Order_Timestamp)) != 13))
113- then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
114- 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)]
90+ if ((i.caller != d2dcaller))
91+ then throw((("This Address is not Authorized. Only " + toString(d2dcaller)) + " is Authorized Address to Sign it."))
92+ else if ((i.caller != whitelist_address))
93+ then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
94+ else if ((product_launch_timestamp > lastBlock.timestamp))
95+ then throw((product_launch_error + toString(product_launch_timestamp)))
96+ else if ((Oracle_Status == "CLOSE"))
97+ then throw(closed_oracle_eror)
98+ else if ((ifBlacklisted == "Yes"))
99+ then throw((User_Address + " Address is Blacklisted. Please contact Admin to Whitelist it."))
100+ else if ((lastBlock.timestamp >= read_end_order_permit_timestamp))
101+ then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.")
102+ else if ((TotalFundsAddedInSpecificOptionOrder > Funds_at_risk))
103+ 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."))
104+ else if ((minimum_order_size > Amount))
105+ then throw((("Placed Order Size is less than [" + toString(minimum_order_size)) + "/10^8] WAVES."))
106+ else if ((Amount > maximum_order_size))
107+ then throw((("Placed Order Size is more than [" + toString(maximum_order_size)) + "/10^8] WAVES."))
108+ else if ((0 > update_user_funds))
109+ then throw(("Placed Order Amount is going negative. Please reduce the Order Size. Negative Fund Amount = " + toString(update_user_funds)))
110+ else if ((size(toString(Start_Order_Timestamp)) != 13))
111+ then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
112+ else if ((size(toString(End_Order_Timestamp)) != 13))
113+ then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
114+ 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)]
115115 }
116116
117117
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 @Callable(i)
2929 func placeoptionCall (Amount,OptionCounterID,User_ID,User_Address,Price,Call_Limits,Put_Limits,Oracle_Status,Start_Order_Timestamp,End_Order_Timestamp) = {
3030 let calleraddress = toBase58String(i.caller.bytes)
3131 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + User_Address))
3232 let read_TPL = valueOrErrorMessage(getInteger(addressFromStringValue(pool_liquidity_address), "Total_Pool_Liquidity"), "No Initial Pool Liquidity was Found.")
3333 let read_user_funds = getIntegerValue(((Currency_ID + "_") + User_Address))
3434 let update_user_funds = ((read_user_funds - Amount) - network_fee)
3535 let read_start_order_permit_timestamp = Start_Order_Timestamp
3636 let read_end_order_permit_timestamp = End_Order_Timestamp
3737 let read_OptionCounterID = OptionCounterID
3838 let OpionExpireCounter = 1
3939 let OptionExpireCounterID = (read_OptionCounterID + OpionExpireCounter)
4040 let PreviousOptionOrders = match getInteger(this, "Total_Option_Orders") {
4141 case a: Int =>
4242 a
4343 case _ =>
4444 0
4545 }
4646 let TotalOptionOrders = (PreviousOptionOrders + 1)
4747 let PreviousFundsAddedInSpecificOptionOrder = match getInteger(this, ("Total_Funds_Added_In_Option_Order_" + toString(read_OptionCounterID))) {
4848 case a: Int =>
4949 a
5050 case _ =>
5151 0
5252 }
5353 let TotalFundsAddedInSpecificOptionOrder = (PreviousFundsAddedInSpecificOptionOrder + Amount)
5454 let PreviousOptionOrdersinSpecificCounter = match getInteger(this, ("Total_Option_Orders_" + toString(read_OptionCounterID))) {
5555 case a: Int =>
5656 a
5757 case _ =>
5858 0
5959 }
6060 let TotalOptionOrdersinSpecificCounter = (PreviousOptionOrdersinSpecificCounter + 1)
6161 let PreviousCall = match getInteger(this, "Total_Calls") {
6262 case a: Int =>
6363 a
6464 case _ =>
6565 0
6666 }
6767 let TotalCall = (PreviousCall + 1)
6868 let PreviousCallinSpecificCounter = match getInteger(this, ("Total_Calls_" + toString(read_OptionCounterID))) {
6969 case a: Int =>
7070 a
7171 case _ =>
7272 0
7373 }
7474 let TotalCallinSpecificCounter = (PreviousCallinSpecificCounter + 1)
7575 let PreviousUserCall = match getInteger(this, (User_Address + "_Total_Calls")) {
7676 case a: Int =>
7777 a
7878 case _ =>
7979 0
8080 }
8181 let TotalUserCall = (PreviousUserCall + 1)
8282 let PreviousUserCallinSpecificCounter = match getInteger(this, ((User_Address + "_Total_Calls_") + toString(read_OptionCounterID))) {
8383 case a: Int =>
8484 a
8585 case _ =>
8686 0
8787 }
8888 let TotalUserCallinSpecificCounter = (PreviousUserCallinSpecificCounter + 1)
8989 let Funds_at_risk = fraction(read_TPL, 5, 100)
90- if (if ((i.caller != whitelist_address))
91- then true
92- else (i.caller != d2dcaller))
93- then throw((((("This Address is not Authorized. Only " + toString(whitelist_address)) + " or ") + toString(d2dcaller)) + " is Authorized Address to Sign it."))
94- else if ((product_launch_timestamp > lastBlock.timestamp))
95- then throw((product_launch_error + toString(product_launch_timestamp)))
96- else if ((Oracle_Status == "CLOSE"))
97- then throw(closed_oracle_eror)
98- else if ((ifBlacklisted == "Yes"))
99- then throw((User_Address + " Address is Blacklisted. Please contact Admin to Whitelist it."))
100- else if ((lastBlock.timestamp >= read_end_order_permit_timestamp))
101- then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.")
102- else if ((TotalFundsAddedInSpecificOptionOrder > Funds_at_risk))
103- 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."))
104- else if ((minimum_order_size > Amount))
105- then throw((("Placed Order Size is less than [" + toString(minimum_order_size)) + "/10^8] WAVES."))
106- else if ((Amount > maximum_order_size))
107- then throw((("Placed Order Size is more than [" + toString(maximum_order_size)) + "/10^8] WAVES."))
108- else if ((0 > update_user_funds))
109- then throw(("Placed Order Amount is going negative. Please reduce the Order Size. Negative Fund Amount = " + toString(update_user_funds)))
110- else if ((size(toString(Start_Order_Timestamp)) != 13))
111- then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
112- else if ((size(toString(End_Order_Timestamp)) != 13))
113- then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
114- 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)]
90+ if ((i.caller != d2dcaller))
91+ then throw((("This Address is not Authorized. Only " + toString(d2dcaller)) + " is Authorized Address to Sign it."))
92+ else if ((i.caller != whitelist_address))
93+ then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
94+ else if ((product_launch_timestamp > lastBlock.timestamp))
95+ then throw((product_launch_error + toString(product_launch_timestamp)))
96+ else if ((Oracle_Status == "CLOSE"))
97+ then throw(closed_oracle_eror)
98+ else if ((ifBlacklisted == "Yes"))
99+ then throw((User_Address + " Address is Blacklisted. Please contact Admin to Whitelist it."))
100+ else if ((lastBlock.timestamp >= read_end_order_permit_timestamp))
101+ then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.")
102+ else if ((TotalFundsAddedInSpecificOptionOrder > Funds_at_risk))
103+ 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."))
104+ else if ((minimum_order_size > Amount))
105+ then throw((("Placed Order Size is less than [" + toString(minimum_order_size)) + "/10^8] WAVES."))
106+ else if ((Amount > maximum_order_size))
107+ then throw((("Placed Order Size is more than [" + toString(maximum_order_size)) + "/10^8] WAVES."))
108+ else if ((0 > update_user_funds))
109+ then throw(("Placed Order Amount is going negative. Please reduce the Order Size. Negative Fund Amount = " + toString(update_user_funds)))
110+ else if ((size(toString(Start_Order_Timestamp)) != 13))
111+ then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
112+ else if ((size(toString(End_Order_Timestamp)) != 13))
113+ then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
114+ 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)]
115115 }
116116
117117
118118
119119 @Callable(i)
120120 func placeoptionPut (Amount,OptionCounterID,User_ID,User_Address,Price,Call_Limits,Put_Limits,Oracle_Status,Start_Order_Timestamp,End_Order_Timestamp) = {
121121 let calleraddress = toBase58String(i.caller.bytes)
122122 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + User_Address))
123123 let read_TPL = valueOrErrorMessage(getInteger(addressFromStringValue(pool_liquidity_address), "Total_Pool_Liquidity"), "No Initial Pool Liquidity was Found.")
124124 let read_user_funds = getIntegerValue(((Currency_ID + "_") + User_Address))
125125 let update_user_funds = ((read_user_funds - Amount) - network_fee)
126126 let read_start_order_permit_timestamp = Start_Order_Timestamp
127127 let read_end_order_permit_timestamp = End_Order_Timestamp
128128 let read_OptionCounterID = OptionCounterID
129129 let OpionExpireCounter = 1
130130 let OptionExpireCounterID = (read_OptionCounterID + OpionExpireCounter)
131131 let PreviousOptionOrders = match getInteger(this, "Total_Option_Orders") {
132132 case a: Int =>
133133 a
134134 case _ =>
135135 0
136136 }
137137 let TotalOptionOrders = (PreviousOptionOrders + 1)
138138 let PreviousFundsAddedInSpecificOptionOrder = match getInteger(this, ("Total_Funds_Added_In_Option_Order_" + toString(read_OptionCounterID))) {
139139 case a: Int =>
140140 a
141141 case _ =>
142142 0
143143 }
144144 let TotalFundsAddedInSpecificOptionOrder = (PreviousFundsAddedInSpecificOptionOrder + Amount)
145145 let PreviousOptionOrdersinSpecificCounter = match getInteger(this, ("Total_Option_Orders_" + toString(read_OptionCounterID))) {
146146 case a: Int =>
147147 a
148148 case _ =>
149149 0
150150 }
151151 let TotalOptionOrdersinSpecificCounter = (PreviousOptionOrdersinSpecificCounter + 1)
152152 let PreviousPut = match getInteger(this, "Total_Puts") {
153153 case a: Int =>
154154 a
155155 case _ =>
156156 0
157157 }
158158 let TotalPut = (PreviousPut + 1)
159159 let PreviousPutinSpecificCounter = match getInteger(this, ("Total_Puts_" + toString(read_OptionCounterID))) {
160160 case a: Int =>
161161 a
162162 case _ =>
163163 0
164164 }
165165 let TotalPutinSpecificCounter = (PreviousPutinSpecificCounter + 1)
166166 let PreviousUserPut = match getInteger(this, (User_Address + "_Total_Puts")) {
167167 case a: Int =>
168168 a
169169 case _ =>
170170 0
171171 }
172172 let TotalUserPut = (PreviousUserPut + 1)
173173 let PreviousUserPutinSpecificCounter = match getInteger(this, ((User_Address + "_Total_Puts_") + toString(read_OptionCounterID))) {
174174 case a: Int =>
175175 a
176176 case _ =>
177177 0
178178 }
179179 let TotalUserPutinSpecificCounter = (PreviousUserPutinSpecificCounter + 1)
180180 let Funds_at_risk = fraction(read_TPL, 5, 100)
181181 if ((i.caller != whitelist_address))
182182 then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
183183 else if ((product_launch_timestamp > lastBlock.timestamp))
184184 then throw((product_launch_error + toString(product_launch_timestamp)))
185185 else if ((Oracle_Status == "CLOSE"))
186186 then throw(closed_oracle_eror)
187187 else if ((ifBlacklisted == "Yes"))
188188 then throw((User_Address + " Address is Blacklisted. Please contact Admin to Whitelist it."))
189189 else if ((lastBlock.timestamp >= read_end_order_permit_timestamp))
190190 then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.")
191191 else if ((TotalFundsAddedInSpecificOptionOrder > Funds_at_risk))
192192 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."))
193193 else if ((minimum_order_size > Amount))
194194 then throw((("Placed Order Size is less than [" + toString(minimum_order_size)) + "/10^8] WAVES."))
195195 else if ((Amount > maximum_order_size))
196196 then throw((("Placed Order Size is more than [" + toString(maximum_order_size)) + "/10^8] WAVES."))
197197 else if ((0 > update_user_funds))
198198 then throw(("Placed Order Amount is going negative. Please reduce the Order Size. Negative Fund Amount = " + toString(update_user_funds)))
199199 else if ((size(toString(Start_Order_Timestamp)) != 13))
200200 then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
201201 else if ((size(toString(End_Order_Timestamp)) != 13))
202202 then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
203203 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)]
204204 }
205205
206206
207207
208208 @Callable(i)
209209 func DepositUserFunds () = {
210210 let calleraddress = toBase58String(i.caller.bytes)
211211 let pmt = if ((size(i.payments) == 1))
212212 then i.payments[0]
213213 else throw("No payment attached, Please Attach only Whitelisted Tokens in payment[1].")
214214 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + calleraddress))
215215 let PreviousUserDeposit = match getInteger(this, ((Currency_ID + "_") + calleraddress)) {
216216 case a: Int =>
217217 a
218218 case _ =>
219219 0
220220 }
221221 let TotalUserDeposit = (PreviousUserDeposit + pmt.amount)
222222 let PreviousDepositCounterID = match getInteger(this, "Deposit_Counter_ID") {
223223 case a: Int =>
224224 a
225225 case _ =>
226226 0
227227 }
228228 let TotalDepositCounterID = (PreviousDepositCounterID + 1)
229229 if ((product_launch_timestamp > lastBlock.timestamp))
230230 then throw((product_launch_error + toString(product_launch_timestamp)))
231231 else if ((ifBlacklisted == "Yes"))
232232 then throw((calleraddress + " Address is Blacklisted. Please contact Admin to Whitelist it."))
233233 else if (isDefined(pmt.assetId))
234234 then throw("Only WAVES is allowed to deposit at the moment")
235235 else [IntegerEntry(((Currency_ID + "_") + calleraddress), TotalUserDeposit), IntegerEntry(((((toString(TotalDepositCounterID) + "_") + Currency_ID) + "_") + calleraddress), pmt.amount), IntegerEntry("Deposit_Counter_ID", TotalDepositCounterID)]
236236 }
237237
238238
239239
240240 @Callable(i)
241241 func WithdrawUserFunds (User_Address,Amount) = {
242242 let calleraddress = toBase58String(i.caller.bytes)
243243 let readuserbalance = getIntegerValue(((Currency_ID + "_") + User_Address))
244244 let update_user_funds = ((readuserbalance - Amount) - network_fee)
245245 let minimim_withdraw_amount = 10000000
246246 if ((i.caller != whitelist_address))
247247 then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
248248 else if ((minimim_withdraw_amount > Amount))
249249 then throw((("Minimum Withdraw Amount is " + toString(minimim_withdraw_amount)) + "/10^8] WAVES."))
250250 else if ((0 > update_user_funds))
251251 then throw((("Placed Withdraw Amount is going in negative State of " + toString(update_user_funds)) + "/10^8] WAVES."))
252252 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)]
253253 }
254254
255255
256256
257257 @Callable(i)
258258 func BlackListAddress (UserAddress) = {
259259 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + UserAddress))
260260 let PreviousBlackListAddress = match getInteger(this, "Total_Black_Listed_Address") {
261261 case a: Int =>
262262 a
263263 case _ =>
264264 0
265265 }
266266 let TotalBlackListAddress = (PreviousBlackListAddress + 1)
267267 if ((product_launch_timestamp > lastBlock.timestamp))
268268 then throw((product_launch_error + toString(product_launch_timestamp)))
269269 else if ((i.caller != whitelist_address))
270270 then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
271271 else if ((ifBlacklisted == "Yes"))
272272 then throw("Address is already available in Blacklist.")
273273 else [StringEntry(("addr_BLACKLISTED_" + UserAddress), "Yes"), IntegerEntry("Total_Black_Listed_Address", TotalBlackListAddress)]
274274 }
275275
276276
277277
278278 @Callable(i)
279279 func DeleteBlackListAddress (UserAddress) = {
280280 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + UserAddress))
281281 let PreviousBlackListAddress = match getInteger(this, "Total_Black_Listed_Address") {
282282 case a: Int =>
283283 a
284284 case _ =>
285285 0
286286 }
287287 let TotalBlackListAddress = (PreviousBlackListAddress - 1)
288288 if ((product_launch_timestamp > lastBlock.timestamp))
289289 then throw(("Product Launch Timestamp is set at " + toString(product_launch_timestamp)))
290290 else if ((i.caller != whitelist_address))
291291 then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
292292 else if ((ifBlacklisted == "Yes"))
293293 then [DeleteEntry(("addr_BLACKLISTED_" + UserAddress)), IntegerEntry("Total_Black_Listed_Address", TotalBlackListAddress)]
294294 else throw("Address is not available in Blacklist.")
295295 }
296296
297297
298298 @Verifier(tx)
299299 func verify () = match tx {
300300 case t: Order|ExchangeTransaction|MassTransferTransaction|TransferTransaction =>
301301 false
302302 case _ =>
303303 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
304304 }
305305

github/deemru/w8io/026f985 
107.68 ms