tx · HHbRxXi9BFCs52xUTLJwGQ5cMdz19jcwvuPok18PU4M8 3MsryPHGVR5NWpGqXNw1LbqEYUx3Vk88yxN: -0.05000000 Waves 2021.08.10 18:27 [1652429] smart account 3MsryPHGVR5NWpGqXNw1LbqEYUx3Vk88yxN > SELF 0.00000000 Waves
{ "type": 13, "id": "HHbRxXi9BFCs52xUTLJwGQ5cMdz19jcwvuPok18PU4M8", "fee": 5000000, "feeAssetId": null, "timestamp": 1628609222969, "version": 2, "chainId": 84, "sender": "3MsryPHGVR5NWpGqXNw1LbqEYUx3Vk88yxN", "senderPublicKey": "EkxY8bYYRAdDeo26yCeHLGSzDnPpuye9m2yxFRQGpXVy", "proofs": [ "4SbQxgduFF15mGEwk9TP5qn3EV47MYpt52QUbMTckTAUbi5xSC7x4K66kp8utYwwEaQuq7fhd1bcNC4mxueWK2cq" ], "script": "base64:AAIFAAAAAAAAACEIAhIDCgEBEgASABIHCgUICAgIARIDCgEBEgASABIAEgAAAAAmAAAAAApsUGRlY2ltYWxzAAAAAAAAAAAIAAAAABFkZWNpbWFsc011bHRQcmljZQkAAGgAAAACCQAAaAAAAAIAAAAAAAAAAGQAAAAAAAAAA+gAAAAAAAAAA+gAAAAAA1NFUAIAAAACX18AAAAAClBvb2xBY3RpdmUAAAAAAAAAAAEAAAAAD1Bvb2xQdXREaXNhYmxlZAAAAAAAAAAAAgAAAAATUG9vbE1hdGNoZXJEaXNhYmxlZAAAAAAAAAAAAwAAAAAMUG9vbFNodXRkb3duAAAAAAAAAAAEAAAAABBmYWN0b3J5UHVibGljS2V5CQACWQAAAAECAAAAK01pbVF0Qng3YXpoU3RBSDJSNVFWN1VrOGhXRWJtN3E4OTc5M2ZrMWoxbWgAAAAADmlkeFBvb2xBZGRyZXNzAAAAAAAAAAACAAAAAA1pZHhQb29sU3RhdHVzAAAAAAAAAAADAAAAABBpZHhQb29sTFBBc3NldElkAAAAAAAAAAAEAAAAABBpZHhBbW91bnRBc3NldElkAAAAAAAAAAAFA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AFdmFsdWUAAAABCQAD7AAAAAEFAAAADHByaWNlQXNzZXRJZAAAAAhkZWNpbWFscwQAAAASbHBBc3NldElzc3VlQWN0aW9uCQAEQgAAAAUFAAAAC2xwQXNzZXROYW1lBQAAAAxscEFzc2V0RGVzY3IAAAAAAAAAAAEAAAAAAAAAAAYGBAAAAAlscEFzc2V0SWQJAAQ4AAAAAQUAAAASbHBBc3NldElzc3VlQWN0aW9uBAAAABFscEFzc2V0SWRBc1N0cmluZwkAAlgAAAABBQAAAAlscEFzc2V0SWQJAAUUAAAAAgkABEwAAAACBQAAABJscEFzc2V0SXNzdWVBY3Rpb24JAARMAAAAAgkBAAAABEJ1cm4AAAACBQAAAAlscEFzc2V0SWQAAAAAAAAAAAEFAAAAA25pbAkABEwAAAACBQAAABFscEFzc2V0SWRBc1N0cmluZwUAAAADbmlsAAAAAWkBAAAABm1hbmFnZQAAAAEAAAAGc3RhdHVzBQAAAANuaWwAAAABaQEAAAAMZXN0aW1hdGVkUHV0AAAAAAUAAAADbmlsAAAAAWkBAAAABXN0YXRzAAAAAAUAAAADbmlsAAAAAWkBAAAADGVzdGltYXRlZEdldAAAAAAFAAAAA25pbAAAAAFpAQAAAAVwcmljZQAAAAAFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V54wFixw==", "height": 1652429, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9PpxhoAn3f5SC6BNBYxjsz6ij8kRGktGrqweb54eSAMy Next: KkD7KhDGYUeaXmSfUGWxA2ftbJXPJDi3TZy8f1RdrvC Diff:
Old | New | Differences | |
---|---|---|---|
119 | 119 | } | |
120 | 120 | ||
121 | 121 | ||
122 | - | @Callable(aw) | |
123 | - | func put (ax) = { | |
124 | - | let ay = M() | |
125 | - | let az = fromBase58String(ay[k]) | |
126 | - | let aA = ay[l] | |
127 | - | let aB = ay[m] | |
128 | - | let R = ay[p] | |
129 | - | let S = ay[q] | |
130 | - | let aC = parseIntValue(ay[n]) | |
131 | - | let ar = parseIntValue(ay[o]) | |
132 | - | let aD = value(aw.payments[0]) | |
133 | - | let ab = aD.amount | |
134 | - | let aE = value(aD.assetId) | |
135 | - | let aF = value(aw.payments[1]) | |
136 | - | let ac = aF.amount | |
122 | + | func aw () = { | |
123 | + | let ax = toBase64String(value(scriptHash(this))) | |
124 | + | ax | |
125 | + | } | |
126 | + | ||
127 | + | ||
128 | + | @Callable(ay) | |
129 | + | func put (az) = { | |
130 | + | let aA = M() | |
131 | + | let aB = fromBase58String(aA[k]) | |
132 | + | let aC = aA[l] | |
133 | + | let aD = aA[m] | |
134 | + | let R = aA[p] | |
135 | + | let S = aA[q] | |
136 | + | let aE = parseIntValue(aA[n]) | |
137 | + | let ar = parseIntValue(aA[o]) | |
138 | + | let aF = value(ay.payments[0]) | |
139 | + | let ab = aF.amount | |
137 | 140 | let aG = value(aF.assetId) | |
138 | - | let aH = Q(R, S) | |
139 | - | let aI = parseIntValue(aH[s]) | |
140 | - | let aJ = parseIntValue(aH[t]) | |
141 | - | let aK = parseIntValue(aH[u]) | |
142 | - | let aL = V(R, S, toString(aw.caller)) | |
143 | - | let aM = parseIntValue(aL[s]) | |
144 | - | let aN = parseIntValue(aL[t]) | |
145 | - | let aO = parseIntValue(aL[u]) | |
146 | - | if (if ((aA != toBase58String(aE))) | |
141 | + | let aH = value(ay.payments[1]) | |
142 | + | let ac = aH.amount | |
143 | + | let aI = value(aH.assetId) | |
144 | + | let aJ = Q(R, S) | |
145 | + | let aK = parseIntValue(aJ[s]) | |
146 | + | let aL = parseIntValue(aJ[t]) | |
147 | + | let aM = parseIntValue(aJ[u]) | |
148 | + | let aN = V(R, S, toString(ay.caller)) | |
149 | + | let aO = parseIntValue(aN[s]) | |
150 | + | let aP = parseIntValue(aN[t]) | |
151 | + | let aQ = parseIntValue(aN[u]) | |
152 | + | if (if ((aC != toBase58String(aG))) | |
147 | 153 | then true | |
148 | - | else ( | |
154 | + | else (aD != toBase58String(aI))) | |
149 | 155 | then throw("Invalid amount or price asset passed.") | |
150 | 156 | else { | |
151 | - | let as = pow(10, 0, (a - | |
157 | + | let as = pow(10, 0, (a - aE), 0, 0, DOWN) | |
152 | 158 | let at = pow(10, 0, (a - ar), 0, 0, DOWN) | |
153 | - | let | |
154 | - | let | |
155 | - | let | |
156 | - | let | |
157 | - | let | |
158 | - | let | |
159 | - | if ((size( | |
159 | + | let aR = (ab * as) | |
160 | + | let aS = (ac * at) | |
161 | + | let aT = fraction(aS, b, aR) | |
162 | + | let aU = (aK * as) | |
163 | + | let aV = (aL * at) | |
164 | + | let aW = fraction(aV, b, aU) | |
165 | + | if ((size(aJ) == 0)) | |
160 | 166 | then { | |
161 | - | let | |
162 | - | let | |
163 | - | let | |
164 | - | [StringEntry(v(), ("%s__" + toString( | |
167 | + | let aX = pow(aR, 0, 0, 50, 1, DOWN) | |
168 | + | let aY = pow(aS, 0, 0, 50, 1, DOWN) | |
169 | + | let aZ = (aX * aY) | |
170 | + | [StringEntry(v(), ("%s__" + toString(aW))), StringEntry(w(height, lastBlock.timestamp), ("%s__" + toString(aW))), StringEntry(E(toString(ay.caller), toBase58String(ay.transactionId)), aa(ab, ac, aZ, aW, az, height, lastBlock.timestamp)), StringEntry(C(R, S, toString(ay.caller)), W(ab, ac, aZ)), StringEntry(z(R, S), W(ab, ac, aZ)), Reissue(aB, aZ, true), ScriptTransfer(ay.caller, aZ, aB)] | |
165 | 171 | } | |
166 | 172 | else { | |
167 | - | let | |
168 | - | if (( | |
169 | - | then throw(((("Price slippage " + toString( | |
173 | + | let ba = fraction(aW, 100, aT) | |
174 | + | if ((ba > az)) | |
175 | + | then throw(((("Price slippage " + toString(ba)) + " exceeded the passed limit of ") + toString(az))) | |
170 | 176 | else { | |
171 | - | let | |
172 | - | let | |
173 | - | let | |
174 | - | then | |
175 | - | else | |
176 | - | [StringEntry(v(), ("%s__" + toString( | |
177 | + | let bb = fraction(aM, aR, aU) | |
178 | + | let bc = fraction(aM, aS, aV) | |
179 | + | let bd = if ((bc > bb)) | |
180 | + | then bb | |
181 | + | else bc | |
182 | + | [StringEntry(v(), ("%s__" + toString(aW))), StringEntry(w(height, lastBlock.timestamp), ("%s__" + toString(aW))), StringEntry(E(toString(ay.caller), toBase58String(ay.transactionId)), aa(ab, ac, bd, aW, az, height, lastBlock.timestamp)), StringEntry(C(R, S, toString(ay.caller)), W((aO + ab), (aP + ac), (aQ + bd))), StringEntry(z(R, S), W((aK + ab), (aL + ac), (aM + bd))), Reissue(aB, bd, true), ScriptTransfer(ay.caller, bd, aB)] | |
177 | 183 | } | |
178 | 184 | } | |
179 | 185 | } | |
181 | 187 | ||
182 | 188 | ||
183 | 189 | ||
184 | - | @Callable( | |
190 | + | @Callable(ay) | |
185 | 191 | func get () = { | |
186 | - | let | |
187 | - | let | |
188 | - | let | |
189 | - | let | |
190 | - | let R = | |
191 | - | let S = | |
192 | - | let | |
193 | - | let | |
194 | - | let | |
195 | - | let | |
196 | - | let | |
197 | - | let | |
198 | - | let | |
199 | - | let | |
200 | - | let | |
201 | - | let | |
202 | - | let | |
203 | - | if (( | |
192 | + | let be = M() | |
193 | + | let aB = be[k] | |
194 | + | let aC = be[l] | |
195 | + | let aD = be[m] | |
196 | + | let R = be[p] | |
197 | + | let S = be[q] | |
198 | + | let bf = V(R, S, toString(ay.caller)) | |
199 | + | let aQ = parseIntValue(bf[u]) | |
200 | + | let aO = parseIntValue(bf[s]) | |
201 | + | let aP = parseIntValue(bf[t]) | |
202 | + | let bg = Q(R, S) | |
203 | + | let aM = parseIntValue(bg[u]) | |
204 | + | let aK = parseIntValue(bg[s]) | |
205 | + | let aL = parseIntValue(bg[t]) | |
206 | + | let aF = value(ay.payments[0]) | |
207 | + | let bh = value(aF.assetId) | |
208 | + | let bi = aF.amount | |
209 | + | if ((aB != toBase58String(bh))) | |
204 | 210 | then throw("Invalid asset passed.") | |
205 | - | else if (( | |
211 | + | else if ((bi > aQ)) | |
206 | 212 | then throw("Invalid amount passed. Amount less than available.") | |
207 | 213 | else { | |
208 | - | let aj = fraction( | |
209 | - | let ak = fraction( | |
210 | - | let | |
211 | - | [Burn( | |
214 | + | let aj = fraction(aK, bi, aM) | |
215 | + | let ak = fraction(aL, bi, aM) | |
216 | + | let bj = fraction(aL, b, aK) | |
217 | + | [Burn(bh, bi), ScriptTransfer(ay.caller, aj, fromBase58String(aC)), ScriptTransfer(ay.caller, ak, fromBase58String(aD)), StringEntry(C(R, S, toString(ay.caller)), W((aO - aj), (aP - ak), (aQ - bi))), StringEntry(z(R, S), W((aK - aj), (aL - ak), (aM - bi))), StringEntry(G(toString(ay.caller), toBase58String(ay.transactionId)), ai(aj, ak, bi, bj, height, lastBlock.timestamp)), StringEntry(v(), ("%s__" + toString(bj))), StringEntry(w(height, lastBlock.timestamp), ("%s__" + toString(bj)))] | |
212 | 218 | } | |
213 | 219 | } | |
214 | 220 | ||
215 | 221 | ||
216 | 222 | ||
217 | - | @Callable( | |
223 | + | @Callable(ay) | |
218 | 224 | func topup () = nil | |
219 | 225 | ||
220 | 226 | ||
221 | 227 | ||
222 | - | @Callable( | |
223 | - | func activate ( | |
228 | + | @Callable(ay) | |
229 | + | func activate (bk,bl,bm,bn,bo) = if ((ay.callerPublicKey != h)) | |
224 | 230 | then throw("permissions denied") | |
225 | 231 | else { | |
226 | - | let | |
227 | - | let ap = value(assetInfo( | |
228 | - | let | |
229 | - | let ar = value(assetInfo( | |
230 | - | let | |
231 | - | let | |
232 | - | let | |
233 | - | $Tuple2([ | |
232 | + | let aC = fromBase58String(bk) | |
233 | + | let ap = value(assetInfo(aC)).decimals | |
234 | + | let aD = fromBase58String(bl) | |
235 | + | let ar = value(assetInfo(aD)).decimals | |
236 | + | let bp = Issue(bm, bn, 1, 6, true) | |
237 | + | let aB = calculateAssetId(bp) | |
238 | + | let bq = toBase58String(aB) | |
239 | + | $Tuple2([bp, Burn(aB, 1)], [bq]) | |
234 | 240 | } | |
235 | 241 | ||
236 | 242 | ||
237 | 243 | ||
238 | - | @Callable( | |
239 | - | func manage ( | |
244 | + | @Callable(ay) | |
245 | + | func manage (br) = nil | |
240 | 246 | ||
241 | 247 | ||
242 | 248 | ||
243 | - | @Callable( | |
249 | + | @Callable(ay) | |
244 | 250 | func estimatedPut () = nil | |
245 | 251 | ||
246 | 252 | ||
247 | 253 | ||
248 | - | @Callable( | |
254 | + | @Callable(ay) | |
249 | 255 | func stats () = nil | |
250 | 256 | ||
251 | 257 | ||
252 | 258 | ||
253 | - | @Callable( | |
259 | + | @Callable(ay) | |
254 | 260 | func estimatedGet () = nil | |
255 | 261 | ||
256 | 262 | ||
257 | 263 | ||
258 | - | @Callable( | |
264 | + | @Callable(ay) | |
259 | 265 | func price () = nil | |
260 | 266 | ||
261 | 267 | ||
262 | - | @Verifier( | |
263 | - | func | |
268 | + | @Verifier(bs) | |
269 | + | func bt () = sigVerify(bs.bodyBytes, bs.proofs[0], bs.senderPublicKey) | |
264 | 270 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 8 | |
5 | 5 | ||
6 | 6 | let b = ((100 * 1000) * 1000) | |
7 | 7 | ||
8 | 8 | let c = "__" | |
9 | 9 | ||
10 | 10 | let d = 1 | |
11 | 11 | ||
12 | 12 | let e = 2 | |
13 | 13 | ||
14 | 14 | let f = 3 | |
15 | 15 | ||
16 | 16 | let g = 4 | |
17 | 17 | ||
18 | 18 | let h = fromBase58String("MimQtBx7azhStAH2R5QV7Uk8hWEbm7q89793fk1j1mh") | |
19 | 19 | ||
20 | 20 | let i = 2 | |
21 | 21 | ||
22 | 22 | let j = 3 | |
23 | 23 | ||
24 | 24 | let k = 4 | |
25 | 25 | ||
26 | 26 | let l = 5 | |
27 | 27 | ||
28 | 28 | let m = 6 | |
29 | 29 | ||
30 | 30 | let n = 7 | |
31 | 31 | ||
32 | 32 | let o = 8 | |
33 | 33 | ||
34 | 34 | let p = 9 | |
35 | 35 | ||
36 | 36 | let q = 10 | |
37 | 37 | ||
38 | 38 | let r = 11 | |
39 | 39 | ||
40 | 40 | let s = 2 | |
41 | 41 | ||
42 | 42 | let t = 3 | |
43 | 43 | ||
44 | 44 | let u = 4 | |
45 | 45 | ||
46 | 46 | func v () = "%s%s__price__last" | |
47 | 47 | ||
48 | 48 | ||
49 | 49 | func w (x,y) = makeString(["%s%s%d%d__price__history", toString(x), toString(y)], c) | |
50 | 50 | ||
51 | 51 | ||
52 | 52 | func z (A,B) = (((("%d%d%s__" + A) + "__") + B) + "__locked") | |
53 | 53 | ||
54 | 54 | ||
55 | 55 | func C (A,B,D) = (((((("%d%d%s%s__" + A) + "__") + B) + "__") + D) + "__locked") | |
56 | 56 | ||
57 | 57 | ||
58 | 58 | func E (D,F) = ((("%s%s%s__P__" + D) + "__") + F) | |
59 | 59 | ||
60 | 60 | ||
61 | 61 | func G (D,F) = ((("%s%s%s__G__" + D) + "__") + F) | |
62 | 62 | ||
63 | 63 | ||
64 | 64 | func H (I) = (("s%s%s__" + I) + "__mappings__poolContract2LpAsset") | |
65 | 65 | ||
66 | 66 | ||
67 | 67 | func J (K,L) = (((("%s%d%d%s__" + K) + "__") + L) + "__config") | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | func M () = { | |
71 | 71 | let N = addressFromPublicKey(h) | |
72 | 72 | let O = split(valueOrErrorMessage(getString(N, H(toString(this))), "No factory config found for pool address."), c) | |
73 | 73 | let P = split(valueOrErrorMessage(getString(N, J(O[2], O[3])), "No factory config found for pool assets."), c) | |
74 | 74 | P | |
75 | 75 | } | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | func Q (R,S) = { | |
79 | 79 | let T = getString(z(R, S)) | |
80 | 80 | if (!(isDefined(T))) | |
81 | 81 | then nil | |
82 | 82 | else { | |
83 | 83 | let U = split(value(T), c) | |
84 | 84 | U | |
85 | 85 | } | |
86 | 86 | } | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func V (R,S,D) = { | |
90 | 90 | let T = getString(C(R, S, D)) | |
91 | 91 | if (!(isDefined(T))) | |
92 | 92 | then ["", "0", "0", "0"] | |
93 | 93 | else { | |
94 | 94 | let U = split(value(T), c) | |
95 | 95 | U | |
96 | 96 | } | |
97 | 97 | } | |
98 | 98 | ||
99 | 99 | ||
100 | 100 | func W (X,Y,Z) = makeString(["%d%d%d", toString(X), toString(Y), toString(Z)], c) | |
101 | 101 | ||
102 | 102 | ||
103 | 103 | func aa (ab,ac,ad,ae,af,ag,ah) = makeString(["%d%d%d%d%d%d%d", toString(ab), toString(ac), toString(ad), toString(ae), toString(af), toString(ag), toString(ah)], c) | |
104 | 104 | ||
105 | 105 | ||
106 | 106 | func ai (aj,ak,al,ae,ag,ah) = makeString(["%d%d%d%d%d%d", toString(aj), toString(ak), toString(al), toString(ae), toString(ag), toString(ah)], c) | |
107 | 107 | ||
108 | 108 | ||
109 | 109 | func am (X,Y,Z,D) = makeString(["%d%d%d", toString(X), toString(Y), toString(Z)], c) | |
110 | 110 | ||
111 | 111 | ||
112 | 112 | func an (ao,ap,aq,ar) = { | |
113 | 113 | let as = pow(10, 0, (a - ap), 0, 0, DOWN) | |
114 | 114 | let at = pow(10, 0, (a - ar), 0, 0, DOWN) | |
115 | 115 | let au = (ao * as) | |
116 | 116 | let av = (aq * at) | |
117 | 117 | let ae = fraction(av, b, au) | |
118 | 118 | ae | |
119 | 119 | } | |
120 | 120 | ||
121 | 121 | ||
122 | - | @Callable(aw) | |
123 | - | func put (ax) = { | |
124 | - | let ay = M() | |
125 | - | let az = fromBase58String(ay[k]) | |
126 | - | let aA = ay[l] | |
127 | - | let aB = ay[m] | |
128 | - | let R = ay[p] | |
129 | - | let S = ay[q] | |
130 | - | let aC = parseIntValue(ay[n]) | |
131 | - | let ar = parseIntValue(ay[o]) | |
132 | - | let aD = value(aw.payments[0]) | |
133 | - | let ab = aD.amount | |
134 | - | let aE = value(aD.assetId) | |
135 | - | let aF = value(aw.payments[1]) | |
136 | - | let ac = aF.amount | |
122 | + | func aw () = { | |
123 | + | let ax = toBase64String(value(scriptHash(this))) | |
124 | + | ax | |
125 | + | } | |
126 | + | ||
127 | + | ||
128 | + | @Callable(ay) | |
129 | + | func put (az) = { | |
130 | + | let aA = M() | |
131 | + | let aB = fromBase58String(aA[k]) | |
132 | + | let aC = aA[l] | |
133 | + | let aD = aA[m] | |
134 | + | let R = aA[p] | |
135 | + | let S = aA[q] | |
136 | + | let aE = parseIntValue(aA[n]) | |
137 | + | let ar = parseIntValue(aA[o]) | |
138 | + | let aF = value(ay.payments[0]) | |
139 | + | let ab = aF.amount | |
137 | 140 | let aG = value(aF.assetId) | |
138 | - | let aH = Q(R, S) | |
139 | - | let aI = parseIntValue(aH[s]) | |
140 | - | let aJ = parseIntValue(aH[t]) | |
141 | - | let aK = parseIntValue(aH[u]) | |
142 | - | let aL = V(R, S, toString(aw.caller)) | |
143 | - | let aM = parseIntValue(aL[s]) | |
144 | - | let aN = parseIntValue(aL[t]) | |
145 | - | let aO = parseIntValue(aL[u]) | |
146 | - | if (if ((aA != toBase58String(aE))) | |
141 | + | let aH = value(ay.payments[1]) | |
142 | + | let ac = aH.amount | |
143 | + | let aI = value(aH.assetId) | |
144 | + | let aJ = Q(R, S) | |
145 | + | let aK = parseIntValue(aJ[s]) | |
146 | + | let aL = parseIntValue(aJ[t]) | |
147 | + | let aM = parseIntValue(aJ[u]) | |
148 | + | let aN = V(R, S, toString(ay.caller)) | |
149 | + | let aO = parseIntValue(aN[s]) | |
150 | + | let aP = parseIntValue(aN[t]) | |
151 | + | let aQ = parseIntValue(aN[u]) | |
152 | + | if (if ((aC != toBase58String(aG))) | |
147 | 153 | then true | |
148 | - | else ( | |
154 | + | else (aD != toBase58String(aI))) | |
149 | 155 | then throw("Invalid amount or price asset passed.") | |
150 | 156 | else { | |
151 | - | let as = pow(10, 0, (a - | |
157 | + | let as = pow(10, 0, (a - aE), 0, 0, DOWN) | |
152 | 158 | let at = pow(10, 0, (a - ar), 0, 0, DOWN) | |
153 | - | let | |
154 | - | let | |
155 | - | let | |
156 | - | let | |
157 | - | let | |
158 | - | let | |
159 | - | if ((size( | |
159 | + | let aR = (ab * as) | |
160 | + | let aS = (ac * at) | |
161 | + | let aT = fraction(aS, b, aR) | |
162 | + | let aU = (aK * as) | |
163 | + | let aV = (aL * at) | |
164 | + | let aW = fraction(aV, b, aU) | |
165 | + | if ((size(aJ) == 0)) | |
160 | 166 | then { | |
161 | - | let | |
162 | - | let | |
163 | - | let | |
164 | - | [StringEntry(v(), ("%s__" + toString( | |
167 | + | let aX = pow(aR, 0, 0, 50, 1, DOWN) | |
168 | + | let aY = pow(aS, 0, 0, 50, 1, DOWN) | |
169 | + | let aZ = (aX * aY) | |
170 | + | [StringEntry(v(), ("%s__" + toString(aW))), StringEntry(w(height, lastBlock.timestamp), ("%s__" + toString(aW))), StringEntry(E(toString(ay.caller), toBase58String(ay.transactionId)), aa(ab, ac, aZ, aW, az, height, lastBlock.timestamp)), StringEntry(C(R, S, toString(ay.caller)), W(ab, ac, aZ)), StringEntry(z(R, S), W(ab, ac, aZ)), Reissue(aB, aZ, true), ScriptTransfer(ay.caller, aZ, aB)] | |
165 | 171 | } | |
166 | 172 | else { | |
167 | - | let | |
168 | - | if (( | |
169 | - | then throw(((("Price slippage " + toString( | |
173 | + | let ba = fraction(aW, 100, aT) | |
174 | + | if ((ba > az)) | |
175 | + | then throw(((("Price slippage " + toString(ba)) + " exceeded the passed limit of ") + toString(az))) | |
170 | 176 | else { | |
171 | - | let | |
172 | - | let | |
173 | - | let | |
174 | - | then | |
175 | - | else | |
176 | - | [StringEntry(v(), ("%s__" + toString( | |
177 | + | let bb = fraction(aM, aR, aU) | |
178 | + | let bc = fraction(aM, aS, aV) | |
179 | + | let bd = if ((bc > bb)) | |
180 | + | then bb | |
181 | + | else bc | |
182 | + | [StringEntry(v(), ("%s__" + toString(aW))), StringEntry(w(height, lastBlock.timestamp), ("%s__" + toString(aW))), StringEntry(E(toString(ay.caller), toBase58String(ay.transactionId)), aa(ab, ac, bd, aW, az, height, lastBlock.timestamp)), StringEntry(C(R, S, toString(ay.caller)), W((aO + ab), (aP + ac), (aQ + bd))), StringEntry(z(R, S), W((aK + ab), (aL + ac), (aM + bd))), Reissue(aB, bd, true), ScriptTransfer(ay.caller, bd, aB)] | |
177 | 183 | } | |
178 | 184 | } | |
179 | 185 | } | |
180 | 186 | } | |
181 | 187 | ||
182 | 188 | ||
183 | 189 | ||
184 | - | @Callable( | |
190 | + | @Callable(ay) | |
185 | 191 | func get () = { | |
186 | - | let | |
187 | - | let | |
188 | - | let | |
189 | - | let | |
190 | - | let R = | |
191 | - | let S = | |
192 | - | let | |
193 | - | let | |
194 | - | let | |
195 | - | let | |
196 | - | let | |
197 | - | let | |
198 | - | let | |
199 | - | let | |
200 | - | let | |
201 | - | let | |
202 | - | let | |
203 | - | if (( | |
192 | + | let be = M() | |
193 | + | let aB = be[k] | |
194 | + | let aC = be[l] | |
195 | + | let aD = be[m] | |
196 | + | let R = be[p] | |
197 | + | let S = be[q] | |
198 | + | let bf = V(R, S, toString(ay.caller)) | |
199 | + | let aQ = parseIntValue(bf[u]) | |
200 | + | let aO = parseIntValue(bf[s]) | |
201 | + | let aP = parseIntValue(bf[t]) | |
202 | + | let bg = Q(R, S) | |
203 | + | let aM = parseIntValue(bg[u]) | |
204 | + | let aK = parseIntValue(bg[s]) | |
205 | + | let aL = parseIntValue(bg[t]) | |
206 | + | let aF = value(ay.payments[0]) | |
207 | + | let bh = value(aF.assetId) | |
208 | + | let bi = aF.amount | |
209 | + | if ((aB != toBase58String(bh))) | |
204 | 210 | then throw("Invalid asset passed.") | |
205 | - | else if (( | |
211 | + | else if ((bi > aQ)) | |
206 | 212 | then throw("Invalid amount passed. Amount less than available.") | |
207 | 213 | else { | |
208 | - | let aj = fraction( | |
209 | - | let ak = fraction( | |
210 | - | let | |
211 | - | [Burn( | |
214 | + | let aj = fraction(aK, bi, aM) | |
215 | + | let ak = fraction(aL, bi, aM) | |
216 | + | let bj = fraction(aL, b, aK) | |
217 | + | [Burn(bh, bi), ScriptTransfer(ay.caller, aj, fromBase58String(aC)), ScriptTransfer(ay.caller, ak, fromBase58String(aD)), StringEntry(C(R, S, toString(ay.caller)), W((aO - aj), (aP - ak), (aQ - bi))), StringEntry(z(R, S), W((aK - aj), (aL - ak), (aM - bi))), StringEntry(G(toString(ay.caller), toBase58String(ay.transactionId)), ai(aj, ak, bi, bj, height, lastBlock.timestamp)), StringEntry(v(), ("%s__" + toString(bj))), StringEntry(w(height, lastBlock.timestamp), ("%s__" + toString(bj)))] | |
212 | 218 | } | |
213 | 219 | } | |
214 | 220 | ||
215 | 221 | ||
216 | 222 | ||
217 | - | @Callable( | |
223 | + | @Callable(ay) | |
218 | 224 | func topup () = nil | |
219 | 225 | ||
220 | 226 | ||
221 | 227 | ||
222 | - | @Callable( | |
223 | - | func activate ( | |
228 | + | @Callable(ay) | |
229 | + | func activate (bk,bl,bm,bn,bo) = if ((ay.callerPublicKey != h)) | |
224 | 230 | then throw("permissions denied") | |
225 | 231 | else { | |
226 | - | let | |
227 | - | let ap = value(assetInfo( | |
228 | - | let | |
229 | - | let ar = value(assetInfo( | |
230 | - | let | |
231 | - | let | |
232 | - | let | |
233 | - | $Tuple2([ | |
232 | + | let aC = fromBase58String(bk) | |
233 | + | let ap = value(assetInfo(aC)).decimals | |
234 | + | let aD = fromBase58String(bl) | |
235 | + | let ar = value(assetInfo(aD)).decimals | |
236 | + | let bp = Issue(bm, bn, 1, 6, true) | |
237 | + | let aB = calculateAssetId(bp) | |
238 | + | let bq = toBase58String(aB) | |
239 | + | $Tuple2([bp, Burn(aB, 1)], [bq]) | |
234 | 240 | } | |
235 | 241 | ||
236 | 242 | ||
237 | 243 | ||
238 | - | @Callable( | |
239 | - | func manage ( | |
244 | + | @Callable(ay) | |
245 | + | func manage (br) = nil | |
240 | 246 | ||
241 | 247 | ||
242 | 248 | ||
243 | - | @Callable( | |
249 | + | @Callable(ay) | |
244 | 250 | func estimatedPut () = nil | |
245 | 251 | ||
246 | 252 | ||
247 | 253 | ||
248 | - | @Callable( | |
254 | + | @Callable(ay) | |
249 | 255 | func stats () = nil | |
250 | 256 | ||
251 | 257 | ||
252 | 258 | ||
253 | - | @Callable( | |
259 | + | @Callable(ay) | |
254 | 260 | func estimatedGet () = nil | |
255 | 261 | ||
256 | 262 | ||
257 | 263 | ||
258 | - | @Callable( | |
264 | + | @Callable(ay) | |
259 | 265 | func price () = nil | |
260 | 266 | ||
261 | 267 | ||
262 | - | @Verifier( | |
263 | - | func | |
268 | + | @Verifier(bs) | |
269 | + | func bt () = sigVerify(bs.bodyBytes, bs.proofs[0], bs.senderPublicKey) | |
264 | 270 |
github/deemru/w8io/026f985 71.01 ms ◑