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