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