tx · 2wwUMhKvNiBwQ6sJQg1mnGXaL18Gi3rVu694zoNLHpNH

3N4K6JFDDdcd1qrk2HszwHQrMqznvhYBgjn:  -0.02000000 Waves

2023.06.15 16:46 [2623836] smart account 3N4K6JFDDdcd1qrk2HszwHQrMqznvhYBgjn > SELF 0.00000000 Waves

{ "type": 13, "id": "2wwUMhKvNiBwQ6sJQg1mnGXaL18Gi3rVu694zoNLHpNH", "fee": 2000000, "feeAssetId": null, "timestamp": 1686836821369, "version": 2, "chainId": 84, "sender": "3N4K6JFDDdcd1qrk2HszwHQrMqznvhYBgjn", "senderPublicKey": "9vxW4kEGgMt47hfP42SnhhMRhEVqbedX6N57xB8XKYcV", "proofs": [ "5L3YBAPqLEYXSe3wd9gxd1WCWXedRnhzqN4fVsRG186AAyoimWqKYDxsfJ92yrrWfv6Dgs5ehgaiyXixuaw6q3zE" ], "script": "base64:AAIFAAAAAAAAADcIAhIOCgwBAQEICAEBAQEIAQESDgoMAQEBCAgBAQEBCAEBEgASAwoBCBIDCgEIEgcKBQgICAgIAAAACgAAAAAURGFwcF9BZGRyZXNzX3B1Yl9rZXkBAAAAIJ/6IoC/X+WmAH3lOFnN9kmPro1K68e8JnOQXRnHLN0cAAAAABhwcm9kdWN0X2xhdW5jaF90aW1lc3RhbXAAAAABhgpF7AAAAAAAC0N1cnJlbmN5X0lEAgAAAAVXQVZFUwAAAAAUcHJvZHVjdF9sYXVuY2hfZXJyb3ICAAAAI1Byb2R1Y3QgTGF1bmNoIFRpbWVzdGFtcCBpcyBzZXQgYXQgAAAAABBub19wYXltZW50X2Vycm9yAgAAADdObyBwYXltZW50IGF0dGFjaGVkLCBQbGVhc2UgQXR0YWNoIFRva2VuIGluIHBheW1lbnRbMV0uAAAAABJjbG9zZWRfb3JhY2xlX2Vyb3ICAAAAMU9yYWNsZSBpcyBjbG9zZWQuIFdhaXQgVW50aWwgT3JhY2xlIGlzIFR1cm5lZCBPbi4AAAAAEXdoaXRlbGlzdF9hZGRyZXNzCQ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mNoX3RpbWVzdGFtcAMJAQAAAAIhPQAAAAIIBQAAAAFpAAAABmNhbGxlcgUAAAARd2hpdGVsaXN0X2FkZHJlc3MJAAACAAAAAQkAASwAAAACCQABLAAAAAICAAAAJVRoaXMgQWRkcmVzcyBpcyBub3QgQXV0aG9yaXplZC4gT25seSAJAAQlAAAAAQUAAAARd2hpdGVsaXN0X2FkZHJlc3MCAAAAIiBpcyBBdXRob3JpemVkIEFkZHJlc3MgdG8gU2lnbiBpdC4DCQAAAAAAAAIFAAAADWlmQmxhY2tsaXN0ZWQCAAAAA1llcwkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQABLAAAAAICAAAAEWFkZHJfQkxBQ0tMSVNURURfBQAAAAtVc2VyQWRkcmVzcwkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAaVG90YWxfQmxhY2tfTGlzdGVkX0FkZHJlc3MFAAAAFVRvdGFsQmxhY2tMaXN0QWRkcmVzcwUAAAADbmlsCQAAAgAAAAECAAAAJkFkZHJlc3MgaXMgbm90IGF2YWlsYWJsZSBpbiBCbGFja2xpc3QuAAAAAWkBAAAACERlbEVudHJ5AAAABQAAAAJFMQAAAAJFMgAAAAJFMwAAAAJFNAAAAAJFNQkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAAJFMQkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAAJFMgkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAAJFMwkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAAJFNAkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAAJFNQUAAAADbmlsAAAAAKkv6ns=", "height": 2623836, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 39f5rihteMjHYNWBAtJaPZZ5q1J83Uc7eBncuVF7YDiL Next: Eo6iCvFpxSSRCWkhTPEWkxTeGXAJ8rTGBGpSst2su4vW Diff:
OldNewDifferences
2222 let maximum_order_size = 10000000000
2323
2424 @Callable(i)
25-func placeoptionCall (Total_Pool_Liquidity,OptionCounterID,User_ID,User_Address,House_risk,Price,Call_Limits,Put_Limits,Oracle_Status,Start_Order_Timestamp,End_Order_Timestamp) = {
25+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)
27- let pmt = if ((size(i.payments) == 1))
28- then i.payments[0]
29- else throw(no_payment_error)
3027 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + calleraddress))
3128 let read_user_funds = getIntegerValue(((Currency_ID + "_") + User_Address))
32- let update_user_funds = ((read_user_funds - pmt.amount) - order_fee)
29+ let update_user_funds = ((read_user_funds - Amount) - order_fee)
3330 let read_start_order_permit_timestamp = Start_Order_Timestamp
3431 let read_end_order_permit_timestamp = End_Order_Timestamp
3532 let read_total_pool_liquidity = Total_Pool_Liquidity
36- let new_total_pool_liquidity = (read_total_pool_liquidity + pmt.amount)
33+ let new_total_pool_liquidity = (read_total_pool_liquidity + Amount)
3734 let read_OptionCounterID = OptionCounterID
3835 let OpionExpireCounter = 1
3936 let OptionExpireCounterID = (read_OptionCounterID + OpionExpireCounter)
5047 case _ =>
5148 0
5249 }
53- let TotalFundsAddedInSpecificOptionOrder = (PreviousFundsAddedInSpecificOptionOrder + pmt.amount)
50+ let TotalFundsAddedInSpecificOptionOrder = (PreviousFundsAddedInSpecificOptionOrder + Amount)
5451 let PreviousOptionOrdersinSpecificCounter = match getInteger(this, ("Total_Option_Orders_" + toString(read_OptionCounterID))) {
5552 case a: Int =>
5653 a
9592 then throw(closed_oracle_eror)
9693 else if ((ifBlacklisted == "Yes"))
9794 then throw((calleraddress + " Address is Blacklisted. Please contact Admin to Whitelist it."))
98- else if (isDefined(pmt.assetId))
99- then throw("Only WAVES is allowed to deposit at the moment")
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 ((minimum_order_size > pmt.amount))
103- then throw((("Placed Order Size is less than [" + toString(minimum_order_size)) + "/10^8] WAVES."))
104- else if ((pmt.amount > maximum_order_size))
105- then throw((("Placed Order Size is more than [" + toString(maximum_order_size)) + "/10^8] WAVES."))
106- else if ((0 > update_user_funds))
107- then throw("Placed Order Amount is going negative. Please reduce the Order Size.")
108- else [StringEntry(("User_ID_" + calleraddress), User_ID), IntegerEntry(((Currency_ID + "_") + User_Address), update_user_funds), IntegerEntry("Network_Fee_To_Place_Order", order_fee), StringEntry(((("Call_" + calleraddress) + "_") + toString(TotalUserCall)), toString(Price)), IntegerEntry(((("Call_Amount_" + calleraddress) + "_") + toString(TotalUserCall)), pmt.amount), StringEntry(((("Call_Start_End_" + calleraddress) + "_") + 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((calleraddress + "_Total_Calls"), TotalUserCall), IntegerEntry(((calleraddress + "_Total_Calls_") + toString(read_OptionCounterID)), TotalUserCallinSpecificCounter)]
95+ else if ((lastBlock.timestamp >= read_end_order_permit_timestamp))
96+ then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.")
97+ else if ((minimum_order_size > Amount))
98+ then throw((("Placed Order Size is less than [" + toString(minimum_order_size)) + "/10^8] WAVES."))
99+ else if ((Amount > maximum_order_size))
100+ then throw((("Placed Order Size is more than [" + toString(maximum_order_size)) + "/10^8] WAVES."))
101+ else if ((0 > update_user_funds))
102+ then throw("Placed Order Amount is going negative. Please reduce the Order Size.")
103+ else [StringEntry(("User_ID_" + calleraddress), User_ID), IntegerEntry(((Currency_ID + "_") + User_Address), update_user_funds), IntegerEntry("Network_Fee_To_Place_Order", order_fee), StringEntry(((("Call_" + calleraddress) + "_") + toString(TotalUserCall)), toString(Price)), IntegerEntry(((("Call_Amount_" + calleraddress) + "_") + toString(TotalUserCall)), Amount), StringEntry(((("Call_Start_End_" + calleraddress) + "_") + 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((calleraddress + "_Total_Calls"), TotalUserCall), IntegerEntry(((calleraddress + "_Total_Calls_") + toString(read_OptionCounterID)), TotalUserCallinSpecificCounter)]
109104 }
110105
111106
112107
113108 @Callable(i)
114-func placeoptionPut (Total_Pool_Liquidity,OptionCounterID,User_ID,User_Address,House_risk,Price,Call_Limits,Put_Limits,Oracle_Status,Start_Order_Timestamp,End_Order_Timestamp) = {
109+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) = {
115110 let calleraddress = toBase58String(i.caller.bytes)
116- let pmt = if ((size(i.payments) == 1))
117- then i.payments[0]
118- else throw(no_payment_error)
119111 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + calleraddress))
120112 let read_user_funds = getIntegerValue(((Currency_ID + "_") + User_Address))
121- let update_user_funds = ((read_user_funds - pmt.amount) - order_fee)
113+ let update_user_funds = ((read_user_funds - Amount) - order_fee)
122114 let read_start_order_permit_timestamp = Start_Order_Timestamp
123115 let read_end_order_permit_timestamp = End_Order_Timestamp
124116 let read_total_pool_liquidity = Total_Pool_Liquidity
125- let new_total_pool_liquidity = (read_total_pool_liquidity + pmt.amount)
117+ let new_total_pool_liquidity = (read_total_pool_liquidity + Amount)
126118 let read_OptionCounterID = OptionCounterID
127119 let OpionExpireCounter = 1
128120 let OptionExpireCounterID = (read_OptionCounterID + OpionExpireCounter)
139131 case _ =>
140132 0
141133 }
142- let TotalFundsAddedInSpecificOptionOrder = (PreviousFundsAddedInSpecificOptionOrder + pmt.amount)
134+ let TotalFundsAddedInSpecificOptionOrder = (PreviousFundsAddedInSpecificOptionOrder + Amount)
143135 let PreviousOptionOrdersinSpecificCounter = match getInteger(this, ("Total_Option_Orders_" + toString(read_OptionCounterID))) {
144136 case a: Int =>
145137 a
184176 then throw(closed_oracle_eror)
185177 else if ((ifBlacklisted == "Yes"))
186178 then throw((calleraddress + " Address is Blacklisted. Please contact Admin to Whitelist it."))
187- else if (isDefined(pmt.assetId))
188- then throw("Only WAVES is allowed to deposit at the moment")
189- else if ((lastBlock.timestamp >= read_end_order_permit_timestamp))
190- then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.")
191- else if ((minimum_order_size > pmt.amount))
192- then throw((("Placed Order Size is less than [" + toString(minimum_order_size)) + "/10^8] WAVES."))
193- else if ((pmt.amount > maximum_order_size))
194- then throw((("Placed Order Size is more than [" + toString(maximum_order_size)) + "/10^8] WAVES."))
195- else if ((0 > update_user_funds))
196- then throw("Placed Order Amount is going negative. Please reduce the Order Size.")
197- else [StringEntry(("User_ID_" + calleraddress), User_ID), IntegerEntry(((Currency_ID + "_") + User_Address), update_user_funds), IntegerEntry("Network_Fee_To_Place_Order", order_fee), StringEntry(((("Put_" + calleraddress) + "_") + toString(TotalUserPut)), toString(Price)), IntegerEntry(((("Put_Amount_" + calleraddress) + "_") + toString(TotalUserPut)), pmt.amount), StringEntry(((("Put_Start_End_" + calleraddress) + "_") + 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((calleraddress + "_Total_Puts"), TotalUserPut), IntegerEntry(((calleraddress + "_Total_Puts_") + toString(read_OptionCounterID)), TotalUserPutinSpecificCounter)]
179+ else if ((lastBlock.timestamp >= read_end_order_permit_timestamp))
180+ then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.")
181+ else if ((minimum_order_size > Amount))
182+ then throw((("Placed Order Size is less than [" + toString(minimum_order_size)) + "/10^8] WAVES."))
183+ else if ((Amount > maximum_order_size))
184+ then throw((("Placed Order Size is more than [" + toString(maximum_order_size)) + "/10^8] WAVES."))
185+ else if ((0 > update_user_funds))
186+ then throw("Placed Order Amount is going negative. Please reduce the Order Size.")
187+ else [StringEntry(("User_ID_" + calleraddress), User_ID), IntegerEntry(((Currency_ID + "_") + User_Address), update_user_funds), IntegerEntry("Network_Fee_To_Place_Order", order_fee), StringEntry(((("Put_" + calleraddress) + "_") + toString(TotalUserPut)), toString(Price)), IntegerEntry(((("Put_Amount_" + calleraddress) + "_") + toString(TotalUserPut)), Amount), StringEntry(((("Put_Start_End_" + calleraddress) + "_") + 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((calleraddress + "_Total_Puts"), TotalUserPut), IntegerEntry(((calleraddress + "_Total_Puts_") + toString(read_OptionCounterID)), TotalUserPutinSpecificCounter)]
198188 }
199189
200190
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 order_fee = 900000
1919
2020 let minimum_order_size = 10000000
2121
2222 let maximum_order_size = 10000000000
2323
2424 @Callable(i)
25-func placeoptionCall (Total_Pool_Liquidity,OptionCounterID,User_ID,User_Address,House_risk,Price,Call_Limits,Put_Limits,Oracle_Status,Start_Order_Timestamp,End_Order_Timestamp) = {
25+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)
27- let pmt = if ((size(i.payments) == 1))
28- then i.payments[0]
29- else throw(no_payment_error)
3027 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + calleraddress))
3128 let read_user_funds = getIntegerValue(((Currency_ID + "_") + User_Address))
32- let update_user_funds = ((read_user_funds - pmt.amount) - order_fee)
29+ let update_user_funds = ((read_user_funds - Amount) - order_fee)
3330 let read_start_order_permit_timestamp = Start_Order_Timestamp
3431 let read_end_order_permit_timestamp = End_Order_Timestamp
3532 let read_total_pool_liquidity = Total_Pool_Liquidity
36- let new_total_pool_liquidity = (read_total_pool_liquidity + pmt.amount)
33+ let new_total_pool_liquidity = (read_total_pool_liquidity + Amount)
3734 let read_OptionCounterID = OptionCounterID
3835 let OpionExpireCounter = 1
3936 let OptionExpireCounterID = (read_OptionCounterID + OpionExpireCounter)
4037 let PreviousOptionOrders = match getInteger(this, "Total_Option_Orders") {
4138 case a: Int =>
4239 a
4340 case _ =>
4441 0
4542 }
4643 let TotalOptionOrders = (PreviousOptionOrders + 1)
4744 let PreviousFundsAddedInSpecificOptionOrder = match getInteger(this, ("Total_Funds_Added_In_Option_Order_" + toString(read_OptionCounterID))) {
4845 case a: Int =>
4946 a
5047 case _ =>
5148 0
5249 }
53- let TotalFundsAddedInSpecificOptionOrder = (PreviousFundsAddedInSpecificOptionOrder + pmt.amount)
50+ let TotalFundsAddedInSpecificOptionOrder = (PreviousFundsAddedInSpecificOptionOrder + Amount)
5451 let PreviousOptionOrdersinSpecificCounter = match getInteger(this, ("Total_Option_Orders_" + toString(read_OptionCounterID))) {
5552 case a: Int =>
5653 a
5754 case _ =>
5855 0
5956 }
6057 let TotalOptionOrdersinSpecificCounter = (PreviousOptionOrdersinSpecificCounter + 1)
6158 let PreviousCall = match getInteger(this, "Total_Calls") {
6259 case a: Int =>
6360 a
6461 case _ =>
6562 0
6663 }
6764 let TotalCall = (PreviousCall + 1)
6865 let PreviousCallinSpecificCounter = match getInteger(this, ("Total_Calls_" + toString(read_OptionCounterID))) {
6966 case a: Int =>
7067 a
7168 case _ =>
7269 0
7370 }
7471 let TotalCallinSpecificCounter = (PreviousCallinSpecificCounter + 1)
7572 let PreviousUserCall = match getInteger(this, (calleraddress + "_Total_Calls")) {
7673 case a: Int =>
7774 a
7875 case _ =>
7976 0
8077 }
8178 let TotalUserCall = (PreviousUserCall + 1)
8279 let PreviousUserCallinSpecificCounter = match getInteger(this, ((calleraddress + "_Total_Calls_") + toString(read_OptionCounterID))) {
8380 case a: Int =>
8481 a
8582 case _ =>
8683 0
8784 }
8885 let TotalUserCallinSpecificCounter = (PreviousUserCallinSpecificCounter + 1)
8986 let Funds_at_risk = House_risk
9087 if ((i.caller != whitelist_address))
9188 then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
9289 else if ((product_launch_timestamp > lastBlock.timestamp))
9390 then throw((product_launch_error + toString(product_launch_timestamp)))
9491 else if ((Oracle_Status == "CLOSE"))
9592 then throw(closed_oracle_eror)
9693 else if ((ifBlacklisted == "Yes"))
9794 then throw((calleraddress + " Address is Blacklisted. Please contact Admin to Whitelist it."))
98- else if (isDefined(pmt.assetId))
99- then throw("Only WAVES is allowed to deposit at the moment")
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 ((minimum_order_size > pmt.amount))
103- then throw((("Placed Order Size is less than [" + toString(minimum_order_size)) + "/10^8] WAVES."))
104- else if ((pmt.amount > maximum_order_size))
105- then throw((("Placed Order Size is more than [" + toString(maximum_order_size)) + "/10^8] WAVES."))
106- else if ((0 > update_user_funds))
107- then throw("Placed Order Amount is going negative. Please reduce the Order Size.")
108- else [StringEntry(("User_ID_" + calleraddress), User_ID), IntegerEntry(((Currency_ID + "_") + User_Address), update_user_funds), IntegerEntry("Network_Fee_To_Place_Order", order_fee), StringEntry(((("Call_" + calleraddress) + "_") + toString(TotalUserCall)), toString(Price)), IntegerEntry(((("Call_Amount_" + calleraddress) + "_") + toString(TotalUserCall)), pmt.amount), StringEntry(((("Call_Start_End_" + calleraddress) + "_") + 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((calleraddress + "_Total_Calls"), TotalUserCall), IntegerEntry(((calleraddress + "_Total_Calls_") + toString(read_OptionCounterID)), TotalUserCallinSpecificCounter)]
95+ else if ((lastBlock.timestamp >= read_end_order_permit_timestamp))
96+ then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.")
97+ else if ((minimum_order_size > Amount))
98+ then throw((("Placed Order Size is less than [" + toString(minimum_order_size)) + "/10^8] WAVES."))
99+ else if ((Amount > maximum_order_size))
100+ then throw((("Placed Order Size is more than [" + toString(maximum_order_size)) + "/10^8] WAVES."))
101+ else if ((0 > update_user_funds))
102+ then throw("Placed Order Amount is going negative. Please reduce the Order Size.")
103+ else [StringEntry(("User_ID_" + calleraddress), User_ID), IntegerEntry(((Currency_ID + "_") + User_Address), update_user_funds), IntegerEntry("Network_Fee_To_Place_Order", order_fee), StringEntry(((("Call_" + calleraddress) + "_") + toString(TotalUserCall)), toString(Price)), IntegerEntry(((("Call_Amount_" + calleraddress) + "_") + toString(TotalUserCall)), Amount), StringEntry(((("Call_Start_End_" + calleraddress) + "_") + 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((calleraddress + "_Total_Calls"), TotalUserCall), IntegerEntry(((calleraddress + "_Total_Calls_") + toString(read_OptionCounterID)), TotalUserCallinSpecificCounter)]
109104 }
110105
111106
112107
113108 @Callable(i)
114-func placeoptionPut (Total_Pool_Liquidity,OptionCounterID,User_ID,User_Address,House_risk,Price,Call_Limits,Put_Limits,Oracle_Status,Start_Order_Timestamp,End_Order_Timestamp) = {
109+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) = {
115110 let calleraddress = toBase58String(i.caller.bytes)
116- let pmt = if ((size(i.payments) == 1))
117- then i.payments[0]
118- else throw(no_payment_error)
119111 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + calleraddress))
120112 let read_user_funds = getIntegerValue(((Currency_ID + "_") + User_Address))
121- let update_user_funds = ((read_user_funds - pmt.amount) - order_fee)
113+ let update_user_funds = ((read_user_funds - Amount) - order_fee)
122114 let read_start_order_permit_timestamp = Start_Order_Timestamp
123115 let read_end_order_permit_timestamp = End_Order_Timestamp
124116 let read_total_pool_liquidity = Total_Pool_Liquidity
125- let new_total_pool_liquidity = (read_total_pool_liquidity + pmt.amount)
117+ let new_total_pool_liquidity = (read_total_pool_liquidity + Amount)
126118 let read_OptionCounterID = OptionCounterID
127119 let OpionExpireCounter = 1
128120 let OptionExpireCounterID = (read_OptionCounterID + OpionExpireCounter)
129121 let PreviousOptionOrders = match getInteger(this, "Total_Option_Orders") {
130122 case a: Int =>
131123 a
132124 case _ =>
133125 0
134126 }
135127 let TotalOptionOrders = (PreviousOptionOrders + 1)
136128 let PreviousFundsAddedInSpecificOptionOrder = match getInteger(this, ("Total_Funds_Added_In_Option_Order_" + toString(read_OptionCounterID))) {
137129 case a: Int =>
138130 a
139131 case _ =>
140132 0
141133 }
142- let TotalFundsAddedInSpecificOptionOrder = (PreviousFundsAddedInSpecificOptionOrder + pmt.amount)
134+ let TotalFundsAddedInSpecificOptionOrder = (PreviousFundsAddedInSpecificOptionOrder + Amount)
143135 let PreviousOptionOrdersinSpecificCounter = match getInteger(this, ("Total_Option_Orders_" + toString(read_OptionCounterID))) {
144136 case a: Int =>
145137 a
146138 case _ =>
147139 0
148140 }
149141 let TotalOptionOrdersinSpecificCounter = (PreviousOptionOrdersinSpecificCounter + 1)
150142 let PreviousPut = match getInteger(this, "Total_Puts") {
151143 case a: Int =>
152144 a
153145 case _ =>
154146 0
155147 }
156148 let TotalPut = (PreviousPut + 1)
157149 let PreviousPutinSpecificCounter = match getInteger(this, ("Total_Puts_" + toString(read_OptionCounterID))) {
158150 case a: Int =>
159151 a
160152 case _ =>
161153 0
162154 }
163155 let TotalPutinSpecificCounter = (PreviousPutinSpecificCounter + 1)
164156 let PreviousUserPut = match getInteger(this, (calleraddress + "_Total_Puts")) {
165157 case a: Int =>
166158 a
167159 case _ =>
168160 0
169161 }
170162 let TotalUserPut = (PreviousUserPut + 1)
171163 let PreviousUserPutinSpecificCounter = match getInteger(this, ((calleraddress + "_Total_Puts_") + toString(read_OptionCounterID))) {
172164 case a: Int =>
173165 a
174166 case _ =>
175167 0
176168 }
177169 let TotalUserPutinSpecificCounter = (PreviousUserPutinSpecificCounter + 1)
178170 let Funds_at_risk = House_risk
179171 if ((i.caller != whitelist_address))
180172 then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
181173 else if ((product_launch_timestamp > lastBlock.timestamp))
182174 then throw((product_launch_error + toString(product_launch_timestamp)))
183175 else if ((Oracle_Status == "CLOSE"))
184176 then throw(closed_oracle_eror)
185177 else if ((ifBlacklisted == "Yes"))
186178 then throw((calleraddress + " Address is Blacklisted. Please contact Admin to Whitelist it."))
187- else if (isDefined(pmt.assetId))
188- then throw("Only WAVES is allowed to deposit at the moment")
189- else if ((lastBlock.timestamp >= read_end_order_permit_timestamp))
190- then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.")
191- else if ((minimum_order_size > pmt.amount))
192- then throw((("Placed Order Size is less than [" + toString(minimum_order_size)) + "/10^8] WAVES."))
193- else if ((pmt.amount > maximum_order_size))
194- then throw((("Placed Order Size is more than [" + toString(maximum_order_size)) + "/10^8] WAVES."))
195- else if ((0 > update_user_funds))
196- then throw("Placed Order Amount is going negative. Please reduce the Order Size.")
197- else [StringEntry(("User_ID_" + calleraddress), User_ID), IntegerEntry(((Currency_ID + "_") + User_Address), update_user_funds), IntegerEntry("Network_Fee_To_Place_Order", order_fee), StringEntry(((("Put_" + calleraddress) + "_") + toString(TotalUserPut)), toString(Price)), IntegerEntry(((("Put_Amount_" + calleraddress) + "_") + toString(TotalUserPut)), pmt.amount), StringEntry(((("Put_Start_End_" + calleraddress) + "_") + 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((calleraddress + "_Total_Puts"), TotalUserPut), IntegerEntry(((calleraddress + "_Total_Puts_") + toString(read_OptionCounterID)), TotalUserPutinSpecificCounter)]
179+ else if ((lastBlock.timestamp >= read_end_order_permit_timestamp))
180+ then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.")
181+ else if ((minimum_order_size > Amount))
182+ then throw((("Placed Order Size is less than [" + toString(minimum_order_size)) + "/10^8] WAVES."))
183+ else if ((Amount > maximum_order_size))
184+ then throw((("Placed Order Size is more than [" + toString(maximum_order_size)) + "/10^8] WAVES."))
185+ else if ((0 > update_user_funds))
186+ then throw("Placed Order Amount is going negative. Please reduce the Order Size.")
187+ else [StringEntry(("User_ID_" + calleraddress), User_ID), IntegerEntry(((Currency_ID + "_") + User_Address), update_user_funds), IntegerEntry("Network_Fee_To_Place_Order", order_fee), StringEntry(((("Put_" + calleraddress) + "_") + toString(TotalUserPut)), toString(Price)), IntegerEntry(((("Put_Amount_" + calleraddress) + "_") + toString(TotalUserPut)), Amount), StringEntry(((("Put_Start_End_" + calleraddress) + "_") + 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((calleraddress + "_Total_Puts"), TotalUserPut), IntegerEntry(((calleraddress + "_Total_Puts_") + toString(read_OptionCounterID)), TotalUserPutinSpecificCounter)]
198188 }
199189
200190
201191
202192 @Callable(i)
203193 func DepositUserFunds () = {
204194 let calleraddress = toBase58String(i.caller.bytes)
205195 let pmt = if ((size(i.payments) == 1))
206196 then i.payments[0]
207197 else throw("No payment attached, Please Attach only Whitelisted Tokens in payment[1].")
208198 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + calleraddress))
209199 let PreviousUserDeposit = match getInteger(this, ((Currency_ID + "_") + calleraddress)) {
210200 case a: Int =>
211201 a
212202 case _ =>
213203 0
214204 }
215205 let TotalUserDeposit = (PreviousUserDeposit + pmt.amount)
216206 let PreviousDepositCounterID = match getInteger(this, "Deposit_Counter_ID") {
217207 case a: Int =>
218208 a
219209 case _ =>
220210 0
221211 }
222212 let TotalDepositCounterID = (PreviousDepositCounterID + 1)
223213 if ((product_launch_timestamp > lastBlock.timestamp))
224214 then throw((product_launch_error + toString(product_launch_timestamp)))
225215 else if ((ifBlacklisted == "Yes"))
226216 then throw((calleraddress + " Address is Blacklisted. Please contact Admin to Whitelist it."))
227217 else if (isDefined(pmt.assetId))
228218 then throw("Only WAVES is allowed to deposit at the moment")
229219 else [IntegerEntry(((Currency_ID + "_") + calleraddress), TotalUserDeposit), IntegerEntry(((((toString(TotalDepositCounterID) + "_") + Currency_ID) + "_") + calleraddress), pmt.amount), IntegerEntry("Deposit_Counter_ID", TotalDepositCounterID)]
230220 }
231221
232222
233223
234224 @Callable(i)
235225 func BlackListAddress (UserAddress) = {
236226 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + UserAddress))
237227 let PreviousBlackListAddress = match getInteger(this, "Total_Black_Listed_Address") {
238228 case a: Int =>
239229 a
240230 case _ =>
241231 0
242232 }
243233 let TotalBlackListAddress = (PreviousBlackListAddress + 1)
244234 if ((product_launch_timestamp > lastBlock.timestamp))
245235 then throw((product_launch_error + toString(product_launch_timestamp)))
246236 else if ((i.caller != whitelist_address))
247237 then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
248238 else if ((ifBlacklisted == "Yes"))
249239 then throw("Address is already available in Blacklist.")
250240 else [StringEntry(("addr_BLACKLISTED_" + UserAddress), "Yes"), IntegerEntry("Total_Black_Listed_Address", TotalBlackListAddress)]
251241 }
252242
253243
254244
255245 @Callable(i)
256246 func DeleteBlackListAddress (UserAddress) = {
257247 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + UserAddress))
258248 let PreviousBlackListAddress = match getInteger(this, "Total_Black_Listed_Address") {
259249 case a: Int =>
260250 a
261251 case _ =>
262252 0
263253 }
264254 let TotalBlackListAddress = (PreviousBlackListAddress - 1)
265255 if ((product_launch_timestamp > lastBlock.timestamp))
266256 then throw(("Product Launch Timestamp is set at " + toString(product_launch_timestamp)))
267257 else if ((i.caller != whitelist_address))
268258 then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
269259 else if ((ifBlacklisted == "Yes"))
270260 then [DeleteEntry(("addr_BLACKLISTED_" + UserAddress)), IntegerEntry("Total_Black_Listed_Address", TotalBlackListAddress)]
271261 else throw("Address is not available in Blacklist.")
272262 }
273263
274264
275265
276266 @Callable(i)
277267 func DelEntry (E1,E2,E3,E4,E5) = [DeleteEntry(E1), DeleteEntry(E2), DeleteEntry(E3), DeleteEntry(E4), DeleteEntry(E5)]
278268
279269

github/deemru/w8io/026f985 
53.72 ms