tx · 7nvojC9YTYw9zs2UaRqdxRdD4C4Xenred6oJKXHYgXN7 3NC9boevS259eTsMAkFAxCPorzK4Z9bpWje: -0.01600000 Waves 2023.01.31 09:59 [2428800] smart account 3NC9boevS259eTsMAkFAxCPorzK4Z9bpWje > SELF 0.00000000 Waves
{ "type": 13, "id": "7nvojC9YTYw9zs2UaRqdxRdD4C4Xenred6oJKXHYgXN7", "fee": 1600000, "feeAssetId": null, "timestamp": 1675148405213, "version": 2, "chainId": 84, "sender": "3NC9boevS259eTsMAkFAxCPorzK4Z9bpWje", "senderPublicKey": "515tSAyMUbAb8kKjcpGDpqALGfCgcwfWmWKKkcBKTcGB", "proofs": [ "F5M2EUBTwC6rzcPwYdMq3m4ENhRKmf9Ctuq6cNyB7tETbzkz352EB2kJbR5bPQhMMSztcPTPpVMBVq1Nq9cJBpV" ], "script": "base64:AAIFAAAAAAAAABwIAhIAEgASAwoBCBIDCgEIEgMKAQESABIDCgEIAAAAAgAAAAAURGFwcF9BZGRyZXNzX3B1Yl9rZXkBAAAAIKuJCf2Mf4ccBNHMDBbiZnoL4skJhsknmRqp+OhG/NwvAAAAABlvcmFjbGVfY29udHJvbGxlcl9hZGRyZXNzCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABBQAAABREYXBwX0FkZHJlc3NfcHViX2tleQAAAAcAAAABaQEAAAAPcGxhY2VvcHRpb25DYWxsAAAAAAQAAAANY2FsbGVyYWRkcmVzcwkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAA1pZkJsYWNrbGlzdGVkCQAEHQAAAAIFAAAABHRoaXMJAAEsAAAAAgIAAAARYWRkcl9CTEFDS0xJU1RFRF8FAAAADWNhbGxlcmFkZHJlc3MEAAAAEnJlYWRfb3JhY2xlX3N0YXR1cwkBAAAAEUBleHRyTmF0aXZlKDEwNTMpAAAAAgUAAAAEdGhpcwIAAAANb3JhY2xlX3N0YXR1cwQAAAAUcmVhZF9PcHRpb25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MgQWRkcmVzcyBpcyBub3QgQXV0aG9yaXplZC4gT25seSAJAAQlAAAAAQUAAAAZb3JhY2xlX2NvbnRyb2xsZXJfYWRkcmVzcwIAAAAiIGlzIEF1dGhvcml6ZWQgQWRkcmVzcyB0byBTaWduIGl0LgkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAA1vcmFjbGVfc3RhdHVzAgAAAARPcGVuBQAAAANuaWwAAAABaQEAAAAQQmxhY2tMaXN0QWRkcmVzcwAAAAEAAAALVXNlckFkZHJlc3MDCQEAAAACIT0AAAACCAUAAAABaQAAAAZjYWxsZXIFAAAAGW9yYWNsZV9jb250cm9sbGVyX2FkZHJlc3MJAAACAAAAAQkAASwAAAACCQABLAAAAAICAAAAJVRoaXMgQWRkcmVzcyBpcyBub3QgQXV0aG9yaXplZC4gT25seSAJAAQlAAAAAQUAAAAZb3JhY2xlX2NvbnRyb2xsZXJfYWRkcmVzcwIAAAAiIGlzIEF1dGhvcml6ZWQgQWRkcmVzcyB0byBTaWduIGl0LgkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAICAAAAEWFkZHJfQkxBQ0tMSVNURURfBQAAAAtVc2VyQWRkcmVzcwIAAAADWWVzBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleWZ8a8Y=", "height": 2428800, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5wV3n3N3aLoohssFzYbK2izbxasZz36tewjWi5T7Umcf Next: 8aLMBgu3gVKvNveYeXDCoTjn4M3Gke3itWw8fBUyRoMu Diff:
Old | New | Differences | |
---|---|---|---|
204 | 204 | ||
205 | 205 | ||
206 | 206 | @Callable(c) | |
207 | - | func BlackListAddress (ab) = { | |
208 | - | let d = toBase58String(c.caller.bytes) | |
209 | - | if ((c.caller != b)) | |
210 | - | then throw((("This Address is not Authorized. Only " + toString(b)) + " is Authorized Address to Sign it.")) | |
211 | - | else [StringEntry(("addr_BLACKLISTED_" + d), "Yes")] | |
212 | - | } | |
207 | + | func BlackListAddress (ab) = if ((c.caller != b)) | |
208 | + | then throw((("This Address is not Authorized. Only " + toString(b)) + " is Authorized Address to Sign it.")) | |
209 | + | else [StringEntry(("addr_BLACKLISTED_" + ab), "Yes")] | |
213 | 210 | ||
214 | 211 | ||
215 | 212 | @Verifier(ac) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'CYbv2nupcWmnVFixN6Q2sxd9ChbDsq1KqXQ66VjsZBJE' | |
5 | 5 | ||
6 | 6 | let b = addressFromPublicKey(a) | |
7 | 7 | ||
8 | 8 | @Callable(c) | |
9 | 9 | func placeoptionCall () = { | |
10 | 10 | let d = toBase58String(c.caller.bytes) | |
11 | 11 | let e = getString(this, ("addr_BLACKLISTED_" + d)) | |
12 | 12 | let f = getStringValue(this, "oracle_status") | |
13 | 13 | let g = getIntegerValue(this, "1m_contract_id") | |
14 | 14 | let h = getStringValue(this, ("1m_btc_" + toString(g))) | |
15 | 15 | let i = split(h, "_") | |
16 | 16 | let j = i[0] | |
17 | 17 | let k = parseIntValue(i[2]) | |
18 | 18 | let l = (height - k) | |
19 | 19 | let m = 1 | |
20 | 20 | let n = (g + m) | |
21 | 21 | let o = { | |
22 | 22 | let p = getInteger(this, "Total_Calls") | |
23 | 23 | if ($isInstanceOf(p, "Int")) | |
24 | 24 | then { | |
25 | 25 | let q = p | |
26 | 26 | q | |
27 | 27 | } | |
28 | 28 | else 0 | |
29 | 29 | } | |
30 | 30 | let r = (o + 1) | |
31 | 31 | let s = { | |
32 | 32 | let p = getInteger(this, (d + "_Total_Calls")) | |
33 | 33 | if ($isInstanceOf(p, "Int")) | |
34 | 34 | then { | |
35 | 35 | let q = p | |
36 | 36 | q | |
37 | 37 | } | |
38 | 38 | else 0 | |
39 | 39 | } | |
40 | 40 | let t = (s + 1) | |
41 | 41 | if ((l > 2)) | |
42 | 42 | then throw("Something Wrong with Oracle or Height is not matched.") | |
43 | 43 | else if ((f == "Close")) | |
44 | 44 | then throw("Oracle is closed. Wait Until Oracle is Turned On.") | |
45 | 45 | else if ((e == "Yes")) | |
46 | 46 | then throw((d + " Address is Blacklisted. Please contact Admin to Whitelist it.")) | |
47 | 47 | else [StringEntry(((("Call_" + d) + "_") + toString(t)), j), StringEntry(((("Call_Start_End_" + d) + "_") + toString(t)), ((toString(g) + "_") + toString(n))), IntegerEntry("Total_Calls", r), IntegerEntry((d + "_Total_Calls"), t)] | |
48 | 48 | } | |
49 | 49 | ||
50 | 50 | ||
51 | 51 | ||
52 | 52 | @Callable(c) | |
53 | 53 | func placeoptionPut () = { | |
54 | 54 | let d = toBase58String(c.caller.bytes) | |
55 | 55 | let f = getStringValue(this, "oracle_status") | |
56 | 56 | let g = getIntegerValue(this, "1m_contract_id") | |
57 | 57 | let h = getStringValue(this, ("1m_btc_" + toString(g))) | |
58 | 58 | let i = split(h, "_") | |
59 | 59 | let j = i[0] | |
60 | 60 | let k = parseIntValue(i[2]) | |
61 | 61 | let l = (height - k) | |
62 | 62 | let m = 1 | |
63 | 63 | let n = (g + m) | |
64 | 64 | let u = { | |
65 | 65 | let p = getInteger(this, "Total_Puts") | |
66 | 66 | if ($isInstanceOf(p, "Int")) | |
67 | 67 | then { | |
68 | 68 | let q = p | |
69 | 69 | q | |
70 | 70 | } | |
71 | 71 | else 0 | |
72 | 72 | } | |
73 | 73 | let v = (u + 1) | |
74 | 74 | let w = { | |
75 | 75 | let p = getInteger(this, (d + "_Total_Puts")) | |
76 | 76 | if ($isInstanceOf(p, "Int")) | |
77 | 77 | then { | |
78 | 78 | let q = p | |
79 | 79 | q | |
80 | 80 | } | |
81 | 81 | else 0 | |
82 | 82 | } | |
83 | 83 | let x = (w + 1) | |
84 | 84 | if ((l > 2)) | |
85 | 85 | then throw("Something Wrong with Oracle or Height is not matched.") | |
86 | 86 | else if ((f == "Close")) | |
87 | 87 | then throw("Oracle is closed. Wait Until Oracle is Turned On.") | |
88 | 88 | else [StringEntry(((("Put_" + d) + "_") + toString(x)), j), StringEntry(((("Put_Start_End_" + d) + "_") + toString(x)), ((toString(g) + "_") + toString(n))), IntegerEntry("Total_Puts", v), IntegerEntry((d + "_Total_Puts"), x)] | |
89 | 89 | } | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | ||
93 | 93 | @Callable(c) | |
94 | 94 | func ClaimCall (y) = { | |
95 | 95 | let d = toBase58String(c.caller.bytes) | |
96 | 96 | let z = if ((size(c.payments) == 1)) | |
97 | 97 | then c.payments[0] | |
98 | 98 | else throw("No payment attached, Please Attach Tokens in payment[1].") | |
99 | 99 | let A = getStringValue(this, ((("Call_" + d) + "_") + y)) | |
100 | 100 | let B = getStringValue(this, ((("Call_Start_End_" + d) + "_") + y)) | |
101 | 101 | let C = split(B, "_") | |
102 | 102 | let D = C[0] | |
103 | 103 | let E = C[1] | |
104 | 104 | let F = getStringValue(this, ("1m_btc_" + D)) | |
105 | 105 | let G = split(F, "_") | |
106 | 106 | let H = G[0] | |
107 | 107 | let I = getStringValue(this, ("1m_btc_" + E)) | |
108 | 108 | let J = split(I, "_") | |
109 | 109 | let K = J[0] | |
110 | 110 | let L = (parseIntValue(K) - parseIntValue(H)) | |
111 | 111 | let M = { | |
112 | 112 | let p = getInteger(this, "Total_Option_Call_Wins") | |
113 | 113 | if ($isInstanceOf(p, "Int")) | |
114 | 114 | then { | |
115 | 115 | let q = p | |
116 | 116 | q | |
117 | 117 | } | |
118 | 118 | else 0 | |
119 | 119 | } | |
120 | 120 | let N = (M + 1) | |
121 | 121 | let O = { | |
122 | 122 | let p = getInteger(this, "Total_Option_Call_Lose") | |
123 | 123 | if ($isInstanceOf(p, "Int")) | |
124 | 124 | then { | |
125 | 125 | let q = p | |
126 | 126 | q | |
127 | 127 | } | |
128 | 128 | else 0 | |
129 | 129 | } | |
130 | 130 | let P = (O + 1) | |
131 | 131 | if ((0 > L)) | |
132 | 132 | then [IntegerEntry("Diff", L), IntegerEntry("Total_Option_Call_Lose", P), StringEntry(((((((((((("c_" + d) + "_") + y) + "_") + D) + "_") + E) + "_") + H) + "_") + K), "lose"), StringEntry("message", "You lose!"), DeleteEntry(((("Call_" + d) + "_") + y)), DeleteEntry(((("Call_Start_End_" + d) + "_") + y))] | |
133 | 133 | else [IntegerEntry("Diff", L), IntegerEntry("Total_Option_Call_Wins", N), StringEntry(((((((((((("c_" + d) + "_") + y) + "_") + D) + "_") + E) + "_") + H) + "_") + K), "Win"), StringEntry("message", "You Win!"), DeleteEntry(((("Call_" + d) + "_") + y)), DeleteEntry(((("Call_Start_End_" + d) + "_") + y))] | |
134 | 134 | } | |
135 | 135 | ||
136 | 136 | ||
137 | 137 | ||
138 | 138 | @Callable(c) | |
139 | 139 | func ClaimPut (Q) = { | |
140 | 140 | let d = toBase58String(c.caller.bytes) | |
141 | 141 | let z = if ((size(c.payments) == 1)) | |
142 | 142 | then c.payments[0] | |
143 | 143 | else throw("No payment attached, Please Attach Tokens in payment[1].") | |
144 | 144 | let R = getStringValue(this, ((("Put_" + d) + "_") + Q)) | |
145 | 145 | let S = getStringValue(this, ((("Put_Start_End_" + d) + "_") + Q)) | |
146 | 146 | let C = split(S, "_") | |
147 | 147 | let D = C[0] | |
148 | 148 | let E = C[1] | |
149 | 149 | let F = getStringValue(this, ("1m_btc_" + D)) | |
150 | 150 | let G = split(F, "_") | |
151 | 151 | let H = G[0] | |
152 | 152 | let I = getStringValue(this, ("1m_btc_" + E)) | |
153 | 153 | let J = split(I, "_") | |
154 | 154 | let K = J[0] | |
155 | 155 | let L = (parseIntValue(K) - parseIntValue(H)) | |
156 | 156 | let T = { | |
157 | 157 | let p = getInteger(this, "Total_Option_Put_Wins") | |
158 | 158 | if ($isInstanceOf(p, "Int")) | |
159 | 159 | then { | |
160 | 160 | let q = p | |
161 | 161 | q | |
162 | 162 | } | |
163 | 163 | else 0 | |
164 | 164 | } | |
165 | 165 | let U = (T + 1) | |
166 | 166 | let V = { | |
167 | 167 | let p = getInteger(this, "Total_Option_Put_Lose") | |
168 | 168 | if ($isInstanceOf(p, "Int")) | |
169 | 169 | then { | |
170 | 170 | let q = p | |
171 | 171 | q | |
172 | 172 | } | |
173 | 173 | else 0 | |
174 | 174 | } | |
175 | 175 | let W = (V + 1) | |
176 | 176 | if ((L > 0)) | |
177 | 177 | then [IntegerEntry("Diff", L), IntegerEntry("Total_Option_Put_Lose", W), StringEntry(((((((((((("p_" + d) + "_") + Q) + "_") + D) + "_") + E) + "_") + H) + "_") + K), "lose"), StringEntry("message", "You lose!"), DeleteEntry(((("Put_" + d) + "_") + Q)), DeleteEntry(((("Put_Start_End_" + d) + "_") + Q))] | |
178 | 178 | else [IntegerEntry("Diff", L), IntegerEntry("Total_Option_Put_Wins", U), StringEntry(((((((((((("p_" + d) + "_") + Q) + "_") + D) + "_") + E) + "_") + H) + "_") + K), "Win"), StringEntry("message", "You Win!"), DeleteEntry(((("Put_" + d) + "_") + Q)), DeleteEntry(((("Put_Start_End_" + d) + "_") + Q))] | |
179 | 179 | } | |
180 | 180 | ||
181 | 181 | ||
182 | 182 | ||
183 | 183 | @Callable(c) | |
184 | 184 | func calldata (X) = { | |
185 | 185 | let h = getStringValue(this, ("1m_btc_" + toString(X))) | |
186 | 186 | let i = split(h, "_") | |
187 | 187 | let j = i[0] | |
188 | 188 | let Y = i[1] | |
189 | 189 | let Z = i[2] | |
190 | 190 | let aa = i[3] | |
191 | 191 | [StringEntry("price", i[0]), StringEntry("time", i[1]), StringEntry("blockheight", i[2]), StringEntry("div", i[3])] | |
192 | 192 | } | |
193 | 193 | ||
194 | 194 | ||
195 | 195 | ||
196 | 196 | @Callable(c) | |
197 | 197 | func OpenOracle () = { | |
198 | 198 | let d = toBase58String(c.caller.bytes) | |
199 | 199 | if ((c.caller != b)) | |
200 | 200 | then throw((("This Address is not Authorized. Only " + toString(b)) + " is Authorized Address to Sign it.")) | |
201 | 201 | else [StringEntry("oracle_status", "Open")] | |
202 | 202 | } | |
203 | 203 | ||
204 | 204 | ||
205 | 205 | ||
206 | 206 | @Callable(c) | |
207 | - | func BlackListAddress (ab) = { | |
208 | - | let d = toBase58String(c.caller.bytes) | |
209 | - | if ((c.caller != b)) | |
210 | - | then throw((("This Address is not Authorized. Only " + toString(b)) + " is Authorized Address to Sign it.")) | |
211 | - | else [StringEntry(("addr_BLACKLISTED_" + d), "Yes")] | |
212 | - | } | |
207 | + | func BlackListAddress (ab) = if ((c.caller != b)) | |
208 | + | then throw((("This Address is not Authorized. Only " + toString(b)) + " is Authorized Address to Sign it.")) | |
209 | + | else [StringEntry(("addr_BLACKLISTED_" + ab), "Yes")] | |
213 | 210 | ||
214 | 211 | ||
215 | 212 | @Verifier(ac) | |
216 | 213 | func ad () = sigVerify(ac.bodyBytes, ac.proofs[0], ac.senderPublicKey) | |
217 | 214 |
github/deemru/w8io/169f3d6 52.48 ms ◑