tx · 2niry5C9C4w1HLUe4nm6c7WxTP1Wc9akUmWg5dgBu8Gn

3NC9boevS259eTsMAkFAxCPorzK4Z9bpWje:  -0.02200000 Waves

2023.02.03 18:10 [2433601] smart account 3NC9boevS259eTsMAkFAxCPorzK4Z9bpWje > SELF 0.00000000 Waves

{ "type": 13, "id": "2niry5C9C4w1HLUe4nm6c7WxTP1Wc9akUmWg5dgBu8Gn", "fee": 2200000, "feeAssetId": null, "timestamp": 1675436990024, "version": 2, "chainId": 84, "sender": "3NC9boevS259eTsMAkFAxCPorzK4Z9bpWje", "senderPublicKey": "515tSAyMUbAb8kKjcpGDpqALGfCgcwfWmWKKkcBKTcGB", "proofs": [ "5ayao6Sxfcd8r9UQQYvMbgS8Ko6K41pESYKmpL4gLVPpjfivx32K7utKTF9tAD8DbsD7z7aVXAq2rZMWUdmwsoSx" ], "script": "base64:AAIFAAAAAAAAACEIAhIAEgASAwoBCBIDCgEIEgMKAQESABIDCgEIEgMKAQgAAAAFAAAAABREYXBwX0FkZHJlc3NfcHViX2tleQEAAAAgvHZQICGE3/5b1wAhqlA9b7vNXmYDAjYF3VxTne0xkiQAAAAAGW9yYWNsZV9jb250cm9sbGVyX2FkZHJlc3MJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEFAAAAFERhcHBfQWRkcmVzc19wdWJfa2V5AAAAAAtVU0RUQXNzZXRJRAEAAAAg299FA5kXGxb53VOSRJdbjVcoBZXDYeWb0BVUdKQaxVUAAAAAEm1pbmltdW1fb3JkZXJfc2l6ZQAAAAAAAA9CQAAAAAASbWF4aW11bV9vcmRlcl9zaXplAAAAAAAF9eEAAAAACAAAAAFpAQAAAA9wbGFjZW9wdGlvbkNhbGwAAAAABAAAAA1jYWxsZXJhZGRyZXNzCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAAA3BtdAMJAAAAAAAAAgkAAZAAAAABCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAQkAAZ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vdCBhdmFpbGFibGUgaW4gQmxhY2tsaXN0LgAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5TXhIjQ==", "height": 2433601, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9W9wWAkEckevY4KL6PgUUGDmoSj39rLFroJJsemok1o5 Next: 9qyEoULFrrAhiX6cPYioEgRQ5yu7EzQ66ZCCqupYx6Ex Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let Dapp_Address_pub_key = base58'CYbv2nupcWmnVFixN6Q2sxd9ChbDsq1KqXQ66VjsZBJE'
4+let Dapp_Address_pub_key = base58'DggHTfM1QvhBop9XaxzwBCeX1V6ksYiyoGvccEk3H8T5'
55
66 let oracle_controller_address = addressFromPublicKey(Dapp_Address_pub_key)
77
8-let USDTAssetID = base58''
8+let USDTAssetID = base58'FoHkJSWMmcdGHCGZnymUU5UvW3sqWTP2NBq3mo7wVxGt'
9+
10+let minimum_order_size = 1000000
11+
12+let maximum_order_size = 100000000
913
1014 @Callable(i)
1115 func placeoptionCall () = {
1216 let calleraddress = toBase58String(i.caller.bytes)
17+ let pmt = if ((size(i.payments) == 1))
18+ then i.payments[0]
19+ else throw("No payment attached, Please Attach Token in payment[1].")
1320 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + calleraddress))
1421 let read_oracle_status = getStringValue(this, "oracle_status")
1522 let read_OptionCounterID = getIntegerValue(this, "1m_contract_id")
6875 then throw("Oracle is closed. Wait Until Oracle is Turned On.")
6976 else if ((ifBlacklisted == "Yes"))
7077 then throw((calleraddress + " Address is Blacklisted. Please contact Admin to Whitelist it."))
71- else [StringEntry(((("Call_" + calleraddress) + "_") + toString(TotalUserCall)), price), StringEntry(((("Call_Start_End_" + calleraddress) + "_") + toString(TotalUserCall)), ((toString(read_OptionCounterID) + "_") + toString(OptionExpireCounterID))), IntegerEntry("Total_Option_Orders", TotalOptionOrders), 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)]
78+ else if ((pmt.assetId != USDTAssetID))
79+ then throw(("Wrong Asset Attached. Please attach the assetId " + toBase58String(USDTAssetID)))
80+ else if ((minimum_order_size > pmt.amount))
81+ then throw((("Placed Order Size is less than " + toString((minimum_order_size / 1000000))) + " USDT."))
82+ else if ((pmt.amount > maximum_order_size))
83+ then throw((("Placed Order Size is more than " + toString((maximum_order_size / 1000000))) + " USDT."))
84+ else [StringEntry(((("Call_" + calleraddress) + "_") + toString(TotalUserCall)), price), StringEntry(((("Call_Start_End_" + calleraddress) + "_") + toString(TotalUserCall)), ((toString(read_OptionCounterID) + "_") + toString(OptionExpireCounterID))), IntegerEntry("Total_Option_Orders", TotalOptionOrders), 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)]
7285 }
7386
7487
7689 @Callable(i)
7790 func placeoptionPut () = {
7891 let calleraddress = toBase58String(i.caller.bytes)
92+ let pmt = if ((size(i.payments) == 1))
93+ then i.payments[0]
94+ else throw("No payment attached, Please Attach Token in payment[1].")
7995 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + calleraddress))
8096 let read_oracle_status = getStringValue(this, "oracle_status")
8197 let read_OptionCounterID = getIntegerValue(this, "1m_contract_id")
134150 then throw("Oracle is closed. Wait Until Oracle is Turned On.")
135151 else if ((ifBlacklisted == "Yes"))
136152 then throw((calleraddress + " Address is Blacklisted. Please contact Admin to Whitelist it."))
137- else [StringEntry(((("Put_" + calleraddress) + "_") + toString(TotalUserPut)), price), StringEntry(((("Put_Start_End_" + calleraddress) + "_") + toString(TotalUserPut)), ((toString(read_OptionCounterID) + "_") + toString(OptionExpireCounterID))), IntegerEntry("Total_Option_Orders", TotalOptionOrders), 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)]
153+ else if ((pmt.assetId != USDTAssetID))
154+ then throw(("Wrong Asset Attached. Please attach the assetId " + toBase58String(USDTAssetID)))
155+ else if ((minimum_order_size > pmt.amount))
156+ then throw((("Placed Order Size is less than " + toString((minimum_order_size / 1000000))) + " USDT."))
157+ else if ((pmt.amount > maximum_order_size))
158+ then throw((("Placed Order Size is more than " + toString((maximum_order_size / 1000000))) + " USDT."))
159+ else [StringEntry(((("Put_" + calleraddress) + "_") + toString(TotalUserPut)), price), StringEntry(((("Put_Start_End_" + calleraddress) + "_") + toString(TotalUserPut)), ((toString(read_OptionCounterID) + "_") + toString(OptionExpireCounterID))), IntegerEntry("Total_Option_Orders", TotalOptionOrders), 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)]
138160 }
139161
140162
171193 0
172194 }
173195 let TotalCallLose = (PreviousCallLose + 1)
174- if ((0 > pricediff))
196+ if ((0 >= pricediff))
175197 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))]
176198 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))]
177199 }
210232 0
211233 }
212234 let TotalPutLose = (PreviousPutLose + 1)
213- if ((pricediff > 0))
235+ if ((pricediff >= 0))
214236 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))]
215237 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))]
216238 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let Dapp_Address_pub_key = base58'CYbv2nupcWmnVFixN6Q2sxd9ChbDsq1KqXQ66VjsZBJE'
4+let Dapp_Address_pub_key = base58'DggHTfM1QvhBop9XaxzwBCeX1V6ksYiyoGvccEk3H8T5'
55
66 let oracle_controller_address = addressFromPublicKey(Dapp_Address_pub_key)
77
8-let USDTAssetID = base58''
8+let USDTAssetID = base58'FoHkJSWMmcdGHCGZnymUU5UvW3sqWTP2NBq3mo7wVxGt'
9+
10+let minimum_order_size = 1000000
11+
12+let maximum_order_size = 100000000
913
1014 @Callable(i)
1115 func placeoptionCall () = {
1216 let calleraddress = toBase58String(i.caller.bytes)
17+ let pmt = if ((size(i.payments) == 1))
18+ then i.payments[0]
19+ else throw("No payment attached, Please Attach Token in payment[1].")
1320 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + calleraddress))
1421 let read_oracle_status = getStringValue(this, "oracle_status")
1522 let read_OptionCounterID = getIntegerValue(this, "1m_contract_id")
1623 let getbtcdata = getStringValue(this, ("1m_btc_" + toString(read_OptionCounterID)))
1724 let swapLi = split(getbtcdata, "_")
1825 let price = swapLi[0]
1926 let block = parseIntValue(swapLi[2])
2027 let checkblockgap = (height - block)
2128 let OpionExpireCounter = 1
2229 let OptionExpireCounterID = (read_OptionCounterID + OpionExpireCounter)
2330 let PreviousOptionOrders = match getInteger(this, "Total_Option_Orders") {
2431 case a: Int =>
2532 a
2633 case _ =>
2734 0
2835 }
2936 let TotalOptionOrders = (PreviousOptionOrders + 1)
3037 let PreviousOptionOrdersinSpecificCounter = match getInteger(this, ("Total_Option_Orders_" + toString(read_OptionCounterID))) {
3138 case a: Int =>
3239 a
3340 case _ =>
3441 0
3542 }
3643 let TotalOptionOrdersinSpecificCounter = (PreviousOptionOrdersinSpecificCounter + 1)
3744 let PreviousCall = match getInteger(this, "Total_Calls") {
3845 case a: Int =>
3946 a
4047 case _ =>
4148 0
4249 }
4350 let TotalCall = (PreviousCall + 1)
4451 let PreviousCallinSpecificCounter = match getInteger(this, ("Total_Calls_" + toString(read_OptionCounterID))) {
4552 case a: Int =>
4653 a
4754 case _ =>
4855 0
4956 }
5057 let TotalCallinSpecificCounter = (PreviousCallinSpecificCounter + 1)
5158 let PreviousUserCall = match getInteger(this, (calleraddress + "_Total_Calls")) {
5259 case a: Int =>
5360 a
5461 case _ =>
5562 0
5663 }
5764 let TotalUserCall = (PreviousUserCall + 1)
5865 let PreviousUserCallinSpecificCounter = match getInteger(this, ((calleraddress + "_Total_Calls_") + toString(read_OptionCounterID))) {
5966 case a: Int =>
6067 a
6168 case _ =>
6269 0
6370 }
6471 let TotalUserCallinSpecificCounter = (PreviousUserCallinSpecificCounter + 1)
6572 if ((checkblockgap > 2))
6673 then throw("Something Wrong with Oracle or Height is not matched.")
6774 else if ((read_oracle_status == "Close"))
6875 then throw("Oracle is closed. Wait Until Oracle is Turned On.")
6976 else if ((ifBlacklisted == "Yes"))
7077 then throw((calleraddress + " Address is Blacklisted. Please contact Admin to Whitelist it."))
71- else [StringEntry(((("Call_" + calleraddress) + "_") + toString(TotalUserCall)), price), StringEntry(((("Call_Start_End_" + calleraddress) + "_") + toString(TotalUserCall)), ((toString(read_OptionCounterID) + "_") + toString(OptionExpireCounterID))), IntegerEntry("Total_Option_Orders", TotalOptionOrders), 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)]
78+ else if ((pmt.assetId != USDTAssetID))
79+ then throw(("Wrong Asset Attached. Please attach the assetId " + toBase58String(USDTAssetID)))
80+ else if ((minimum_order_size > pmt.amount))
81+ then throw((("Placed Order Size is less than " + toString((minimum_order_size / 1000000))) + " USDT."))
82+ else if ((pmt.amount > maximum_order_size))
83+ then throw((("Placed Order Size is more than " + toString((maximum_order_size / 1000000))) + " USDT."))
84+ else [StringEntry(((("Call_" + calleraddress) + "_") + toString(TotalUserCall)), price), StringEntry(((("Call_Start_End_" + calleraddress) + "_") + toString(TotalUserCall)), ((toString(read_OptionCounterID) + "_") + toString(OptionExpireCounterID))), IntegerEntry("Total_Option_Orders", TotalOptionOrders), 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)]
7285 }
7386
7487
7588
7689 @Callable(i)
7790 func placeoptionPut () = {
7891 let calleraddress = toBase58String(i.caller.bytes)
92+ let pmt = if ((size(i.payments) == 1))
93+ then i.payments[0]
94+ else throw("No payment attached, Please Attach Token in payment[1].")
7995 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + calleraddress))
8096 let read_oracle_status = getStringValue(this, "oracle_status")
8197 let read_OptionCounterID = getIntegerValue(this, "1m_contract_id")
8298 let getbtcdata = getStringValue(this, ("1m_btc_" + toString(read_OptionCounterID)))
8399 let swapLi = split(getbtcdata, "_")
84100 let price = swapLi[0]
85101 let block = parseIntValue(swapLi[2])
86102 let checkblockgap = (height - block)
87103 let OpionExpireCounter = 1
88104 let OptionExpireCounterID = (read_OptionCounterID + OpionExpireCounter)
89105 let PreviousOptionOrders = match getInteger(this, "Total_Option_Orders") {
90106 case a: Int =>
91107 a
92108 case _ =>
93109 0
94110 }
95111 let TotalOptionOrders = (PreviousOptionOrders + 1)
96112 let PreviousOptionOrdersinSpecificCounter = match getInteger(this, ("Total_Option_Orders_" + toString(read_OptionCounterID))) {
97113 case a: Int =>
98114 a
99115 case _ =>
100116 0
101117 }
102118 let TotalOptionOrdersinSpecificCounter = (PreviousOptionOrdersinSpecificCounter + 1)
103119 let PreviousPut = match getInteger(this, "Total_Puts") {
104120 case a: Int =>
105121 a
106122 case _ =>
107123 0
108124 }
109125 let TotalPut = (PreviousPut + 1)
110126 let PreviousPutinSpecificCounter = match getInteger(this, ("Total_Puts_" + toString(read_OptionCounterID))) {
111127 case a: Int =>
112128 a
113129 case _ =>
114130 0
115131 }
116132 let TotalPutinSpecificCounter = (PreviousPutinSpecificCounter + 1)
117133 let PreviousUserPut = match getInteger(this, (calleraddress + "_Total_Puts")) {
118134 case a: Int =>
119135 a
120136 case _ =>
121137 0
122138 }
123139 let TotalUserPut = (PreviousUserPut + 1)
124140 let PreviousUserPutinSpecificCounter = match getInteger(this, ((calleraddress + "_Total_Puts_") + toString(read_OptionCounterID))) {
125141 case a: Int =>
126142 a
127143 case _ =>
128144 0
129145 }
130146 let TotalUserPutinSpecificCounter = (PreviousUserPutinSpecificCounter + 1)
131147 if ((checkblockgap > 2))
132148 then throw("Something Wrong with Oracle or Height is not matched.")
133149 else if ((read_oracle_status == "Close"))
134150 then throw("Oracle is closed. Wait Until Oracle is Turned On.")
135151 else if ((ifBlacklisted == "Yes"))
136152 then throw((calleraddress + " Address is Blacklisted. Please contact Admin to Whitelist it."))
137- else [StringEntry(((("Put_" + calleraddress) + "_") + toString(TotalUserPut)), price), StringEntry(((("Put_Start_End_" + calleraddress) + "_") + toString(TotalUserPut)), ((toString(read_OptionCounterID) + "_") + toString(OptionExpireCounterID))), IntegerEntry("Total_Option_Orders", TotalOptionOrders), 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)]
153+ else if ((pmt.assetId != USDTAssetID))
154+ then throw(("Wrong Asset Attached. Please attach the assetId " + toBase58String(USDTAssetID)))
155+ else if ((minimum_order_size > pmt.amount))
156+ then throw((("Placed Order Size is less than " + toString((minimum_order_size / 1000000))) + " USDT."))
157+ else if ((pmt.amount > maximum_order_size))
158+ then throw((("Placed Order Size is more than " + toString((maximum_order_size / 1000000))) + " USDT."))
159+ else [StringEntry(((("Put_" + calleraddress) + "_") + toString(TotalUserPut)), price), StringEntry(((("Put_Start_End_" + calleraddress) + "_") + toString(TotalUserPut)), ((toString(read_OptionCounterID) + "_") + toString(OptionExpireCounterID))), IntegerEntry("Total_Option_Orders", TotalOptionOrders), 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)]
138160 }
139161
140162
141163
142164 @Callable(i)
143165 func ClaimCall (Call_Sequence) = {
144166 let calleraddress = toBase58String(i.caller.bytes)
145167 let pmt = if ((size(i.payments) == 1))
146168 then i.payments[0]
147169 else throw("No payment attached, Please Attach Tokens in payment[1].")
148170 let getOptionCallPrice = getStringValue(this, ((("Call_" + calleraddress) + "_") + Call_Sequence))
149171 let getOptionCall_Sequencedata = getStringValue(this, ((("Call_Start_End_" + calleraddress) + "_") + Call_Sequence))
150172 let splitStartEndCounter = split(getOptionCall_Sequencedata, "_")
151173 let getStartCounter = splitStartEndCounter[0]
152174 let getEndCounter = splitStartEndCounter[1]
153175 let getbtcdataAtStartCounter = getStringValue(this, ("1m_btc_" + getStartCounter))
154176 let splitbtcpriceAtStartCounter = split(getbtcdataAtStartCounter, "_")
155177 let getbtcpriceAtStartCounter = splitbtcpriceAtStartCounter[0]
156178 let getbtcdataAtEndCounter = getStringValue(this, ("1m_btc_" + getEndCounter))
157179 let splitbtcpriceAtEndCounter = split(getbtcdataAtEndCounter, "_")
158180 let getbtcpriceAtEndCounter = splitbtcpriceAtEndCounter[0]
159181 let pricediff = (parseIntValue(getbtcpriceAtEndCounter) - parseIntValue(getbtcpriceAtStartCounter))
160182 let PreviousCallWin = match getInteger(this, "Total_Option_Call_Wins") {
161183 case a: Int =>
162184 a
163185 case _ =>
164186 0
165187 }
166188 let TotalCallWin = (PreviousCallWin + 1)
167189 let PreviousCallLose = match getInteger(this, "Total_Option_Call_Lose") {
168190 case a: Int =>
169191 a
170192 case _ =>
171193 0
172194 }
173195 let TotalCallLose = (PreviousCallLose + 1)
174- if ((0 > pricediff))
196+ if ((0 >= pricediff))
175197 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))]
176198 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))]
177199 }
178200
179201
180202
181203 @Callable(i)
182204 func ClaimPut (Put_Sequence) = {
183205 let calleraddress = toBase58String(i.caller.bytes)
184206 let pmt = if ((size(i.payments) == 1))
185207 then i.payments[0]
186208 else throw("No payment attached, Please Attach Tokens in payment[1].")
187209 let getOptionPutPrice = getStringValue(this, ((("Put_" + calleraddress) + "_") + Put_Sequence))
188210 let getOptionPut_Sequencedata = getStringValue(this, ((("Put_Start_End_" + calleraddress) + "_") + Put_Sequence))
189211 let splitStartEndCounter = split(getOptionPut_Sequencedata, "_")
190212 let getStartCounter = splitStartEndCounter[0]
191213 let getEndCounter = splitStartEndCounter[1]
192214 let getbtcdataAtStartCounter = getStringValue(this, ("1m_btc_" + getStartCounter))
193215 let splitbtcpriceAtStartCounter = split(getbtcdataAtStartCounter, "_")
194216 let getbtcpriceAtStartCounter = splitbtcpriceAtStartCounter[0]
195217 let getbtcdataAtEndCounter = getStringValue(this, ("1m_btc_" + getEndCounter))
196218 let splitbtcpriceAtEndCounter = split(getbtcdataAtEndCounter, "_")
197219 let getbtcpriceAtEndCounter = splitbtcpriceAtEndCounter[0]
198220 let pricediff = (parseIntValue(getbtcpriceAtEndCounter) - parseIntValue(getbtcpriceAtStartCounter))
199221 let PreviousPutWin = match getInteger(this, "Total_Option_Put_Wins") {
200222 case a: Int =>
201223 a
202224 case _ =>
203225 0
204226 }
205227 let TotalPutWin = (PreviousPutWin + 1)
206228 let PreviousPutLose = match getInteger(this, "Total_Option_Put_Lose") {
207229 case a: Int =>
208230 a
209231 case _ =>
210232 0
211233 }
212234 let TotalPutLose = (PreviousPutLose + 1)
213- if ((pricediff > 0))
235+ if ((pricediff >= 0))
214236 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))]
215237 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))]
216238 }
217239
218240
219241
220242 @Callable(i)
221243 func calldata (Counter) = {
222244 let getbtcdata = getStringValue(this, ("1m_btc_" + toString(Counter)))
223245 let swapLi = split(getbtcdata, "_")
224246 let price = swapLi[0]
225247 let time = swapLi[1]
226248 let blockheight = swapLi[2]
227249 let div = swapLi[3]
228250 [StringEntry("price", swapLi[0]), StringEntry("time", swapLi[1]), StringEntry("blockheight", swapLi[2]), StringEntry("div", swapLi[3])]
229251 }
230252
231253
232254
233255 @Callable(i)
234256 func OpenOracle () = {
235257 let calleraddress = toBase58String(i.caller.bytes)
236258 if ((i.caller != oracle_controller_address))
237259 then throw((("This Address is not Authorized. Only " + toString(oracle_controller_address)) + " is Authorized Address to Sign it."))
238260 else [StringEntry("oracle_status", "Open")]
239261 }
240262
241263
242264
243265 @Callable(i)
244266 func BlackListAddress (UserAddress) = {
245267 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + UserAddress))
246268 let PreviousBlackListAddress = match getInteger(this, "Total_Black_Listed_Address") {
247269 case a: Int =>
248270 a
249271 case _ =>
250272 0
251273 }
252274 let TotalBlackListAddress = (PreviousBlackListAddress + 1)
253275 if ((i.caller != oracle_controller_address))
254276 then throw((("This Address is not Authorized. Only " + toString(oracle_controller_address)) + " is Authorized Address to Sign it."))
255277 else if ((ifBlacklisted == "Yes"))
256278 then throw("Address is already available in Blacklist.")
257279 else [StringEntry(("addr_BLACKLISTED_" + UserAddress), "Yes"), IntegerEntry("Total_Black_Listed_Address", TotalBlackListAddress)]
258280 }
259281
260282
261283
262284 @Callable(i)
263285 func DeleteBlackListAddress (UserAddress) = {
264286 let ifBlacklisted = getString(this, ("addr_BLACKLISTED_" + UserAddress))
265287 let PreviousBlackListAddress = match getInteger(this, "Total_Black_Listed_Address") {
266288 case a: Int =>
267289 a
268290 case _ =>
269291 0
270292 }
271293 let TotalBlackListAddress = (PreviousBlackListAddress - 1)
272294 if ((i.caller != oracle_controller_address))
273295 then throw((("This Address is not Authorized. Only " + toString(oracle_controller_address)) + " is Authorized Address to Sign it."))
274296 else if ((ifBlacklisted == "Yes"))
275297 then [DeleteEntry(("addr_BLACKLISTED_" + UserAddress)), IntegerEntry("Total_Black_Listed_Address", TotalBlackListAddress)]
276298 else throw("Address is not available in Blacklist.")
277299 }
278300
279301
280302 @Verifier(tx)
281303 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
282304

github/deemru/w8io/169f3d6 
129.53 ms