tx · B1dvJWQPNjDyvFL2t9AXEDSEBYVF4E6di8LZTVBrynLR 3NC9boevS259eTsMAkFAxCPorzK4Z9bpWje: -0.01900000 Waves 2023.01.31 21:13 [2429464] smart account 3NC9boevS259eTsMAkFAxCPorzK4Z9bpWje > SELF 0.00000000 Waves
{ "type": 13, "id": "B1dvJWQPNjDyvFL2t9AXEDSEBYVF4E6di8LZTVBrynLR", "fee": 1900000, "feeAssetId": null, "timestamp": 1675188843124, "version": 2, "chainId": 84, "sender": "3NC9boevS259eTsMAkFAxCPorzK4Z9bpWje", "senderPublicKey": "515tSAyMUbAb8kKjcpGDpqALGfCgcwfWmWKKkcBKTcGB", "proofs": [ "3m5qwrj13VAzXFZjwtrbThpbxYz1AQuGg8cEUixwHFzNX1WcZBoiBuR1qP3rymZjr58PYm2hZbaT4wkKGqMwrCzE" ], "script": "base64:AAIFAAAAAAAAACEIAhIAEgASAwoBCBIDCgEIEgMKAQESABIDCgEIEgMKAQgAAAADAAAAABREYXBwX0FkZHJlc3NfcHViX2tleQEAAAAgq4kJ/Yx/hxwE0cwMFuJmegviyQmGySeZGqn46Eb83C8AAAAAGW9yYWNsZV9jb250cm9sbGVyX2FkZHJlc3MJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEFAAAAFERhcHBfQWRkcmVzc19wdWJfa2V5AAAAAAtVU0RUQXNzZXRJRAEAAAAAAAAACAAAAAFpAQAAAA9wbGFjZW9wdGlvbkNhbGwAAAAABAAAAA1jYWxsZXJhZGRyZXNzCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAADWlmQmxhY2tsaXN0ZWQJAAQdAAAAAgUAAAAEdGhpcwkAASwAAAACAgAAABFhZGRyX0JMQUNLTElTVEVEXwUAAAANY2FsbGVyYWRkcmVzcwQAAAAScmVhZF9vcmFjbGVfc3RhdHVzCQEAAAARQGV4dHJOYXRpdmUoMTA1MykAAAACBQAAAAR0aGlzAgAAAA1vcmFjbGVfc3R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2VyRW50cnkAAAACAgAAABpUb3RhbF9CbGFja19MaXN0ZWRfQWRkcmVzcwUAAAAVVG90YWxCbGFja0xpc3RBZGRyZXNzBQAAAANuaWwJAAACAAAAAQIAAAAmQWRkcmVzcyBpcyBub3QgYXZhaWxhYmxlIGluIEJsYWNrbGlzdC4AAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tlebSYzFo=", "height": 2429464, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: B6eZquZXJPeFD7ZzkudGkJGUV6hStMzCxsFt5pJgaXuG Next: 6ToSAxr38wKTgKLwKBE1bhaTaA761LSFbr8BgYeNbXm7 Diff:
Old | New | Differences | |
---|---|---|---|
20 | 20 | let checkblockgap = (height - block) | |
21 | 21 | let OpionExpireCounter = 1 | |
22 | 22 | let OptionExpireCounterID = (read_OptionCounterID + OpionExpireCounter) | |
23 | + | let PreviousOptionOrders = match getInteger(this, "Total_Option_Orders") { | |
24 | + | case a: Int => | |
25 | + | a | |
26 | + | case _ => | |
27 | + | 0 | |
28 | + | } | |
29 | + | let TotalOrders = (PreviousOptionOrders + 1) | |
23 | 30 | let PreviousCall = match getInteger(this, "Total_Calls") { | |
24 | 31 | case a: Int => | |
25 | 32 | a | |
72 | 79 | let checkblockgap = (height - block) | |
73 | 80 | let OpionExpireCounter = 1 | |
74 | 81 | let OptionExpireCounterID = (read_OptionCounterID + OpionExpireCounter) | |
82 | + | let PreviousOptionOrders = match getInteger(this, "Total_Option_Orders") { | |
83 | + | case a: Int => | |
84 | + | a | |
85 | + | case _ => | |
86 | + | 0 | |
87 | + | } | |
88 | + | let TotalOrders = (PreviousOptionOrders + 1) | |
75 | 89 | let PreviousPut = match getInteger(this, "Total_Puts") { | |
76 | 90 | case a: Int => | |
77 | 91 | a |
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'CYbv2nupcWmnVFixN6Q2sxd9ChbDsq1KqXQ66VjsZBJE' | |
5 | 5 | ||
6 | 6 | let oracle_controller_address = addressFromPublicKey(Dapp_Address_pub_key) | |
7 | 7 | ||
8 | 8 | let USDTAssetID = base58'' | |
9 | 9 | ||
10 | 10 | @Callable(i) | |
11 | 11 | func placeoptionCall () = { | |
12 | 12 | let calleraddress = toBase58String(i.caller.bytes) | |
13 | 13 | let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + calleraddress)) | |
14 | 14 | let read_oracle_status = getStringValue(this, "oracle_status") | |
15 | 15 | let read_OptionCounterID = getIntegerValue(this, "1m_contract_id") | |
16 | 16 | let getbtcdata = getStringValue(this, ("1m_btc_" + toString(read_OptionCounterID))) | |
17 | 17 | let swapLi = split(getbtcdata, "_") | |
18 | 18 | let price = swapLi[0] | |
19 | 19 | let block = parseIntValue(swapLi[2]) | |
20 | 20 | let checkblockgap = (height - block) | |
21 | 21 | let OpionExpireCounter = 1 | |
22 | 22 | let OptionExpireCounterID = (read_OptionCounterID + OpionExpireCounter) | |
23 | + | let PreviousOptionOrders = match getInteger(this, "Total_Option_Orders") { | |
24 | + | case a: Int => | |
25 | + | a | |
26 | + | case _ => | |
27 | + | 0 | |
28 | + | } | |
29 | + | let TotalOrders = (PreviousOptionOrders + 1) | |
23 | 30 | let PreviousCall = match getInteger(this, "Total_Calls") { | |
24 | 31 | case a: Int => | |
25 | 32 | a | |
26 | 33 | case _ => | |
27 | 34 | 0 | |
28 | 35 | } | |
29 | 36 | let TotalCall = (PreviousCall + 1) | |
30 | 37 | let PreviousCallinSpecificCounter = match getInteger(this, ("Total_Calls_" + toString(read_OptionCounterID))) { | |
31 | 38 | case a: Int => | |
32 | 39 | a | |
33 | 40 | case _ => | |
34 | 41 | 0 | |
35 | 42 | } | |
36 | 43 | let TotalCallinSpecificCounter = (PreviousCallinSpecificCounter + 1) | |
37 | 44 | let PreviousUserCall = match getInteger(this, (calleraddress + "_Total_Calls")) { | |
38 | 45 | case a: Int => | |
39 | 46 | a | |
40 | 47 | case _ => | |
41 | 48 | 0 | |
42 | 49 | } | |
43 | 50 | let TotalUserCall = (PreviousUserCall + 1) | |
44 | 51 | let PreviousUserCallinSpecificCounter = match getInteger(this, ((calleraddress + "_Total_Calls_") + toString(read_OptionCounterID))) { | |
45 | 52 | case a: Int => | |
46 | 53 | a | |
47 | 54 | case _ => | |
48 | 55 | 0 | |
49 | 56 | } | |
50 | 57 | let TotalUserCallinSpecificCounter = (PreviousUserCallinSpecificCounter + 1) | |
51 | 58 | if ((checkblockgap > 2)) | |
52 | 59 | then throw("Something Wrong with Oracle or Height is not matched.") | |
53 | 60 | else if ((read_oracle_status == "Close")) | |
54 | 61 | then throw("Oracle is closed. Wait Until Oracle is Turned On.") | |
55 | 62 | else if ((ifBlacklisted == "Yes")) | |
56 | 63 | then throw((calleraddress + " Address is Blacklisted. Please contact Admin to Whitelist it.")) | |
57 | 64 | else [StringEntry(((("Call_" + calleraddress) + "_") + toString(TotalUserCall)), price), StringEntry(((("Call_Start_End_" + calleraddress) + "_") + toString(TotalUserCall)), ((toString(read_OptionCounterID) + "_") + toString(OptionExpireCounterID))), IntegerEntry("Total_Calls", TotalCall), IntegerEntry(("Total_Calls_" + toString(read_OptionCounterID)), TotalCallinSpecificCounter), IntegerEntry((calleraddress + "_Total_Calls"), TotalUserCall), IntegerEntry(((calleraddress + "_Total_Calls_") + toString(read_OptionCounterID)), TotalUserCallinSpecificCounter)] | |
58 | 65 | } | |
59 | 66 | ||
60 | 67 | ||
61 | 68 | ||
62 | 69 | @Callable(i) | |
63 | 70 | func placeoptionPut () = { | |
64 | 71 | let calleraddress = toBase58String(i.caller.bytes) | |
65 | 72 | let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + calleraddress)) | |
66 | 73 | let read_oracle_status = getStringValue(this, "oracle_status") | |
67 | 74 | let read_OptionCounterID = getIntegerValue(this, "1m_contract_id") | |
68 | 75 | let getbtcdata = getStringValue(this, ("1m_btc_" + toString(read_OptionCounterID))) | |
69 | 76 | let swapLi = split(getbtcdata, "_") | |
70 | 77 | let price = swapLi[0] | |
71 | 78 | let block = parseIntValue(swapLi[2]) | |
72 | 79 | let checkblockgap = (height - block) | |
73 | 80 | let OpionExpireCounter = 1 | |
74 | 81 | let OptionExpireCounterID = (read_OptionCounterID + OpionExpireCounter) | |
82 | + | let PreviousOptionOrders = match getInteger(this, "Total_Option_Orders") { | |
83 | + | case a: Int => | |
84 | + | a | |
85 | + | case _ => | |
86 | + | 0 | |
87 | + | } | |
88 | + | let TotalOrders = (PreviousOptionOrders + 1) | |
75 | 89 | let PreviousPut = match getInteger(this, "Total_Puts") { | |
76 | 90 | case a: Int => | |
77 | 91 | a | |
78 | 92 | case _ => | |
79 | 93 | 0 | |
80 | 94 | } | |
81 | 95 | let TotalPut = (PreviousPut + 1) | |
82 | 96 | let PreviousPutinSpecificCounter = match getInteger(this, ("Total_Puts_" + toString(read_OptionCounterID))) { | |
83 | 97 | case a: Int => | |
84 | 98 | a | |
85 | 99 | case _ => | |
86 | 100 | 0 | |
87 | 101 | } | |
88 | 102 | let TotalPutinSpecificCounter = (PreviousPutinSpecificCounter + 1) | |
89 | 103 | let PreviousUserPut = match getInteger(this, (calleraddress + "_Total_Puts")) { | |
90 | 104 | case a: Int => | |
91 | 105 | a | |
92 | 106 | case _ => | |
93 | 107 | 0 | |
94 | 108 | } | |
95 | 109 | let TotalUserPut = (PreviousUserPut + 1) | |
96 | 110 | let PreviousUserPutinSpecificCounter = match getInteger(this, ((calleraddress + "_Total_Puts_") + toString(read_OptionCounterID))) { | |
97 | 111 | case a: Int => | |
98 | 112 | a | |
99 | 113 | case _ => | |
100 | 114 | 0 | |
101 | 115 | } | |
102 | 116 | let TotalUserPutinSpecificCounter = (PreviousUserPutinSpecificCounter + 1) | |
103 | 117 | if ((checkblockgap > 2)) | |
104 | 118 | then throw("Something Wrong with Oracle or Height is not matched.") | |
105 | 119 | else if ((read_oracle_status == "Close")) | |
106 | 120 | then throw("Oracle is closed. Wait Until Oracle is Turned On.") | |
107 | 121 | else if ((ifBlacklisted == "Yes")) | |
108 | 122 | then throw((calleraddress + " Address is Blacklisted. Please contact Admin to Whitelist it.")) | |
109 | 123 | else [StringEntry(((("Put_" + calleraddress) + "_") + toString(TotalUserPut)), price), StringEntry(((("Put_Start_End_" + calleraddress) + "_") + toString(TotalUserPut)), ((toString(read_OptionCounterID) + "_") + toString(OptionExpireCounterID))), IntegerEntry("Total_Puts", TotalPut), IntegerEntry(("Total_Puts_" + toString(read_OptionCounterID)), TotalPutinSpecificCounter), IntegerEntry((calleraddress + "_Total_Puts"), TotalUserPut), IntegerEntry(((calleraddress + "_Total_Puts_") + toString(read_OptionCounterID)), TotalUserPutinSpecificCounter)] | |
110 | 124 | } | |
111 | 125 | ||
112 | 126 | ||
113 | 127 | ||
114 | 128 | @Callable(i) | |
115 | 129 | func ClaimCall (Call_Sequence) = { | |
116 | 130 | let calleraddress = toBase58String(i.caller.bytes) | |
117 | 131 | let pmt = if ((size(i.payments) == 1)) | |
118 | 132 | then i.payments[0] | |
119 | 133 | else throw("No payment attached, Please Attach Tokens in payment[1].") | |
120 | 134 | let getOptionCallPrice = getStringValue(this, ((("Call_" + calleraddress) + "_") + Call_Sequence)) | |
121 | 135 | let getOptionCall_Sequencedata = getStringValue(this, ((("Call_Start_End_" + calleraddress) + "_") + Call_Sequence)) | |
122 | 136 | let splitStartEndCounter = split(getOptionCall_Sequencedata, "_") | |
123 | 137 | let getStartCounter = splitStartEndCounter[0] | |
124 | 138 | let getEndCounter = splitStartEndCounter[1] | |
125 | 139 | let getbtcdataAtStartCounter = getStringValue(this, ("1m_btc_" + getStartCounter)) | |
126 | 140 | let splitbtcpriceAtStartCounter = split(getbtcdataAtStartCounter, "_") | |
127 | 141 | let getbtcpriceAtStartCounter = splitbtcpriceAtStartCounter[0] | |
128 | 142 | let getbtcdataAtEndCounter = getStringValue(this, ("1m_btc_" + getEndCounter)) | |
129 | 143 | let splitbtcpriceAtEndCounter = split(getbtcdataAtEndCounter, "_") | |
130 | 144 | let getbtcpriceAtEndCounter = splitbtcpriceAtEndCounter[0] | |
131 | 145 | let pricediff = (parseIntValue(getbtcpriceAtEndCounter) - parseIntValue(getbtcpriceAtStartCounter)) | |
132 | 146 | let PreviousCallWin = match getInteger(this, "Total_Option_Call_Wins") { | |
133 | 147 | case a: Int => | |
134 | 148 | a | |
135 | 149 | case _ => | |
136 | 150 | 0 | |
137 | 151 | } | |
138 | 152 | let TotalCallWin = (PreviousCallWin + 1) | |
139 | 153 | let PreviousCallLose = match getInteger(this, "Total_Option_Call_Lose") { | |
140 | 154 | case a: Int => | |
141 | 155 | a | |
142 | 156 | case _ => | |
143 | 157 | 0 | |
144 | 158 | } | |
145 | 159 | let TotalCallLose = (PreviousCallLose + 1) | |
146 | 160 | if ((0 > pricediff)) | |
147 | 161 | then [IntegerEntry("Diff", pricediff), IntegerEntry("Total_Option_Call_Lose", TotalCallLose), StringEntry(((((((((((("c_" + calleraddress) + "_") + Call_Sequence) + "_") + getStartCounter) + "_") + getEndCounter) + "_") + getbtcpriceAtStartCounter) + "_") + getbtcpriceAtEndCounter), "lose"), StringEntry("message", "You lose!"), DeleteEntry(((("Call_" + calleraddress) + "_") + Call_Sequence)), DeleteEntry(((("Call_Start_End_" + calleraddress) + "_") + Call_Sequence))] | |
148 | 162 | else [IntegerEntry("Diff", pricediff), IntegerEntry("Total_Option_Call_Wins", TotalCallWin), StringEntry(((((((((((("c_" + calleraddress) + "_") + Call_Sequence) + "_") + getStartCounter) + "_") + getEndCounter) + "_") + getbtcpriceAtStartCounter) + "_") + getbtcpriceAtEndCounter), "Win"), StringEntry("message", "You Win!"), DeleteEntry(((("Call_" + calleraddress) + "_") + Call_Sequence)), DeleteEntry(((("Call_Start_End_" + calleraddress) + "_") + Call_Sequence))] | |
149 | 163 | } | |
150 | 164 | ||
151 | 165 | ||
152 | 166 | ||
153 | 167 | @Callable(i) | |
154 | 168 | func ClaimPut (Put_Sequence) = { | |
155 | 169 | let calleraddress = toBase58String(i.caller.bytes) | |
156 | 170 | let pmt = if ((size(i.payments) == 1)) | |
157 | 171 | then i.payments[0] | |
158 | 172 | else throw("No payment attached, Please Attach Tokens in payment[1].") | |
159 | 173 | let getOptionPutPrice = getStringValue(this, ((("Put_" + calleraddress) + "_") + Put_Sequence)) | |
160 | 174 | let getOptionPut_Sequencedata = getStringValue(this, ((("Put_Start_End_" + calleraddress) + "_") + Put_Sequence)) | |
161 | 175 | let splitStartEndCounter = split(getOptionPut_Sequencedata, "_") | |
162 | 176 | let getStartCounter = splitStartEndCounter[0] | |
163 | 177 | let getEndCounter = splitStartEndCounter[1] | |
164 | 178 | let getbtcdataAtStartCounter = getStringValue(this, ("1m_btc_" + getStartCounter)) | |
165 | 179 | let splitbtcpriceAtStartCounter = split(getbtcdataAtStartCounter, "_") | |
166 | 180 | let getbtcpriceAtStartCounter = splitbtcpriceAtStartCounter[0] | |
167 | 181 | let getbtcdataAtEndCounter = getStringValue(this, ("1m_btc_" + getEndCounter)) | |
168 | 182 | let splitbtcpriceAtEndCounter = split(getbtcdataAtEndCounter, "_") | |
169 | 183 | let getbtcpriceAtEndCounter = splitbtcpriceAtEndCounter[0] | |
170 | 184 | let pricediff = (parseIntValue(getbtcpriceAtEndCounter) - parseIntValue(getbtcpriceAtStartCounter)) | |
171 | 185 | let PreviousPutWin = match getInteger(this, "Total_Option_Put_Wins") { | |
172 | 186 | case a: Int => | |
173 | 187 | a | |
174 | 188 | case _ => | |
175 | 189 | 0 | |
176 | 190 | } | |
177 | 191 | let TotalPutWin = (PreviousPutWin + 1) | |
178 | 192 | let PreviousPutLose = match getInteger(this, "Total_Option_Put_Lose") { | |
179 | 193 | case a: Int => | |
180 | 194 | a | |
181 | 195 | case _ => | |
182 | 196 | 0 | |
183 | 197 | } | |
184 | 198 | let TotalPutLose = (PreviousPutLose + 1) | |
185 | 199 | if ((pricediff > 0)) | |
186 | 200 | then [IntegerEntry("Diff", pricediff), IntegerEntry("Total_Option_Put_Lose", TotalPutLose), StringEntry(((((((((((("p_" + calleraddress) + "_") + Put_Sequence) + "_") + getStartCounter) + "_") + getEndCounter) + "_") + getbtcpriceAtStartCounter) + "_") + getbtcpriceAtEndCounter), "lose"), StringEntry("message", "You lose!"), DeleteEntry(((("Put_" + calleraddress) + "_") + Put_Sequence)), DeleteEntry(((("Put_Start_End_" + calleraddress) + "_") + Put_Sequence))] | |
187 | 201 | else [IntegerEntry("Diff", pricediff), IntegerEntry("Total_Option_Put_Wins", TotalPutWin), StringEntry(((((((((((("p_" + calleraddress) + "_") + Put_Sequence) + "_") + getStartCounter) + "_") + getEndCounter) + "_") + getbtcpriceAtStartCounter) + "_") + getbtcpriceAtEndCounter), "Win"), StringEntry("message", "You Win!"), DeleteEntry(((("Put_" + calleraddress) + "_") + Put_Sequence)), DeleteEntry(((("Put_Start_End_" + calleraddress) + "_") + Put_Sequence))] | |
188 | 202 | } | |
189 | 203 | ||
190 | 204 | ||
191 | 205 | ||
192 | 206 | @Callable(i) | |
193 | 207 | func calldata (Counter) = { | |
194 | 208 | let getbtcdata = getStringValue(this, ("1m_btc_" + toString(Counter))) | |
195 | 209 | let swapLi = split(getbtcdata, "_") | |
196 | 210 | let price = swapLi[0] | |
197 | 211 | let time = swapLi[1] | |
198 | 212 | let blockheight = swapLi[2] | |
199 | 213 | let div = swapLi[3] | |
200 | 214 | [StringEntry("price", swapLi[0]), StringEntry("time", swapLi[1]), StringEntry("blockheight", swapLi[2]), StringEntry("div", swapLi[3])] | |
201 | 215 | } | |
202 | 216 | ||
203 | 217 | ||
204 | 218 | ||
205 | 219 | @Callable(i) | |
206 | 220 | func OpenOracle () = { | |
207 | 221 | let calleraddress = toBase58String(i.caller.bytes) | |
208 | 222 | if ((i.caller != oracle_controller_address)) | |
209 | 223 | then throw((("This Address is not Authorized. Only " + toString(oracle_controller_address)) + " is Authorized Address to Sign it.")) | |
210 | 224 | else [StringEntry("oracle_status", "Open")] | |
211 | 225 | } | |
212 | 226 | ||
213 | 227 | ||
214 | 228 | ||
215 | 229 | @Callable(i) | |
216 | 230 | func BlackListAddress (UserAddress) = { | |
217 | 231 | let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + UserAddress)) | |
218 | 232 | let PreviousBlackListAddress = match getInteger(this, "Total_Black_Listed_Address") { | |
219 | 233 | case a: Int => | |
220 | 234 | a | |
221 | 235 | case _ => | |
222 | 236 | 0 | |
223 | 237 | } | |
224 | 238 | let TotalBlackListAddress = (PreviousBlackListAddress + 1) | |
225 | 239 | if ((i.caller != oracle_controller_address)) | |
226 | 240 | then throw((("This Address is not Authorized. Only " + toString(oracle_controller_address)) + " is Authorized Address to Sign it.")) | |
227 | 241 | else if ((ifBlacklisted == "Yes")) | |
228 | 242 | then throw("Address is already available in Blacklist.") | |
229 | 243 | else [StringEntry(("addr_BLACKLISTED_" + UserAddress), "Yes"), IntegerEntry("Total_Black_Listed_Address", TotalBlackListAddress)] | |
230 | 244 | } | |
231 | 245 | ||
232 | 246 | ||
233 | 247 | ||
234 | 248 | @Callable(i) | |
235 | 249 | func DeleteBlackListAddress (UserAddress) = { | |
236 | 250 | let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + UserAddress)) | |
237 | 251 | let PreviousBlackListAddress = match getInteger(this, "Total_Black_Listed_Address") { | |
238 | 252 | case a: Int => | |
239 | 253 | a | |
240 | 254 | case _ => | |
241 | 255 | 0 | |
242 | 256 | } | |
243 | 257 | let TotalBlackListAddress = (PreviousBlackListAddress - 1) | |
244 | 258 | if ((i.caller != oracle_controller_address)) | |
245 | 259 | then throw((("This Address is not Authorized. Only " + toString(oracle_controller_address)) + " is Authorized Address to Sign it.")) | |
246 | 260 | else if ((ifBlacklisted == "Yes")) | |
247 | 261 | then [DeleteEntry(("addr_BLACKLISTED_" + UserAddress)), IntegerEntry("Total_Black_Listed_Address", TotalBlackListAddress)] | |
248 | 262 | else throw("Address is not available in Blacklist.") | |
249 | 263 | } | |
250 | 264 | ||
251 | 265 | ||
252 | 266 | @Verifier(tx) | |
253 | 267 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
254 | 268 |
github/deemru/w8io/169f3d6 44.08 ms ◑