tx · GjU8Dof6jPGc9x6eSXTM3gM11F5A9fzsUu22DGwJkY7H

3MvGbCQfRKnagRd5JmZTvgupznuJD7MyKfo:  -0.01400000 Waves

2022.04.04 18:29 [1994028] smart account 3MvGbCQfRKnagRd5JmZTvgupznuJD7MyKfo > SELF 0.00000000 Waves

{ "type": 13, "id": "GjU8Dof6jPGc9x6eSXTM3gM11F5A9fzsUu22DGwJkY7H", "fee": 1400000, "feeAssetId": null, "timestamp": 1649086190182, "version": 2, "chainId": 84, "sender": "3MvGbCQfRKnagRd5JmZTvgupznuJD7MyKfo", "senderPublicKey": "8Gc2RCQPWrzPyyDuKYbKYRCrEHXZSYqCAdiiRQAooSZ6", "proofs": [ "47pSt56iTeX3pFtTvxU7nrQgZp9knkeej1aHXpqt9p4hdtqR3hTjiqxfhZWBdUraxQLoiJNc7NCMCGyU88dNxfP9" ], "script": "base64:AAIFAAAAAAAAACkIAhIDCgEIEgkKBwgICAgBAQESCQoHCAgICAEBARIECgIICBIECgIICAAAAAgAAAAACW9yYWNsZUtleQIAAAAJb3JhY2xlS2V5AQAAAAZnZXRTdHIAAAABAAAAA2tleQQAAAAHJG1hdGNoMAkABB0AAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAAAABYgUAAAAHJG1hdGNoMAUAAAABYgIAAAAAAQAAAAZnZXRJbnQAAAABAAAAA2tleQQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYgUAAAAHJG1hdGNoMAUAAAABYgAAAAAAAAAAAAAAAAAGb3JhY2xlCQEAAAAGZ2V0U3RyAAAAAQUAAAAJb3JhY2xlS2V5AAAAAAlvcmFjbGVGZWUJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQUAAAAGb3JhY2xlAAAAAApzY29uZXhEYXBwCQAEJgAAAAEJAQAAABN2YWx1ZU9yRXJ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4AAAACCQAETgAAAAIJAAROAAAAAgkABE4AAAACBQAAABpzY3JpcHRUcmFuc2ZlckFkZHJlc3NUZWFtMQUAAAAac2NyaXB0VHJhbnNmZXJBZGRyZXNzVGVhbTIFAAAAGnNjcmlwdFRyYW5zZmVyQWRkcmVzc1RlYW0zBQAAABZzY3JpcHRUcmFuc2ZlckFkZHJlc3MxBQAAABZzY3JpcHRUcmFuc2ZlckFkZHJlc3MyBQAAABZzY3JpcHRUcmFuc2ZlckFkZHJlc3MzBQAAABRzY3JpcHRUcmFuc2ZlclNlbGxlcgAAAAAVnLbf", "height": 1994028, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 525rX21efkgyZzHpkHWiVsKFifUKabMpZdrkd8z7g83S Next: NtQDmivhWU6gPqe75XuFuufdipDzoXeuwHfGVDaXEH5 Diff:
OldNewDifferences
7676 then throw("Not allowed")
7777 else if ((0 > r))
7878 then throw("Share 1 can't be negative")
79- else if (if ((r != 0))
79+ else if (if (if ((r != 0))
80+ then true
81+ else (o != ""))
8082 then !(isDefined(addressFromString(o)))
8183 else false)
8284 then throw("Address 1 is invalid")
8385 else if ((0 > s))
8486 then throw("Share 2 can't be negative")
85- else if (if ((s != 0))
87+ else if (if (if ((s != 0))
88+ then true
89+ else (p != ""))
8690 then !(isDefined(addressFromString(p)))
8791 else false)
8892 then throw("Address 2 is invalid")
8993 else if ((0 > t))
9094 then throw("Share 3 can't be negative")
91- else if (if ((t != 0))
95+ else if (if (if ((t != 0))
96+ then true
97+ else (q != ""))
9298 then !(isDefined(addressFromString(q)))
9399 else false)
94100 then throw("Address 3 is invalid")
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 = valueOrErrorMessage(getString(h, "feeReceiver"), "feeReceiver not found")
3535
3636 let k = [i]
3737
3838 @Callable(l)
3939 func initDapp (m) = if ((l.caller != this))
4040 then throw("You cannot do this action")
4141 else if ((g != ""))
4242 then throw("oracle already set, you can't override!")
4343 else [StringEntry(a, m)]
4444
4545
4646
4747 @Callable(l)
4848 func teamSplitFee (n,o,p,q,r,s,t) = if (!(containsElement(k, l.caller)))
4949 then throw("Not allowed")
5050 else if ((0 > r))
5151 then throw("Share 1 can't be negative")
5252 else if (if ((r != 0))
5353 then !(isDefined(addressFromString(o)))
5454 else false)
5555 then throw("Address 1 is invalid")
5656 else if ((0 > s))
5757 then throw("Share 2 can't be negative")
5858 else if (if ((s != 0))
5959 then !(isDefined(addressFromString(p)))
6060 else false)
6161 then throw("Address 2 is invalid")
6262 else if ((0 > t))
6363 then throw("Share 3 can't be negative")
6464 else if (if ((t != 0))
6565 then !(isDefined(addressFromString(q)))
6666 else false)
6767 then throw("Address 3 is invalid")
6868 else if ((((r + s) + t) != 15))
6969 then throw("Sum of shares should be equal to 15")
7070 else [StringEntry((n + "_team_address1"), o), StringEntry((n + "_team_address2"), p), StringEntry((n + "_team_address3"), q), IntegerEntry((n + "_team_share1"), r), IntegerEntry((n + "_team_share2"), s), IntegerEntry((n + "_team_share3"), t)]
7171
7272
7373
7474 @Callable(l)
7575 func creatorSplitFee (n,o,p,q,r,s,t) = if (!(containsElement(k, l.caller)))
7676 then throw("Not allowed")
7777 else if ((0 > r))
7878 then throw("Share 1 can't be negative")
79- else if (if ((r != 0))
79+ else if (if (if ((r != 0))
80+ then true
81+ else (o != ""))
8082 then !(isDefined(addressFromString(o)))
8183 else false)
8284 then throw("Address 1 is invalid")
8385 else if ((0 > s))
8486 then throw("Share 2 can't be negative")
85- else if (if ((s != 0))
87+ else if (if (if ((s != 0))
88+ then true
89+ else (p != ""))
8690 then !(isDefined(addressFromString(p)))
8791 else false)
8892 then throw("Address 2 is invalid")
8993 else if ((0 > t))
9094 then throw("Share 3 can't be negative")
91- else if (if ((t != 0))
95+ else if (if (if ((t != 0))
96+ then true
97+ else (q != ""))
9298 then !(isDefined(addressFromString(q)))
9399 else false)
94100 then throw("Address 3 is invalid")
95101 else if ((((r + s) + t) > 85))
96102 then throw("Sum of shares should be smaller or equal then 85")
97103 else [StringEntry((n + "_creator_address1"), o), StringEntry((n + "_creator_address2"), p), StringEntry((n + "_creator_address3"), q), IntegerEntry((n + "_creator_share1"), r), IntegerEntry((n + "_creator_share2"), s), IntegerEntry((n + "_creator_share3"), t)]
98104
99105
100106
101107 @Callable(l)
102108 func payFeeResell (u,v) = {
103109 let w = 3
104110 let x = value(l.payments[0].amount)
105111 let y = value(l.payments[0].assetId)
106112 let z = f((u + "_creator_share1"))
107113 let A = f((u + "_creator_share2"))
108114 let B = f((u + "_creator_share3"))
109115 let C = b((u + "_creator_address1"))
110116 let D = b((u + "_creator_address2"))
111117 let E = b((u + "_creator_address3"))
112118 let F = if ((C == ""))
113119 then 0
114120 else fraction(x, z, 100)
115121 let G = if ((D == ""))
116122 then 0
117123 else fraction(x, A, 100)
118124 let H = if ((E == ""))
119125 then 0
120126 else fraction(x, B, 100)
121127 let I = fraction(x, w, 100)
122128 let J = ((((x - F) - G) - H) - I)
123129 let K = [ScriptTransfer(addressFromStringValue(j), I, l.payments[0].assetId)]
124130 let L = if ((C == ""))
125131 then nil
126132 else [ScriptTransfer(addressFromStringValue(C), F, l.payments[0].assetId)]
127133 let M = if ((D == ""))
128134 then nil
129135 else [ScriptTransfer(addressFromStringValue(D), G, l.payments[0].assetId)]
130136 let N = if ((E == ""))
131137 then nil
132138 else [ScriptTransfer(addressFromStringValue(E), H, l.payments[0].assetId)]
133139 let O = if ((v == ""))
134140 then nil
135141 else [ScriptTransfer(addressFromStringValue(v), J, l.payments[0].assetId)]
136142 ((((L ++ M) ++ N) ++ K) ++ O)
137143 }
138144
139145
140146
141147 @Callable(l)
142148 func payFee (u,v) = {
143149 let x = value(l.payments[0].amount)
144150 let y = value(l.payments[0].assetId)
145151 let P = f((u + "_team_share1"))
146152 let Q = f((u + "_team_share2"))
147153 let R = f((u + "_team_share3"))
148154 let S = b((u + "_team_address1"))
149155 let T = b((u + "_team_address2"))
150156 let U = b((u + "_team_address3"))
151157 let z = f((u + "_creator_address1"))
152158 let A = f((u + "_creator_address2"))
153159 let B = f((u + "_creator_address3"))
154160 let C = b((u + "_creator_address1"))
155161 let D = b((u + "_creator_address2"))
156162 let E = b((u + "_creator_address3"))
157163 let V = if ((S == ""))
158164 then 0
159165 else fraction(x, P, 100)
160166 let W = if ((T == ""))
161167 then 0
162168 else fraction(x, Q, 100)
163169 let X = if ((U == ""))
164170 then 0
165171 else fraction(x, R, 100)
166172 let F = if ((C == ""))
167173 then 0
168174 else fraction(x, z, 100)
169175 let G = if ((D == ""))
170176 then 0
171177 else fraction(x, A, 100)
172178 let H = if ((E == ""))
173179 then 0
174180 else fraction(x, B, 100)
175181 let Y = if ((S == ""))
176182 then nil
177183 else [ScriptTransfer(addressFromStringValue(S), V, l.payments[0].assetId)]
178184 let Z = if ((T == ""))
179185 then nil
180186 else [ScriptTransfer(addressFromStringValue(T), W, l.payments[0].assetId)]
181187 let aa = if ((U == ""))
182188 then nil
183189 else [ScriptTransfer(addressFromStringValue(U), X, l.payments[0].assetId)]
184190 let L = if ((C == ""))
185191 then nil
186192 else [ScriptTransfer(addressFromStringValue(C), F, l.payments[0].assetId)]
187193 let M = if ((D == ""))
188194 then nil
189195 else [ScriptTransfer(addressFromStringValue(D), G, l.payments[0].assetId)]
190196 let N = if ((E == ""))
191197 then nil
192198 else [ScriptTransfer(addressFromStringValue(E), H, l.payments[0].assetId)]
193199 let J = ((((((x - F) - G) - H) - V) - W) - X)
194200 let O = if ((v == ""))
195201 then nil
196202 else [ScriptTransfer(addressFromStringValue(v), J, l.payments[0].assetId)]
197203 ((((((Y ++ Z) ++ aa) ++ L) ++ M) ++ N) ++ O)
198204 }
199205
200206

github/deemru/w8io/026f985 
37.00 ms