tx · HoN3icAcqPPGdqGqMqoxLajwSSubRqN8kds6MCZG9ZpD

3MvGbCQfRKnagRd5JmZTvgupznuJD7MyKfo:  -0.01500000 Waves

2022.07.29 23:41 [2161607] smart account 3MvGbCQfRKnagRd5JmZTvgupznuJD7MyKfo > SELF 0.00000000 Waves

{ "type": 13, "id": "HoN3icAcqPPGdqGqMqoxLajwSSubRqN8kds6MCZG9ZpD", "fee": 1500000, "feeAssetId": null, "timestamp": 1659127303954, "version": 2, "chainId": 84, "sender": "3MvGbCQfRKnagRd5JmZTvgupznuJD7MyKfo", "senderPublicKey": "8Gc2RCQPWrzPyyDuKYbKYRCrEHXZSYqCAdiiRQAooSZ6", "proofs": [ "615wKT1bonyhhRmUitCScwWpv3AsAGSmWrTVPKPzZYsirXX85MHMyvQmt5Jh6oxmeLtVd4vvkiHYzntgDyieUyzT" ], "script": "base64:AAIFAAAAAAAAACkIAhIDCgEIEgkKBwgICAgBAQESCQoHCAgICAEBARIECgIICBIECgIICAAAAAkAAAAACW9yYWNsZUtleQIAAAAJb3JhY2xlS2V5AQAAAAZnZXRTdHIAAAABAAAAA2tleQQAAAAHJG1hdGNoMAkABB0AAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAAAABYgUAAAAHJG1hdGNoMAUAAAABYgIAAAAAAQAAAAZnZXRJbnQAAAABAAAAA2tleQQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYgUAAAAHJG1hdGNoMAUAAAABYgAAAAAAAAAAAAAAAAAGb3JhY2xlCQEAAAAGZ2V0U3RyAAAAAQUAAAAJb3JhY2xlS2V5AAAAAAlvcmFjbGVGZWUJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQUAAAAGb3JhY2xlAAAAAApzY29uZXhEYXBwCQAEJgAAAAEJAQAAABN2YWx1ZU9yRXJyb3J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IcGF5bWVudHMAAAAAAAAAAAAAAAAHYXNzZXRJZAUAAAADbmlsBAAAAAxzZWxsZXJSZXdhcmQJAABlAAAAAgkAAGUAAAACCQAAZQAAAAIJAABlAAAAAgkAAGUAAAACCQAAZQAAAAIFAAAABmFtb3VudAUAAAAVYWRkcmVzczFDcmVhdG9yUmV3YXJkBQAAABVhZGRyZXNzMkNyZWF0b3JSZXdhcmQFAAAAFWFkZHJlc3MzQ3JlYXRvclJld2FyZAUAAAASYWRkcmVzczFUZWFtUmV3YXJkBQAAABJhZGRyZXNzMlRlYW1SZXdhcmQFAAAAEmFkZHJlc3MzVGVhbVJld2FyZAQAAAAUc2NyaXB0VHJhbnNmZXJTZWxsZXIDCQAAAAAAAAIFAAAABnNlbGxlcgIAAAAABQAAAANuaWwJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQUAAAAGc2VsbGVyBQAAAAxzZWxsZXJSZXdhcmQICQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAAAAAAB2Fzc2V0SWQFAAAAA25pbAkABE4AAAACCQAETgAAAAIJAAROAAAAAgkABE4AAAACCQAETgAAAAIJAAROAAAAAgUAAAAac2NyaXB0VHJhbnNmZXJBZGRyZXNzVGVhbTEFAAAAGnNjcmlwdFRyYW5zZmVyQWRkcmVzc1RlYW0yBQAAABpzY3JpcHRUcmFuc2ZlckFkZHJlc3NUZWFtMwUAAAAWc2NyaXB0VHJhbnNmZXJBZGRyZXNzMQUAAAAWc2NyaXB0VHJhbnNmZXJBZGRyZXNzMgUAAAAWc2NyaXB0VHJhbnNmZXJBZGRyZXNzMwUAAAAUc2NyaXB0VHJhbnNmZXJTZWxsZXIAAAAA5pBgnw==", "height": 2161607, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: c3uGWJhhts393CHn2FfBQCy3J2Kt4jWC9mJBWoUvSKP Next: none Diff:
OldNewDifferences
7373 then !(isDefined(addressFromString(r)))
7474 else false)
7575 then throw("Address 3 is invalid")
76- else if ((((s + t) + u) != 15))
77- then throw("Sum of shares should be equal to 15")
78- else [StringEntry((o + "_team_address1"), p), StringEntry((o + "_team_address2"), q), StringEntry((o + "_team_address3"), r), IntegerEntry((o + "_team_share1"), s), IntegerEntry((o + "_team_share2"), t), IntegerEntry((o + "_team_share3"), u)]
76+ else {
77+ let v = ((s + t) + u)
78+ if ((v != 3))
79+ then throw(("Sum of shares should be equal to 3, but was equal to " + toString(v)))
80+ else [StringEntry((o + "_team_address1"), p), StringEntry((o + "_team_address2"), q), StringEntry((o + "_team_address3"), r), IntegerEntry((o + "_team_share1"), s), IntegerEntry((o + "_team_share2"), t), IntegerEntry((o + "_team_share3"), u)]
81+ }
7982
8083
8184
113116
114117
115118 @Callable(m)
116-func payFeeResell (v,w) = if (!(containsElement(l, m.caller)))
119+func payFeeResell (w,x) = if (!(containsElement(l, m.caller)))
117120 then throw("Not allowed")
118121 else {
119- let x = 3
120- let y = value(m.payments[0].amount)
121- let z = value(m.payments[0].assetId)
122- let A = f((v + "_creator_share1"))
123- let B = f((v + "_creator_share2"))
124- let C = f((v + "_creator_share3"))
125- let D = b((v + "_creator_address1"))
126- let E = b((v + "_creator_address2"))
127- let F = b((v + "_creator_address3"))
128- let G = if ((D == ""))
129- then 0
130- else fraction(y, A, 100)
122+ let y = 3
123+ let z = value(m.payments[0].amount)
124+ let A = value(m.payments[0].assetId)
125+ let B = f((w + "_creator_share1"))
126+ let C = f((w + "_creator_share2"))
127+ let D = f((w + "_creator_share3"))
128+ let E = b((w + "_creator_address1"))
129+ let F = b((w + "_creator_address2"))
130+ let G = b((w + "_creator_address3"))
131131 let H = if ((E == ""))
132132 then 0
133- else fraction(y, B, 100)
133+ else fraction(z, B, 100)
134134 let I = if ((F == ""))
135135 then 0
136- else fraction(y, C, 100)
137- let J = fraction(y, x, 100)
138- let K = ((((y - G) - H) - I) - J)
139- let L = [ScriptTransfer(addressFromStringValue(k), J, m.payments[0].assetId)]
140- let M = if ((D == ""))
141- then nil
142- else [ScriptTransfer(addressFromStringValue(D), G, m.payments[0].assetId)]
136+ else fraction(z, C, 100)
137+ let J = if ((G == ""))
138+ then 0
139+ else fraction(z, D, 100)
140+ let K = fraction(z, y, 100)
141+ let L = ((((z - H) - I) - J) - K)
142+ let M = [ScriptTransfer(addressFromStringValue(k), K, m.payments[0].assetId)]
143143 let N = if ((E == ""))
144144 then nil
145145 else [ScriptTransfer(addressFromStringValue(E), H, m.payments[0].assetId)]
146146 let O = if ((F == ""))
147147 then nil
148148 else [ScriptTransfer(addressFromStringValue(F), I, m.payments[0].assetId)]
149- let P = if ((w == ""))
149+ let P = if ((G == ""))
150150 then nil
151- else [ScriptTransfer(addressFromStringValue(w), K, m.payments[0].assetId)]
152- ((((M ++ N) ++ O) ++ L) ++ P)
151+ else [ScriptTransfer(addressFromStringValue(G), J, m.payments[0].assetId)]
152+ let Q = if ((x == ""))
153+ then nil
154+ else [ScriptTransfer(addressFromStringValue(x), L, m.payments[0].assetId)]
155+ ((((N ++ O) ++ P) ++ M) ++ Q)
153156 }
154157
155158
156159
157160 @Callable(m)
158-func payFee (v,w) = if (!(containsElement(l, m.caller)))
161+func payFee (w,x) = if (!(containsElement(l, m.caller)))
159162 then throw("Not allowed")
160163 else {
161- let y = value(m.payments[0].amount)
162- let z = value(m.payments[0].assetId)
163- let Q = f((v + "_team_share1"))
164- let R = f((v + "_team_share2"))
165- let S = f((v + "_team_share3"))
166- let T = b((v + "_team_address1"))
167- let U = b((v + "_team_address2"))
168- let V = b((v + "_team_address3"))
169- let A = f((v + "_creator_address1"))
170- let B = f((v + "_creator_address2"))
171- let C = f((v + "_creator_address3"))
172- let D = b((v + "_creator_address1"))
173- let E = b((v + "_creator_address2"))
174- let F = b((v + "_creator_address3"))
175- let W = if ((T == ""))
176- then 0
177- else fraction(y, Q, 100)
164+ let z = value(m.payments[0].amount)
165+ let A = value(m.payments[0].assetId)
166+ let R = f((w + "_team_share1"))
167+ let S = f((w + "_team_share2"))
168+ let T = f((w + "_team_share3"))
169+ let U = b((w + "_team_address1"))
170+ let V = b((w + "_team_address2"))
171+ let W = b((w + "_team_address3"))
172+ let B = f((w + "_creator_address1"))
173+ let C = f((w + "_creator_address2"))
174+ let D = f((w + "_creator_address3"))
175+ let E = b((w + "_creator_address1"))
176+ let F = b((w + "_creator_address2"))
177+ let G = b((w + "_creator_address3"))
178178 let X = if ((U == ""))
179179 then 0
180- else fraction(y, R, 100)
180+ else fraction(z, R, 100)
181181 let Y = if ((V == ""))
182182 then 0
183- else fraction(y, S, 100)
184- let G = if ((D == ""))
183+ else fraction(z, S, 100)
184+ let Z = if ((W == ""))
185185 then 0
186- else fraction(y, A, 100)
186+ else fraction(z, T, 100)
187187 let H = if ((E == ""))
188188 then 0
189- else fraction(y, B, 100)
189+ else fraction(z, B, 100)
190190 let I = if ((F == ""))
191191 then 0
192- else fraction(y, C, 100)
193- let Z = if ((T == ""))
194- then nil
195- else [ScriptTransfer(addressFromStringValue(T), W, m.payments[0].assetId)]
192+ else fraction(z, C, 100)
193+ let J = if ((G == ""))
194+ then 0
195+ else fraction(z, D, 100)
196196 let aa = if ((U == ""))
197197 then nil
198198 else [ScriptTransfer(addressFromStringValue(U), X, m.payments[0].assetId)]
199199 let ab = if ((V == ""))
200200 then nil
201201 else [ScriptTransfer(addressFromStringValue(V), Y, m.payments[0].assetId)]
202- let M = if ((D == ""))
202+ let ac = if ((W == ""))
203203 then nil
204- else [ScriptTransfer(addressFromStringValue(D), G, m.payments[0].assetId)]
204+ else [ScriptTransfer(addressFromStringValue(W), Z, m.payments[0].assetId)]
205205 let N = if ((E == ""))
206206 then nil
207207 else [ScriptTransfer(addressFromStringValue(E), H, m.payments[0].assetId)]
208208 let O = if ((F == ""))
209209 then nil
210210 else [ScriptTransfer(addressFromStringValue(F), I, m.payments[0].assetId)]
211- let K = ((((((y - G) - H) - I) - W) - X) - Y)
212- let P = if ((w == ""))
211+ let P = if ((G == ""))
213212 then nil
214- else [ScriptTransfer(addressFromStringValue(w), K, m.payments[0].assetId)]
215- ((((((Z ++ aa) ++ ab) ++ M) ++ N) ++ O) ++ P)
213+ else [ScriptTransfer(addressFromStringValue(G), J, m.payments[0].assetId)]
214+ let L = ((((((z - H) - I) - J) - X) - Y) - Z)
215+ let Q = if ((x == ""))
216+ then nil
217+ else [ScriptTransfer(addressFromStringValue(x), L, m.payments[0].assetId)]
218+ ((((((aa ++ ab) ++ ac) ++ N) ++ O) ++ P) ++ Q)
216219 }
217220
218221
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "oracleKey"
55
66 func b (c) = {
77 let d = getString(this, c)
88 if ($isInstanceOf(d, "String"))
99 then {
1010 let e = d
1111 e
1212 }
1313 else ""
1414 }
1515
1616
1717 func f (c) = {
1818 let d = getInteger(this, c)
1919 if ($isInstanceOf(d, "Int"))
2020 then {
2121 let e = d
2222 e
2323 }
2424 else 0
2525 }
2626
2727
2828 let g = b(a)
2929
3030 let h = value(addressFromString(g))
3131
3232 let i = addressFromString(valueOrErrorMessage(getString(h, "sconexDapp"), "sconexDapp not found"))
3333
3434 let j = addressFromString(valueOrErrorMessage(getString(h, "resellDapp"), "resellDapp not found"))
3535
3636 let k = valueOrErrorMessage(getString(h, "feeReceiver"), "feeReceiver not found")
3737
3838 let l = [i, j]
3939
4040 @Callable(m)
4141 func initDapp (n) = if ((m.caller != this))
4242 then throw("You cannot do this action")
4343 else if ((g != ""))
4444 then throw("oracle already set, you can't override!")
4545 else [StringEntry(a, n)]
4646
4747
4848
4949 @Callable(m)
5050 func teamSplitFee (o,p,q,r,s,t,u) = if (!(containsElement(l, m.caller)))
5151 then throw("Not allowed")
5252 else if ((0 > s))
5353 then throw("Share 1 can't be negative")
5454 else if (if (if ((s != 0))
5555 then true
5656 else (p != ""))
5757 then !(isDefined(addressFromString(p)))
5858 else false)
5959 then throw("Address 1 is invalid")
6060 else if ((0 > t))
6161 then throw("Share 2 can't be negative")
6262 else if (if (if ((t != 0))
6363 then true
6464 else (q != ""))
6565 then !(isDefined(addressFromString(q)))
6666 else false)
6767 then throw("Address 2 is invalid")
6868 else if ((0 > u))
6969 then throw("Share 3 can't be negative")
7070 else if (if (if ((u != 0))
7171 then true
7272 else (r != ""))
7373 then !(isDefined(addressFromString(r)))
7474 else false)
7575 then throw("Address 3 is invalid")
76- else if ((((s + t) + u) != 15))
77- then throw("Sum of shares should be equal to 15")
78- else [StringEntry((o + "_team_address1"), p), StringEntry((o + "_team_address2"), q), StringEntry((o + "_team_address3"), r), IntegerEntry((o + "_team_share1"), s), IntegerEntry((o + "_team_share2"), t), IntegerEntry((o + "_team_share3"), u)]
76+ else {
77+ let v = ((s + t) + u)
78+ if ((v != 3))
79+ then throw(("Sum of shares should be equal to 3, but was equal to " + toString(v)))
80+ else [StringEntry((o + "_team_address1"), p), StringEntry((o + "_team_address2"), q), StringEntry((o + "_team_address3"), r), IntegerEntry((o + "_team_share1"), s), IntegerEntry((o + "_team_share2"), t), IntegerEntry((o + "_team_share3"), u)]
81+ }
7982
8083
8184
8285 @Callable(m)
8386 func creatorSplitFee (o,p,q,r,s,t,u) = if (!(containsElement(l, m.caller)))
8487 then throw("Not allowed")
8588 else if ((0 > s))
8689 then throw("Share 1 can't be negative")
8790 else if (if (if ((s != 0))
8891 then true
8992 else (p != ""))
9093 then !(isDefined(addressFromString(p)))
9194 else false)
9295 then throw("Address 1 is invalid")
9396 else if ((0 > t))
9497 then throw("Share 2 can't be negative")
9598 else if (if (if ((t != 0))
9699 then true
97100 else (q != ""))
98101 then !(isDefined(addressFromString(q)))
99102 else false)
100103 then throw("Address 2 is invalid")
101104 else if ((0 > u))
102105 then throw("Share 3 can't be negative")
103106 else if (if (if ((u != 0))
104107 then true
105108 else (r != ""))
106109 then !(isDefined(addressFromString(r)))
107110 else false)
108111 then throw("Address 3 is invalid")
109112 else if ((((s + t) + u) > 85))
110113 then throw("Sum of shares should be smaller or equal then 85")
111114 else [StringEntry((o + "_creator_address1"), p), StringEntry((o + "_creator_address2"), q), StringEntry((o + "_creator_address3"), r), IntegerEntry((o + "_creator_share1"), s), IntegerEntry((o + "_creator_share2"), t), IntegerEntry((o + "_creator_share3"), u)]
112115
113116
114117
115118 @Callable(m)
116-func payFeeResell (v,w) = if (!(containsElement(l, m.caller)))
119+func payFeeResell (w,x) = if (!(containsElement(l, m.caller)))
117120 then throw("Not allowed")
118121 else {
119- let x = 3
120- let y = value(m.payments[0].amount)
121- let z = value(m.payments[0].assetId)
122- let A = f((v + "_creator_share1"))
123- let B = f((v + "_creator_share2"))
124- let C = f((v + "_creator_share3"))
125- let D = b((v + "_creator_address1"))
126- let E = b((v + "_creator_address2"))
127- let F = b((v + "_creator_address3"))
128- let G = if ((D == ""))
129- then 0
130- else fraction(y, A, 100)
122+ let y = 3
123+ let z = value(m.payments[0].amount)
124+ let A = value(m.payments[0].assetId)
125+ let B = f((w + "_creator_share1"))
126+ let C = f((w + "_creator_share2"))
127+ let D = f((w + "_creator_share3"))
128+ let E = b((w + "_creator_address1"))
129+ let F = b((w + "_creator_address2"))
130+ let G = b((w + "_creator_address3"))
131131 let H = if ((E == ""))
132132 then 0
133- else fraction(y, B, 100)
133+ else fraction(z, B, 100)
134134 let I = if ((F == ""))
135135 then 0
136- else fraction(y, C, 100)
137- let J = fraction(y, x, 100)
138- let K = ((((y - G) - H) - I) - J)
139- let L = [ScriptTransfer(addressFromStringValue(k), J, m.payments[0].assetId)]
140- let M = if ((D == ""))
141- then nil
142- else [ScriptTransfer(addressFromStringValue(D), G, m.payments[0].assetId)]
136+ else fraction(z, C, 100)
137+ let J = if ((G == ""))
138+ then 0
139+ else fraction(z, D, 100)
140+ let K = fraction(z, y, 100)
141+ let L = ((((z - H) - I) - J) - K)
142+ let M = [ScriptTransfer(addressFromStringValue(k), K, m.payments[0].assetId)]
143143 let N = if ((E == ""))
144144 then nil
145145 else [ScriptTransfer(addressFromStringValue(E), H, m.payments[0].assetId)]
146146 let O = if ((F == ""))
147147 then nil
148148 else [ScriptTransfer(addressFromStringValue(F), I, m.payments[0].assetId)]
149- let P = if ((w == ""))
149+ let P = if ((G == ""))
150150 then nil
151- else [ScriptTransfer(addressFromStringValue(w), K, m.payments[0].assetId)]
152- ((((M ++ N) ++ O) ++ L) ++ P)
151+ else [ScriptTransfer(addressFromStringValue(G), J, m.payments[0].assetId)]
152+ let Q = if ((x == ""))
153+ then nil
154+ else [ScriptTransfer(addressFromStringValue(x), L, m.payments[0].assetId)]
155+ ((((N ++ O) ++ P) ++ M) ++ Q)
153156 }
154157
155158
156159
157160 @Callable(m)
158-func payFee (v,w) = if (!(containsElement(l, m.caller)))
161+func payFee (w,x) = if (!(containsElement(l, m.caller)))
159162 then throw("Not allowed")
160163 else {
161- let y = value(m.payments[0].amount)
162- let z = value(m.payments[0].assetId)
163- let Q = f((v + "_team_share1"))
164- let R = f((v + "_team_share2"))
165- let S = f((v + "_team_share3"))
166- let T = b((v + "_team_address1"))
167- let U = b((v + "_team_address2"))
168- let V = b((v + "_team_address3"))
169- let A = f((v + "_creator_address1"))
170- let B = f((v + "_creator_address2"))
171- let C = f((v + "_creator_address3"))
172- let D = b((v + "_creator_address1"))
173- let E = b((v + "_creator_address2"))
174- let F = b((v + "_creator_address3"))
175- let W = if ((T == ""))
176- then 0
177- else fraction(y, Q, 100)
164+ let z = value(m.payments[0].amount)
165+ let A = value(m.payments[0].assetId)
166+ let R = f((w + "_team_share1"))
167+ let S = f((w + "_team_share2"))
168+ let T = f((w + "_team_share3"))
169+ let U = b((w + "_team_address1"))
170+ let V = b((w + "_team_address2"))
171+ let W = b((w + "_team_address3"))
172+ let B = f((w + "_creator_address1"))
173+ let C = f((w + "_creator_address2"))
174+ let D = f((w + "_creator_address3"))
175+ let E = b((w + "_creator_address1"))
176+ let F = b((w + "_creator_address2"))
177+ let G = b((w + "_creator_address3"))
178178 let X = if ((U == ""))
179179 then 0
180- else fraction(y, R, 100)
180+ else fraction(z, R, 100)
181181 let Y = if ((V == ""))
182182 then 0
183- else fraction(y, S, 100)
184- let G = if ((D == ""))
183+ else fraction(z, S, 100)
184+ let Z = if ((W == ""))
185185 then 0
186- else fraction(y, A, 100)
186+ else fraction(z, T, 100)
187187 let H = if ((E == ""))
188188 then 0
189- else fraction(y, B, 100)
189+ else fraction(z, B, 100)
190190 let I = if ((F == ""))
191191 then 0
192- else fraction(y, C, 100)
193- let Z = if ((T == ""))
194- then nil
195- else [ScriptTransfer(addressFromStringValue(T), W, m.payments[0].assetId)]
192+ else fraction(z, C, 100)
193+ let J = if ((G == ""))
194+ then 0
195+ else fraction(z, D, 100)
196196 let aa = if ((U == ""))
197197 then nil
198198 else [ScriptTransfer(addressFromStringValue(U), X, m.payments[0].assetId)]
199199 let ab = if ((V == ""))
200200 then nil
201201 else [ScriptTransfer(addressFromStringValue(V), Y, m.payments[0].assetId)]
202- let M = if ((D == ""))
202+ let ac = if ((W == ""))
203203 then nil
204- else [ScriptTransfer(addressFromStringValue(D), G, m.payments[0].assetId)]
204+ else [ScriptTransfer(addressFromStringValue(W), Z, m.payments[0].assetId)]
205205 let N = if ((E == ""))
206206 then nil
207207 else [ScriptTransfer(addressFromStringValue(E), H, m.payments[0].assetId)]
208208 let O = if ((F == ""))
209209 then nil
210210 else [ScriptTransfer(addressFromStringValue(F), I, m.payments[0].assetId)]
211- let K = ((((((y - G) - H) - I) - W) - X) - Y)
212- let P = if ((w == ""))
211+ let P = if ((G == ""))
213212 then nil
214- else [ScriptTransfer(addressFromStringValue(w), K, m.payments[0].assetId)]
215- ((((((Z ++ aa) ++ ab) ++ M) ++ N) ++ O) ++ P)
213+ else [ScriptTransfer(addressFromStringValue(G), J, m.payments[0].assetId)]
214+ let L = ((((((z - H) - I) - J) - X) - Y) - Z)
215+ let Q = if ((x == ""))
216+ then nil
217+ else [ScriptTransfer(addressFromStringValue(x), L, m.payments[0].assetId)]
218+ ((((((aa ++ ab) ++ ac) ++ N) ++ O) ++ P) ++ Q)
216219 }
217220
218221

github/deemru/w8io/026f985 
53.68 ms