tx · CRkBrYQohQnNFn7QJZfpgV7bCSyK221ZTfNaU48zAM19

3N4K6JFDDdcd1qrk2HszwHQrMqznvhYBgjn:  -0.02000000 Waves

2023.06.23 18:29 [2635409] smart account 3N4K6JFDDdcd1qrk2HszwHQrMqznvhYBgjn > SELF 0.00000000 Waves

{ "type": 13, "id": "CRkBrYQohQnNFn7QJZfpgV7bCSyK221ZTfNaU48zAM19", "fee": 2000000, "feeAssetId": null, "timestamp": 1687534159271, "version": 2, "chainId": 84, "sender": "3N4K6JFDDdcd1qrk2HszwHQrMqznvhYBgjn", "senderPublicKey": "9vxW4kEGgMt47hfP42SnhhMRhEVqbedX6N57xB8XKYcV", "proofs": [ "4FGVHhJsnCnxD8X5XDiTn3oj4GEb7DvYamTHGHvF7WPHhRVUZswJDkrEJux3MwjKpdX3Vo4E9xZY2atNSzoM4xqr" ], "script": "base64:AAIFAAAAAAAAAD0IAhIOCgwBAQEICAEBAQEIAQESDgoMAQEBCAgBAQEBCAEBEgASBAoCCAESAwoBCBIDCgEIEgcKBQgICAgIAAAACgAAAAAURGFwcF9BZGRyZXNzX3B1Yl9rZXkBAAAAIJ/6IoC/X+WmAH3lOFnN9kmPro1K68e8JnOQXRnHLN0cAAAAABhwcm9kdWN0X2xhdW5jaF90aW1lc3RhbXAAAAABhgpF7AAAAAAAC0N1cnJlbmN5X0lEAgAAAAVXQVZFUwAAAAAUcHJvZHVjdF9sYXVuY2hfZXJyb3ICAAAAI1Byb2R1Y3QgTGF1bmNoIFRpbWVzdGFtcCBpcyBzZXQgYXQgAAAAABBub19wYXltZW50X2Vycm9yAgAAADdObyBwYXltZW50IGF0dGFjaGVkLCBQbGVhc2UgQXR0YWNoIFRva2VuIGluIHBheW1lbnRbMV0uAAAAABJjbG9zZWRfb3JhY2xlX2Vyb3ICAAAAMU9yYWNsZSBpcyBjbG9zZWQuIFdhaXQgVW50aWwgT3JhY2xlIGlzIFR1cm5lZCBPbi4AAAAAEXdoaXRlbGlzdF9hZGRyZXNz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AACRTMJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAACRTQJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAACRTUFAAAAA25pbAAAAAAt2Cs9", "height": 2635409, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9DJeRVWMUqypBf2rArASxNkvVcD5yaBbkPiMoqJH5aFs Next: C5C8irAM4Z4PKJvycntqa5JQSYNcnrf2uAgrGeqeiqJv Diff:
OldNewDifferences
100100 then throw((("Placed Order Size is more than [" + toString(maximum_order_size)) + "/10^8] WAVES."))
101101 else if ((0 > update_user_funds))
102102 then throw("Placed Order Amount is going negative. Please reduce the Order Size.")
103- 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", new_total_pool_liquidity), 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)]
103+ else if (if ((size(toString(Start_Order_Timestamp)) != 13))
104+ then (size(toString(End_Order_Timestamp)) != 13)
105+ else false)
106+ then throw("Wrong Timestamp is Entered. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
107+ 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", new_total_pool_liquidity), 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)]
104108 }
105109
106110
184188 then throw((("Placed Order Size is more than [" + toString(maximum_order_size)) + "/10^8] WAVES."))
185189 else if ((0 > update_user_funds))
186190 then throw("Placed Order Amount is going negative. Please reduce the Order Size.")
187- 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", new_total_pool_liquidity), 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)]
191+ else if (if ((size(toString(Start_Order_Timestamp)) != 13))
192+ then (size(toString(End_Order_Timestamp)) != 13)
193+ else false)
194+ then throw("Wrong Timestamp is Entered. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
195+ 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", new_total_pool_liquidity), 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)]
188196 }
189197
190198
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let Dapp_Address_pub_key = base58'BmV3aPhqkjNgu3zD3rx1oaWTnPqgB8uRBQuvYjpYWtTu'
55
66 let product_launch_timestamp = 1675209600000
77
88 let Currency_ID = "WAVES"
99
1010 let product_launch_error = "Product Launch Timestamp is set at "
1111
1212 let no_payment_error = "No payment attached, Please Attach Token in payment[1]."
1313
1414 let closed_oracle_eror = "Oracle is closed. Wait Until Oracle is Turned On."
1515
1616 let whitelist_address = addressFromPublicKey(Dapp_Address_pub_key)
1717
1818 let network_fee = 900000
1919
2020 let minimum_order_size = 10000000
2121
2222 let maximum_order_size = 10000000000
2323
2424 @Callable(i)
2525 func placeoptionCall (Total_Pool_Liquidity,Amount,OptionCounterID,User_ID,User_Address,House_risk,Price,Call_Limits,Put_Limits,Oracle_Status,Start_Order_Timestamp,End_Order_Timestamp) = {
2626 let calleraddress = toBase58String(i.caller.bytes)
2727 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + User_Address))
2828 let read_user_funds = getIntegerValue(((Currency_ID + "_") + User_Address))
2929 let update_user_funds = ((read_user_funds - Amount) - network_fee)
3030 let read_start_order_permit_timestamp = Start_Order_Timestamp
3131 let read_end_order_permit_timestamp = End_Order_Timestamp
3232 let read_total_pool_liquidity = Total_Pool_Liquidity
3333 let new_total_pool_liquidity = (read_total_pool_liquidity + Amount)
3434 let read_OptionCounterID = OptionCounterID
3535 let OpionExpireCounter = 1
3636 let OptionExpireCounterID = (read_OptionCounterID + OpionExpireCounter)
3737 let PreviousOptionOrders = match getInteger(this, "Total_Option_Orders") {
3838 case a: Int =>
3939 a
4040 case _ =>
4141 0
4242 }
4343 let TotalOptionOrders = (PreviousOptionOrders + 1)
4444 let PreviousFundsAddedInSpecificOptionOrder = match getInteger(this, ("Total_Funds_Added_In_Option_Order_" + toString(read_OptionCounterID))) {
4545 case a: Int =>
4646 a
4747 case _ =>
4848 0
4949 }
5050 let TotalFundsAddedInSpecificOptionOrder = (PreviousFundsAddedInSpecificOptionOrder + Amount)
5151 let PreviousOptionOrdersinSpecificCounter = match getInteger(this, ("Total_Option_Orders_" + toString(read_OptionCounterID))) {
5252 case a: Int =>
5353 a
5454 case _ =>
5555 0
5656 }
5757 let TotalOptionOrdersinSpecificCounter = (PreviousOptionOrdersinSpecificCounter + 1)
5858 let PreviousCall = match getInteger(this, "Total_Calls") {
5959 case a: Int =>
6060 a
6161 case _ =>
6262 0
6363 }
6464 let TotalCall = (PreviousCall + 1)
6565 let PreviousCallinSpecificCounter = match getInteger(this, ("Total_Calls_" + toString(read_OptionCounterID))) {
6666 case a: Int =>
6767 a
6868 case _ =>
6969 0
7070 }
7171 let TotalCallinSpecificCounter = (PreviousCallinSpecificCounter + 1)
7272 let PreviousUserCall = match getInteger(this, (User_Address + "_Total_Calls")) {
7373 case a: Int =>
7474 a
7575 case _ =>
7676 0
7777 }
7878 let TotalUserCall = (PreviousUserCall + 1)
7979 let PreviousUserCallinSpecificCounter = match getInteger(this, ((User_Address + "_Total_Calls_") + toString(read_OptionCounterID))) {
8080 case a: Int =>
8181 a
8282 case _ =>
8383 0
8484 }
8585 let TotalUserCallinSpecificCounter = (PreviousUserCallinSpecificCounter + 1)
8686 let Funds_at_risk = House_risk
8787 if ((i.caller != whitelist_address))
8888 then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
8989 else if ((product_launch_timestamp > lastBlock.timestamp))
9090 then throw((product_launch_error + toString(product_launch_timestamp)))
9191 else if ((Oracle_Status == "CLOSE"))
9292 then throw(closed_oracle_eror)
9393 else if ((ifBlacklisted == "Yes"))
9494 then throw((User_Address + " Address is Blacklisted. Please contact Admin to Whitelist it."))
9595 else if ((lastBlock.timestamp >= read_end_order_permit_timestamp))
9696 then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.")
9797 else if ((minimum_order_size > Amount))
9898 then throw((("Placed Order Size is less than [" + toString(minimum_order_size)) + "/10^8] WAVES."))
9999 else if ((Amount > maximum_order_size))
100100 then throw((("Placed Order Size is more than [" + toString(maximum_order_size)) + "/10^8] WAVES."))
101101 else if ((0 > update_user_funds))
102102 then throw("Placed Order Amount is going negative. Please reduce the Order Size.")
103- 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", new_total_pool_liquidity), 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)]
103+ else if (if ((size(toString(Start_Order_Timestamp)) != 13))
104+ then (size(toString(End_Order_Timestamp)) != 13)
105+ else false)
106+ then throw("Wrong Timestamp is Entered. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
107+ 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", new_total_pool_liquidity), 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)]
104108 }
105109
106110
107111
108112 @Callable(i)
109113 func placeoptionPut (Total_Pool_Liquidity,Amount,OptionCounterID,User_ID,User_Address,House_risk,Price,Call_Limits,Put_Limits,Oracle_Status,Start_Order_Timestamp,End_Order_Timestamp) = {
110114 let calleraddress = toBase58String(i.caller.bytes)
111115 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + User_Address))
112116 let read_user_funds = getIntegerValue(((Currency_ID + "_") + User_Address))
113117 let update_user_funds = ((read_user_funds - Amount) - network_fee)
114118 let read_start_order_permit_timestamp = Start_Order_Timestamp
115119 let read_end_order_permit_timestamp = End_Order_Timestamp
116120 let read_total_pool_liquidity = Total_Pool_Liquidity
117121 let new_total_pool_liquidity = (read_total_pool_liquidity + Amount)
118122 let read_OptionCounterID = OptionCounterID
119123 let OpionExpireCounter = 1
120124 let OptionExpireCounterID = (read_OptionCounterID + OpionExpireCounter)
121125 let PreviousOptionOrders = match getInteger(this, "Total_Option_Orders") {
122126 case a: Int =>
123127 a
124128 case _ =>
125129 0
126130 }
127131 let TotalOptionOrders = (PreviousOptionOrders + 1)
128132 let PreviousFundsAddedInSpecificOptionOrder = match getInteger(this, ("Total_Funds_Added_In_Option_Order_" + toString(read_OptionCounterID))) {
129133 case a: Int =>
130134 a
131135 case _ =>
132136 0
133137 }
134138 let TotalFundsAddedInSpecificOptionOrder = (PreviousFundsAddedInSpecificOptionOrder + Amount)
135139 let PreviousOptionOrdersinSpecificCounter = match getInteger(this, ("Total_Option_Orders_" + toString(read_OptionCounterID))) {
136140 case a: Int =>
137141 a
138142 case _ =>
139143 0
140144 }
141145 let TotalOptionOrdersinSpecificCounter = (PreviousOptionOrdersinSpecificCounter + 1)
142146 let PreviousPut = match getInteger(this, "Total_Puts") {
143147 case a: Int =>
144148 a
145149 case _ =>
146150 0
147151 }
148152 let TotalPut = (PreviousPut + 1)
149153 let PreviousPutinSpecificCounter = match getInteger(this, ("Total_Puts_" + toString(read_OptionCounterID))) {
150154 case a: Int =>
151155 a
152156 case _ =>
153157 0
154158 }
155159 let TotalPutinSpecificCounter = (PreviousPutinSpecificCounter + 1)
156160 let PreviousUserPut = match getInteger(this, (User_Address + "_Total_Puts")) {
157161 case a: Int =>
158162 a
159163 case _ =>
160164 0
161165 }
162166 let TotalUserPut = (PreviousUserPut + 1)
163167 let PreviousUserPutinSpecificCounter = match getInteger(this, ((User_Address + "_Total_Puts_") + toString(read_OptionCounterID))) {
164168 case a: Int =>
165169 a
166170 case _ =>
167171 0
168172 }
169173 let TotalUserPutinSpecificCounter = (PreviousUserPutinSpecificCounter + 1)
170174 let Funds_at_risk = House_risk
171175 if ((i.caller != whitelist_address))
172176 then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
173177 else if ((product_launch_timestamp > lastBlock.timestamp))
174178 then throw((product_launch_error + toString(product_launch_timestamp)))
175179 else if ((Oracle_Status == "CLOSE"))
176180 then throw(closed_oracle_eror)
177181 else if ((ifBlacklisted == "Yes"))
178182 then throw((User_Address + " Address is Blacklisted. Please contact Admin to Whitelist it."))
179183 else if ((lastBlock.timestamp >= read_end_order_permit_timestamp))
180184 then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.")
181185 else if ((minimum_order_size > Amount))
182186 then throw((("Placed Order Size is less than [" + toString(minimum_order_size)) + "/10^8] WAVES."))
183187 else if ((Amount > maximum_order_size))
184188 then throw((("Placed Order Size is more than [" + toString(maximum_order_size)) + "/10^8] WAVES."))
185189 else if ((0 > update_user_funds))
186190 then throw("Placed Order Amount is going negative. Please reduce the Order Size.")
187- 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", new_total_pool_liquidity), 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)]
191+ else if (if ((size(toString(Start_Order_Timestamp)) != 13))
192+ then (size(toString(End_Order_Timestamp)) != 13)
193+ else false)
194+ then throw("Wrong Timestamp is Entered. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
195+ 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", new_total_pool_liquidity), 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)]
188196 }
189197
190198
191199
192200 @Callable(i)
193201 func DepositUserFunds () = {
194202 let calleraddress = toBase58String(i.caller.bytes)
195203 let pmt = if ((size(i.payments) == 1))
196204 then i.payments[0]
197205 else throw("No payment attached, Please Attach only Whitelisted Tokens in payment[1].")
198206 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + calleraddress))
199207 let PreviousUserDeposit = match getInteger(this, ((Currency_ID + "_") + calleraddress)) {
200208 case a: Int =>
201209 a
202210 case _ =>
203211 0
204212 }
205213 let TotalUserDeposit = (PreviousUserDeposit + pmt.amount)
206214 let PreviousDepositCounterID = match getInteger(this, "Deposit_Counter_ID") {
207215 case a: Int =>
208216 a
209217 case _ =>
210218 0
211219 }
212220 let TotalDepositCounterID = (PreviousDepositCounterID + 1)
213221 if ((product_launch_timestamp > lastBlock.timestamp))
214222 then throw((product_launch_error + toString(product_launch_timestamp)))
215223 else if ((ifBlacklisted == "Yes"))
216224 then throw((calleraddress + " Address is Blacklisted. Please contact Admin to Whitelist it."))
217225 else if (isDefined(pmt.assetId))
218226 then throw("Only WAVES is allowed to deposit at the moment")
219227 else [IntegerEntry(((Currency_ID + "_") + calleraddress), TotalUserDeposit), IntegerEntry(((((toString(TotalDepositCounterID) + "_") + Currency_ID) + "_") + calleraddress), pmt.amount), IntegerEntry("Deposit_Counter_ID", TotalDepositCounterID)]
220228 }
221229
222230
223231
224232 @Callable(i)
225233 func WithdrawUserFunds (User_Address,Amount) = {
226234 let calleraddress = toBase58String(i.caller.bytes)
227235 let readuserbalance = getIntegerValue(((Currency_ID + "_") + User_Address))
228236 let update_user_funds = ((readuserbalance - Amount) - network_fee)
229237 let minimim_withdraw_amount = 10000000
230238 if ((i.caller != whitelist_address))
231239 then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
232240 else if ((minimim_withdraw_amount > Amount))
233241 then throw((("Minimum Withdraw Amount is " + toString(minimim_withdraw_amount)) + "/10^8] WAVES."))
234242 else if ((0 > update_user_funds))
235243 then throw((("Placed Withdraw Amount is going in negative State of " + toString(update_user_funds)) + "/10^8] WAVES."))
236244 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)]
237245 }
238246
239247
240248
241249 @Callable(i)
242250 func BlackListAddress (UserAddress) = {
243251 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + UserAddress))
244252 let PreviousBlackListAddress = match getInteger(this, "Total_Black_Listed_Address") {
245253 case a: Int =>
246254 a
247255 case _ =>
248256 0
249257 }
250258 let TotalBlackListAddress = (PreviousBlackListAddress + 1)
251259 if ((product_launch_timestamp > lastBlock.timestamp))
252260 then throw((product_launch_error + toString(product_launch_timestamp)))
253261 else if ((i.caller != whitelist_address))
254262 then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
255263 else if ((ifBlacklisted == "Yes"))
256264 then throw("Address is already available in Blacklist.")
257265 else [StringEntry(("addr_BLACKLISTED_" + UserAddress), "Yes"), IntegerEntry("Total_Black_Listed_Address", TotalBlackListAddress)]
258266 }
259267
260268
261269
262270 @Callable(i)
263271 func DeleteBlackListAddress (UserAddress) = {
264272 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + UserAddress))
265273 let PreviousBlackListAddress = match getInteger(this, "Total_Black_Listed_Address") {
266274 case a: Int =>
267275 a
268276 case _ =>
269277 0
270278 }
271279 let TotalBlackListAddress = (PreviousBlackListAddress - 1)
272280 if ((product_launch_timestamp > lastBlock.timestamp))
273281 then throw(("Product Launch Timestamp is set at " + toString(product_launch_timestamp)))
274282 else if ((i.caller != whitelist_address))
275283 then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
276284 else if ((ifBlacklisted == "Yes"))
277285 then [DeleteEntry(("addr_BLACKLISTED_" + UserAddress)), IntegerEntry("Total_Black_Listed_Address", TotalBlackListAddress)]
278286 else throw("Address is not available in Blacklist.")
279287 }
280288
281289
282290
283291 @Callable(i)
284292 func DelEntry (E1,E2,E3,E4,E5) = [DeleteEntry(E1), DeleteEntry(E2), DeleteEntry(E3), DeleteEntry(E4), DeleteEntry(E5)]
285293
286294

github/deemru/w8io/026f985 
50.15 ms