tx · 6TfkneFwhwqDL7SCChw86yywCy8tfkNUepr72hgtz9mh 3N5NAftzfcw3gAt8nc35bNr9UdPTVgC81fd: -0.01400000 Waves 2022.03.02 23:53 [1946865] smart account 3N5NAftzfcw3gAt8nc35bNr9UdPTVgC81fd > SELF 0.00000000 Waves
{ "type": 13, "id": "6TfkneFwhwqDL7SCChw86yywCy8tfkNUepr72hgtz9mh", "fee": 1400000, "feeAssetId": null, "timestamp": 1646254429549, "version": 1, "sender": "3N5NAftzfcw3gAt8nc35bNr9UdPTVgC81fd", "senderPublicKey": "CdnTmMHxT68Qa4MtHEnAiUhsdKTi2YkHPGn92ThinVNt", "proofs": [ "gbEbtjyi7zD6twaNbF26RyY7ShrgfGWaRKHmi1a4w6q9z7yFiF7x1CfxUFzfRM2BAUoqyUSBpdPU91LvwXV4P9h", "2Jgc3dpvJJikxpJYefqAoZoM855oQVtCkcuwwFsEUBYfMNJbgBDTnxdM9zz3Z1AZ1V1r5SyFK8sXzdAcm8WeLczB", "66JnrdgwtXRvAFdrZY5BT2PVEF6He1YCSBDVYr738cGvUqtuiJAYVHrwTKTX6SCenTMbLuFakaqxftZU9w1Y3wd6" ], "script": "base64:AAIFAAAAAAAAAAkIAhIAEgMKAQgAAABBAQAAAA5nZXROdW1iZXJCeUtleQAAAAEAAAADa2V5CQEAAAALdmFsdWVPckVsc2UAAAACCQAEGgAAAAIFAAAABHRoaXMFAAAAA2tleQAAAAAAAAAAAAEAAAAOZ2V0U3RyaW5nQnlLZXkAAAABAAAAA2tleQkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABB0AAAACBQAAAAR0aGlzBQAAAANrZXkCAAAAAAEAAAAWZ2V0Qm9vbEJ5QWRkcmVzc0FuZEtleQAAAAIAAAAHYWRkcmVzcwAAAANrZXkJAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQbAAAAAgUAAAAHYWRkcmVzcwUAAAADa2V5BwEAAAAYZ2V0U3RyaW5nQnlBZGRyZXNzQW5kS2V5AA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FAAAAEHB1YktleUFkbWluc0xpc3QAAAAAAAAAAAMAAAAAAAAAAAIAAAAAAAAAAAAJAABnAAAAAgUAAAAFY291bnQAAAAAAAAAAAO8w1s+", "chainId": 84, "height": 1946865, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3MR5Gz9LJMVU4E4EnELdAZjv6cdzqnRqzfv9KTMAkv3c Next: HT1SWdXQyF1rUVTTxivueGAx5BAidt7SyKFXPFRAnfTh Diff:
Old | New | Differences | |
---|---|---|---|
223 | 223 | let aG = 0 | |
224 | 224 | let aX = invoke(ag, "acceptWaves", nil, aL.payments) | |
225 | 225 | if ((aX == aX)) | |
226 | - | then $Tuple2((aB(toBase58String(aL.transactionId), aN, aN, toString(aP), B, aG, aW, aH) ++ [ScriptTransfer(aP, aV, al), StringEntry("debug_curveResult", aI("curveResult", aK))]), aV) | |
226 | + | then if (true) | |
227 | + | then throw("HAHAHA") | |
228 | + | else $Tuple2((aB(toBase58String(aL.transactionId), aN, aN, toString(aP), B, aG, aW, aH) ++ [ScriptTransfer(aP, aV, al), StringEntry("debug_curveResult", aI("curveResult", aK))]), aV) | |
227 | 229 | else throw("Strict value is not equal to itself.") | |
228 | 230 | } | |
229 | 231 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | func a (b) = valueOrElse(getInteger(this, b), 0) | |
5 | 5 | ||
6 | 6 | ||
7 | 7 | func c (b) = valueOrElse(getString(this, b), "") | |
8 | 8 | ||
9 | 9 | ||
10 | 10 | func d (e,b) = valueOrElse(getBoolean(e, b), false) | |
11 | 11 | ||
12 | 12 | ||
13 | 13 | func f (e,b) = valueOrElse(getString(e, b), "") | |
14 | 14 | ||
15 | 15 | ||
16 | 16 | func g (e,b) = valueOrElse(getInteger(e, b), 0) | |
17 | 17 | ||
18 | 18 | ||
19 | 19 | func h (i) = { | |
20 | 20 | let j = i | |
21 | 21 | if ($isInstanceOf(j, "List[Any]")) | |
22 | 22 | then { | |
23 | 23 | let k = j | |
24 | 24 | k | |
25 | 25 | } | |
26 | 26 | else throw("fail to cast into List[Any]") | |
27 | 27 | } | |
28 | 28 | ||
29 | 29 | ||
30 | 30 | func l (i) = { | |
31 | 31 | let j = i | |
32 | 32 | if ($isInstanceOf(j, "String")) | |
33 | 33 | then { | |
34 | 34 | let m = j | |
35 | 35 | m | |
36 | 36 | } | |
37 | 37 | else throw("fail to cast into String") | |
38 | 38 | } | |
39 | 39 | ||
40 | 40 | ||
41 | 41 | func n (i) = { | |
42 | 42 | let j = i | |
43 | 43 | if ($isInstanceOf(j, "Int")) | |
44 | 44 | then { | |
45 | 45 | let o = j | |
46 | 46 | o | |
47 | 47 | } | |
48 | 48 | else throw("fail to cast into Int") | |
49 | 49 | } | |
50 | 50 | ||
51 | 51 | ||
52 | 52 | let p = 100000000 | |
53 | 53 | ||
54 | 54 | let q = 1000000 | |
55 | 55 | ||
56 | 56 | let r = toBigInt(1000000) | |
57 | 57 | ||
58 | 58 | let s = 1000000 | |
59 | 59 | ||
60 | 60 | let t = 100000000 | |
61 | 61 | ||
62 | 62 | let u = toBigInt(10000000000000000) | |
63 | 63 | ||
64 | 64 | let v = 8 | |
65 | 65 | ||
66 | 66 | let w = 16 | |
67 | 67 | ||
68 | 68 | let x = (10 * p) | |
69 | 69 | ||
70 | 70 | let y = 95 | |
71 | 71 | ||
72 | 72 | let z = "canceled" | |
73 | 73 | ||
74 | 74 | let A = "new" | |
75 | 75 | ||
76 | 76 | let B = "filled" | |
77 | 77 | ||
78 | 78 | let C = "price" | |
79 | 79 | ||
80 | 80 | let D = "bond_asset_id" | |
81 | 81 | ||
82 | 82 | let E = "neutrino_asset_id" | |
83 | 83 | ||
84 | 84 | let F = "balance_lock_" | |
85 | 85 | ||
86 | 86 | let G = (F + "waves") | |
87 | 87 | ||
88 | 88 | let H = (F + "neutrino") | |
89 | 89 | ||
90 | 90 | let I = "order_first" | |
91 | 91 | ||
92 | 92 | let J = "math_contract" | |
93 | 93 | ||
94 | 94 | let K = "min_waves_nsbt_buy" | |
95 | 95 | ||
96 | 96 | func L (M) = ("debug_order_roi_" + M) | |
97 | 97 | ||
98 | 98 | ||
99 | 99 | func N (M) = ("order_price_" + M) | |
100 | 100 | ||
101 | 101 | ||
102 | 102 | func O (M) = ("order_total_" + M) | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | func P (M) = ("order_owner_" + M) | |
106 | 106 | ||
107 | 107 | ||
108 | 108 | func Q (M) = ("order_height_" + M) | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | func R (M) = ("order_status_" + M) | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func S (M) = ("order_filled_total_" + M) | |
115 | 115 | ||
116 | 116 | ||
117 | 117 | func T (M) = ("order_prev_" + M) | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | func U (M) = ("order_next_" + M) | |
121 | 121 | ||
122 | 122 | ||
123 | 123 | func V (W,X) = fraction(fraction(W, s, X), p, q) | |
124 | 124 | ||
125 | 125 | ||
126 | 126 | func Y (W,X) = fraction(fraction(W, X, s), q, p) | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func Z (W,X) = Y(W, X) | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func aa (W,X) = V(W, X) | |
133 | 133 | ||
134 | 134 | ||
135 | 135 | func ab (ac,ad) = fraction(toBigInt(ac), u, toBigInt(ad)) | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | func ae (i,af) = toInt(fraction(i, toBigInt(af), u)) | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | let ag = Address(base58'3N9be2mwrA52WJho6DiesZkk4351GvpnWuj') | |
142 | 142 | ||
143 | 143 | let ah = Address(base58'3MrwvfA9VRYwhHy4NuWPQGdxCtZdhH4LMMa') | |
144 | 144 | ||
145 | 145 | let ai = Address(base58'3N24ZPUAMhFm76N3vbNiiDtFqfUnmBHTc5N') | |
146 | 146 | ||
147 | 147 | let aj = c(J) | |
148 | 148 | ||
149 | 149 | let ak = base58'HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ' | |
150 | 150 | ||
151 | 151 | let al = base58'F3iaxzruFeKujfVfYSZEkejpjh67wmRfPCRHiNmWKp3Z' | |
152 | 152 | ||
153 | 153 | let am = d(ah, "is_blocked") | |
154 | 154 | ||
155 | 155 | let an = valueOrElse(getInteger(this, K), 10) | |
156 | 156 | ||
157 | 157 | let ao = c(I) | |
158 | 158 | ||
159 | 159 | func ap (aq) = a(N(aq)) | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | func ar (aq) = a(O(aq)) | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | func as (aq) = c(P(aq)) | |
166 | 166 | ||
167 | 167 | ||
168 | 168 | func at (aq) = c(R(aq)) | |
169 | 169 | ||
170 | 170 | ||
171 | 171 | func au (aq) = a(S(aq)) | |
172 | 172 | ||
173 | 173 | ||
174 | 174 | func av (aq) = c(T(aq)) | |
175 | 175 | ||
176 | 176 | ||
177 | 177 | func aw (aq) = c(U(aq)) | |
178 | 178 | ||
179 | 179 | ||
180 | 180 | func ax (X) = ((s * s) / X) | |
181 | 181 | ||
182 | 182 | ||
183 | 183 | func ay (az,aA) = fraction(az, (q * s), aA) | |
184 | 184 | ||
185 | 185 | ||
186 | 186 | func aB (M,aC,aD,aE,aF,aG,X,aH) = [IntegerEntry(N(M), X), IntegerEntry(O(M), aC), IntegerEntry(S(M), aD), StringEntry(P(M), aE), IntegerEntry(Q(M), height), StringEntry(R(M), aF), IntegerEntry(("debug_order_currentPrice_" + M), aH), IntegerEntry(L(M), aG)] | |
187 | 187 | ||
188 | 188 | ||
189 | 189 | func aI (aJ,aK) = (((((((((((((((((((((((((((((((((((aJ + "[nsbtAmountRaw=") + toString(n(aK[0]))) + " usdnPayment=") + toString(n(aK[1]))) + " wRaw=") + toString(n(aK[2]))) + " uRaw=") + toString(n(aK[3]))) + " mRaw=") + toString(n(aK[4]))) + " sRaw=") + toString(n(aK[5]))) + " nsbtCurveParam_a=") + toString(n(aK[6]))) + " nsbtCurveParam_b=") + toString(n(aK[7]))) + " wReservesInUsdn=") + toString(n(aK[8]))) + " price=") + toString(n(aK[9]))) + " multBR=") + toString(n(aK[10]))) + " multPower=") + toString(n(aK[11]))) + " multExpInPower=") + toString(n(aK[12]))) + " multK=") + toString(n(aK[13]))) + " step1=") + l(aK[14])) + " step2=") + l(aK[15])) + " step3=") + l(aK[16])) + "]") | |
190 | 190 | ||
191 | 191 | ||
192 | 192 | @Callable(aL) | |
193 | 193 | func buyNsbt () = { | |
194 | 194 | let aM = value(aL.payments[0]) | |
195 | 195 | let aN = aM.amount | |
196 | 196 | let aO = aN | |
197 | 197 | if (am) | |
198 | 198 | then throw("contract is blocked by EMERGENCY SHUTDOWN actions until reactivation by emergency oracles") | |
199 | 199 | else if (isDefined(aM.assetId)) | |
200 | 200 | then throw("can use waves only") | |
201 | 201 | else if (((an * p) > aN)) | |
202 | 202 | then throw((("min " + toString(an)) + " waves expected")) | |
203 | 203 | else { | |
204 | 204 | let aP = aL.caller | |
205 | 205 | let aQ = h(invoke(addressFromStringValue(aj), "calcNeutinoMetricsMATH", nil, nil)) | |
206 | 206 | if ((aQ == aQ)) | |
207 | 207 | then { | |
208 | 208 | let aH = n(aQ[0]) | |
209 | 209 | let aR = n(aQ[3]) | |
210 | 210 | let aS = n(aQ[5]) | |
211 | 211 | let aT = n(aQ[9]) | |
212 | 212 | let aU = value(assetInfo(al)).quantity | |
213 | 213 | let aK = h(invoke(addressFromStringValue(aj), "curveFunctionMATH", [aR, aS, aH, aU, aT, aO], nil)) | |
214 | 214 | if ((aK == aK)) | |
215 | 215 | then { | |
216 | 216 | let aV = n(aK[0]) | |
217 | 217 | if ((0 >= aV)) | |
218 | 218 | then throw("nsbtAmount <= 0") | |
219 | 219 | else if ((aO > (aV * 9223372))) | |
220 | 220 | then throw(((("Nsbt2Waves price exceeds MAX_INT: " + toString(aO)) + "/") + toString(aV))) | |
221 | 221 | else { | |
222 | 222 | let aW = ay(aO, aV) | |
223 | 223 | let aG = 0 | |
224 | 224 | let aX = invoke(ag, "acceptWaves", nil, aL.payments) | |
225 | 225 | if ((aX == aX)) | |
226 | - | then $Tuple2((aB(toBase58String(aL.transactionId), aN, aN, toString(aP), B, aG, aW, aH) ++ [ScriptTransfer(aP, aV, al), StringEntry("debug_curveResult", aI("curveResult", aK))]), aV) | |
226 | + | then if (true) | |
227 | + | then throw("HAHAHA") | |
228 | + | else $Tuple2((aB(toBase58String(aL.transactionId), aN, aN, toString(aP), B, aG, aW, aH) ++ [ScriptTransfer(aP, aV, al), StringEntry("debug_curveResult", aI("curveResult", aK))]), aV) | |
227 | 229 | else throw("Strict value is not equal to itself.") | |
228 | 230 | } | |
229 | 231 | } | |
230 | 232 | else throw("Strict value is not equal to itself.") | |
231 | 233 | } | |
232 | 234 | else throw("Strict value is not equal to itself.") | |
233 | 235 | } | |
234 | 236 | } | |
235 | 237 | ||
236 | 238 | ||
237 | 239 | ||
238 | 240 | @Callable(aL) | |
239 | 241 | func cancelOrder (M) = { | |
240 | 242 | let aE = as(M) | |
241 | 243 | let W = (ar(M) - au(M)) | |
242 | 244 | let aY = toString(aL.caller) | |
243 | 245 | let aZ = aw(M) | |
244 | 246 | let ba = av(M) | |
245 | 247 | if ((at(M) != A)) | |
246 | 248 | then throw("invalid order status") | |
247 | 249 | else [StringEntry(I, if ((ao == M)) | |
248 | 250 | then aZ | |
249 | 251 | else ao), StringEntry(U(ba), aZ), StringEntry(T(aZ), ba), StringEntry(R(M), z), ScriptTransfer(aL.caller, W, unit)] | |
250 | 252 | } | |
251 | 253 | ||
252 | 254 | ||
253 | 255 | @Verifier(bb) | |
254 | 256 | func bc () = { | |
255 | 257 | let bd = ["ExtEEK19nmKj9mCpnWyvEEJFYATLMcVEMvohhUHkyHNm", "Ev5py5FfBQX9cZpYKnfQrTB49Byf8QmpZWeDVRim4yV7", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR", "5WRXFSjwcTbNfKcJs8ZqXmSSWYsSVJUtMvMqZj5hH4Nc"] | |
256 | 258 | let be = ((((if (sigVerify(bb.bodyBytes, bb.proofs[0], fromBase58String(bd[0]))) | |
257 | 259 | then 1 | |
258 | 260 | else 0) + (if (sigVerify(bb.bodyBytes, bb.proofs[1], fromBase58String(bd[1]))) | |
259 | 261 | then 1 | |
260 | 262 | else 0)) + (if (sigVerify(bb.bodyBytes, bb.proofs[2], fromBase58String(bd[2]))) | |
261 | 263 | then 1 | |
262 | 264 | else 0)) + (if (sigVerify(bb.bodyBytes, bb.proofs[3], fromBase58String(bd[3]))) | |
263 | 265 | then 2 | |
264 | 266 | else 0)) | |
265 | 267 | (be >= 3) | |
266 | 268 | } | |
267 | 269 |
github/deemru/w8io/026f985 69.31 ms ◑