tx · 14Ss988skoTZAbjK2pcvn3AbZGF76mhAfgJoZN7HEjYM

3MvXnAcEtL9x3i499UcvTQZPufrT5ZZUEd5:  -0.01400000 Waves

2022.09.19 19:43 [2236254] smart account 3MvXnAcEtL9x3i499UcvTQZPufrT5ZZUEd5 > SELF 0.00000000 Waves

{ "type": 13, "id": "14Ss988skoTZAbjK2pcvn3AbZGF76mhAfgJoZN7HEjYM", "fee": 1400000, "feeAssetId": null, "timestamp": 1663605818882, "version": 1, "sender": "3MvXnAcEtL9x3i499UcvTQZPufrT5ZZUEd5", "senderPublicKey": "GSAhb4fdky75LiCZ4p4DDK4rmWpmsgGBg1ZVdtPfmRES", "proofs": [ "2H3kzHzUEXxj7o6eYvyiWzDJ3XLsFR4cRjrnwQqTX1TU83oiFU6MzGq2xkrxnqP7bMsB9HdeoAu8BxPwmoedJVMA" ], "script": "base64:BgIsCAISCgoICAgBAQEBAQESAwoBCBIDCgEIEgUKAwgIARIECgIICBIDCgEIEgAUAANTRVACAl9fARNrZXlNYW5hZ2VyUHVibGljS2V5AAIUJXNfX21hbmFnZXJQdWJsaWNLZXkBGmtleVBlbmRpbmdNYW5hZ2VyUHVibGljS2V5AAIbJXNfX3BlbmRpbmdNYW5hZ2VyUHVibGljS2V5ARBrZXlXaXRoZHJhd0RlbGF5AgZhc3NldEEGYXNzZXRCCQC5CQIJAMwIAgIGJXMlcyVzCQDMCAICDXdpdGhkcmF3RGVsYXkJAMwIAgUGYXNzZXRBCQDMCAIFBmFzc2V0QgUDbmlsBQNTRVABFWtleURlcG9zaXRGZWVQZXJtaWxsZQIGYXNzZXRBBmFzc2V0QgkAuQkCCQDMCAICBiVzJXMlcwkAzAgCAhJkZXBvc2l0RmVlUGVybWlsbGUJAMwIAgUGYXNzZXRBCQDMCAIFBmFzc2V0QgUDbmlsBQNTRVABFmtleVdpdGhkcmF3RmVlUGVybWlsbGUCBmFzc2V0QQZhc3NldEIJALkJAgkAzAgCAgYlcyVzJXMJAMwIAgITd2l0aG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gkBC0RlbGV0ZUVudHJ5AQkBGmtleVBlbmRpbmdNYW5hZ2VyUHVibGljS2V5AAUDbmlsCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAQJ0eAEGdmVyaWZ5AAQPdGFyZ2V0UHVibGljS2V5BAckbWF0Y2gwCQEWbWFuYWdlclB1YmxpY0tleU9yVW5pdAADCQABAgUHJG1hdGNoMAIKQnl0ZVZlY3RvcgQCcGsFByRtYXRjaDAFAnBrAwkAAQIFByRtYXRjaDACBFVuaXQIBQJ0eA9zZW5kZXJQdWJsaWNLZXkJAAIBAgtNYXRjaCBlcnJvcgkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAUPdGFyZ2V0UHVibGljS2V59ff0MQ==", "chainId": 84, "height": 2236254, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 35RmjPnFsTychHmYmaGk5YCGMrzjkpCNtM4YzZ36WihX Next: 7d516jzASdtgMp6yZLMqSNvbu1PVy2Kgdmnpgm4pye5g Diff:
OldNewDifferences
160160 let I = valueOrErrorMessage(getInteger(k(e, f)), B("The minimum withdrawal amount for this pair of assets is not set."))
161161 let ac = (height + valueOrErrorMessage(getInteger(d(e, f)), B("Withdrawal delay is not set for the specified pair.")))
162162 let V = valueOrErrorMessage(getInteger(l(e, f, m)), B("This user balance does not exist."))
163- let W = valueOrElse(getInteger(n(e, f)), 0)
163+ let W = valueOrElse(getInteger(o(e, f)), 0)
164164 let N = h(e, f)
165165 let G = valueOrErrorMessage(getInteger(N), B("The withdrawal fee for this pair of assets is not set."))
166166 let U = ((ab / 1000) * G)
211211 if ((K == K))
212212 then {
213213 let af = valueOrElse(getInteger(n(e, f)), 0)
214- let ag = fromBase58String(value(e))
214+ let ag = fromBase58String(value(f))
215215 let ah = valueOrElse(getInteger(o(e, f)), 0)
216- let ai = fromBase58String(value(f))
217-[IntegerEntry(n(e, f), 0), ScriptTransfer(y.caller, af, ag), IntegerEntry(o(e, f), 0), ScriptTransfer(y.caller, ah, ai)]
216+ let ai = fromBase58String(value(e))
217+[IntegerEntry(n(e, f), 0), ScriptTransfer(y.caller, ah, ai), IntegerEntry(o(e, f), 0), ScriptTransfer(y.caller, af, ag)]
218218 }
219219 else throw("Strict value is not equal to itself.")
220220 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
66 func b () = "%s__managerPublicKey"
77
88
99 func c () = "%s__pendingManagerPublicKey"
1010
1111
1212 func d (e,f) = makeString(["%s%s%s", "withdrawDelay", e, f], a)
1313
1414
1515 func g (e,f) = makeString(["%s%s%s", "depositFeePermille", e, f], a)
1616
1717
1818 func h (e,f) = makeString(["%s%s%s", "withdrawFeePermille", e, f], a)
1919
2020
2121 func i (e,f) = makeString(["%s%s%s", "minAmountDeposit", e, f], a)
2222
2323
2424 func j (e,f) = makeString(["%s%s%s", "assetsPairStatus", e, f], a)
2525
2626
2727 func k (e,f) = makeString(["%s%s%s", "minAmountWithdraw", e, f], a)
2828
2929
3030 func l (e,f,m) = makeString(["%s%s%s%s", "balance", e, f, m], a)
3131
3232
3333 func n (e,f) = makeString(["%s%s%s%s", "totalFeeCollected", "deposit", e, f], a)
3434
3535
3636 func o (e,f) = makeString(["%s%s%s%s", "totalFeeCollected", "withdraw", e, f], a)
3737
3838
3939 func p (e,f,m) = makeString(["%s%s%s%s", "assetLockTime", e, f, m], a)
4040
4141
4242 func q (m,e,f,r) = makeString(["%s%s%s%s%s%d", "withdrawProcess", "inProgress", m, e, f, toString(r)], a)
4343
4444
4545 func s (m,e,f,r) = makeString(["%s%s%s%s%s%d", "withdrawProcess", "done", m, e, f, toString(r)], a)
4646
4747
4848 func t () = {
4949 let u = getString(b())
5050 if ($isInstanceOf(u, "String"))
5151 then {
5252 let v = u
5353 fromBase58String(v)
5454 }
5555 else if ($isInstanceOf(u, "Unit"))
5656 then unit
5757 else throw("Match error")
5858 }
5959
6060
6161 func w () = {
6262 let u = getString(c())
6363 if ($isInstanceOf(u, "String"))
6464 then {
6565 let v = u
6666 fromBase58String(v)
6767 }
6868 else if ($isInstanceOf(u, "Unit"))
6969 then unit
7070 else throw("Match error")
7171 }
7272
7373
7474 func x (y) = {
7575 let z = throw("Permission denied.")
7676 let u = t()
7777 if ($isInstanceOf(u, "ByteVector"))
7878 then {
7979 let A = u
8080 if ((y.callerPublicKey == A))
8181 then true
8282 else z
8383 }
8484 else if ($isInstanceOf(u, "Unit"))
8585 then if ((y.caller == this))
8686 then true
8787 else z
8888 else throw("Match error")
8989 }
9090
9191
9292 func B (C) = makeString(["otc_multiasset.ride:", C], " ")
9393
9494
9595 func D (C) = throw(B(C))
9696
9797
9898 @Callable(y)
9999 func registerAsset (e,f,E,F,G,H,I,J) = {
100100 let K = x(y)
101101 if ((K == K))
102102 then {
103103 let L = d(e, f)
104104 let M = g(e, f)
105105 let N = h(e, f)
106106 let O = i(e, f)
107107 let P = k(e, f)
108108 let Q = j(e, f)
109109 [IntegerEntry(L, E), IntegerEntry(M, F), IntegerEntry(N, G), IntegerEntry(O, H), IntegerEntry(P, I), IntegerEntry(Q, J)]
110110 }
111111 else throw("Strict value is not equal to itself.")
112112 }
113113
114114
115115
116116 @Callable(y)
117117 func swapAssetsAToB (f) = {
118118 let R = value(y.payments[0])
119119 let e = toBase58String(value(R.assetId))
120120 let S = fromBase58String(value(f))
121121 let m = toString(y.caller)
122122 let H = valueOrErrorMessage(getInteger(i(e, f)), B("This asset pair does not exist."))
123123 let T = R.amount
124124 let F = valueOrErrorMessage(getInteger(g(e, f)), B("The deposit fee for this pair of assets is not set."))
125125 let U = ((T / 1000) * F)
126126 let V = valueOrElse(getInteger(l(e, f, m)), 0)
127127 let W = valueOrElse(getInteger(n(e, f)), 0)
128128 let J = valueOrErrorMessage(getInteger(j(e, f)), B("The asset pair status for this pair of assets is not set."))
129129 let X = if ((J == 0))
130130 then true
131131 else D("The couple's deposit is blocked.")
132132 if ((X == X))
133133 then {
134134 let Y = if ((T >= H))
135135 then true
136136 else D("The deposit amount is less than the minimum.")
137137 if ((Y == Y))
138138 then {
139139 let Z = ((V + T) - U)
140140 let aa = if ((Z > 0))
141141 then true
142142 else D("The final balance is less than or equal to 0.")
143143 if ((aa == aa))
144144 then [IntegerEntry(l(e, f, m), Z), IntegerEntry(n(e, f), (W + U)), ScriptTransfer(y.caller, (T - U), S)]
145145 else throw("Strict value is not equal to itself.")
146146 }
147147 else throw("Strict value is not equal to itself.")
148148 }
149149 else throw("Strict value is not equal to itself.")
150150 }
151151
152152
153153
154154 @Callable(y)
155155 func initializationSwapAssetsBToA (e) = {
156156 let R = value(y.payments[0])
157157 let ab = R.amount
158158 let f = toBase58String(value(R.assetId))
159159 let m = toString(y.caller)
160160 let I = valueOrErrorMessage(getInteger(k(e, f)), B("The minimum withdrawal amount for this pair of assets is not set."))
161161 let ac = (height + valueOrErrorMessage(getInteger(d(e, f)), B("Withdrawal delay is not set for the specified pair.")))
162162 let V = valueOrErrorMessage(getInteger(l(e, f, m)), B("This user balance does not exist."))
163- let W = valueOrElse(getInteger(n(e, f)), 0)
163+ let W = valueOrElse(getInteger(o(e, f)), 0)
164164 let N = h(e, f)
165165 let G = valueOrErrorMessage(getInteger(N), B("The withdrawal fee for this pair of assets is not set."))
166166 let U = ((ab / 1000) * G)
167167 let Z = (V - ab)
168168 let aa = if ((Z >= 0))
169169 then true
170170 else D("Swap amount fail, amount is to small.")
171171 if ((aa == aa))
172172 then {
173173 let Y = if ((ab >= I))
174174 then true
175175 else D("The withdraw amount is less than the minimum.")
176176 if ((Y == Y))
177177 then {
178178 let ad = if ((valueOrElse(getInteger(p(e, f, m)), 0) != ac))
179179 then true
180180 else D("At this height, there is already an exchange of this pair.")
181181 if ((ad == ad))
182182 then [IntegerEntry(p(e, f, m), ac), IntegerEntry(l(e, f, m), Z), IntegerEntry(q(m, e, f, ac), (ab - U)), IntegerEntry(o(e, f), (W + U))]
183183 else throw("Strict value is not equal to itself.")
184184 }
185185 else throw("Strict value is not equal to itself.")
186186 }
187187 else throw("Strict value is not equal to itself.")
188188 }
189189
190190
191191
192192 @Callable(y)
193193 func withdrawAsset (e,f,r) = {
194194 let m = toString(y.caller)
195195 let ac = valueOrErrorMessage(getInteger(p(e, f, m)), B("An asset pair or height is specified incorrectly."))
196196 let ab = valueOrErrorMessage(getInteger(q(m, e, f, r)), B("At this height, withdraw was not initialized with this pair of assets."))
197197 let S = fromBase58String(value(e))
198198 let ae = if ((height >= ac))
199199 then true
200200 else D((("Withdrawal is possible after " + toString(r)) + " height or you have already withdrawn."))
201201 if ((ae == ae))
202202 then [DeleteEntry(q(m, e, f, r)), IntegerEntry(s(m, e, f, r), ab), ScriptTransfer(y.caller, ab, S)]
203203 else throw("Strict value is not equal to itself.")
204204 }
205205
206206
207207
208208 @Callable(y)
209209 func withdrawFee (e,f) = {
210210 let K = x(y)
211211 if ((K == K))
212212 then {
213213 let af = valueOrElse(getInteger(n(e, f)), 0)
214- let ag = fromBase58String(value(e))
214+ let ag = fromBase58String(value(f))
215215 let ah = valueOrElse(getInteger(o(e, f)), 0)
216- let ai = fromBase58String(value(f))
217-[IntegerEntry(n(e, f), 0), ScriptTransfer(y.caller, af, ag), IntegerEntry(o(e, f), 0), ScriptTransfer(y.caller, ah, ai)]
216+ let ai = fromBase58String(value(e))
217+[IntegerEntry(n(e, f), 0), ScriptTransfer(y.caller, ah, ai), IntegerEntry(o(e, f), 0), ScriptTransfer(y.caller, af, ag)]
218218 }
219219 else throw("Strict value is not equal to itself.")
220220 }
221221
222222
223223
224224 @Callable(y)
225225 func setManager (aj) = {
226226 let K = x(y)
227227 if ((K == K))
228228 then {
229229 let ak = fromBase58String(aj)
230230 if ((ak == ak))
231231 then [StringEntry(c(), aj)]
232232 else throw("Strict value is not equal to itself.")
233233 }
234234 else throw("Strict value is not equal to itself.")
235235 }
236236
237237
238238
239239 @Callable(y)
240240 func confirmManager () = {
241241 let al = w()
242242 let am = if (isDefined(al))
243243 then true
244244 else D("No pending manager.")
245245 if ((am == am))
246246 then {
247247 let an = if ((y.callerPublicKey == value(al)))
248248 then true
249249 else D("You are not pending manager.")
250250 if ((an == an))
251251 then [StringEntry(b(), toBase58String(value(al))), DeleteEntry(c())]
252252 else throw("Strict value is not equal to itself.")
253253 }
254254 else throw("Strict value is not equal to itself.")
255255 }
256256
257257
258258 @Verifier(ao)
259259 func ap () = {
260260 let aq = {
261261 let u = t()
262262 if ($isInstanceOf(u, "ByteVector"))
263263 then {
264264 let A = u
265265 A
266266 }
267267 else if ($isInstanceOf(u, "Unit"))
268268 then ao.senderPublicKey
269269 else throw("Match error")
270270 }
271271 sigVerify(ao.bodyBytes, ao.proofs[0], aq)
272272 }
273273

github/deemru/w8io/026f985 
75.17 ms