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/hxwE0cwMFuJmegviyQmGySeZGqn46Eb83C8AAAAAGW9yYWNsZV9jb250cm9sbGVyX2FkZHJlc3MJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEFAAAAFERhcHBfQWRkcmVzc19wdWJfa2V5AAAAAAtVU0RUQXNzZXRJRAEAAAAAAAAACAAAAAFpAQAAAA9wbGFjZW9wdGlvbkNhbGwAAAAABAAAAA1jYWxsZXJhZGRyZXNzCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAADWlmQmxhY2tsaXN0ZWQJAAQdAAAAAgUAAAAEdGhpcwkAASwAAAACAgAAABFhZGRyX0JMQUNLTElTVEVEXwUAAAANY2FsbGVyYWRkcmVzcwQAAAAScmVhZF9vcmFjbGVfc3RhdHVzCQEAAAARQGV4dHJOYXRpdmUoMTA1MykAAAACBQAAAAR0aGlzAgAAAA1vcmFjbGVfc3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2VyRW50cnkAAAACAgAAABpUb3RhbF9CbGFja19MaXN0ZWRfQWRkcmVzcwUAAAAVVG90YWxCbGFja0xpc3RBZGRyZXNzBQAAAANuaWwJAAACAAAAAQIAAAAmQWRkcmVzcyBpcyBub3QgYXZhaWxhYmxlIGluIEJsYWNrbGlzdC4AAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tlebSYzFo=", "height": 2429464, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: B6eZquZXJPeFD7ZzkudGkJGUV6hStMzCxsFt5pJgaXuG Next: 6ToSAxr38wKTgKLwKBE1bhaTaA761LSFbr8BgYeNbXm7 Diff:
OldNewDifferences
2121 let n = 1
2222 let o = (h + n)
2323 let p = {
24- let q = getInteger(this, "Total_Calls")
24+ let q = getInteger(this, "Total_Option_Orders")
2525 if ($isInstanceOf(q, "Int"))
2626 then {
2727 let r = q
3131 }
3232 let s = (p + 1)
3333 let t = {
34- let q = getInteger(this, ("Total_Calls_" + toString(h)))
34+ let q = getInteger(this, "Total_Calls")
3535 if ($isInstanceOf(q, "Int"))
3636 then {
3737 let r = q
4141 }
4242 let u = (t + 1)
4343 let v = {
44- let q = getInteger(this, (e + "_Total_Calls"))
44+ let q = getInteger(this, ("Total_Calls_" + toString(h)))
4545 if ($isInstanceOf(q, "Int"))
4646 then {
4747 let r = q
5151 }
5252 let w = (v + 1)
5353 let x = {
54+ let q = getInteger(this, (e + "_Total_Calls"))
55+ if ($isInstanceOf(q, "Int"))
56+ then {
57+ let r = q
58+ r
59+ }
60+ else 0
61+ }
62+ let y = (x + 1)
63+ let z = {
5464 let q = getInteger(this, ((e + "_Total_Calls_") + toString(h)))
5565 if ($isInstanceOf(q, "Int"))
5666 then {
5969 }
6070 else 0
6171 }
62- let y = (x + 1)
72+ let A = (z + 1)
6373 if ((m > 2))
6474 then throw("Something Wrong with Oracle or Height is not matched.")
6575 else if ((g == "Close"))
6676 then throw("Oracle is closed. Wait Until Oracle is Turned On.")
6777 else if ((f == "Yes"))
6878 then throw((e + " Address is Blacklisted. Please contact Admin to Whitelist it."))
69- else [StringEntry(((("Call_" + e) + "_") + toString(w)), k), StringEntry(((("Call_Start_End_" + e) + "_") + toString(w)), ((toString(h) + "_") + toString(o))), IntegerEntry("Total_Calls", s), IntegerEntry(("Total_Calls_" + toString(h)), u), IntegerEntry((e + "_Total_Calls"), w), IntegerEntry(((e + "_Total_Calls_") + toString(h)), y)]
79+ else [StringEntry(((("Call_" + e) + "_") + toString(y)), k), StringEntry(((("Call_Start_End_" + e) + "_") + toString(y)), ((toString(h) + "_") + toString(o))), IntegerEntry("Total_Calls", u), IntegerEntry(("Total_Calls_" + toString(h)), w), IntegerEntry((e + "_Total_Calls"), y), IntegerEntry(((e + "_Total_Calls_") + toString(h)), A)]
7080 }
7181
7282
8494 let m = (height - l)
8595 let n = 1
8696 let o = (h + n)
87- let z = {
88- let q = getInteger(this, "Total_Puts")
97+ let p = {
98+ let q = getInteger(this, "Total_Option_Orders")
8999 if ($isInstanceOf(q, "Int"))
90100 then {
91101 let r = q
93103 }
94104 else 0
95105 }
96- let A = (z + 1)
106+ let s = (p + 1)
97107 let B = {
98- let q = getInteger(this, ("Total_Puts_" + toString(h)))
108+ let q = getInteger(this, "Total_Puts")
99109 if ($isInstanceOf(q, "Int"))
100110 then {
101111 let r = q
105115 }
106116 let C = (B + 1)
107117 let D = {
108- let q = getInteger(this, (e + "_Total_Puts"))
118+ let q = getInteger(this, ("Total_Puts_" + toString(h)))
109119 if ($isInstanceOf(q, "Int"))
110120 then {
111121 let r = q
115125 }
116126 let E = (D + 1)
117127 let F = {
128+ let q = getInteger(this, (e + "_Total_Puts"))
129+ if ($isInstanceOf(q, "Int"))
130+ then {
131+ let r = q
132+ r
133+ }
134+ else 0
135+ }
136+ let G = (F + 1)
137+ let H = {
118138 let q = getInteger(this, ((e + "_Total_Puts_") + toString(h)))
119139 if ($isInstanceOf(q, "Int"))
120140 then {
123143 }
124144 else 0
125145 }
126- let G = (F + 1)
146+ let I = (H + 1)
127147 if ((m > 2))
128148 then throw("Something Wrong with Oracle or Height is not matched.")
129149 else if ((g == "Close"))
130150 then throw("Oracle is closed. Wait Until Oracle is Turned On.")
131151 else if ((f == "Yes"))
132152 then throw((e + " Address is Blacklisted. Please contact Admin to Whitelist it."))
133- else [StringEntry(((("Put_" + e) + "_") + toString(E)), k), StringEntry(((("Put_Start_End_" + e) + "_") + toString(E)), ((toString(h) + "_") + toString(o))), IntegerEntry("Total_Puts", A), IntegerEntry(("Total_Puts_" + toString(h)), C), IntegerEntry((e + "_Total_Puts"), E), IntegerEntry(((e + "_Total_Puts_") + toString(h)), G)]
153+ else [StringEntry(((("Put_" + e) + "_") + toString(G)), k), StringEntry(((("Put_Start_End_" + e) + "_") + toString(G)), ((toString(h) + "_") + toString(o))), IntegerEntry("Total_Puts", C), IntegerEntry(("Total_Puts_" + toString(h)), E), IntegerEntry((e + "_Total_Puts"), G), IntegerEntry(((e + "_Total_Puts_") + toString(h)), I)]
134154 }
135155
136156
137157
138158 @Callable(d)
139-func ClaimCall (H) = {
159+func ClaimCall (J) = {
140160 let e = toBase58String(d.caller.bytes)
141- let I = if ((size(d.payments) == 1))
161+ let K = if ((size(d.payments) == 1))
142162 then d.payments[0]
143163 else throw("No payment attached, Please Attach Tokens in payment[1].")
144- let J = getStringValue(this, ((("Call_" + e) + "_") + H))
145- let K = getStringValue(this, ((("Call_Start_End_" + e) + "_") + H))
146- let L = split(K, "_")
147- let M = L[0]
148- let N = L[1]
149- let O = getStringValue(this, ("1m_btc_" + M))
150- let P = split(O, "_")
151- let Q = P[0]
152- let R = getStringValue(this, ("1m_btc_" + N))
153- let S = split(R, "_")
154- let T = S[0]
155- let U = (parseIntValue(T) - parseIntValue(Q))
156- let V = {
164+ let L = getStringValue(this, ((("Call_" + e) + "_") + J))
165+ let M = getStringValue(this, ((("Call_Start_End_" + e) + "_") + J))
166+ let N = split(M, "_")
167+ let O = N[0]
168+ let P = N[1]
169+ let Q = getStringValue(this, ("1m_btc_" + O))
170+ let R = split(Q, "_")
171+ let S = R[0]
172+ let T = getStringValue(this, ("1m_btc_" + P))
173+ let U = split(T, "_")
174+ let V = U[0]
175+ let W = (parseIntValue(V) - parseIntValue(S))
176+ let X = {
157177 let q = getInteger(this, "Total_Option_Call_Wins")
158178 if ($isInstanceOf(q, "Int"))
159179 then {
162182 }
163183 else 0
164184 }
165- let W = (V + 1)
166- let X = {
185+ let Y = (X + 1)
186+ let Z = {
167187 let q = getInteger(this, "Total_Option_Call_Lose")
168188 if ($isInstanceOf(q, "Int"))
169189 then {
172192 }
173193 else 0
174194 }
175- let Y = (X + 1)
176- if ((0 > U))
177- then [IntegerEntry("Diff", U), IntegerEntry("Total_Option_Call_Lose", Y), StringEntry(((((((((((("c_" + e) + "_") + H) + "_") + M) + "_") + N) + "_") + Q) + "_") + T), "lose"), StringEntry("message", "You lose!"), DeleteEntry(((("Call_" + e) + "_") + H)), DeleteEntry(((("Call_Start_End_" + e) + "_") + H))]
178- else [IntegerEntry("Diff", U), IntegerEntry("Total_Option_Call_Wins", W), StringEntry(((((((((((("c_" + e) + "_") + H) + "_") + M) + "_") + N) + "_") + Q) + "_") + T), "Win"), StringEntry("message", "You Win!"), DeleteEntry(((("Call_" + e) + "_") + H)), DeleteEntry(((("Call_Start_End_" + e) + "_") + H))]
195+ let aa = (Z + 1)
196+ if ((0 > W))
197+ then [IntegerEntry("Diff", W), IntegerEntry("Total_Option_Call_Lose", aa), StringEntry(((((((((((("c_" + e) + "_") + J) + "_") + O) + "_") + P) + "_") + S) + "_") + V), "lose"), StringEntry("message", "You lose!"), DeleteEntry(((("Call_" + e) + "_") + J)), DeleteEntry(((("Call_Start_End_" + e) + "_") + J))]
198+ else [IntegerEntry("Diff", W), IntegerEntry("Total_Option_Call_Wins", Y), StringEntry(((((((((((("c_" + e) + "_") + J) + "_") + O) + "_") + P) + "_") + S) + "_") + V), "Win"), StringEntry("message", "You Win!"), DeleteEntry(((("Call_" + e) + "_") + J)), DeleteEntry(((("Call_Start_End_" + e) + "_") + J))]
179199 }
180200
181201
182202
183203 @Callable(d)
184-func ClaimPut (Z) = {
204+func ClaimPut (ab) = {
185205 let e = toBase58String(d.caller.bytes)
186- let I = if ((size(d.payments) == 1))
206+ let K = if ((size(d.payments) == 1))
187207 then d.payments[0]
188208 else throw("No payment attached, Please Attach Tokens in payment[1].")
189- let aa = getStringValue(this, ((("Put_" + e) + "_") + Z))
190- let ab = getStringValue(this, ((("Put_Start_End_" + e) + "_") + Z))
191- let L = split(ab, "_")
192- let M = L[0]
193- let N = L[1]
194- let O = getStringValue(this, ("1m_btc_" + M))
195- let P = split(O, "_")
196- let Q = P[0]
197- let R = getStringValue(this, ("1m_btc_" + N))
198- let S = split(R, "_")
199- let T = S[0]
200- let U = (parseIntValue(T) - parseIntValue(Q))
201- let ac = {
209+ let ac = getStringValue(this, ((("Put_" + e) + "_") + ab))
210+ let ad = getStringValue(this, ((("Put_Start_End_" + e) + "_") + ab))
211+ let N = split(ad, "_")
212+ let O = N[0]
213+ let P = N[1]
214+ let Q = getStringValue(this, ("1m_btc_" + O))
215+ let R = split(Q, "_")
216+ let S = R[0]
217+ let T = getStringValue(this, ("1m_btc_" + P))
218+ let U = split(T, "_")
219+ let V = U[0]
220+ let W = (parseIntValue(V) - parseIntValue(S))
221+ let ae = {
202222 let q = getInteger(this, "Total_Option_Put_Wins")
203223 if ($isInstanceOf(q, "Int"))
204224 then {
207227 }
208228 else 0
209229 }
210- let ad = (ac + 1)
211- let ae = {
230+ let af = (ae + 1)
231+ let ag = {
212232 let q = getInteger(this, "Total_Option_Put_Lose")
213233 if ($isInstanceOf(q, "Int"))
214234 then {
217237 }
218238 else 0
219239 }
220- let af = (ae + 1)
221- if ((U > 0))
222- then [IntegerEntry("Diff", U), IntegerEntry("Total_Option_Put_Lose", af), StringEntry(((((((((((("p_" + e) + "_") + Z) + "_") + M) + "_") + N) + "_") + Q) + "_") + T), "lose"), StringEntry("message", "You lose!"), DeleteEntry(((("Put_" + e) + "_") + Z)), DeleteEntry(((("Put_Start_End_" + e) + "_") + Z))]
223- else [IntegerEntry("Diff", U), IntegerEntry("Total_Option_Put_Wins", ad), StringEntry(((((((((((("p_" + e) + "_") + Z) + "_") + M) + "_") + N) + "_") + Q) + "_") + T), "Win"), StringEntry("message", "You Win!"), DeleteEntry(((("Put_" + e) + "_") + Z)), DeleteEntry(((("Put_Start_End_" + e) + "_") + Z))]
240+ let ah = (ag + 1)
241+ if ((W > 0))
242+ then [IntegerEntry("Diff", W), IntegerEntry("Total_Option_Put_Lose", ah), StringEntry(((((((((((("p_" + e) + "_") + ab) + "_") + O) + "_") + P) + "_") + S) + "_") + V), "lose"), StringEntry("message", "You lose!"), DeleteEntry(((("Put_" + e) + "_") + ab)), DeleteEntry(((("Put_Start_End_" + e) + "_") + ab))]
243+ else [IntegerEntry("Diff", W), IntegerEntry("Total_Option_Put_Wins", af), StringEntry(((((((((((("p_" + e) + "_") + ab) + "_") + O) + "_") + P) + "_") + S) + "_") + V), "Win"), StringEntry("message", "You Win!"), DeleteEntry(((("Put_" + e) + "_") + ab)), DeleteEntry(((("Put_Start_End_" + e) + "_") + ab))]
224244 }
225245
226246
227247
228248 @Callable(d)
229-func calldata (ag) = {
230- let i = getStringValue(this, ("1m_btc_" + toString(ag)))
249+func calldata (ai) = {
250+ let i = getStringValue(this, ("1m_btc_" + toString(ai)))
231251 let j = split(i, "_")
232252 let k = j[0]
233- let ah = j[1]
234- let ai = j[2]
235- let aj = j[3]
253+ let aj = j[1]
254+ let ak = j[2]
255+ let al = j[3]
236256 [StringEntry("price", j[0]), StringEntry("time", j[1]), StringEntry("blockheight", j[2]), StringEntry("div", j[3])]
237257 }
238258
249269
250270
251271 @Callable(d)
252-func BlackListAddress (ak) = {
253- let f = getString(this, ("addr_BLACKLISTED_" + ak))
254- let al = {
272+func BlackListAddress (am) = {
273+ let f = getString(this, ("addr_BLACKLISTED_" + am))
274+ let an = {
255275 let q = getInteger(this, "Total_Black_Listed_Address")
256276 if ($isInstanceOf(q, "Int"))
257277 then {
260280 }
261281 else 0
262282 }
263- let am = (al + 1)
283+ let ao = (an + 1)
264284 if ((d.caller != b))
265285 then throw((("This Address is not Authorized. Only " + toString(b)) + " is Authorized Address to Sign it."))
266286 else if ((f == "Yes"))
267287 then throw("Address is already available in Blacklist.")
268- else [StringEntry(("addr_BLACKLISTED_" + ak), "Yes"), IntegerEntry("Total_Black_Listed_Address", am)]
288+ else [StringEntry(("addr_BLACKLISTED_" + am), "Yes"), IntegerEntry("Total_Black_Listed_Address", ao)]
269289 }
270290
271291
272292
273293 @Callable(d)
274-func DeleteBlackListAddress (ak) = {
275- let f = getString(this, ("addr_BLACKLISTED_" + ak))
276- let al = {
294+func DeleteBlackListAddress (am) = {
295+ let f = getString(this, ("addr_BLACKLISTED_" + am))
296+ let an = {
277297 let q = getInteger(this, "Total_Black_Listed_Address")
278298 if ($isInstanceOf(q, "Int"))
279299 then {
282302 }
283303 else 0
284304 }
285- let am = (al - 1)
305+ let ao = (an - 1)
286306 if ((d.caller != b))
287307 then throw((("This Address is not Authorized. Only " + toString(b)) + " is Authorized Address to Sign it."))
288308 else if ((f == "Yes"))
289- then [DeleteEntry(("addr_BLACKLISTED_" + ak)), IntegerEntry("Total_Black_Listed_Address", am)]
309+ then [DeleteEntry(("addr_BLACKLISTED_" + am)), IntegerEntry("Total_Black_Listed_Address", ao)]
290310 else throw("Address is not available in Blacklist.")
291311 }
292312
293313
294-@Verifier(an)
295-func ao () = sigVerify(an.bodyBytes, an.proofs[0], an.senderPublicKey)
314+@Verifier(ap)
315+func aq () = sigVerify(ap.bodyBytes, ap.proofs[0], ap.senderPublicKey)
296316
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'CYbv2nupcWmnVFixN6Q2sxd9ChbDsq1KqXQ66VjsZBJE'
55
66 let b = addressFromPublicKey(a)
77
88 let c = base58''
99
1010 @Callable(d)
1111 func placeoptionCall () = {
1212 let e = toBase58String(d.caller.bytes)
1313 let f = getString(this, ("addr_BLACKLISTED_" + e))
1414 let g = getStringValue(this, "oracle_status")
1515 let h = getIntegerValue(this, "1m_contract_id")
1616 let i = getStringValue(this, ("1m_btc_" + toString(h)))
1717 let j = split(i, "_")
1818 let k = j[0]
1919 let l = parseIntValue(j[2])
2020 let m = (height - l)
2121 let n = 1
2222 let o = (h + n)
2323 let p = {
24- let q = getInteger(this, "Total_Calls")
24+ let q = getInteger(this, "Total_Option_Orders")
2525 if ($isInstanceOf(q, "Int"))
2626 then {
2727 let r = q
2828 r
2929 }
3030 else 0
3131 }
3232 let s = (p + 1)
3333 let t = {
34- let q = getInteger(this, ("Total_Calls_" + toString(h)))
34+ let q = getInteger(this, "Total_Calls")
3535 if ($isInstanceOf(q, "Int"))
3636 then {
3737 let r = q
3838 r
3939 }
4040 else 0
4141 }
4242 let u = (t + 1)
4343 let v = {
44- let q = getInteger(this, (e + "_Total_Calls"))
44+ let q = getInteger(this, ("Total_Calls_" + toString(h)))
4545 if ($isInstanceOf(q, "Int"))
4646 then {
4747 let r = q
4848 r
4949 }
5050 else 0
5151 }
5252 let w = (v + 1)
5353 let x = {
54+ let q = getInteger(this, (e + "_Total_Calls"))
55+ if ($isInstanceOf(q, "Int"))
56+ then {
57+ let r = q
58+ r
59+ }
60+ else 0
61+ }
62+ let y = (x + 1)
63+ let z = {
5464 let q = getInteger(this, ((e + "_Total_Calls_") + toString(h)))
5565 if ($isInstanceOf(q, "Int"))
5666 then {
5767 let r = q
5868 r
5969 }
6070 else 0
6171 }
62- let y = (x + 1)
72+ let A = (z + 1)
6373 if ((m > 2))
6474 then throw("Something Wrong with Oracle or Height is not matched.")
6575 else if ((g == "Close"))
6676 then throw("Oracle is closed. Wait Until Oracle is Turned On.")
6777 else if ((f == "Yes"))
6878 then throw((e + " Address is Blacklisted. Please contact Admin to Whitelist it."))
69- else [StringEntry(((("Call_" + e) + "_") + toString(w)), k), StringEntry(((("Call_Start_End_" + e) + "_") + toString(w)), ((toString(h) + "_") + toString(o))), IntegerEntry("Total_Calls", s), IntegerEntry(("Total_Calls_" + toString(h)), u), IntegerEntry((e + "_Total_Calls"), w), IntegerEntry(((e + "_Total_Calls_") + toString(h)), y)]
79+ else [StringEntry(((("Call_" + e) + "_") + toString(y)), k), StringEntry(((("Call_Start_End_" + e) + "_") + toString(y)), ((toString(h) + "_") + toString(o))), IntegerEntry("Total_Calls", u), IntegerEntry(("Total_Calls_" + toString(h)), w), IntegerEntry((e + "_Total_Calls"), y), IntegerEntry(((e + "_Total_Calls_") + toString(h)), A)]
7080 }
7181
7282
7383
7484 @Callable(d)
7585 func placeoptionPut () = {
7686 let e = toBase58String(d.caller.bytes)
7787 let f = getString(this, ("addr_BLACKLISTED_" + e))
7888 let g = getStringValue(this, "oracle_status")
7989 let h = getIntegerValue(this, "1m_contract_id")
8090 let i = getStringValue(this, ("1m_btc_" + toString(h)))
8191 let j = split(i, "_")
8292 let k = j[0]
8393 let l = parseIntValue(j[2])
8494 let m = (height - l)
8595 let n = 1
8696 let o = (h + n)
87- let z = {
88- let q = getInteger(this, "Total_Puts")
97+ let p = {
98+ let q = getInteger(this, "Total_Option_Orders")
8999 if ($isInstanceOf(q, "Int"))
90100 then {
91101 let r = q
92102 r
93103 }
94104 else 0
95105 }
96- let A = (z + 1)
106+ let s = (p + 1)
97107 let B = {
98- let q = getInteger(this, ("Total_Puts_" + toString(h)))
108+ let q = getInteger(this, "Total_Puts")
99109 if ($isInstanceOf(q, "Int"))
100110 then {
101111 let r = q
102112 r
103113 }
104114 else 0
105115 }
106116 let C = (B + 1)
107117 let D = {
108- let q = getInteger(this, (e + "_Total_Puts"))
118+ let q = getInteger(this, ("Total_Puts_" + toString(h)))
109119 if ($isInstanceOf(q, "Int"))
110120 then {
111121 let r = q
112122 r
113123 }
114124 else 0
115125 }
116126 let E = (D + 1)
117127 let F = {
128+ let q = getInteger(this, (e + "_Total_Puts"))
129+ if ($isInstanceOf(q, "Int"))
130+ then {
131+ let r = q
132+ r
133+ }
134+ else 0
135+ }
136+ let G = (F + 1)
137+ let H = {
118138 let q = getInteger(this, ((e + "_Total_Puts_") + toString(h)))
119139 if ($isInstanceOf(q, "Int"))
120140 then {
121141 let r = q
122142 r
123143 }
124144 else 0
125145 }
126- let G = (F + 1)
146+ let I = (H + 1)
127147 if ((m > 2))
128148 then throw("Something Wrong with Oracle or Height is not matched.")
129149 else if ((g == "Close"))
130150 then throw("Oracle is closed. Wait Until Oracle is Turned On.")
131151 else if ((f == "Yes"))
132152 then throw((e + " Address is Blacklisted. Please contact Admin to Whitelist it."))
133- else [StringEntry(((("Put_" + e) + "_") + toString(E)), k), StringEntry(((("Put_Start_End_" + e) + "_") + toString(E)), ((toString(h) + "_") + toString(o))), IntegerEntry("Total_Puts", A), IntegerEntry(("Total_Puts_" + toString(h)), C), IntegerEntry((e + "_Total_Puts"), E), IntegerEntry(((e + "_Total_Puts_") + toString(h)), G)]
153+ else [StringEntry(((("Put_" + e) + "_") + toString(G)), k), StringEntry(((("Put_Start_End_" + e) + "_") + toString(G)), ((toString(h) + "_") + toString(o))), IntegerEntry("Total_Puts", C), IntegerEntry(("Total_Puts_" + toString(h)), E), IntegerEntry((e + "_Total_Puts"), G), IntegerEntry(((e + "_Total_Puts_") + toString(h)), I)]
134154 }
135155
136156
137157
138158 @Callable(d)
139-func ClaimCall (H) = {
159+func ClaimCall (J) = {
140160 let e = toBase58String(d.caller.bytes)
141- let I = if ((size(d.payments) == 1))
161+ let K = if ((size(d.payments) == 1))
142162 then d.payments[0]
143163 else throw("No payment attached, Please Attach Tokens in payment[1].")
144- let J = getStringValue(this, ((("Call_" + e) + "_") + H))
145- let K = getStringValue(this, ((("Call_Start_End_" + e) + "_") + H))
146- let L = split(K, "_")
147- let M = L[0]
148- let N = L[1]
149- let O = getStringValue(this, ("1m_btc_" + M))
150- let P = split(O, "_")
151- let Q = P[0]
152- let R = getStringValue(this, ("1m_btc_" + N))
153- let S = split(R, "_")
154- let T = S[0]
155- let U = (parseIntValue(T) - parseIntValue(Q))
156- let V = {
164+ let L = getStringValue(this, ((("Call_" + e) + "_") + J))
165+ let M = getStringValue(this, ((("Call_Start_End_" + e) + "_") + J))
166+ let N = split(M, "_")
167+ let O = N[0]
168+ let P = N[1]
169+ let Q = getStringValue(this, ("1m_btc_" + O))
170+ let R = split(Q, "_")
171+ let S = R[0]
172+ let T = getStringValue(this, ("1m_btc_" + P))
173+ let U = split(T, "_")
174+ let V = U[0]
175+ let W = (parseIntValue(V) - parseIntValue(S))
176+ let X = {
157177 let q = getInteger(this, "Total_Option_Call_Wins")
158178 if ($isInstanceOf(q, "Int"))
159179 then {
160180 let r = q
161181 r
162182 }
163183 else 0
164184 }
165- let W = (V + 1)
166- let X = {
185+ let Y = (X + 1)
186+ let Z = {
167187 let q = getInteger(this, "Total_Option_Call_Lose")
168188 if ($isInstanceOf(q, "Int"))
169189 then {
170190 let r = q
171191 r
172192 }
173193 else 0
174194 }
175- let Y = (X + 1)
176- if ((0 > U))
177- then [IntegerEntry("Diff", U), IntegerEntry("Total_Option_Call_Lose", Y), StringEntry(((((((((((("c_" + e) + "_") + H) + "_") + M) + "_") + N) + "_") + Q) + "_") + T), "lose"), StringEntry("message", "You lose!"), DeleteEntry(((("Call_" + e) + "_") + H)), DeleteEntry(((("Call_Start_End_" + e) + "_") + H))]
178- else [IntegerEntry("Diff", U), IntegerEntry("Total_Option_Call_Wins", W), StringEntry(((((((((((("c_" + e) + "_") + H) + "_") + M) + "_") + N) + "_") + Q) + "_") + T), "Win"), StringEntry("message", "You Win!"), DeleteEntry(((("Call_" + e) + "_") + H)), DeleteEntry(((("Call_Start_End_" + e) + "_") + H))]
195+ let aa = (Z + 1)
196+ if ((0 > W))
197+ then [IntegerEntry("Diff", W), IntegerEntry("Total_Option_Call_Lose", aa), StringEntry(((((((((((("c_" + e) + "_") + J) + "_") + O) + "_") + P) + "_") + S) + "_") + V), "lose"), StringEntry("message", "You lose!"), DeleteEntry(((("Call_" + e) + "_") + J)), DeleteEntry(((("Call_Start_End_" + e) + "_") + J))]
198+ else [IntegerEntry("Diff", W), IntegerEntry("Total_Option_Call_Wins", Y), StringEntry(((((((((((("c_" + e) + "_") + J) + "_") + O) + "_") + P) + "_") + S) + "_") + V), "Win"), StringEntry("message", "You Win!"), DeleteEntry(((("Call_" + e) + "_") + J)), DeleteEntry(((("Call_Start_End_" + e) + "_") + J))]
179199 }
180200
181201
182202
183203 @Callable(d)
184-func ClaimPut (Z) = {
204+func ClaimPut (ab) = {
185205 let e = toBase58String(d.caller.bytes)
186- let I = if ((size(d.payments) == 1))
206+ let K = if ((size(d.payments) == 1))
187207 then d.payments[0]
188208 else throw("No payment attached, Please Attach Tokens in payment[1].")
189- let aa = getStringValue(this, ((("Put_" + e) + "_") + Z))
190- let ab = getStringValue(this, ((("Put_Start_End_" + e) + "_") + Z))
191- let L = split(ab, "_")
192- let M = L[0]
193- let N = L[1]
194- let O = getStringValue(this, ("1m_btc_" + M))
195- let P = split(O, "_")
196- let Q = P[0]
197- let R = getStringValue(this, ("1m_btc_" + N))
198- let S = split(R, "_")
199- let T = S[0]
200- let U = (parseIntValue(T) - parseIntValue(Q))
201- let ac = {
209+ let ac = getStringValue(this, ((("Put_" + e) + "_") + ab))
210+ let ad = getStringValue(this, ((("Put_Start_End_" + e) + "_") + ab))
211+ let N = split(ad, "_")
212+ let O = N[0]
213+ let P = N[1]
214+ let Q = getStringValue(this, ("1m_btc_" + O))
215+ let R = split(Q, "_")
216+ let S = R[0]
217+ let T = getStringValue(this, ("1m_btc_" + P))
218+ let U = split(T, "_")
219+ let V = U[0]
220+ let W = (parseIntValue(V) - parseIntValue(S))
221+ let ae = {
202222 let q = getInteger(this, "Total_Option_Put_Wins")
203223 if ($isInstanceOf(q, "Int"))
204224 then {
205225 let r = q
206226 r
207227 }
208228 else 0
209229 }
210- let ad = (ac + 1)
211- let ae = {
230+ let af = (ae + 1)
231+ let ag = {
212232 let q = getInteger(this, "Total_Option_Put_Lose")
213233 if ($isInstanceOf(q, "Int"))
214234 then {
215235 let r = q
216236 r
217237 }
218238 else 0
219239 }
220- let af = (ae + 1)
221- if ((U > 0))
222- then [IntegerEntry("Diff", U), IntegerEntry("Total_Option_Put_Lose", af), StringEntry(((((((((((("p_" + e) + "_") + Z) + "_") + M) + "_") + N) + "_") + Q) + "_") + T), "lose"), StringEntry("message", "You lose!"), DeleteEntry(((("Put_" + e) + "_") + Z)), DeleteEntry(((("Put_Start_End_" + e) + "_") + Z))]
223- else [IntegerEntry("Diff", U), IntegerEntry("Total_Option_Put_Wins", ad), StringEntry(((((((((((("p_" + e) + "_") + Z) + "_") + M) + "_") + N) + "_") + Q) + "_") + T), "Win"), StringEntry("message", "You Win!"), DeleteEntry(((("Put_" + e) + "_") + Z)), DeleteEntry(((("Put_Start_End_" + e) + "_") + Z))]
240+ let ah = (ag + 1)
241+ if ((W > 0))
242+ then [IntegerEntry("Diff", W), IntegerEntry("Total_Option_Put_Lose", ah), StringEntry(((((((((((("p_" + e) + "_") + ab) + "_") + O) + "_") + P) + "_") + S) + "_") + V), "lose"), StringEntry("message", "You lose!"), DeleteEntry(((("Put_" + e) + "_") + ab)), DeleteEntry(((("Put_Start_End_" + e) + "_") + ab))]
243+ else [IntegerEntry("Diff", W), IntegerEntry("Total_Option_Put_Wins", af), StringEntry(((((((((((("p_" + e) + "_") + ab) + "_") + O) + "_") + P) + "_") + S) + "_") + V), "Win"), StringEntry("message", "You Win!"), DeleteEntry(((("Put_" + e) + "_") + ab)), DeleteEntry(((("Put_Start_End_" + e) + "_") + ab))]
224244 }
225245
226246
227247
228248 @Callable(d)
229-func calldata (ag) = {
230- let i = getStringValue(this, ("1m_btc_" + toString(ag)))
249+func calldata (ai) = {
250+ let i = getStringValue(this, ("1m_btc_" + toString(ai)))
231251 let j = split(i, "_")
232252 let k = j[0]
233- let ah = j[1]
234- let ai = j[2]
235- let aj = j[3]
253+ let aj = j[1]
254+ let ak = j[2]
255+ let al = j[3]
236256 [StringEntry("price", j[0]), StringEntry("time", j[1]), StringEntry("blockheight", j[2]), StringEntry("div", j[3])]
237257 }
238258
239259
240260
241261 @Callable(d)
242262 func OpenOracle () = {
243263 let e = toBase58String(d.caller.bytes)
244264 if ((d.caller != b))
245265 then throw((("This Address is not Authorized. Only " + toString(b)) + " is Authorized Address to Sign it."))
246266 else [StringEntry("oracle_status", "Open")]
247267 }
248268
249269
250270
251271 @Callable(d)
252-func BlackListAddress (ak) = {
253- let f = getString(this, ("addr_BLACKLISTED_" + ak))
254- let al = {
272+func BlackListAddress (am) = {
273+ let f = getString(this, ("addr_BLACKLISTED_" + am))
274+ let an = {
255275 let q = getInteger(this, "Total_Black_Listed_Address")
256276 if ($isInstanceOf(q, "Int"))
257277 then {
258278 let r = q
259279 r
260280 }
261281 else 0
262282 }
263- let am = (al + 1)
283+ let ao = (an + 1)
264284 if ((d.caller != b))
265285 then throw((("This Address is not Authorized. Only " + toString(b)) + " is Authorized Address to Sign it."))
266286 else if ((f == "Yes"))
267287 then throw("Address is already available in Blacklist.")
268- else [StringEntry(("addr_BLACKLISTED_" + ak), "Yes"), IntegerEntry("Total_Black_Listed_Address", am)]
288+ else [StringEntry(("addr_BLACKLISTED_" + am), "Yes"), IntegerEntry("Total_Black_Listed_Address", ao)]
269289 }
270290
271291
272292
273293 @Callable(d)
274-func DeleteBlackListAddress (ak) = {
275- let f = getString(this, ("addr_BLACKLISTED_" + ak))
276- let al = {
294+func DeleteBlackListAddress (am) = {
295+ let f = getString(this, ("addr_BLACKLISTED_" + am))
296+ let an = {
277297 let q = getInteger(this, "Total_Black_Listed_Address")
278298 if ($isInstanceOf(q, "Int"))
279299 then {
280300 let r = q
281301 r
282302 }
283303 else 0
284304 }
285- let am = (al - 1)
305+ let ao = (an - 1)
286306 if ((d.caller != b))
287307 then throw((("This Address is not Authorized. Only " + toString(b)) + " is Authorized Address to Sign it."))
288308 else if ((f == "Yes"))
289- then [DeleteEntry(("addr_BLACKLISTED_" + ak)), IntegerEntry("Total_Black_Listed_Address", am)]
309+ then [DeleteEntry(("addr_BLACKLISTED_" + am)), IntegerEntry("Total_Black_Listed_Address", ao)]
290310 else throw("Address is not available in Blacklist.")
291311 }
292312
293313
294-@Verifier(an)
295-func ao () = sigVerify(an.bodyBytes, an.proofs[0], an.senderPublicKey)
314+@Verifier(ap)
315+func aq () = sigVerify(ap.bodyBytes, ap.proofs[0], ap.senderPublicKey)
296316

github/deemru/w8io/169f3d6 
92.78 ms