tx · HBa5XANcceqsCFdSTFraqBH8yQxUH36NDEjZChhcVnTU 3N4K6JFDDdcd1qrk2HszwHQrMqznvhYBgjn: -0.02000000 Waves 2023.06.16 16:24 [2625242] smart account 3N4K6JFDDdcd1qrk2HszwHQrMqznvhYBgjn > SELF 0.00000000 Waves
{ "type": 13, "id": "HBa5XANcceqsCFdSTFraqBH8yQxUH36NDEjZChhcVnTU", "fee": 2000000, "feeAssetId": null, "timestamp": 1686921918781, "version": 2, "chainId": 84, "sender": "3N4K6JFDDdcd1qrk2HszwHQrMqznvhYBgjn", "senderPublicKey": "9vxW4kEGgMt47hfP42SnhhMRhEVqbedX6N57xB8XKYcV", "proofs": [ "2883JPa6FpsZ6bjTMvDCNXhoZpjYaNfZag9gEwsp3ReY61sXALtYyYJfe1cXo5F1qXfDiioqbFDn8U4QdYQWgmfz" ], "script": "base64:AAIFAAAAAAAAAD0IAhIOCgwBAQEICAEBAQEIAQESDgoMAQEBCAgBAQEBCAEBEgASBAoCCAESAwoBCBIDCgEIEgcKBQgICAgIAAAACgAAAAAURGFwcF9BZGRyZXNzX3B1Yl9rZXkBAAAAIJ/6IoC/X+WmAH3lOFnN9kmPro1K68e8JnOQXRnHLN0cAAAAABhwcm9kdWN0X2xhdW5jaF90aW1lc3RhbXAAAAABhgpF7AAAAAAAC0N1cnJlbmN5X0lEAgAAAAVXQVZFUwAAAAAUcHJvZHVjdF9sYXVuY2hfZXJyb3ICAAAAI1Byb2R1Y3QgTGF1bmNoIFRpbWVzdGFtcCBpcyBzZXQgYXQgAAAAABBub19wYXltZW50X2Vycm9yAgAAADdObyBwYXltZW50IGF0dGFjaGVkLCBQbGVhc2UgQXR0YWNoIFRva2VuIGluIHBheW1lbnRbMV0uAAAAABJjbG9zZWRfb3JhY2xlX2Vyb3ICAAAAMU9yYWNsZSBpcyBjbG9zZWQuIFdhaXQgVW50aWwgT3JhY2xlIGlzIFR1cm5lZCBPbi4AAAAAEXdoaXRlbGlzdF9hZGRyZXNzCQEAA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X0JMQUNLTElTVEVEXwUAAAALVXNlckFkZHJlc3MJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAAGlRvdGFsX0JsYWNrX0xpc3RlZF9BZGRyZXNzBQAAABVUb3RhbEJsYWNrTGlzdEFkZHJlc3MFAAAAA25pbAkAAAIAAAABAgAAACZBZGRyZXNzIGlzIG5vdCBhdmFpbGFibGUgaW4gQmxhY2tsaXN0LgAAAAFpAQAAAAhEZWxFbnRyeQAAAAUAAAACRTEAAAACRTIAAAACRTMAAAACRTQAAAACRTUJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAACRTEJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAACRTIJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAACRTMJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAACRTQJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAACRTUFAAAAA25pbAAAAABL9++6", "height": 2625242, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2V22u2pg6tLuCa9EiWtjL4kHVsWy8E55xtFXfwty3791 Next: 9DJeRVWMUqypBf2rArASxNkvVcD5yaBbkPiMoqJH5aFs Diff:
Old | New | Differences | |
---|---|---|---|
233 | 233 | then throw((("Minimum Withdraw Amount is " + toString(minimim_withdraw_amount)) + "/10^8] WAVES.")) | |
234 | 234 | else if ((0 > update_user_funds)) | |
235 | 235 | then throw((("Placed Withdraw Amount is going in negative State of " + toString(update_user_funds)) + "/10^8] WAVES.")) | |
236 | - | else [IntegerEntry("Previous_Balance", readuserbalance), IntegerEntry("Network_Fee_To_Withdraw", network_fee), IntegerEntry(((Currency_ID + "_") + User_Address), update_user_funds), ScriptTransfer(addressFromStringValue(User_Address), Amount, unit)] | |
236 | + | 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)] | |
237 | 237 | } | |
238 | 238 | ||
239 | 239 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let Dapp_Address_pub_key = base58'BmV3aPhqkjNgu3zD3rx1oaWTnPqgB8uRBQuvYjpYWtTu' | |
5 | 5 | ||
6 | 6 | let product_launch_timestamp = 1675209600000 | |
7 | 7 | ||
8 | 8 | let Currency_ID = "WAVES" | |
9 | 9 | ||
10 | 10 | let product_launch_error = "Product Launch Timestamp is set at " | |
11 | 11 | ||
12 | 12 | let no_payment_error = "No payment attached, Please Attach Token in payment[1]." | |
13 | 13 | ||
14 | 14 | let closed_oracle_eror = "Oracle is closed. Wait Until Oracle is Turned On." | |
15 | 15 | ||
16 | 16 | let whitelist_address = addressFromPublicKey(Dapp_Address_pub_key) | |
17 | 17 | ||
18 | 18 | let network_fee = 900000 | |
19 | 19 | ||
20 | 20 | let minimum_order_size = 10000000 | |
21 | 21 | ||
22 | 22 | let maximum_order_size = 10000000000 | |
23 | 23 | ||
24 | 24 | @Callable(i) | |
25 | 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) = { | |
26 | 26 | let calleraddress = toBase58String(i.caller.bytes) | |
27 | 27 | let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + calleraddress)) | |
28 | 28 | let read_user_funds = getIntegerValue(((Currency_ID + "_") + User_Address)) | |
29 | 29 | let update_user_funds = ((read_user_funds - Amount) - network_fee) | |
30 | 30 | let read_start_order_permit_timestamp = Start_Order_Timestamp | |
31 | 31 | let read_end_order_permit_timestamp = End_Order_Timestamp | |
32 | 32 | let read_total_pool_liquidity = Total_Pool_Liquidity | |
33 | 33 | let new_total_pool_liquidity = (read_total_pool_liquidity + Amount) | |
34 | 34 | let read_OptionCounterID = OptionCounterID | |
35 | 35 | let OpionExpireCounter = 1 | |
36 | 36 | let OptionExpireCounterID = (read_OptionCounterID + OpionExpireCounter) | |
37 | 37 | let PreviousOptionOrders = match getInteger(this, "Total_Option_Orders") { | |
38 | 38 | case a: Int => | |
39 | 39 | a | |
40 | 40 | case _ => | |
41 | 41 | 0 | |
42 | 42 | } | |
43 | 43 | let TotalOptionOrders = (PreviousOptionOrders + 1) | |
44 | 44 | let PreviousFundsAddedInSpecificOptionOrder = match getInteger(this, ("Total_Funds_Added_In_Option_Order_" + toString(read_OptionCounterID))) { | |
45 | 45 | case a: Int => | |
46 | 46 | a | |
47 | 47 | case _ => | |
48 | 48 | 0 | |
49 | 49 | } | |
50 | 50 | let TotalFundsAddedInSpecificOptionOrder = (PreviousFundsAddedInSpecificOptionOrder + Amount) | |
51 | 51 | let PreviousOptionOrdersinSpecificCounter = match getInteger(this, ("Total_Option_Orders_" + toString(read_OptionCounterID))) { | |
52 | 52 | case a: Int => | |
53 | 53 | a | |
54 | 54 | case _ => | |
55 | 55 | 0 | |
56 | 56 | } | |
57 | 57 | let TotalOptionOrdersinSpecificCounter = (PreviousOptionOrdersinSpecificCounter + 1) | |
58 | 58 | let PreviousCall = match getInteger(this, "Total_Calls") { | |
59 | 59 | case a: Int => | |
60 | 60 | a | |
61 | 61 | case _ => | |
62 | 62 | 0 | |
63 | 63 | } | |
64 | 64 | let TotalCall = (PreviousCall + 1) | |
65 | 65 | let PreviousCallinSpecificCounter = match getInteger(this, ("Total_Calls_" + toString(read_OptionCounterID))) { | |
66 | 66 | case a: Int => | |
67 | 67 | a | |
68 | 68 | case _ => | |
69 | 69 | 0 | |
70 | 70 | } | |
71 | 71 | let TotalCallinSpecificCounter = (PreviousCallinSpecificCounter + 1) | |
72 | 72 | let PreviousUserCall = match getInteger(this, (calleraddress + "_Total_Calls")) { | |
73 | 73 | case a: Int => | |
74 | 74 | a | |
75 | 75 | case _ => | |
76 | 76 | 0 | |
77 | 77 | } | |
78 | 78 | let TotalUserCall = (PreviousUserCall + 1) | |
79 | 79 | let PreviousUserCallinSpecificCounter = match getInteger(this, ((calleraddress + "_Total_Calls_") + toString(read_OptionCounterID))) { | |
80 | 80 | case a: Int => | |
81 | 81 | a | |
82 | 82 | case _ => | |
83 | 83 | 0 | |
84 | 84 | } | |
85 | 85 | let TotalUserCallinSpecificCounter = (PreviousUserCallinSpecificCounter + 1) | |
86 | 86 | let Funds_at_risk = House_risk | |
87 | 87 | if ((i.caller != whitelist_address)) | |
88 | 88 | then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it.")) | |
89 | 89 | else if ((product_launch_timestamp > lastBlock.timestamp)) | |
90 | 90 | then throw((product_launch_error + toString(product_launch_timestamp))) | |
91 | 91 | else if ((Oracle_Status == "CLOSE")) | |
92 | 92 | then throw(closed_oracle_eror) | |
93 | 93 | else if ((ifBlacklisted == "Yes")) | |
94 | 94 | then throw((calleraddress + " Address is Blacklisted. Please contact Admin to Whitelist it.")) | |
95 | 95 | else if ((lastBlock.timestamp >= read_end_order_permit_timestamp)) | |
96 | 96 | then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.") | |
97 | 97 | else if ((minimum_order_size > Amount)) | |
98 | 98 | then throw((("Placed Order Size is less than [" + toString(minimum_order_size)) + "/10^8] WAVES.")) | |
99 | 99 | else if ((Amount > maximum_order_size)) | |
100 | 100 | then throw((("Placed Order Size is more than [" + toString(maximum_order_size)) + "/10^8] WAVES.")) | |
101 | 101 | else if ((0 > update_user_funds)) | |
102 | 102 | then throw("Placed Order Amount is going negative. Please reduce the Order Size.") | |
103 | 103 | else [StringEntry(("User_ID_" + calleraddress), User_ID), IntegerEntry(((Currency_ID + "_") + User_Address), update_user_funds), IntegerEntry("Network_Fee_To_Place_Order", network_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)] | |
104 | 104 | } | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | ||
108 | 108 | @Callable(i) | |
109 | 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) = { | |
110 | 110 | let calleraddress = toBase58String(i.caller.bytes) | |
111 | 111 | let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + calleraddress)) | |
112 | 112 | let read_user_funds = getIntegerValue(((Currency_ID + "_") + User_Address)) | |
113 | 113 | let update_user_funds = ((read_user_funds - Amount) - network_fee) | |
114 | 114 | let read_start_order_permit_timestamp = Start_Order_Timestamp | |
115 | 115 | let read_end_order_permit_timestamp = End_Order_Timestamp | |
116 | 116 | let read_total_pool_liquidity = Total_Pool_Liquidity | |
117 | 117 | let new_total_pool_liquidity = (read_total_pool_liquidity + Amount) | |
118 | 118 | let read_OptionCounterID = OptionCounterID | |
119 | 119 | let OpionExpireCounter = 1 | |
120 | 120 | let OptionExpireCounterID = (read_OptionCounterID + OpionExpireCounter) | |
121 | 121 | let PreviousOptionOrders = match getInteger(this, "Total_Option_Orders") { | |
122 | 122 | case a: Int => | |
123 | 123 | a | |
124 | 124 | case _ => | |
125 | 125 | 0 | |
126 | 126 | } | |
127 | 127 | let TotalOptionOrders = (PreviousOptionOrders + 1) | |
128 | 128 | let PreviousFundsAddedInSpecificOptionOrder = match getInteger(this, ("Total_Funds_Added_In_Option_Order_" + toString(read_OptionCounterID))) { | |
129 | 129 | case a: Int => | |
130 | 130 | a | |
131 | 131 | case _ => | |
132 | 132 | 0 | |
133 | 133 | } | |
134 | 134 | let TotalFundsAddedInSpecificOptionOrder = (PreviousFundsAddedInSpecificOptionOrder + Amount) | |
135 | 135 | let PreviousOptionOrdersinSpecificCounter = match getInteger(this, ("Total_Option_Orders_" + toString(read_OptionCounterID))) { | |
136 | 136 | case a: Int => | |
137 | 137 | a | |
138 | 138 | case _ => | |
139 | 139 | 0 | |
140 | 140 | } | |
141 | 141 | let TotalOptionOrdersinSpecificCounter = (PreviousOptionOrdersinSpecificCounter + 1) | |
142 | 142 | let PreviousPut = match getInteger(this, "Total_Puts") { | |
143 | 143 | case a: Int => | |
144 | 144 | a | |
145 | 145 | case _ => | |
146 | 146 | 0 | |
147 | 147 | } | |
148 | 148 | let TotalPut = (PreviousPut + 1) | |
149 | 149 | let PreviousPutinSpecificCounter = match getInteger(this, ("Total_Puts_" + toString(read_OptionCounterID))) { | |
150 | 150 | case a: Int => | |
151 | 151 | a | |
152 | 152 | case _ => | |
153 | 153 | 0 | |
154 | 154 | } | |
155 | 155 | let TotalPutinSpecificCounter = (PreviousPutinSpecificCounter + 1) | |
156 | 156 | let PreviousUserPut = match getInteger(this, (calleraddress + "_Total_Puts")) { | |
157 | 157 | case a: Int => | |
158 | 158 | a | |
159 | 159 | case _ => | |
160 | 160 | 0 | |
161 | 161 | } | |
162 | 162 | let TotalUserPut = (PreviousUserPut + 1) | |
163 | 163 | let PreviousUserPutinSpecificCounter = match getInteger(this, ((calleraddress + "_Total_Puts_") + toString(read_OptionCounterID))) { | |
164 | 164 | case a: Int => | |
165 | 165 | a | |
166 | 166 | case _ => | |
167 | 167 | 0 | |
168 | 168 | } | |
169 | 169 | let TotalUserPutinSpecificCounter = (PreviousUserPutinSpecificCounter + 1) | |
170 | 170 | let Funds_at_risk = House_risk | |
171 | 171 | if ((i.caller != whitelist_address)) | |
172 | 172 | then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it.")) | |
173 | 173 | else if ((product_launch_timestamp > lastBlock.timestamp)) | |
174 | 174 | then throw((product_launch_error + toString(product_launch_timestamp))) | |
175 | 175 | else if ((Oracle_Status == "CLOSE")) | |
176 | 176 | then throw(closed_oracle_eror) | |
177 | 177 | else if ((ifBlacklisted == "Yes")) | |
178 | 178 | then throw((calleraddress + " Address is Blacklisted. Please contact Admin to Whitelist it.")) | |
179 | 179 | else if ((lastBlock.timestamp >= read_end_order_permit_timestamp)) | |
180 | 180 | then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.") | |
181 | 181 | else if ((minimum_order_size > Amount)) | |
182 | 182 | then throw((("Placed Order Size is less than [" + toString(minimum_order_size)) + "/10^8] WAVES.")) | |
183 | 183 | else if ((Amount > maximum_order_size)) | |
184 | 184 | then throw((("Placed Order Size is more than [" + toString(maximum_order_size)) + "/10^8] WAVES.")) | |
185 | 185 | else if ((0 > update_user_funds)) | |
186 | 186 | then throw("Placed Order Amount is going negative. Please reduce the Order Size.") | |
187 | 187 | else [StringEntry(("User_ID_" + calleraddress), User_ID), IntegerEntry(((Currency_ID + "_") + User_Address), update_user_funds), IntegerEntry("Network_Fee_To_Place_Order", network_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)] | |
188 | 188 | } | |
189 | 189 | ||
190 | 190 | ||
191 | 191 | ||
192 | 192 | @Callable(i) | |
193 | 193 | func DepositUserFunds () = { | |
194 | 194 | let calleraddress = toBase58String(i.caller.bytes) | |
195 | 195 | let pmt = if ((size(i.payments) == 1)) | |
196 | 196 | then i.payments[0] | |
197 | 197 | else throw("No payment attached, Please Attach only Whitelisted Tokens in payment[1].") | |
198 | 198 | let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + calleraddress)) | |
199 | 199 | let PreviousUserDeposit = match getInteger(this, ((Currency_ID + "_") + calleraddress)) { | |
200 | 200 | case a: Int => | |
201 | 201 | a | |
202 | 202 | case _ => | |
203 | 203 | 0 | |
204 | 204 | } | |
205 | 205 | let TotalUserDeposit = (PreviousUserDeposit + pmt.amount) | |
206 | 206 | let PreviousDepositCounterID = match getInteger(this, "Deposit_Counter_ID") { | |
207 | 207 | case a: Int => | |
208 | 208 | a | |
209 | 209 | case _ => | |
210 | 210 | 0 | |
211 | 211 | } | |
212 | 212 | let TotalDepositCounterID = (PreviousDepositCounterID + 1) | |
213 | 213 | if ((product_launch_timestamp > lastBlock.timestamp)) | |
214 | 214 | then throw((product_launch_error + toString(product_launch_timestamp))) | |
215 | 215 | else if ((ifBlacklisted == "Yes")) | |
216 | 216 | then throw((calleraddress + " Address is Blacklisted. Please contact Admin to Whitelist it.")) | |
217 | 217 | else if (isDefined(pmt.assetId)) | |
218 | 218 | then throw("Only WAVES is allowed to deposit at the moment") | |
219 | 219 | else [IntegerEntry(((Currency_ID + "_") + calleraddress), TotalUserDeposit), IntegerEntry(((((toString(TotalDepositCounterID) + "_") + Currency_ID) + "_") + calleraddress), pmt.amount), IntegerEntry("Deposit_Counter_ID", TotalDepositCounterID)] | |
220 | 220 | } | |
221 | 221 | ||
222 | 222 | ||
223 | 223 | ||
224 | 224 | @Callable(i) | |
225 | 225 | func WithdrawUserFunds (User_Address,Amount) = { | |
226 | 226 | let calleraddress = toBase58String(i.caller.bytes) | |
227 | 227 | let readuserbalance = getIntegerValue(((Currency_ID + "_") + User_Address)) | |
228 | 228 | let update_user_funds = ((readuserbalance - Amount) - network_fee) | |
229 | 229 | let minimim_withdraw_amount = 10000000 | |
230 | 230 | if ((i.caller != whitelist_address)) | |
231 | 231 | then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it.")) | |
232 | 232 | else if ((minimim_withdraw_amount > Amount)) | |
233 | 233 | then throw((("Minimum Withdraw Amount is " + toString(minimim_withdraw_amount)) + "/10^8] WAVES.")) | |
234 | 234 | else if ((0 > update_user_funds)) | |
235 | 235 | then throw((("Placed Withdraw Amount is going in negative State of " + toString(update_user_funds)) + "/10^8] WAVES.")) | |
236 | - | else [IntegerEntry("Previous_Balance", readuserbalance), IntegerEntry("Network_Fee_To_Withdraw", network_fee), IntegerEntry(((Currency_ID + "_") + User_Address), update_user_funds), ScriptTransfer(addressFromStringValue(User_Address), Amount, unit)] | |
236 | + | 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)] | |
237 | 237 | } | |
238 | 238 | ||
239 | 239 | ||
240 | 240 | ||
241 | 241 | @Callable(i) | |
242 | 242 | func BlackListAddress (UserAddress) = { | |
243 | 243 | let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + UserAddress)) | |
244 | 244 | let PreviousBlackListAddress = match getInteger(this, "Total_Black_Listed_Address") { | |
245 | 245 | case a: Int => | |
246 | 246 | a | |
247 | 247 | case _ => | |
248 | 248 | 0 | |
249 | 249 | } | |
250 | 250 | let TotalBlackListAddress = (PreviousBlackListAddress + 1) | |
251 | 251 | if ((product_launch_timestamp > lastBlock.timestamp)) | |
252 | 252 | then throw((product_launch_error + toString(product_launch_timestamp))) | |
253 | 253 | else if ((i.caller != whitelist_address)) | |
254 | 254 | then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it.")) | |
255 | 255 | else if ((ifBlacklisted == "Yes")) | |
256 | 256 | then throw("Address is already available in Blacklist.") | |
257 | 257 | else [StringEntry(("addr_BLACKLISTED_" + UserAddress), "Yes"), IntegerEntry("Total_Black_Listed_Address", TotalBlackListAddress)] | |
258 | 258 | } | |
259 | 259 | ||
260 | 260 | ||
261 | 261 | ||
262 | 262 | @Callable(i) | |
263 | 263 | func DeleteBlackListAddress (UserAddress) = { | |
264 | 264 | let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + UserAddress)) | |
265 | 265 | let PreviousBlackListAddress = match getInteger(this, "Total_Black_Listed_Address") { | |
266 | 266 | case a: Int => | |
267 | 267 | a | |
268 | 268 | case _ => | |
269 | 269 | 0 | |
270 | 270 | } | |
271 | 271 | let TotalBlackListAddress = (PreviousBlackListAddress - 1) | |
272 | 272 | if ((product_launch_timestamp > lastBlock.timestamp)) | |
273 | 273 | then throw(("Product Launch Timestamp is set at " + toString(product_launch_timestamp))) | |
274 | 274 | else if ((i.caller != whitelist_address)) | |
275 | 275 | then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it.")) | |
276 | 276 | else if ((ifBlacklisted == "Yes")) | |
277 | 277 | then [DeleteEntry(("addr_BLACKLISTED_" + UserAddress)), IntegerEntry("Total_Black_Listed_Address", TotalBlackListAddress)] | |
278 | 278 | else throw("Address is not available in Blacklist.") | |
279 | 279 | } | |
280 | 280 | ||
281 | 281 | ||
282 | 282 | ||
283 | 283 | @Callable(i) | |
284 | 284 | func DelEntry (E1,E2,E3,E4,E5) = [DeleteEntry(E1), DeleteEntry(E2), DeleteEntry(E3), DeleteEntry(E4), DeleteEntry(E5)] | |
285 | 285 | ||
286 | 286 |
github/deemru/w8io/026f985 44.50 ms ◑