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
2020 let checkblockgap = (height - block)
2121 let OpionExpireCounter = 1
2222 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)
2330 let PreviousCall = match getInteger(this, "Total_Calls") {
2431 case a: Int =>
2532 a
7279 let checkblockgap = (height - block)
7380 let OpionExpireCounter = 1
7481 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)
7589 let PreviousPut = match getInteger(this, "Total_Puts") {
7690 case a: Int =>
7791 a
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let Dapp_Address_pub_key = base58'CYbv2nupcWmnVFixN6Q2sxd9ChbDsq1KqXQ66VjsZBJE'
55
66 let oracle_controller_address = addressFromPublicKey(Dapp_Address_pub_key)
77
88 let USDTAssetID = base58''
99
1010 @Callable(i)
1111 func placeoptionCall () = {
1212 let calleraddress = toBase58String(i.caller.bytes)
1313 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + calleraddress))
1414 let read_oracle_status = getStringValue(this, "oracle_status")
1515 let read_OptionCounterID = getIntegerValue(this, "1m_contract_id")
1616 let getbtcdata = getStringValue(this, ("1m_btc_" + toString(read_OptionCounterID)))
1717 let swapLi = split(getbtcdata, "_")
1818 let price = swapLi[0]
1919 let block = parseIntValue(swapLi[2])
2020 let checkblockgap = (height - block)
2121 let OpionExpireCounter = 1
2222 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)
2330 let PreviousCall = match getInteger(this, "Total_Calls") {
2431 case a: Int =>
2532 a
2633 case _ =>
2734 0
2835 }
2936 let TotalCall = (PreviousCall + 1)
3037 let PreviousCallinSpecificCounter = match getInteger(this, ("Total_Calls_" + toString(read_OptionCounterID))) {
3138 case a: Int =>
3239 a
3340 case _ =>
3441 0
3542 }
3643 let TotalCallinSpecificCounter = (PreviousCallinSpecificCounter + 1)
3744 let PreviousUserCall = match getInteger(this, (calleraddress + "_Total_Calls")) {
3845 case a: Int =>
3946 a
4047 case _ =>
4148 0
4249 }
4350 let TotalUserCall = (PreviousUserCall + 1)
4451 let PreviousUserCallinSpecificCounter = match getInteger(this, ((calleraddress + "_Total_Calls_") + toString(read_OptionCounterID))) {
4552 case a: Int =>
4653 a
4754 case _ =>
4855 0
4956 }
5057 let TotalUserCallinSpecificCounter = (PreviousUserCallinSpecificCounter + 1)
5158 if ((checkblockgap > 2))
5259 then throw("Something Wrong with Oracle or Height is not matched.")
5360 else if ((read_oracle_status == "Close"))
5461 then throw("Oracle is closed. Wait Until Oracle is Turned On.")
5562 else if ((ifBlacklisted == "Yes"))
5663 then throw((calleraddress + " Address is Blacklisted. Please contact Admin to Whitelist it."))
5764 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)]
5865 }
5966
6067
6168
6269 @Callable(i)
6370 func placeoptionPut () = {
6471 let calleraddress = toBase58String(i.caller.bytes)
6572 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + calleraddress))
6673 let read_oracle_status = getStringValue(this, "oracle_status")
6774 let read_OptionCounterID = getIntegerValue(this, "1m_contract_id")
6875 let getbtcdata = getStringValue(this, ("1m_btc_" + toString(read_OptionCounterID)))
6976 let swapLi = split(getbtcdata, "_")
7077 let price = swapLi[0]
7178 let block = parseIntValue(swapLi[2])
7279 let checkblockgap = (height - block)
7380 let OpionExpireCounter = 1
7481 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)
7589 let PreviousPut = match getInteger(this, "Total_Puts") {
7690 case a: Int =>
7791 a
7892 case _ =>
7993 0
8094 }
8195 let TotalPut = (PreviousPut + 1)
8296 let PreviousPutinSpecificCounter = match getInteger(this, ("Total_Puts_" + toString(read_OptionCounterID))) {
8397 case a: Int =>
8498 a
8599 case _ =>
86100 0
87101 }
88102 let TotalPutinSpecificCounter = (PreviousPutinSpecificCounter + 1)
89103 let PreviousUserPut = match getInteger(this, (calleraddress + "_Total_Puts")) {
90104 case a: Int =>
91105 a
92106 case _ =>
93107 0
94108 }
95109 let TotalUserPut = (PreviousUserPut + 1)
96110 let PreviousUserPutinSpecificCounter = match getInteger(this, ((calleraddress + "_Total_Puts_") + toString(read_OptionCounterID))) {
97111 case a: Int =>
98112 a
99113 case _ =>
100114 0
101115 }
102116 let TotalUserPutinSpecificCounter = (PreviousUserPutinSpecificCounter + 1)
103117 if ((checkblockgap > 2))
104118 then throw("Something Wrong with Oracle or Height is not matched.")
105119 else if ((read_oracle_status == "Close"))
106120 then throw("Oracle is closed. Wait Until Oracle is Turned On.")
107121 else if ((ifBlacklisted == "Yes"))
108122 then throw((calleraddress + " Address is Blacklisted. Please contact Admin to Whitelist it."))
109123 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)]
110124 }
111125
112126
113127
114128 @Callable(i)
115129 func ClaimCall (Call_Sequence) = {
116130 let calleraddress = toBase58String(i.caller.bytes)
117131 let pmt = if ((size(i.payments) == 1))
118132 then i.payments[0]
119133 else throw("No payment attached, Please Attach Tokens in payment[1].")
120134 let getOptionCallPrice = getStringValue(this, ((("Call_" + calleraddress) + "_") + Call_Sequence))
121135 let getOptionCall_Sequencedata = getStringValue(this, ((("Call_Start_End_" + calleraddress) + "_") + Call_Sequence))
122136 let splitStartEndCounter = split(getOptionCall_Sequencedata, "_")
123137 let getStartCounter = splitStartEndCounter[0]
124138 let getEndCounter = splitStartEndCounter[1]
125139 let getbtcdataAtStartCounter = getStringValue(this, ("1m_btc_" + getStartCounter))
126140 let splitbtcpriceAtStartCounter = split(getbtcdataAtStartCounter, "_")
127141 let getbtcpriceAtStartCounter = splitbtcpriceAtStartCounter[0]
128142 let getbtcdataAtEndCounter = getStringValue(this, ("1m_btc_" + getEndCounter))
129143 let splitbtcpriceAtEndCounter = split(getbtcdataAtEndCounter, "_")
130144 let getbtcpriceAtEndCounter = splitbtcpriceAtEndCounter[0]
131145 let pricediff = (parseIntValue(getbtcpriceAtEndCounter) - parseIntValue(getbtcpriceAtStartCounter))
132146 let PreviousCallWin = match getInteger(this, "Total_Option_Call_Wins") {
133147 case a: Int =>
134148 a
135149 case _ =>
136150 0
137151 }
138152 let TotalCallWin = (PreviousCallWin + 1)
139153 let PreviousCallLose = match getInteger(this, "Total_Option_Call_Lose") {
140154 case a: Int =>
141155 a
142156 case _ =>
143157 0
144158 }
145159 let TotalCallLose = (PreviousCallLose + 1)
146160 if ((0 > pricediff))
147161 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))]
148162 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))]
149163 }
150164
151165
152166
153167 @Callable(i)
154168 func ClaimPut (Put_Sequence) = {
155169 let calleraddress = toBase58String(i.caller.bytes)
156170 let pmt = if ((size(i.payments) == 1))
157171 then i.payments[0]
158172 else throw("No payment attached, Please Attach Tokens in payment[1].")
159173 let getOptionPutPrice = getStringValue(this, ((("Put_" + calleraddress) + "_") + Put_Sequence))
160174 let getOptionPut_Sequencedata = getStringValue(this, ((("Put_Start_End_" + calleraddress) + "_") + Put_Sequence))
161175 let splitStartEndCounter = split(getOptionPut_Sequencedata, "_")
162176 let getStartCounter = splitStartEndCounter[0]
163177 let getEndCounter = splitStartEndCounter[1]
164178 let getbtcdataAtStartCounter = getStringValue(this, ("1m_btc_" + getStartCounter))
165179 let splitbtcpriceAtStartCounter = split(getbtcdataAtStartCounter, "_")
166180 let getbtcpriceAtStartCounter = splitbtcpriceAtStartCounter[0]
167181 let getbtcdataAtEndCounter = getStringValue(this, ("1m_btc_" + getEndCounter))
168182 let splitbtcpriceAtEndCounter = split(getbtcdataAtEndCounter, "_")
169183 let getbtcpriceAtEndCounter = splitbtcpriceAtEndCounter[0]
170184 let pricediff = (parseIntValue(getbtcpriceAtEndCounter) - parseIntValue(getbtcpriceAtStartCounter))
171185 let PreviousPutWin = match getInteger(this, "Total_Option_Put_Wins") {
172186 case a: Int =>
173187 a
174188 case _ =>
175189 0
176190 }
177191 let TotalPutWin = (PreviousPutWin + 1)
178192 let PreviousPutLose = match getInteger(this, "Total_Option_Put_Lose") {
179193 case a: Int =>
180194 a
181195 case _ =>
182196 0
183197 }
184198 let TotalPutLose = (PreviousPutLose + 1)
185199 if ((pricediff > 0))
186200 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))]
187201 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))]
188202 }
189203
190204
191205
192206 @Callable(i)
193207 func calldata (Counter) = {
194208 let getbtcdata = getStringValue(this, ("1m_btc_" + toString(Counter)))
195209 let swapLi = split(getbtcdata, "_")
196210 let price = swapLi[0]
197211 let time = swapLi[1]
198212 let blockheight = swapLi[2]
199213 let div = swapLi[3]
200214 [StringEntry("price", swapLi[0]), StringEntry("time", swapLi[1]), StringEntry("blockheight", swapLi[2]), StringEntry("div", swapLi[3])]
201215 }
202216
203217
204218
205219 @Callable(i)
206220 func OpenOracle () = {
207221 let calleraddress = toBase58String(i.caller.bytes)
208222 if ((i.caller != oracle_controller_address))
209223 then throw((("This Address is not Authorized. Only " + toString(oracle_controller_address)) + " is Authorized Address to Sign it."))
210224 else [StringEntry("oracle_status", "Open")]
211225 }
212226
213227
214228
215229 @Callable(i)
216230 func BlackListAddress (UserAddress) = {
217231 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + UserAddress))
218232 let PreviousBlackListAddress = match getInteger(this, "Total_Black_Listed_Address") {
219233 case a: Int =>
220234 a
221235 case _ =>
222236 0
223237 }
224238 let TotalBlackListAddress = (PreviousBlackListAddress + 1)
225239 if ((i.caller != oracle_controller_address))
226240 then throw((("This Address is not Authorized. Only " + toString(oracle_controller_address)) + " is Authorized Address to Sign it."))
227241 else if ((ifBlacklisted == "Yes"))
228242 then throw("Address is already available in Blacklist.")
229243 else [StringEntry(("addr_BLACKLISTED_" + UserAddress), "Yes"), IntegerEntry("Total_Black_Listed_Address", TotalBlackListAddress)]
230244 }
231245
232246
233247
234248 @Callable(i)
235249 func DeleteBlackListAddress (UserAddress) = {
236250 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + UserAddress))
237251 let PreviousBlackListAddress = match getInteger(this, "Total_Black_Listed_Address") {
238252 case a: Int =>
239253 a
240254 case _ =>
241255 0
242256 }
243257 let TotalBlackListAddress = (PreviousBlackListAddress - 1)
244258 if ((i.caller != oracle_controller_address))
245259 then throw((("This Address is not Authorized. Only " + toString(oracle_controller_address)) + " is Authorized Address to Sign it."))
246260 else if ((ifBlacklisted == "Yes"))
247261 then [DeleteEntry(("addr_BLACKLISTED_" + UserAddress)), IntegerEntry("Total_Black_Listed_Address", TotalBlackListAddress)]
248262 else throw("Address is not available in Blacklist.")
249263 }
250264
251265
252266 @Verifier(tx)
253267 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
254268

github/deemru/w8io/169f3d6 
44.08 ms