tx · c3uGWJhhts393CHn2FfBQCy3J2Kt4jWC9mJBWoUvSKP

3MvGbCQfRKnagRd5JmZTvgupznuJD7MyKfo:  -0.01400000 Waves

2022.07.29 19:53 [2161382] smart account 3MvGbCQfRKnagRd5JmZTvgupznuJD7MyKfo > SELF 0.00000000 Waves

{ "type": 13, "id": "c3uGWJhhts393CHn2FfBQCy3J2Kt4jWC9mJBWoUvSKP", "fee": 1400000, "feeAssetId": null, "timestamp": 1659113607655, "version": 2, "chainId": 84, "sender": "3MvGbCQfRKnagRd5JmZTvgupznuJD7MyKfo", "senderPublicKey": "8Gc2RCQPWrzPyyDuKYbKYRCrEHXZSYqCAdiiRQAooSZ6", "proofs": [ "4GSrBTSDcquyNP7ubqy8Mv4t2AxYrg6TE4rG57umR33FdPykxTpxeeA14J6Aoi1LKGcNRNPwzQhTwXLRxgeTydhf" ], "script": "base64:AAIFAAAAAAAAACkIAhIDCgEIEgkKBwgICAgBAQESCQoHCAgICAEBARIECgIICBIECgIICAAAAAkAAAAACW9yYWNsZUtleQIAAAAJb3JhY2xlS2V5AQAAAAZnZXRTdHIAAAABAAAAA2tleQQAAAAHJG1hdGNoMAkABB0AAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAAAABYgUAAAAHJG1hdGNoMAUAAAABYgIAAAAAAQAAAAZnZXRJbnQAAAABAAAAA2tleQQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYgUAAAAHJG1hdGNoMAUAAAABYgAAAAAAAAAAAAAAAAAGb3JhY2xlCQEAAAAGZ2V0U3RyAAAAAQUAAAAJb3JhY2xlS2V5AAAAAAlvcmFjbGVGZWUJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQUAAAAGb3JhY2xlAAAAAApzY29uZXhEYXBwCQAEJgAAAAEJAQAAABN2YWx1ZU9yRXJy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AADHNlbGxlclJld2FyZAkAAGUAAAACCQAAZQAAAAIJAABlAAAAAgkAAGUAAAACCQAAZQAAAAIJAABlAAAAAgUAAAAGYW1vdW50BQAAABVhZGRyZXNzMUNyZWF0b3JSZXdhcmQFAAAAFWFkZHJlc3MyQ3JlYXRvclJld2FyZAUAAAAVYWRkcmVzczNDcmVhdG9yUmV3YXJkBQAAABJhZGRyZXNzMVRlYW1SZXdhcmQFAAAAEmFkZHJlc3MyVGVhbVJld2FyZAUAAAASYWRkcmVzczNUZWFtUmV3YXJkBAAAABRzY3JpcHRUcmFuc2ZlclNlbGxlcgMJAAAAAAAAAgUAAAAGc2VsbGVyAgAAAAAFAAAAA25pbAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABBQAAAAZzZWxsZXIFAAAADHNlbGxlclJld2FyZAgJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAAAAAHYXNzZXRJZAUAAAADbmlsCQAETgAAAAIJAAROAAAAAgkABE4AAAACCQAETgAAAAIJAAROAAAAAgkABE4AAAACBQAAABpzY3JpcHRUcmFuc2ZlckFkZHJlc3NUZWFtMQUAAAAac2NyaXB0VHJhbnNmZXJBZGRyZXNzVGVhbTIFAAAAGnNjcmlwdFRyYW5zZmVyQWRkcmVzc1RlYW0zBQAAABZzY3JpcHRUcmFuc2ZlckFkZHJlc3MxBQAAABZzY3JpcHRUcmFuc2ZlckFkZHJlc3MyBQAAABZzY3JpcHRUcmFuc2ZlckFkZHJlc3MzBQAAABRzY3JpcHRUcmFuc2ZlclNlbGxlcgAAAADZ4p8i", "height": 2161382, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BLWsZWtpea4nCN2ce8NVcXRB9qDwCEPQ6ygxZLzCVCQD Next: HoN3icAcqPPGdqGqMqoxLajwSSubRqN8kds6MCZG9ZpD 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")
7676 else if ((((s + t) + u) != 15))
7777 then throw("Sum of shares should be equal to 15")
7878 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)]
7979
8080
8181
8282 @Callable(m)
8383 func creatorSplitFee (o,p,q,r,s,t,u) = if (!(containsElement(l, m.caller)))
8484 then throw("Not allowed")
8585 else if ((0 > s))
8686 then throw("Share 1 can't be negative")
8787 else if (if (if ((s != 0))
8888 then true
8989 else (p != ""))
9090 then !(isDefined(addressFromString(p)))
9191 else false)
9292 then throw("Address 1 is invalid")
9393 else if ((0 > t))
9494 then throw("Share 2 can't be negative")
9595 else if (if (if ((t != 0))
9696 then true
9797 else (q != ""))
9898 then !(isDefined(addressFromString(q)))
9999 else false)
100100 then throw("Address 2 is invalid")
101101 else if ((0 > u))
102102 then throw("Share 3 can't be negative")
103103 else if (if (if ((u != 0))
104104 then true
105105 else (r != ""))
106106 then !(isDefined(addressFromString(r)))
107107 else false)
108108 then throw("Address 3 is invalid")
109109 else if ((((s + t) + u) > 85))
110110 then throw("Sum of shares should be smaller or equal then 85")
111111 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)]
112112
113113
114114
115115 @Callable(m)
116116 func payFeeResell (v,w) = if (!(containsElement(l, m.caller)))
117117 then throw("Not allowed")
118118 else {
119119 let x = 3
120120 let y = value(m.payments[0].amount)
121121 let z = value(m.payments[0].assetId)
122122 let A = f((v + "_creator_share1"))
123123 let B = f((v + "_creator_share2"))
124124 let C = f((v + "_creator_share3"))
125125 let D = b((v + "_creator_address1"))
126126 let E = b((v + "_creator_address2"))
127127 let F = b((v + "_creator_address3"))
128128 let G = if ((D == ""))
129129 then 0
130130 else fraction(y, A, 100)
131131 let H = if ((E == ""))
132132 then 0
133133 else fraction(y, B, 100)
134134 let I = if ((F == ""))
135135 then 0
136136 else fraction(y, C, 100)
137137 let J = fraction(y, x, 100)
138138 let K = ((((y - G) - H) - I) - J)
139139 let L = [ScriptTransfer(addressFromStringValue(k), J, m.payments[0].assetId)]
140140 let M = if ((D == ""))
141141 then nil
142142 else [ScriptTransfer(addressFromStringValue(D), G, 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)]
149149 let P = if ((w == ""))
150150 then nil
151151 else [ScriptTransfer(addressFromStringValue(w), K, m.payments[0].assetId)]
152152 ((((M ++ N) ++ O) ++ L) ++ P)
153153 }
154154
155155
156156
157157 @Callable(m)
158158 func payFee (v,w) = if (!(containsElement(l, m.caller)))
159159 then throw("Not allowed")
160160 else {
161161 let y = value(m.payments[0].amount)
162162 let z = value(m.payments[0].assetId)
163163 let Q = f((v + "_team_share1"))
164164 let R = f((v + "_team_share2"))
165165 let S = f((v + "_team_share3"))
166166 let T = b((v + "_team_address1"))
167167 let U = b((v + "_team_address2"))
168168 let V = b((v + "_team_address3"))
169169 let A = f((v + "_creator_address1"))
170170 let B = f((v + "_creator_address2"))
171171 let C = f((v + "_creator_address3"))
172172 let D = b((v + "_creator_address1"))
173173 let E = b((v + "_creator_address2"))
174174 let F = b((v + "_creator_address3"))
175175 let W = if ((T == ""))
176176 then 0
177177 else fraction(y, Q, 100)
178178 let X = if ((U == ""))
179179 then 0
180180 else fraction(y, R, 100)
181181 let Y = if ((V == ""))
182182 then 0
183183 else fraction(y, S, 100)
184184 let G = if ((D == ""))
185185 then 0
186186 else fraction(y, A, 100)
187187 let H = if ((E == ""))
188188 then 0
189189 else fraction(y, B, 100)
190190 let I = if ((F == ""))
191191 then 0
192192 else fraction(y, C, 100)
193193 let Z = if ((T == ""))
194194 then nil
195195 else [ScriptTransfer(addressFromStringValue(T), W, m.payments[0].assetId)]
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)]
202202 let M = if ((D == ""))
203203 then nil
204204 else [ScriptTransfer(addressFromStringValue(D), G, 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)]
211211 let K = ((((((y - G) - H) - I) - W) - X) - Y)
212212 let P = if ((w == ""))
213213 then nil
214214 else [ScriptTransfer(addressFromStringValue(w), K, m.payments[0].assetId)]
215215 ((((((Z ++ aa) ++ ab) ++ M) ++ N) ++ O) ++ P)
216216 }
217217
218218

github/deemru/w8io/026f985 
35.93 ms