tx · 525rX21efkgyZzHpkHWiVsKFifUKabMpZdrkd8z7g83S 3MvGbCQfRKnagRd5JmZTvgupznuJD7MyKfo: -0.01400000 Waves 2022.04.01 16:57 [1989613] smart account 3MvGbCQfRKnagRd5JmZTvgupznuJD7MyKfo > SELF 0.00000000 Waves
{ "type": 13, "id": "525rX21efkgyZzHpkHWiVsKFifUKabMpZdrkd8z7g83S", "fee": 1400000, "feeAssetId": null, "timestamp": 1648821454965, "version": 2, "chainId": 84, "sender": "3MvGbCQfRKnagRd5JmZTvgupznuJD7MyKfo", "senderPublicKey": "8Gc2RCQPWrzPyyDuKYbKYRCrEHXZSYqCAdiiRQAooSZ6", "proofs": [ "4E8MJpKRiA8giGTVtZeFrnBRgFocTq6YdXdJqJ4NHhe2prZKR6L7eMds7Fdtzch71QDmctLEgbjJ9wb5Qio3pqrp" ], "script": "base64:AAIFAAAAAAAAACkIAhIDCgEIEgkKBwgICAgBAQESCQoHCAgICAEBARIECgIICBIECgIICAAAAAgAAAAACW9yYWNsZUtleQIAAAAJb3JhY2xlS2V5AQAAAAZnZXRTdHIAAAABAAAAA2tleQQAAAAHJG1hdGNoMAkABB0AAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAAAABYgUAAAAHJG1hdGNoMAUAAAABYgIAAAAAAQAAAAZnZXRJbnQAAAABAAAAA2tleQQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYgUAAAAHJG1hdGNoMAUAAAABYgAAAAAAAAAAAAAAAAAGb3JhY2xlCQEAAAAGZ2V0U3RyAAAAAQUAAAAJb3JhY2xlS2V5AAAAAAlvcmFjbGVGZWUJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQUAAAAGb3JhY2xlAAAAAApzY29uZXhEYXBwCQAEJgAAAAEJAQAAABN2YWx1ZU9yRXJyb3JNZXN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yYW5zZmVyQWRkcmVzc1RlYW0zBQAAABZzY3JpcHRUcmFuc2ZlckFkZHJlc3MxBQAAABZzY3JpcHRUcmFuc2ZlckFkZHJlc3MyBQAAABZzY3JpcHRUcmFuc2ZlckFkZHJlc3MzBQAAABRzY3JpcHRUcmFuc2ZlclNlbGxlcgAAAACCQX4H", "height": 1989613, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2uHUv62TkGajwsKRdbgPpd46eCffm2hfPBZPi4uuGkEj Next: GjU8Dof6jPGc9x6eSXTM3gM11F5A9fzsUu22DGwJkY7H Diff:
Old | New | Differences | |
---|---|---|---|
49 | 49 | then throw("Not allowed") | |
50 | 50 | else if ((0 > r)) | |
51 | 51 | then throw("Share 1 can't be negative") | |
52 | - | else if ((0 > s)) | |
53 | - | then throw("Share 2 can't be negative") | |
54 | - | else if ((0 > t)) | |
55 | - | then throw("Share 3 can't be negative") | |
56 | - | else if ((((r + s) + t) > 15)) | |
57 | - | then throw("Sum of shares should be smaller or equal then 15") | |
58 | - | 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)] | |
52 | + | else if (if ((r != 0)) | |
53 | + | then !(isDefined(addressFromString(o))) | |
54 | + | else false) | |
55 | + | then throw("Address 1 is invalid") | |
56 | + | else if ((0 > s)) | |
57 | + | then throw("Share 2 can't be negative") | |
58 | + | else if (if ((s != 0)) | |
59 | + | then !(isDefined(addressFromString(p))) | |
60 | + | else false) | |
61 | + | then throw("Address 2 is invalid") | |
62 | + | else if ((0 > t)) | |
63 | + | then throw("Share 3 can't be negative") | |
64 | + | else if (if ((t != 0)) | |
65 | + | then !(isDefined(addressFromString(q))) | |
66 | + | else false) | |
67 | + | then throw("Address 3 is invalid") | |
68 | + | else if ((((r + s) + t) != 15)) | |
69 | + | then throw("Sum of shares should be equal to 15") | |
70 | + | 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)] | |
59 | 71 | ||
60 | 72 | ||
61 | 73 | ||
64 | 76 | then throw("Not allowed") | |
65 | 77 | else if ((0 > r)) | |
66 | 78 | then throw("Share 1 can't be negative") | |
67 | - | else if ((0 > s)) | |
68 | - | then throw("Share 2 can't be negative") | |
69 | - | else if ((0 > t)) | |
70 | - | then throw("Share 3 can't be negative") | |
71 | - | else if ((((r + s) + t) > 85)) | |
72 | - | then throw("Sum of shares should be smaller or equal then 85") | |
73 | - | 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)] | |
79 | + | else if (if ((r != 0)) | |
80 | + | then !(isDefined(addressFromString(o))) | |
81 | + | else false) | |
82 | + | then throw("Address 1 is invalid") | |
83 | + | else if ((0 > s)) | |
84 | + | then throw("Share 2 can't be negative") | |
85 | + | else if (if ((s != 0)) | |
86 | + | then !(isDefined(addressFromString(p))) | |
87 | + | else false) | |
88 | + | then throw("Address 2 is invalid") | |
89 | + | else if ((0 > t)) | |
90 | + | then throw("Share 3 can't be negative") | |
91 | + | else if (if ((t != 0)) | |
92 | + | then !(isDefined(addressFromString(q))) | |
93 | + | else false) | |
94 | + | then throw("Address 3 is invalid") | |
95 | + | else if ((((r + s) + t) > 85)) | |
96 | + | then throw("Sum of shares should be smaller or equal then 85") | |
97 | + | 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)] | |
74 | 98 | ||
75 | 99 | ||
76 | 100 | ||
79 | 103 | let w = 3 | |
80 | 104 | let x = value(l.payments[0].amount) | |
81 | 105 | let y = value(l.payments[0].assetId) | |
82 | - | let z = f((u + "_creator_ | |
83 | - | let A = f((u + "_creator_ | |
84 | - | let B = f((u + "_creator_ | |
106 | + | let z = f((u + "_creator_share1")) | |
107 | + | let A = f((u + "_creator_share2")) | |
108 | + | let B = f((u + "_creator_share3")) | |
85 | 109 | let C = b((u + "_creator_address1")) | |
86 | 110 | let D = b((u + "_creator_address2")) | |
87 | 111 | let E = b((u + "_creator_address3")) | |
115 | 139 | ||
116 | 140 | ||
117 | 141 | @Callable(l) | |
118 | - | func payFee (u) = { | |
142 | + | func payFee (u,v) = { | |
119 | 143 | let x = value(l.payments[0].amount) | |
120 | 144 | let y = value(l.payments[0].assetId) | |
121 | 145 | let P = f((u + "_team_share1")) | |
166 | 190 | let N = if ((E == "")) | |
167 | 191 | then nil | |
168 | 192 | else [ScriptTransfer(addressFromStringValue(E), H, l.payments[0].assetId)] | |
169 | - | (((((Y ++ Z) ++ aa) ++ L) ++ M) ++ N) | |
193 | + | let J = ((((((x - F) - G) - H) - V) - W) - X) | |
194 | + | let O = if ((v == "")) | |
195 | + | then nil | |
196 | + | else [ScriptTransfer(addressFromStringValue(v), J, l.payments[0].assetId)] | |
197 | + | ((((((Y ++ Z) ++ aa) ++ L) ++ M) ++ N) ++ O) | |
170 | 198 | } | |
171 | 199 | ||
172 | 200 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "oracleKey" | |
5 | 5 | ||
6 | 6 | func b (c) = { | |
7 | 7 | let d = getString(this, c) | |
8 | 8 | if ($isInstanceOf(d, "String")) | |
9 | 9 | then { | |
10 | 10 | let e = d | |
11 | 11 | e | |
12 | 12 | } | |
13 | 13 | else "" | |
14 | 14 | } | |
15 | 15 | ||
16 | 16 | ||
17 | 17 | func f (c) = { | |
18 | 18 | let d = getInteger(this, c) | |
19 | 19 | if ($isInstanceOf(d, "Int")) | |
20 | 20 | then { | |
21 | 21 | let e = d | |
22 | 22 | e | |
23 | 23 | } | |
24 | 24 | else 0 | |
25 | 25 | } | |
26 | 26 | ||
27 | 27 | ||
28 | 28 | let g = b(a) | |
29 | 29 | ||
30 | 30 | let h = value(addressFromString(g)) | |
31 | 31 | ||
32 | 32 | let i = addressFromString(valueOrErrorMessage(getString(h, "sconexDapp"), "sconexDapp not found")) | |
33 | 33 | ||
34 | 34 | let j = valueOrErrorMessage(getString(h, "feeReceiver"), "feeReceiver not found") | |
35 | 35 | ||
36 | 36 | let k = [i] | |
37 | 37 | ||
38 | 38 | @Callable(l) | |
39 | 39 | func initDapp (m) = if ((l.caller != this)) | |
40 | 40 | then throw("You cannot do this action") | |
41 | 41 | else if ((g != "")) | |
42 | 42 | then throw("oracle already set, you can't override!") | |
43 | 43 | else [StringEntry(a, m)] | |
44 | 44 | ||
45 | 45 | ||
46 | 46 | ||
47 | 47 | @Callable(l) | |
48 | 48 | func teamSplitFee (n,o,p,q,r,s,t) = if (!(containsElement(k, l.caller))) | |
49 | 49 | then throw("Not allowed") | |
50 | 50 | else if ((0 > r)) | |
51 | 51 | then throw("Share 1 can't be negative") | |
52 | - | else if ((0 > s)) | |
53 | - | then throw("Share 2 can't be negative") | |
54 | - | else if ((0 > t)) | |
55 | - | then throw("Share 3 can't be negative") | |
56 | - | else if ((((r + s) + t) > 15)) | |
57 | - | then throw("Sum of shares should be smaller or equal then 15") | |
58 | - | 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)] | |
52 | + | else if (if ((r != 0)) | |
53 | + | then !(isDefined(addressFromString(o))) | |
54 | + | else false) | |
55 | + | then throw("Address 1 is invalid") | |
56 | + | else if ((0 > s)) | |
57 | + | then throw("Share 2 can't be negative") | |
58 | + | else if (if ((s != 0)) | |
59 | + | then !(isDefined(addressFromString(p))) | |
60 | + | else false) | |
61 | + | then throw("Address 2 is invalid") | |
62 | + | else if ((0 > t)) | |
63 | + | then throw("Share 3 can't be negative") | |
64 | + | else if (if ((t != 0)) | |
65 | + | then !(isDefined(addressFromString(q))) | |
66 | + | else false) | |
67 | + | then throw("Address 3 is invalid") | |
68 | + | else if ((((r + s) + t) != 15)) | |
69 | + | then throw("Sum of shares should be equal to 15") | |
70 | + | 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)] | |
59 | 71 | ||
60 | 72 | ||
61 | 73 | ||
62 | 74 | @Callable(l) | |
63 | 75 | func creatorSplitFee (n,o,p,q,r,s,t) = if (!(containsElement(k, l.caller))) | |
64 | 76 | then throw("Not allowed") | |
65 | 77 | else if ((0 > r)) | |
66 | 78 | then throw("Share 1 can't be negative") | |
67 | - | else if ((0 > s)) | |
68 | - | then throw("Share 2 can't be negative") | |
69 | - | else if ((0 > t)) | |
70 | - | then throw("Share 3 can't be negative") | |
71 | - | else if ((((r + s) + t) > 85)) | |
72 | - | then throw("Sum of shares should be smaller or equal then 85") | |
73 | - | 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)] | |
79 | + | else if (if ((r != 0)) | |
80 | + | then !(isDefined(addressFromString(o))) | |
81 | + | else false) | |
82 | + | then throw("Address 1 is invalid") | |
83 | + | else if ((0 > s)) | |
84 | + | then throw("Share 2 can't be negative") | |
85 | + | else if (if ((s != 0)) | |
86 | + | then !(isDefined(addressFromString(p))) | |
87 | + | else false) | |
88 | + | then throw("Address 2 is invalid") | |
89 | + | else if ((0 > t)) | |
90 | + | then throw("Share 3 can't be negative") | |
91 | + | else if (if ((t != 0)) | |
92 | + | then !(isDefined(addressFromString(q))) | |
93 | + | else false) | |
94 | + | then throw("Address 3 is invalid") | |
95 | + | else if ((((r + s) + t) > 85)) | |
96 | + | then throw("Sum of shares should be smaller or equal then 85") | |
97 | + | 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)] | |
74 | 98 | ||
75 | 99 | ||
76 | 100 | ||
77 | 101 | @Callable(l) | |
78 | 102 | func payFeeResell (u,v) = { | |
79 | 103 | let w = 3 | |
80 | 104 | let x = value(l.payments[0].amount) | |
81 | 105 | let y = value(l.payments[0].assetId) | |
82 | - | let z = f((u + "_creator_ | |
83 | - | let A = f((u + "_creator_ | |
84 | - | let B = f((u + "_creator_ | |
106 | + | let z = f((u + "_creator_share1")) | |
107 | + | let A = f((u + "_creator_share2")) | |
108 | + | let B = f((u + "_creator_share3")) | |
85 | 109 | let C = b((u + "_creator_address1")) | |
86 | 110 | let D = b((u + "_creator_address2")) | |
87 | 111 | let E = b((u + "_creator_address3")) | |
88 | 112 | let F = if ((C == "")) | |
89 | 113 | then 0 | |
90 | 114 | else fraction(x, z, 100) | |
91 | 115 | let G = if ((D == "")) | |
92 | 116 | then 0 | |
93 | 117 | else fraction(x, A, 100) | |
94 | 118 | let H = if ((E == "")) | |
95 | 119 | then 0 | |
96 | 120 | else fraction(x, B, 100) | |
97 | 121 | let I = fraction(x, w, 100) | |
98 | 122 | let J = ((((x - F) - G) - H) - I) | |
99 | 123 | let K = [ScriptTransfer(addressFromStringValue(j), I, l.payments[0].assetId)] | |
100 | 124 | let L = if ((C == "")) | |
101 | 125 | then nil | |
102 | 126 | else [ScriptTransfer(addressFromStringValue(C), F, l.payments[0].assetId)] | |
103 | 127 | let M = if ((D == "")) | |
104 | 128 | then nil | |
105 | 129 | else [ScriptTransfer(addressFromStringValue(D), G, l.payments[0].assetId)] | |
106 | 130 | let N = if ((E == "")) | |
107 | 131 | then nil | |
108 | 132 | else [ScriptTransfer(addressFromStringValue(E), H, l.payments[0].assetId)] | |
109 | 133 | let O = if ((v == "")) | |
110 | 134 | then nil | |
111 | 135 | else [ScriptTransfer(addressFromStringValue(v), J, l.payments[0].assetId)] | |
112 | 136 | ((((L ++ M) ++ N) ++ K) ++ O) | |
113 | 137 | } | |
114 | 138 | ||
115 | 139 | ||
116 | 140 | ||
117 | 141 | @Callable(l) | |
118 | - | func payFee (u) = { | |
142 | + | func payFee (u,v) = { | |
119 | 143 | let x = value(l.payments[0].amount) | |
120 | 144 | let y = value(l.payments[0].assetId) | |
121 | 145 | let P = f((u + "_team_share1")) | |
122 | 146 | let Q = f((u + "_team_share2")) | |
123 | 147 | let R = f((u + "_team_share3")) | |
124 | 148 | let S = b((u + "_team_address1")) | |
125 | 149 | let T = b((u + "_team_address2")) | |
126 | 150 | let U = b((u + "_team_address3")) | |
127 | 151 | let z = f((u + "_creator_address1")) | |
128 | 152 | let A = f((u + "_creator_address2")) | |
129 | 153 | let B = f((u + "_creator_address3")) | |
130 | 154 | let C = b((u + "_creator_address1")) | |
131 | 155 | let D = b((u + "_creator_address2")) | |
132 | 156 | let E = b((u + "_creator_address3")) | |
133 | 157 | let V = if ((S == "")) | |
134 | 158 | then 0 | |
135 | 159 | else fraction(x, P, 100) | |
136 | 160 | let W = if ((T == "")) | |
137 | 161 | then 0 | |
138 | 162 | else fraction(x, Q, 100) | |
139 | 163 | let X = if ((U == "")) | |
140 | 164 | then 0 | |
141 | 165 | else fraction(x, R, 100) | |
142 | 166 | let F = if ((C == "")) | |
143 | 167 | then 0 | |
144 | 168 | else fraction(x, z, 100) | |
145 | 169 | let G = if ((D == "")) | |
146 | 170 | then 0 | |
147 | 171 | else fraction(x, A, 100) | |
148 | 172 | let H = if ((E == "")) | |
149 | 173 | then 0 | |
150 | 174 | else fraction(x, B, 100) | |
151 | 175 | let Y = if ((S == "")) | |
152 | 176 | then nil | |
153 | 177 | else [ScriptTransfer(addressFromStringValue(S), V, l.payments[0].assetId)] | |
154 | 178 | let Z = if ((T == "")) | |
155 | 179 | then nil | |
156 | 180 | else [ScriptTransfer(addressFromStringValue(T), W, l.payments[0].assetId)] | |
157 | 181 | let aa = if ((U == "")) | |
158 | 182 | then nil | |
159 | 183 | else [ScriptTransfer(addressFromStringValue(U), X, l.payments[0].assetId)] | |
160 | 184 | let L = if ((C == "")) | |
161 | 185 | then nil | |
162 | 186 | else [ScriptTransfer(addressFromStringValue(C), F, l.payments[0].assetId)] | |
163 | 187 | let M = if ((D == "")) | |
164 | 188 | then nil | |
165 | 189 | else [ScriptTransfer(addressFromStringValue(D), G, l.payments[0].assetId)] | |
166 | 190 | let N = if ((E == "")) | |
167 | 191 | then nil | |
168 | 192 | else [ScriptTransfer(addressFromStringValue(E), H, l.payments[0].assetId)] | |
169 | - | (((((Y ++ Z) ++ aa) ++ L) ++ M) ++ N) | |
193 | + | let J = ((((((x - F) - G) - H) - V) - W) - X) | |
194 | + | let O = if ((v == "")) | |
195 | + | then nil | |
196 | + | else [ScriptTransfer(addressFromStringValue(v), J, l.payments[0].assetId)] | |
197 | + | ((((((Y ++ Z) ++ aa) ++ L) ++ M) ++ N) ++ O) | |
170 | 198 | } | |
171 | 199 | ||
172 | 200 |
github/deemru/w8io/169f3d6 38.77 ms ◑