tx · mCW7udZ5mygW2NjaxsLGLRr7sRqTBNxzDpbqyTpA8Xt 3N1s2w4NHgbrXxNZXH9RtaVT9ptHRJcgSp2: -0.03200000 Waves 2023.11.30 09:01 [2865747] smart account 3N1s2w4NHgbrXxNZXH9RtaVT9ptHRJcgSp2 > SELF 0.00000000 Waves
{ "type": 13, "id": "mCW7udZ5mygW2NjaxsLGLRr7sRqTBNxzDpbqyTpA8Xt", "fee": 3200000, "feeAssetId": null, "timestamp": 1701324089806, "version": 2, "chainId": 84, "sender": "3N1s2w4NHgbrXxNZXH9RtaVT9ptHRJcgSp2", "senderPublicKey": "DNKNL32sAVUYg4iGA3tW8Z6VXrENmGCmKfG6DLar82aP", "proofs": [ "4wer18FYvYnatrQLRz9zfWXREEDUX6zFakWtue2L2tSUpLEevVBSES23SkMZoYDjbhXW5PwfA9Gn1fh9j5dc4zQa" ], "script": "base64:AAIFAAAAAAAAAEAIAhIMCgoBAQgIAQEBCAEBEgwKCgEBCAgBAQEIAQESABIFCgMBCAgSABIECgIIARIDCgEIEgMKAQgSABIDCgEIAAAADgAAAAAWcG9vbF9saXF1aWRpdHlfYWRkcmVzcwIAAAAjM040d0JnWXRXZ0pXMkxUUmVmMmVrV1FUckVYQ1JmWG1HTGgAAAAAFERhcHBfQWRkcmVzc19wdWJfa2V5AQAAACDI7Zjahu5VNVhgxzyW6CpbYvUiMMUf5OyBUQlo584acwAAAAAYcHJvZHVjdF9sYXVuY2hfdGltZXN0YW1wAAAAAYq/YBYgAAAAAAtDdXJyZW5jeV9JRAIAAAAFV0FWRVMAAAAAFHByb2R1Y3RfbGF1bmNoX2Vycm9yAgAAACNQcm9kdWN0IExhdW5jaCBUaW1lc3RhbXAgaXMgc2V0IGF0IAAAAAAQbm9fcGF5bWVudF9lcnJvcgIAAAA3Tm8gcGF5bWVudCBhdHRhY2hlZCwgUGxlYXNlIEF0dGFjaCBUb2tlbiBpbiBwYXltZW50WzFdLgAAAAASY2xvc2VkX29yYWNsZV9lcm9yA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865747, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HDjjYweTkrTjetLFdSEUjat5dojRYYsTgPJ8LkXJ1s8b Next: 7nKdSUaRe8RtJps61r8M1RQUVaV9gC6tfvPi2JtF7X8B Diff:
Old | New | Differences | |
---|---|---|---|
423 | 423 | } | |
424 | 424 | ||
425 | 425 | ||
426 | + | ||
427 | + | @Callable(i) | |
428 | + | func Del (Entry) = [DeleteEntry(Entry)] | |
429 | + | ||
430 | + | ||
426 | 431 | @Verifier(tx) | |
427 | 432 | func verify () = match tx { | |
428 | 433 | case t: Order|ExchangeTransaction|MassTransferTransaction|TransferTransaction => |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let pool_liquidity_address = "3N4wBgYtWgJW2LTRef2ekWQTrEXCRfXmGLh" | |
5 | 5 | ||
6 | 6 | let Dapp_Address_pub_key = base58'EXLfxKmqhQPiProBaoPatTentUSZX5Dd8A8bYDcmfNwt' | |
7 | 7 | ||
8 | 8 | let product_launch_timestamp = 1695427860000 | |
9 | 9 | ||
10 | 10 | let Currency_ID = "WAVES" | |
11 | 11 | ||
12 | 12 | let product_launch_error = "Product Launch Timestamp is set at " | |
13 | 13 | ||
14 | 14 | let no_payment_error = "No payment attached, Please Attach Token in payment[1]." | |
15 | 15 | ||
16 | 16 | let closed_oracle_eror = "Oracle is closed. Wait Until Oracle is Turned On." | |
17 | 17 | ||
18 | 18 | let whitelist_address = addressFromPublicKey(Dapp_Address_pub_key) | |
19 | 19 | ||
20 | 20 | let d2dcaller = addressFromPublicKey(base58'6oay51Q6zPcFP9bSwUC4Potx2KGyD4AUjpL5uLR4QeRN') | |
21 | 21 | ||
22 | 22 | let network_fee = 900000 | |
23 | 23 | ||
24 | 24 | let minimum_order_size = 10000000 | |
25 | 25 | ||
26 | 26 | let maximum_order_size = 10000000000 | |
27 | 27 | ||
28 | 28 | let maximum_voucher_size = 100000000 | |
29 | 29 | ||
30 | 30 | let read_shutdown_status = valueOrErrorMessage(getInteger(this, "Shutdown_Status"), "Initiate_Contract_Shutdown function value is not Set, Please Sign that first.") | |
31 | 31 | ||
32 | 32 | @Callable(i) | |
33 | 33 | func placeoptionCall (Amount,OptionCounterID,User_ID,User_Address,Price,Call_Limits,Put_Limits,Oracle_Status,Start_Order_Timestamp,End_Order_Timestamp) = { | |
34 | 34 | let calleraddress = toBase58String(i.caller.bytes) | |
35 | 35 | let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + User_Address)) | |
36 | 36 | let read_TPL = valueOrErrorMessage(getInteger(addressFromStringValue(pool_liquidity_address), "Total_Pool_Liquidity"), "No Initial Pool Liquidity was Found.") | |
37 | 37 | let read_user_funds = valueOrElse(getInteger(((Currency_ID + "_") + User_Address)), 0) | |
38 | 38 | let update_user_funds = ((read_user_funds - Amount) - network_fee) | |
39 | 39 | let read_user_voucher_funds = valueOrElse(getInteger((User_Address + "_Voucher_Balance")), 0) | |
40 | 40 | let update_user_voucher_balance = ((read_user_voucher_funds - Amount) - network_fee) | |
41 | 41 | let read_start_order_permit_timestamp = Start_Order_Timestamp | |
42 | 42 | let read_end_order_permit_timestamp = End_Order_Timestamp | |
43 | 43 | let read_OptionCounterID = OptionCounterID | |
44 | 44 | let OpionExpireCounter = 1 | |
45 | 45 | let OptionExpireCounterID = (read_OptionCounterID + OpionExpireCounter) | |
46 | 46 | let PreviousOptionOrders = match getInteger(this, "Total_Option_Orders") { | |
47 | 47 | case a: Int => | |
48 | 48 | a | |
49 | 49 | case _ => | |
50 | 50 | 0 | |
51 | 51 | } | |
52 | 52 | let TotalOptionOrders = (PreviousOptionOrders + 1) | |
53 | 53 | let PreviousFundsAddedInSpecificOptionOrder = match getInteger(this, ("Total_Funds_Added_In_Option_Order_" + toString(read_OptionCounterID))) { | |
54 | 54 | case a: Int => | |
55 | 55 | a | |
56 | 56 | case _ => | |
57 | 57 | 0 | |
58 | 58 | } | |
59 | 59 | let TotalFundsAddedInSpecificOptionOrder = (PreviousFundsAddedInSpecificOptionOrder + Amount) | |
60 | 60 | let PreviousOptionOrdersinSpecificCounter = match getInteger(this, ("Total_Option_Orders_" + toString(read_OptionCounterID))) { | |
61 | 61 | case a: Int => | |
62 | 62 | a | |
63 | 63 | case _ => | |
64 | 64 | 0 | |
65 | 65 | } | |
66 | 66 | let TotalOptionOrdersinSpecificCounter = (PreviousOptionOrdersinSpecificCounter + 1) | |
67 | 67 | let PreviousCall = match getInteger(this, "Total_Calls") { | |
68 | 68 | case a: Int => | |
69 | 69 | a | |
70 | 70 | case _ => | |
71 | 71 | 0 | |
72 | 72 | } | |
73 | 73 | let TotalCall = (PreviousCall + 1) | |
74 | 74 | let PreviousCallinSpecificCounter = match getInteger(this, ("Total_Calls_" + toString(read_OptionCounterID))) { | |
75 | 75 | case a: Int => | |
76 | 76 | a | |
77 | 77 | case _ => | |
78 | 78 | 0 | |
79 | 79 | } | |
80 | 80 | let TotalCallinSpecificCounter = (PreviousCallinSpecificCounter + 1) | |
81 | 81 | let PreviousUserCall = match getInteger(this, (User_Address + "_Total_Calls")) { | |
82 | 82 | case a: Int => | |
83 | 83 | a | |
84 | 84 | case _ => | |
85 | 85 | 0 | |
86 | 86 | } | |
87 | 87 | let TotalUserCall = (PreviousUserCall + 1) | |
88 | 88 | let PreviousUserCallinSpecificCounter = match getInteger(this, ((User_Address + "_Total_Calls_") + toString(read_OptionCounterID))) { | |
89 | 89 | case a: Int => | |
90 | 90 | a | |
91 | 91 | case _ => | |
92 | 92 | 0 | |
93 | 93 | } | |
94 | 94 | let TotalUserCallinSpecificCounter = (PreviousUserCallinSpecificCounter + 1) | |
95 | 95 | let Funds_at_risk = fraction(read_TPL, 5, 100) | |
96 | 96 | if (if ((i.caller != whitelist_address)) | |
97 | 97 | then (i.caller != d2dcaller) | |
98 | 98 | else false) | |
99 | 99 | then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it.")) | |
100 | 100 | else if ((read_shutdown_status == 1)) | |
101 | 101 | then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.") | |
102 | 102 | else if ((product_launch_timestamp > lastBlock.timestamp)) | |
103 | 103 | then throw((product_launch_error + toString(product_launch_timestamp))) | |
104 | 104 | else if ((Oracle_Status == "CLOSE")) | |
105 | 105 | then throw(closed_oracle_eror) | |
106 | 106 | else if ((ifBlacklisted == "Yes")) | |
107 | 107 | then throw((User_Address + " Address is Blacklisted. Please contact Admin to Whitelist it.")) | |
108 | 108 | else if ((lastBlock.timestamp >= read_end_order_permit_timestamp)) | |
109 | 109 | then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.") | |
110 | 110 | else if ((TotalFundsAddedInSpecificOptionOrder > Funds_at_risk)) | |
111 | 111 | 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.")) | |
112 | 112 | else if (if ((read_user_funds == 0)) | |
113 | 113 | then (read_user_voucher_funds == 0) | |
114 | 114 | else false) | |
115 | 115 | then throw("User Balance and Voucher Balance both are Zero. Please Add Funds to Dapp.") | |
116 | 116 | else if (if (((minimum_order_size + network_fee) > update_user_funds)) | |
117 | 117 | then ((minimum_order_size + network_fee) > update_user_voucher_balance) | |
118 | 118 | else false) | |
119 | 119 | then throw((("Voucher Funds and User Balance both are less than minimum order size [" + toString((minimum_order_size + network_fee))) + "/10^8] WAVES including network fee.")) | |
120 | 120 | else if (if ((0 > update_user_funds)) | |
121 | 121 | then (0 > update_user_voucher_balance) | |
122 | 122 | else false) | |
123 | 123 | then throw((((("Placed Order Amount is going negative. Please reduce the Order Size. User Fund Amount = [-" + toString(update_user_funds)) + "], Voucher Balance [-") + toString(update_user_voucher_balance)) + "]")) | |
124 | 124 | else if ((0 > update_user_funds)) | |
125 | 125 | then throw((("Placed Order Amount is going negative. Please reduce the Order Size.User Fund Amount = [-" + toString(update_user_funds)) + "]")) | |
126 | 126 | else if ((minimum_order_size > Amount)) | |
127 | 127 | then throw((("Placed Order Size is less than [" + toString(minimum_order_size)) + "/10^8] WAVES.")) | |
128 | 128 | else if ((Amount > maximum_order_size)) | |
129 | 129 | then throw((("Placed Order Size is more than [" + toString(maximum_order_size)) + "/10^8] WAVES.")) | |
130 | 130 | else if ((size(toString(Start_Order_Timestamp)) != 13)) | |
131 | 131 | then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.") | |
132 | 132 | else if ((size(toString(End_Order_Timestamp)) != 13)) | |
133 | 133 | then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.") | |
134 | 134 | else if (if ((read_user_voucher_funds == 0)) | |
135 | 135 | then true | |
136 | 136 | else (0 > update_user_voucher_balance)) | |
137 | 137 | then [StringEntry(("User_ID_" + User_Address), User_ID), IntegerEntry(((Currency_ID + "_") + User_Address), update_user_funds), IntegerEntry("Network_Fee_To_Place_Order", network_fee), StringEntry(((("Call_" + User_Address) + "_") + toString(TotalUserCall)), toString(Price)), IntegerEntry(((("Call_Amount_" + User_Address) + "_") + toString(TotalUserCall)), Amount), StringEntry(((("Call_Start_End_" + User_Address) + "_") + toString(TotalUserCall)), ((toString(read_OptionCounterID) + "_") + toString(OptionExpireCounterID))), IntegerEntry("Total_Option_Orders", TotalOptionOrders), IntegerEntry(("Total_Funds_Added_In_Option_Order_" + toString(read_OptionCounterID)), TotalFundsAddedInSpecificOptionOrder), IntegerEntry("Total_Pool_Liquidity", read_TPL), IntegerEntry(("Funds_At_Risk_" + toString(read_OptionCounterID)), Funds_at_risk), IntegerEntry("Call_Limits", Call_Limits), IntegerEntry("Put_Limits", Put_Limits), IntegerEntry(("Total_Option_Orders_" + toString(read_OptionCounterID)), TotalOptionOrdersinSpecificCounter), IntegerEntry("Total_Calls", TotalCall), IntegerEntry(("Total_Calls_" + toString(read_OptionCounterID)), TotalCallinSpecificCounter), IntegerEntry((User_Address + "_Total_Calls"), TotalUserCall), IntegerEntry(((User_Address + "_Total_Calls_") + toString(read_OptionCounterID)), TotalUserCallinSpecificCounter), ScriptTransfer(whitelist_address, network_fee, unit), ScriptTransfer(addressFromStringValue(pool_liquidity_address), Amount, unit)] | |
138 | 138 | else if ((update_user_voucher_balance > Amount)) | |
139 | 139 | then [StringEntry(("User_ID_" + User_Address), User_ID), IntegerEntry((User_Address + "_Voucher_Balance"), update_user_voucher_balance), IntegerEntry("Network_Fee_To_Place_Order", network_fee), StringEntry(((("Call_" + User_Address) + "_") + toString(TotalUserCall)), toString(Price)), IntegerEntry(((("Call_Amount_" + User_Address) + "_") + toString(TotalUserCall)), Amount), StringEntry(((("Call_Start_End_" + User_Address) + "_") + toString(TotalUserCall)), ((toString(read_OptionCounterID) + "_") + toString(OptionExpireCounterID))), IntegerEntry("Total_Option_Orders", TotalOptionOrders), IntegerEntry(("Total_Funds_Added_In_Option_Order_" + toString(read_OptionCounterID)), TotalFundsAddedInSpecificOptionOrder), IntegerEntry("Total_Pool_Liquidity", read_TPL), IntegerEntry(("Funds_At_Risk_" + toString(read_OptionCounterID)), Funds_at_risk), IntegerEntry("Call_Limits", Call_Limits), IntegerEntry("Put_Limits", Put_Limits), IntegerEntry(("Total_Option_Orders_" + toString(read_OptionCounterID)), TotalOptionOrdersinSpecificCounter), IntegerEntry("Total_Calls", TotalCall), IntegerEntry(("Total_Calls_" + toString(read_OptionCounterID)), TotalCallinSpecificCounter), IntegerEntry((User_Address + "_Total_Calls"), TotalUserCall), IntegerEntry(((User_Address + "_Total_Calls_") + toString(read_OptionCounterID)), TotalUserCallinSpecificCounter), ScriptTransfer(whitelist_address, network_fee, unit), ScriptTransfer(addressFromStringValue(pool_liquidity_address), Amount, unit)] | |
140 | 140 | else throw("Wrong Entry.") | |
141 | 141 | } | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | ||
145 | 145 | @Callable(i) | |
146 | 146 | func placeoptionPut (Amount,OptionCounterID,User_ID,User_Address,Price,Call_Limits,Put_Limits,Oracle_Status,Start_Order_Timestamp,End_Order_Timestamp) = { | |
147 | 147 | let calleraddress = toBase58String(i.caller.bytes) | |
148 | 148 | let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + User_Address)) | |
149 | 149 | let read_TPL = valueOrErrorMessage(getInteger(addressFromStringValue(pool_liquidity_address), "Total_Pool_Liquidity"), "No Initial Pool Liquidity was Found.") | |
150 | 150 | let read_user_funds = valueOrElse(getInteger(((Currency_ID + "_") + User_Address)), 0) | |
151 | 151 | let update_user_funds = ((read_user_funds - Amount) - network_fee) | |
152 | 152 | let read_user_voucher_funds = valueOrElse(getInteger((User_Address + "_Voucher_Balance")), 0) | |
153 | 153 | let update_user_voucher_balance = (read_user_voucher_funds - Amount) | |
154 | 154 | let read_start_order_permit_timestamp = Start_Order_Timestamp | |
155 | 155 | let read_end_order_permit_timestamp = End_Order_Timestamp | |
156 | 156 | let read_OptionCounterID = OptionCounterID | |
157 | 157 | let OpionExpireCounter = 1 | |
158 | 158 | let OptionExpireCounterID = (read_OptionCounterID + OpionExpireCounter) | |
159 | 159 | let PreviousOptionOrders = match getInteger(this, "Total_Option_Orders") { | |
160 | 160 | case a: Int => | |
161 | 161 | a | |
162 | 162 | case _ => | |
163 | 163 | 0 | |
164 | 164 | } | |
165 | 165 | let TotalOptionOrders = (PreviousOptionOrders + 1) | |
166 | 166 | let PreviousFundsAddedInSpecificOptionOrder = match getInteger(this, ("Total_Funds_Added_In_Option_Order_" + toString(read_OptionCounterID))) { | |
167 | 167 | case a: Int => | |
168 | 168 | a | |
169 | 169 | case _ => | |
170 | 170 | 0 | |
171 | 171 | } | |
172 | 172 | let TotalFundsAddedInSpecificOptionOrder = (PreviousFundsAddedInSpecificOptionOrder + Amount) | |
173 | 173 | let PreviousOptionOrdersinSpecificCounter = match getInteger(this, ("Total_Option_Orders_" + toString(read_OptionCounterID))) { | |
174 | 174 | case a: Int => | |
175 | 175 | a | |
176 | 176 | case _ => | |
177 | 177 | 0 | |
178 | 178 | } | |
179 | 179 | let TotalOptionOrdersinSpecificCounter = (PreviousOptionOrdersinSpecificCounter + 1) | |
180 | 180 | let PreviousPut = match getInteger(this, "Total_Puts") { | |
181 | 181 | case a: Int => | |
182 | 182 | a | |
183 | 183 | case _ => | |
184 | 184 | 0 | |
185 | 185 | } | |
186 | 186 | let TotalPut = (PreviousPut + 1) | |
187 | 187 | let PreviousPutinSpecificCounter = match getInteger(this, ("Total_Puts_" + toString(read_OptionCounterID))) { | |
188 | 188 | case a: Int => | |
189 | 189 | a | |
190 | 190 | case _ => | |
191 | 191 | 0 | |
192 | 192 | } | |
193 | 193 | let TotalPutinSpecificCounter = (PreviousPutinSpecificCounter + 1) | |
194 | 194 | let PreviousUserPut = match getInteger(this, (User_Address + "_Total_Puts")) { | |
195 | 195 | case a: Int => | |
196 | 196 | a | |
197 | 197 | case _ => | |
198 | 198 | 0 | |
199 | 199 | } | |
200 | 200 | let TotalUserPut = (PreviousUserPut + 1) | |
201 | 201 | let PreviousUserPutinSpecificCounter = match getInteger(this, ((User_Address + "_Total_Puts_") + toString(read_OptionCounterID))) { | |
202 | 202 | case a: Int => | |
203 | 203 | a | |
204 | 204 | case _ => | |
205 | 205 | 0 | |
206 | 206 | } | |
207 | 207 | let TotalUserPutinSpecificCounter = (PreviousUserPutinSpecificCounter + 1) | |
208 | 208 | let Funds_at_risk = fraction(read_TPL, 5, 100) | |
209 | 209 | if (if ((i.caller != whitelist_address)) | |
210 | 210 | then (i.caller != d2dcaller) | |
211 | 211 | else false) | |
212 | 212 | then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it.")) | |
213 | 213 | else if ((read_shutdown_status == 1)) | |
214 | 214 | then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.") | |
215 | 215 | else if ((product_launch_timestamp > lastBlock.timestamp)) | |
216 | 216 | then throw((product_launch_error + toString(product_launch_timestamp))) | |
217 | 217 | else if ((Oracle_Status == "CLOSE")) | |
218 | 218 | then throw(closed_oracle_eror) | |
219 | 219 | else if ((ifBlacklisted == "Yes")) | |
220 | 220 | then throw((User_Address + " Address is Blacklisted. Please contact Admin to Whitelist it.")) | |
221 | 221 | else if ((lastBlock.timestamp >= read_end_order_permit_timestamp)) | |
222 | 222 | then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.") | |
223 | 223 | else if ((TotalFundsAddedInSpecificOptionOrder > Funds_at_risk)) | |
224 | 224 | 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.")) | |
225 | 225 | else if ((minimum_order_size > Amount)) | |
226 | 226 | then throw((("Placed Order Size is less than [" + toString(minimum_order_size)) + "/10^8] WAVES.")) | |
227 | 227 | else if ((Amount > maximum_order_size)) | |
228 | 228 | then throw((("Placed Order Size is more than [" + toString(maximum_order_size)) + "/10^8] WAVES.")) | |
229 | 229 | else if ((0 > update_user_funds)) | |
230 | 230 | then throw(("Placed Order Amount is going negative. Please reduce the Order Size. Negative Fund Amount = " + toString(update_user_funds))) | |
231 | 231 | else if ((size(toString(Start_Order_Timestamp)) != 13)) | |
232 | 232 | then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.") | |
233 | 233 | else if ((size(toString(End_Order_Timestamp)) != 13)) | |
234 | 234 | then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.") | |
235 | 235 | else [StringEntry(("User_ID_" + User_Address), User_ID), IntegerEntry(((Currency_ID + "_") + User_Address), update_user_funds), IntegerEntry((User_Address + "_Voucher_Balance"), update_user_voucher_balance), IntegerEntry("Network_Fee_To_Place_Order", network_fee), StringEntry(((("Put_" + User_Address) + "_") + toString(TotalUserPut)), toString(Price)), IntegerEntry(((("Put_Amount_" + User_Address) + "_") + toString(TotalUserPut)), Amount), StringEntry(((("Put_Start_End_" + User_Address) + "_") + toString(TotalUserPut)), ((toString(read_OptionCounterID) + "_") + toString(OptionExpireCounterID))), IntegerEntry("Total_Option_Orders", TotalOptionOrders), IntegerEntry(("Total_Funds_Added_In_Option_Order_" + toString(read_OptionCounterID)), TotalFundsAddedInSpecificOptionOrder), IntegerEntry("Total_Pool_Liquidity", read_TPL), IntegerEntry(("Funds_At_Risk_" + toString(read_OptionCounterID)), Funds_at_risk), IntegerEntry("Call_Limits", Call_Limits), IntegerEntry("Put_Limits", Put_Limits), IntegerEntry(("Total_Option_Orders_" + toString(read_OptionCounterID)), TotalOptionOrdersinSpecificCounter), IntegerEntry("Total_Puts", TotalPut), IntegerEntry(("Total_Puts_" + toString(read_OptionCounterID)), TotalPutinSpecificCounter), IntegerEntry((User_Address + "_Total_Puts"), TotalUserPut), IntegerEntry(((User_Address + "_Total_Puts_") + toString(read_OptionCounterID)), TotalUserPutinSpecificCounter), ScriptTransfer(whitelist_address, network_fee, unit), ScriptTransfer(addressFromStringValue(pool_liquidity_address), Amount, unit)] | |
236 | 236 | } | |
237 | 237 | ||
238 | 238 | ||
239 | 239 | ||
240 | 240 | @Callable(i) | |
241 | 241 | func Fill_Vouchers_Liquidity () = { | |
242 | 242 | let calleraddress = toBase58String(i.caller.bytes) | |
243 | 243 | let pmt = if ((size(i.payments) == 1)) | |
244 | 244 | then i.payments[0] | |
245 | 245 | else throw("No payment attached, Please Attach only Whitelisted Tokens in payment[1].") | |
246 | 246 | let PreviousVouchersBalance = match getInteger(this, "Available_Vouchers_Balance") { | |
247 | 247 | case a: Int => | |
248 | 248 | a | |
249 | 249 | case _ => | |
250 | 250 | 0 | |
251 | 251 | } | |
252 | 252 | let TotalVouchersBalance = (PreviousVouchersBalance + pmt.amount) | |
253 | 253 | let PreviousVouchersCounterID = match getInteger(this, "Vouchers_Counter_ID") { | |
254 | 254 | case a: Int => | |
255 | 255 | a | |
256 | 256 | case _ => | |
257 | 257 | 0 | |
258 | 258 | } | |
259 | 259 | let TotalVouchersCounterID = (PreviousVouchersCounterID + 1) | |
260 | 260 | if (isDefined(pmt.assetId)) | |
261 | 261 | then throw("Only WAVES is allowed to deposit at the moment") | |
262 | 262 | else if ((read_shutdown_status == 1)) | |
263 | 263 | then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.") | |
264 | 264 | else [IntegerEntry("Available_Vouchers_Balance", TotalVouchersBalance), IntegerEntry((toString(TotalVouchersCounterID) + "_Voucher_Added_Amount"), pmt.amount), IntegerEntry("Vouchers_Counter_ID", TotalVouchersCounterID)] | |
265 | 265 | } | |
266 | 266 | ||
267 | 267 | ||
268 | 268 | ||
269 | 269 | @Callable(i) | |
270 | 270 | func Issue_Vouchers (Voucher_Amount,User_ID,User_Address) = { | |
271 | 271 | let read_TotalVouchersBalance = valueOrErrorMessage(getInteger(this, "Available_Vouchers_Balance"), "Available_Vouchers_Balance Entry is not Found. Initiate Fill_Vouchers_Liquidity Function first.") | |
272 | 272 | let update_TotalVouchersBalance = (read_TotalVouchersBalance - Voucher_Amount) | |
273 | 273 | let VouchersIssuedToUser = match getInteger(this, ("Total_Vouchers_Issued_To_" + User_Address)) { | |
274 | 274 | case a: Int => | |
275 | 275 | a | |
276 | 276 | case _ => | |
277 | 277 | 0 | |
278 | 278 | } | |
279 | 279 | let TotalVouchersIssuedToUser = (VouchersIssuedToUser + 1) | |
280 | 280 | let VouchersAmountIssuedToUser = match getInteger(this, ("Total_Vouchers_Amount_Issued_To_" + User_Address)) { | |
281 | 281 | case a: Int => | |
282 | 282 | a | |
283 | 283 | case _ => | |
284 | 284 | 0 | |
285 | 285 | } | |
286 | 286 | let TotalVouchersAmountIssuedToUser = (VouchersAmountIssuedToUser + Voucher_Amount) | |
287 | 287 | let PreviousVouchersBalanceofUser = match getInteger(this, (User_Address + "_Voucher_Balance")) { | |
288 | 288 | case a: Int => | |
289 | 289 | a | |
290 | 290 | case _ => | |
291 | 291 | 0 | |
292 | 292 | } | |
293 | 293 | let TotalVouchersBalanceofUser = (PreviousVouchersBalanceofUser + Voucher_Amount) | |
294 | 294 | if ((i.caller != whitelist_address)) | |
295 | 295 | then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it.")) | |
296 | 296 | else if ((read_shutdown_status == 1)) | |
297 | 297 | then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.") | |
298 | 298 | else if ((0 >= Voucher_Amount)) | |
299 | 299 | then throw((("Voucher Balance can't be 0 or go in negative State. Increase the Voucher Amount where maximum limit is " + toString(maximum_voucher_size)) + "/10^8 Waves.")) | |
300 | 300 | else if ((0 >= update_TotalVouchersBalance)) | |
301 | 301 | then throw((("Updated Voucher Balance can't go in negative State of " + toString(update_TotalVouchersBalance)) + " /10^8 WAVES. Reduce the Voucher Amount.")) | |
302 | 302 | else if ((Voucher_Amount > maximum_voucher_size)) | |
303 | 303 | then throw((("Input Voucher Balance can't exceed the set maximum limit of " + toString(maximum_voucher_size)) + "/10^8 Waves.")) | |
304 | 304 | else if ((TotalVouchersBalanceofUser > maximum_voucher_size)) | |
305 | 305 | then throw((((User_Address + " Voucher Balance is exceeding the limit of ") + toString(maximum_voucher_size)) + "/10^8 Waves.")) | |
306 | 306 | else [IntegerEntry(("Total_Vouchers_Issued_To_" + User_Address), TotalVouchersIssuedToUser), IntegerEntry(("Total_Vouchers_Amount_Issued_To_" + User_Address), TotalVouchersAmountIssuedToUser), IntegerEntry((User_Address + "_Voucher_Balance"), TotalVouchersBalanceofUser), IntegerEntry("Available_Vouchers_Balance", update_TotalVouchersBalance)] | |
307 | 307 | } | |
308 | 308 | ||
309 | 309 | ||
310 | 310 | ||
311 | 311 | @Callable(i) | |
312 | 312 | func DepositUserFunds () = { | |
313 | 313 | let calleraddress = toBase58String(i.caller.bytes) | |
314 | 314 | let pmt = if ((size(i.payments) == 1)) | |
315 | 315 | then i.payments[0] | |
316 | 316 | else throw("No payment attached, Please Attach only Whitelisted Tokens in payment[1].") | |
317 | 317 | let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + calleraddress)) | |
318 | 318 | let PreviousUserDeposit = match getInteger(this, ((Currency_ID + "_") + calleraddress)) { | |
319 | 319 | case a: Int => | |
320 | 320 | a | |
321 | 321 | case _ => | |
322 | 322 | 0 | |
323 | 323 | } | |
324 | 324 | let TotalUserDeposit = (PreviousUserDeposit + pmt.amount) | |
325 | 325 | let PreviousDepositCounterID = match getInteger(this, "Deposit_Counter_ID") { | |
326 | 326 | case a: Int => | |
327 | 327 | a | |
328 | 328 | case _ => | |
329 | 329 | 0 | |
330 | 330 | } | |
331 | 331 | let TotalDepositCounterID = (PreviousDepositCounterID + 1) | |
332 | 332 | if ((product_launch_timestamp > lastBlock.timestamp)) | |
333 | 333 | then throw((product_launch_error + toString(product_launch_timestamp))) | |
334 | 334 | else if ((read_shutdown_status == 1)) | |
335 | 335 | then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.") | |
336 | 336 | else if ((ifBlacklisted == "Yes")) | |
337 | 337 | then throw((calleraddress + " Address is Blacklisted. Please contact Admin to Whitelist it.")) | |
338 | 338 | else if (isDefined(pmt.assetId)) | |
339 | 339 | then throw("Only WAVES is allowed to deposit at the moment") | |
340 | 340 | else [IntegerEntry(((Currency_ID + "_") + calleraddress), TotalUserDeposit), IntegerEntry(((((toString(TotalDepositCounterID) + "_") + Currency_ID) + "_") + calleraddress), pmt.amount), IntegerEntry("Deposit_Counter_ID", TotalDepositCounterID)] | |
341 | 341 | } | |
342 | 342 | ||
343 | 343 | ||
344 | 344 | ||
345 | 345 | @Callable(i) | |
346 | 346 | func WithdrawUserFunds (User_Address,Amount) = { | |
347 | 347 | let calleraddress = toBase58String(i.caller.bytes) | |
348 | 348 | let readuserbalance = getIntegerValue(((Currency_ID + "_") + User_Address)) | |
349 | 349 | let update_user_funds = ((readuserbalance - Amount) - network_fee) | |
350 | 350 | let minimim_withdraw_amount = 10000000 | |
351 | 351 | if ((i.caller != whitelist_address)) | |
352 | 352 | then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it.")) | |
353 | 353 | else if ((read_shutdown_status == 1)) | |
354 | 354 | then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.") | |
355 | 355 | else if ((minimim_withdraw_amount > Amount)) | |
356 | 356 | then throw((("Minimum Withdraw Amount is " + toString(minimim_withdraw_amount)) + "/10^8] WAVES.")) | |
357 | 357 | else if ((0 > update_user_funds)) | |
358 | 358 | then throw((("Placed Withdraw Amount is going in negative State of " + toString(update_user_funds)) + "/10^8] WAVES.")) | |
359 | 359 | 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)] | |
360 | 360 | } | |
361 | 361 | ||
362 | 362 | ||
363 | 363 | ||
364 | 364 | @Callable(i) | |
365 | 365 | func BlackListAddress (UserAddress) = { | |
366 | 366 | let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + UserAddress)) | |
367 | 367 | let PreviousBlackListAddress = match getInteger(this, "Total_Black_Listed_Address") { | |
368 | 368 | case a: Int => | |
369 | 369 | a | |
370 | 370 | case _ => | |
371 | 371 | 0 | |
372 | 372 | } | |
373 | 373 | let TotalBlackListAddress = (PreviousBlackListAddress + 1) | |
374 | 374 | if ((product_launch_timestamp > lastBlock.timestamp)) | |
375 | 375 | then throw((product_launch_error + toString(product_launch_timestamp))) | |
376 | 376 | else if ((i.caller != whitelist_address)) | |
377 | 377 | then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it.")) | |
378 | 378 | else if ((read_shutdown_status == 1)) | |
379 | 379 | then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.") | |
380 | 380 | else if ((ifBlacklisted == "Yes")) | |
381 | 381 | then throw("Address is already available in Blacklist.") | |
382 | 382 | else [StringEntry(("addr_BLACKLISTED_" + UserAddress), "Yes"), IntegerEntry("Total_Black_Listed_Address", TotalBlackListAddress)] | |
383 | 383 | } | |
384 | 384 | ||
385 | 385 | ||
386 | 386 | ||
387 | 387 | @Callable(i) | |
388 | 388 | func DeleteBlackListAddress (UserAddress) = { | |
389 | 389 | let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + UserAddress)) | |
390 | 390 | let PreviousBlackListAddress = match getInteger(this, "Total_Black_Listed_Address") { | |
391 | 391 | case a: Int => | |
392 | 392 | a | |
393 | 393 | case _ => | |
394 | 394 | 0 | |
395 | 395 | } | |
396 | 396 | let TotalBlackListAddress = (PreviousBlackListAddress - 1) | |
397 | 397 | if ((product_launch_timestamp > lastBlock.timestamp)) | |
398 | 398 | then throw(("Product Launch Timestamp is set at " + toString(product_launch_timestamp))) | |
399 | 399 | else if ((i.caller != whitelist_address)) | |
400 | 400 | then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it.")) | |
401 | 401 | else if ((read_shutdown_status == 1)) | |
402 | 402 | then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.") | |
403 | 403 | else if ((ifBlacklisted == "Yes")) | |
404 | 404 | then [DeleteEntry(("addr_BLACKLISTED_" + UserAddress)), IntegerEntry("Total_Black_Listed_Address", TotalBlackListAddress)] | |
405 | 405 | else throw("Address is not available in Blacklist.") | |
406 | 406 | } | |
407 | 407 | ||
408 | 408 | ||
409 | 409 | ||
410 | 410 | @Callable(i) | |
411 | 411 | func Initiate_Contract_Shutdown () = { | |
412 | 412 | let addShutdownStatus = match getInteger(this, "Shutdown_Status") { | |
413 | 413 | case a: Int => | |
414 | 414 | a | |
415 | 415 | case _ => | |
416 | 416 | 0 | |
417 | 417 | } | |
418 | 418 | if ((i.caller != whitelist_address)) | |
419 | 419 | then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it.")) | |
420 | 420 | else if ((addShutdownStatus == 0)) | |
421 | 421 | then [IntegerEntry("Shutdown_Status", 1)] | |
422 | 422 | else [IntegerEntry("Shutdown_Status", 0)] | |
423 | 423 | } | |
424 | 424 | ||
425 | 425 | ||
426 | + | ||
427 | + | @Callable(i) | |
428 | + | func Del (Entry) = [DeleteEntry(Entry)] | |
429 | + | ||
430 | + | ||
426 | 431 | @Verifier(tx) | |
427 | 432 | func verify () = match tx { | |
428 | 433 | case t: Order|ExchangeTransaction|MassTransferTransaction|TransferTransaction => | |
429 | 434 | false | |
430 | 435 | case _ => | |
431 | 436 | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
432 | 437 | } | |
433 | 438 |
github/deemru/w8io/026f985 60.09 ms ◑