tx · iMZQTciANT58MDT2Do36HsJB7AQNYGZykG1a5Bd8jM2 3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw: -0.01000000 Waves 2022.06.01 19:20 [2077518] smart account 3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw > SELF 0.00000000 Waves
{ "type": 13, "id": "iMZQTciANT58MDT2Do36HsJB7AQNYGZykG1a5Bd8jM2", "fee": 1000000, "feeAssetId": null, "timestamp": 1654100473647, "version": 2, "chainId": 84, "sender": "3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw", "senderPublicKey": "GTKqLSK6nuFkRdebB5SmTwTU2DnTeLMvhymCFfT2CxX2", "proofs": [ "5UFJjhPKXtmZoAUbn15aXbH5vwZhNySGgzWcTJAs82hi9ABDCWVAQeHqaAaJTRw7fFNHqMe7ZhYubxSdiWrZaxk4" ], "script": "base64:AAIFAAAAAAAAABsIAhIAEgUKAwgICBIDCgEBEgASBwoFCAgBAQEAAAALAAAAAARCVXNkAQAAACALvsj7FOtVE+sP1AaGydwZZ/QwPxANKxzHl3IsOosV4wAAAAAEVVNEVAEAAAAgC77I+xTrVRPrD9QGhsncGWf0MD8QDSscx5dyLDqLFeMAAAAABFVTREMBAAAAIAu+yPsU61UT6w/UBobJ3Bln9DA/EA0rHMeXciw6ixXjAAAAAANCVEMBAAAAIAu+yPsU61UT6w/UBobJ3Bln9DA/EA0rHMeXciw6ixXjAAAAAANFVEgBAAAAIAu+yPsU61UT6w/UBobJ3Bln9DA/EA0rHMeXciw6ixXjAAAAAANCTkIBAAAAIPFnQusGrf9lWc1HAL2GYEY/Z0GCbKxbjRY4l37PzNLbAAAAAARVU0ROAQAAACDxZ0LrBq3/ZVnNRwC9hmBGP2dBgmysW40WOJd+z8zS2wAAAAAESEFTSAEAAAAg8WdC6wat/2VZzUcAvYZgRj9nQYJsrFuNFjiXfs/M0tsAAAAABEtVU0QBAAAAIPFnQusGrf9lWc1HAL2GYEY/Z0GCbKxbjRY4l37PzNLbA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EAAAARQGV4dHJOYXRpdmUoMTA1MykAAAACBQAAAAR0aGlzBQAAAAxQYXltZW50QXNzZXQEAAAACWRBcHBGcmVlcwkBAAAAB0FkZHJlc3MAAAABBQAAAAhkQXBwRmVlcwQAAAALQWRkcmVzc1VzZXIJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAEFAAAABFVzZXIEAAAACUFzc2V0VXNlZAMJAAAAAAAAAgUAAAAOUGF5bWVudEFzc2V0SWQCAAAABVdhdmVzBQAAAAR1bml0CQACWQAAAAEFAAAADlBheW1lbnRBc3NldElkAwkAAAAAAAACBQAAAAZhbW91bnQAAAAAAAAAAAAJAAACAAAAAQIAAAA0VXNlcidzIGJhbGFuY2UgaXMgMCBCVXNkYyBjYW5ub3QgcmVhbGl6ZSBhbnkgcGF5bWVudAkABRQAAAACCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIFAAAABFVzZXICAAAACF9QYXltZW50AAAAAAAAAAAACQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAAEUFkZHJlc3NGcmVlTGFuY2VyCQAAaQAAAAIJAABoAAAAAgUAAAAMVG9GcmVlbGFuY2VyBQAAAAZhbW91bnQAAAAAAAAAAGQFAAAACUFzc2V0VXNlZAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAAAtBZGRyZXNzVXNlcgkAAGkAAAACCQAAaAAAAAIFAAAABlRvVXNlcgUAAAAGYW1vdW50AAAAAAAAAABkBQAAAAlBc3NldFVzZWQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwUAAAAJZEFwcEZyZWVzCQAAaQAAAAIJAABoAAAAAgUAAAAIQWRtaW5GZWUFAAAABmFtb3VudAAAAAAAAAAAZAUAAAAJQXNzZXRVc2VkBQAAAANuaWwFAAAACUFzc2V0VXNlZAAAAAA/Jjn6", "height": 2077518, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8NRrnHDVYjcm8aqkHpd4d1TabSQqSrtv5wa9FM24f5tA Next: 2Kix6vTRgn84PZmVzoU87j28FQ6Zj3VKag8THWeKEaAo Diff:
Old | New | Differences | |
---|---|---|---|
191 | 191 | then (y == 1) | |
192 | 192 | else false) | |
193 | 193 | then throw(((("Cannot make Payment before " + toString(K)) + " min") + toString(I))) | |
194 | - | else throw(((("ELSE " + toString(K)) + " min") + toString(I))) | |
194 | + | else { | |
195 | + | let F = (H * 100000000) | |
196 | + | let G = if ((y == 3)) | |
197 | + | then 0 | |
198 | + | else (y + 1) | |
199 | + | let D = if ((y == 3)) | |
200 | + | then 0 | |
201 | + | else ((q - (H * 100000000)) - (((G * 25) * (q - (H * 100000000))) / 100)) | |
202 | + | let E = ((25 * q) / 100) | |
203 | + | $Tuple2([IntegerEntry((toBase58String(l.caller.bytes) + "_Payment"), D), IntegerEntry((toBase58String(l.caller.bytes) + "_Paidtrx"), G), IntegerEntry((toBase58String(l.caller.bytes) + "_LastPaid"), height), IntegerEntry("WaitTime", I), IntegerEntry("LastPaymentBlockValue", K), IntegerEntry("Check", (K + I)), ScriptTransfer(B, E, u), ScriptTransfer(C, F, u)], u) | |
204 | + | } | |
195 | 205 | } | |
196 | 206 | ||
197 | 207 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'nrDXX1zHfGht7xExqNxDu7voCy9wzmc9vJxwcc2jLga' | |
5 | 5 | ||
6 | 6 | let b = base58'nrDXX1zHfGht7xExqNxDu7voCy9wzmc9vJxwcc2jLga' | |
7 | 7 | ||
8 | 8 | let c = base58'nrDXX1zHfGht7xExqNxDu7voCy9wzmc9vJxwcc2jLga' | |
9 | 9 | ||
10 | 10 | let d = base58'nrDXX1zHfGht7xExqNxDu7voCy9wzmc9vJxwcc2jLga' | |
11 | 11 | ||
12 | 12 | let e = base58'nrDXX1zHfGht7xExqNxDu7voCy9wzmc9vJxwcc2jLga' | |
13 | 13 | ||
14 | 14 | let f = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ' | |
15 | 15 | ||
16 | 16 | let g = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ' | |
17 | 17 | ||
18 | 18 | let h = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ' | |
19 | 19 | ||
20 | 20 | let i = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ' | |
21 | 21 | ||
22 | 22 | let j = base58'3N9Lfz79kZAEUupwESSboYFyygo1nQguVXo' | |
23 | 23 | ||
24 | 24 | let k = base58'3Mx3pn4yMcBccM59UrDGjbbAkVsRYBw38tB' | |
25 | 25 | ||
26 | 26 | @Callable(l) | |
27 | 27 | func Reset () = [IntegerEntry((toBase58String(l.caller.bytes) + "_Payment"), 0), IntegerEntry((toBase58String(l.caller.bytes) + "_Paidtrx"), 0), IntegerEntry((toBase58String(l.caller.bytes) + "_LastPaid"), 0)] | |
28 | 28 | ||
29 | 29 | ||
30 | 30 | ||
31 | 31 | @Callable(l) | |
32 | 32 | func DepositFunds (m,n,o) = { | |
33 | 33 | let p = (toBase58String(l.caller.bytes) + "_Payment") | |
34 | 34 | let q = { | |
35 | 35 | let r = getInteger(this, p) | |
36 | 36 | if ($isInstanceOf(r, "Int")) | |
37 | 37 | then { | |
38 | 38 | let s = r | |
39 | 39 | s | |
40 | 40 | } | |
41 | 41 | else 0 | |
42 | 42 | } | |
43 | 43 | if ((q != 0)) | |
44 | 44 | then throw("You have already deposited funds, deposits can only be done once") | |
45 | 45 | else { | |
46 | 46 | let t = if ((size(l.payments) == 1)) | |
47 | 47 | then l.payments[0] | |
48 | 48 | else throw("Attached payment is required") | |
49 | 49 | if (if (if (if (if (if (if (if (if (if (if ((0 >= t.amount)) | |
50 | 50 | then (t.assetId != a) | |
51 | 51 | else false) | |
52 | 52 | then (t.assetId != b) | |
53 | 53 | else false) | |
54 | 54 | then (t.assetId != c) | |
55 | 55 | else false) | |
56 | 56 | then (t.assetId != d) | |
57 | 57 | else false) | |
58 | 58 | then (t.assetId != e) | |
59 | 59 | else false) | |
60 | 60 | then (t.assetId != f) | |
61 | 61 | else false) | |
62 | 62 | then (t.assetId != g) | |
63 | 63 | else false) | |
64 | 64 | then (t.assetId != h) | |
65 | 65 | else false) | |
66 | 66 | then (t.assetId != i) | |
67 | 67 | else false) | |
68 | 68 | then isDefined(t.assetId) | |
69 | 69 | else false) | |
70 | 70 | then throw("Can only deposit accepted tokens, and amount should be positive") | |
71 | 71 | else if (if (if ((m == "")) | |
72 | 72 | then true | |
73 | 73 | else (n == "")) | |
74 | 74 | then true | |
75 | 75 | else (o == "")) | |
76 | 76 | then throw("Job Scope, Deliverables desc and Freelancer Wallet Address cannot be empty") | |
77 | 77 | else { | |
78 | 78 | let u = if (isDefined(t.assetId)) | |
79 | 79 | then toBase58String(value(t.assetId)) | |
80 | 80 | else "Waves" | |
81 | 81 | [StringEntry((toBase58String(l.caller.bytes) + "_Scope"), m), StringEntry((toBase58String(l.caller.bytes) + "_Deliv"), n), StringEntry((toBase58String(l.caller.bytes) + "_Asset"), u), StringEntry((toBase58String(l.caller.bytes) + "_Freelancer"), o), IntegerEntry((toBase58String(l.caller.bytes) + "_Payment"), t.amount)] | |
82 | 82 | } | |
83 | 83 | } | |
84 | 84 | } | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | ||
88 | 88 | @Callable(l) | |
89 | 89 | func PayFreelancer (v) = { | |
90 | 90 | let p = (toBase58String(l.caller.bytes) + "_Payment") | |
91 | 91 | let o = (toBase58String(l.caller.bytes) + "_Freelancer") | |
92 | 92 | let w = (toBase58String(l.caller.bytes) + "_Asset") | |
93 | 93 | let x = (toBase58String(l.caller.bytes) + "_Paidtrx") | |
94 | 94 | let q = { | |
95 | 95 | let r = getInteger(this, p) | |
96 | 96 | if ($isInstanceOf(r, "Int")) | |
97 | 97 | then { | |
98 | 98 | let s = r | |
99 | 99 | s | |
100 | 100 | } | |
101 | 101 | else 0 | |
102 | 102 | } | |
103 | 103 | let y = { | |
104 | 104 | let r = getInteger(this, x) | |
105 | 105 | if ($isInstanceOf(r, "Int")) | |
106 | 106 | then { | |
107 | 107 | let s = r | |
108 | 108 | s | |
109 | 109 | } | |
110 | 110 | else 0 | |
111 | 111 | } | |
112 | 112 | let z = getStringValue(this, o) | |
113 | 113 | let A = getStringValue(this, w) | |
114 | 114 | let B = addressFromStringValue(z) | |
115 | 115 | let C = Address(j) | |
116 | 116 | let u = if ((A == "Waves")) | |
117 | 117 | then unit | |
118 | 118 | else fromBase58String(A) | |
119 | 119 | if ((0 >= (((95 * q) / 100) - (v * 100000000)))) | |
120 | 120 | then throw(("You do not have enough funds to make payment, your available funds are: " + toString((q / 100000000)))) | |
121 | 121 | else if (if ((y >= 12)) | |
122 | 122 | then (q > 0) | |
123 | 123 | else false) | |
124 | 124 | then throw("You have already done 12 payments, you cannot make more payments") | |
125 | 125 | else { | |
126 | 126 | let D = if ((y == 11)) | |
127 | 127 | then 0 | |
128 | 128 | else (q - (v * 100000000)) | |
129 | 129 | let E = if ((y == 11)) | |
130 | 130 | then ((95 * q) / 100) | |
131 | 131 | else ((95 * v) * 1000000) | |
132 | 132 | let F = if ((y == 11)) | |
133 | 133 | then ((5 * q) / 100) | |
134 | 134 | else ((5 * v) * 1000000) | |
135 | 135 | let G = if ((y == 11)) | |
136 | 136 | then 0 | |
137 | 137 | else (y + 1) | |
138 | 138 | $Tuple2([IntegerEntry((toBase58String(l.caller.bytes) + "_Payment"), D), IntegerEntry((toBase58String(l.caller.bytes) + "_Paidtrx"), G), ScriptTransfer(B, E, u), ScriptTransfer(C, F, u)], u) | |
139 | 139 | } | |
140 | 140 | } | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | ||
144 | 144 | @Callable(l) | |
145 | 145 | func PayFreelancerOnDemand () = { | |
146 | 146 | let v = 4 | |
147 | 147 | let H = 1 | |
148 | 148 | let I = 10 | |
149 | 149 | let p = (toBase58String(l.caller.bytes) + "_Payment") | |
150 | 150 | let o = (toBase58String(l.caller.bytes) + "_Freelancer") | |
151 | 151 | let J = (toBase58String(l.caller.bytes) + "_LastPaid") | |
152 | 152 | let w = (toBase58String(l.caller.bytes) + "_Asset") | |
153 | 153 | let x = (toBase58String(l.caller.bytes) + "_Paidtrx") | |
154 | 154 | let q = { | |
155 | 155 | let r = getInteger(this, p) | |
156 | 156 | if ($isInstanceOf(r, "Int")) | |
157 | 157 | then { | |
158 | 158 | let s = r | |
159 | 159 | s | |
160 | 160 | } | |
161 | 161 | else 0 | |
162 | 162 | } | |
163 | 163 | let y = { | |
164 | 164 | let r = getInteger(this, x) | |
165 | 165 | if ($isInstanceOf(r, "Int")) | |
166 | 166 | then { | |
167 | 167 | let s = r | |
168 | 168 | s | |
169 | 169 | } | |
170 | 170 | else 0 | |
171 | 171 | } | |
172 | 172 | let K = { | |
173 | 173 | let r = getInteger(this, J) | |
174 | 174 | if ($isInstanceOf(r, "Int")) | |
175 | 175 | then { | |
176 | 176 | let s = r | |
177 | 177 | s | |
178 | 178 | } | |
179 | 179 | else 0 | |
180 | 180 | } | |
181 | 181 | let z = getStringValue(this, o) | |
182 | 182 | let A = getStringValue(this, w) | |
183 | 183 | let B = addressFromStringValue(z) | |
184 | 184 | let C = Address(j) | |
185 | 185 | let u = if ((A == "Waves")) | |
186 | 186 | then unit | |
187 | 187 | else fromBase58String(A) | |
188 | 188 | if ((0 >= (q - (H * 100000000)))) | |
189 | 189 | then throw(("You do not have enough funds to make payment, your available funds are: " + toString((q / 100000000)))) | |
190 | 190 | else if (if ((height > (K + I))) | |
191 | 191 | then (y == 1) | |
192 | 192 | else false) | |
193 | 193 | then throw(((("Cannot make Payment before " + toString(K)) + " min") + toString(I))) | |
194 | - | else throw(((("ELSE " + toString(K)) + " min") + toString(I))) | |
194 | + | else { | |
195 | + | let F = (H * 100000000) | |
196 | + | let G = if ((y == 3)) | |
197 | + | then 0 | |
198 | + | else (y + 1) | |
199 | + | let D = if ((y == 3)) | |
200 | + | then 0 | |
201 | + | else ((q - (H * 100000000)) - (((G * 25) * (q - (H * 100000000))) / 100)) | |
202 | + | let E = ((25 * q) / 100) | |
203 | + | $Tuple2([IntegerEntry((toBase58String(l.caller.bytes) + "_Payment"), D), IntegerEntry((toBase58String(l.caller.bytes) + "_Paidtrx"), G), IntegerEntry((toBase58String(l.caller.bytes) + "_LastPaid"), height), IntegerEntry("WaitTime", I), IntegerEntry("LastPaymentBlockValue", K), IntegerEntry("Check", (K + I)), ScriptTransfer(B, E, u), ScriptTransfer(C, F, u)], u) | |
204 | + | } | |
195 | 205 | } | |
196 | 206 | ||
197 | 207 | ||
198 | 208 | ||
199 | 209 | @Callable(l) | |
200 | 210 | func AdminTransfer (L,M,N,O,P) = if ((l.caller.bytes != k)) | |
201 | 211 | then throw("Only Admin can do this") | |
202 | 212 | else if ((((O + N) + P) != 100)) | |
203 | 213 | then throw("Total of Percentages cannot be different from 100%") | |
204 | 214 | else { | |
205 | 215 | let p = (L + "_Payment") | |
206 | 216 | let o = (L + "_Freelancer") | |
207 | 217 | let w = (toBase58String(l.caller.bytes) + "_Asset") | |
208 | 218 | let q = { | |
209 | 219 | let r = getInteger(this, p) | |
210 | 220 | if ($isInstanceOf(r, "Int")) | |
211 | 221 | then { | |
212 | 222 | let s = r | |
213 | 223 | s | |
214 | 224 | } | |
215 | 225 | else 0 | |
216 | 226 | } | |
217 | 227 | let z = getStringValue(this, o) | |
218 | 228 | let B = addressFromStringValue(z) | |
219 | 229 | let A = getStringValue(this, w) | |
220 | 230 | let C = Address(j) | |
221 | 231 | let Q = addressFromStringValue(L) | |
222 | 232 | let u = if ((A == "Waves")) | |
223 | 233 | then unit | |
224 | 234 | else fromBase58String(A) | |
225 | 235 | if ((q == 0)) | |
226 | 236 | then throw("User's balance is 0 BUsdc cannot realize any payment") | |
227 | 237 | else $Tuple2([IntegerEntry((L + "_Payment"), 0), ScriptTransfer(B, ((N * q) / 100), u), ScriptTransfer(Q, ((O * q) / 100), u), ScriptTransfer(C, ((P * q) / 100), u)], u) | |
228 | 238 | } | |
229 | 239 | ||
230 | 240 |
github/deemru/w8io/026f985 33.03 ms ◑