tx · 7JRA5pYAQBSXo2GJqALxTEkQzuvVpXFeRqD9zUfT8wQk

3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw:  -0.01000000 Waves

2022.06.02 22:46 [2079161] smart account 3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw > SELF 0.00000000 Waves

{ "type": 13, "id": "7JRA5pYAQBSXo2GJqALxTEkQzuvVpXFeRqD9zUfT8wQk", "fee": 1000000, "feeAssetId": null, "timestamp": 1654199302720, "version": 2, "chainId": 84, "sender": "3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw", "senderPublicKey": "GTKqLSK6nuFkRdebB5SmTwTU2DnTeLMvhymCFfT2CxX2", "proofs": [ "3yeYxtcXTL353kRSi5jeAYToK6yKJvg3nyAXdicaqWPEe8Dd89afeq3GUwYSEpYova8LZ1fpAEmF6PsGP2FcAvge" ], "script": "base64:AAIFAAAAAAAAABcIAhIFCgMICAgSAwoBARIHCgUICAEBAQAAAAsAAAAABEJVc2QBAAAAIPFnQusGrf9lWc1HAL2GYEY/Z0GCbKxbjRY4l37PzNLbAAAAAARVU0RUAQAAACDxZ0LrBq3/ZVnNRwC9hmBGP2dBgmysW40WOJd+z8zS2wAAAAAEVVNEQwEAAAAg8WdC6wat/2VZzUcAvYZgRj9nQYJsrFuNFjiXfs/M0tsAAAAAA0JUQwEAAAAg8WdC6wat/2VZzUcAvYZgRj9nQYJsrFuNFjiXfs/M0tsAAAAAA0VUSAEAAAAg8WdC6wat/2VZzUcAvYZgRj9nQYJsrFuNFjiXfs/M0tsAAAAAA0JOQgEAAAAg8WdC6wat/2VZzUcAvYZgRj9nQYJsrFuNFjiXfs/M0tsAAAAABFVTRE4BAAAAIPFnQusGrf9lWc1HAL2GYEY/Z0GCbKxbjRY4l37PzNLbAAAAAARIQVNIAQAAACDxZ0LrBq3/ZVnNRwC9hmBGP2dBgmysW40WOJd+z8zS2wAAAAAES1VTRAEAAAAg8WdC6wat/2VZzUcAvYZgRj9nQYJsrFu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AAADBQAAAAlkQXBwRnJlZXMJAABpAAAAAgkAAGgAAAACBQAAAAhBZG1pbkZlZQUAAAAGYW1vdW50AAAAAAAAAABkBQAAAAlBc3NldFVzZWQFAAAAA25pbAUAAAAJQXNzZXRVc2VkAAAAAO/0v+8=", "height": 2079161, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 87psEoK9aFUcNB9WXzJLHztZTxa2qDcHnXr5nwPyG66Q Next: 9TzpGq4Ye3SCt2VNQ86FNLydPnotxpPcRCuKMosybJxH Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = base58'8DLiYZjo3UUaRBTHU7Ayoqg4ihwb6YH1AfXrrhdjQ7K1'
4+let a = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ'
55
6-let b = base58'34N9YcEETLWn93qYQ64EsP1x89tSruJU44RrEMSXXEPJ'
6+let b = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ'
77
8-let c = base58'6XtHjpXbs9RRJP2Sr9GUyVqzACcby9TkThHXnjVC5CDJ'
8+let c = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ'
99
10-let d = base58'8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS'
10+let d = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ'
1111
12-let e = base58'474jTeYx2r2Va35794tCScAXWJG9hU2HcgxzMowaZUnu'
12+let e = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ'
1313
14-let f = base58'5UYBPpq4WoU5n4MwpFkgJnW3Fq4B1u3ukpK33ik4QerR'
14+let f = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ'
1515
16-let g = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p'
16+let g = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ'
1717
18-let h = base58'7RgM3A5AVCUZFbL3EwBicv1eHFCVsaY8z71yda77zrAv'
18+let h = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ'
1919
20-let i = base58'FXvNWA5Gfy8yLPHGScm6Gmn4DSZX9brFZ9qmEkPxAhGk'
20+let i = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ'
2121
2222 let j = base58'3N59qn7Ndw24WrGFkNFk7PGTBCzdMETyKqj'
2323
24-let k = base58'3NB5uVMWSmaPW3cqrLMoAUgAPAYdoYHQK6U'
25-
26-@Callable(l)
27-func Reset () = [IntegerEntry((toBase58String(l.caller.bytes) + "_Payment"), 0), IntegerEntry((toBase58String(l.caller.bytes) + "_Paidtrx"), 0), IntegerEntry((toBase58String(l.caller.bytes) + "_LastPaid"), height)]
28-
29-
24+let k = base58'3MzqbY4iHg79pg4DNLK6UXUsbPuDcoJTzLw'
3025
3126 @Callable(l)
3227 func DepositFunds (m,n,o) = {
142137
143138
144139 @Callable(l)
145-func PayFreelancerOnDemand () = {
146- let v = 4
147- let H = 1
148- let I = 10
149- let p = (toBase58String(l.caller.bytes) + "_Payment")
150- let o = (toBase58String(l.caller.bytes) + "_Freelancer")
151- let J = (toBase58String(l.caller.bytes) + "_LastPaid")
152- let w = (toBase58String(l.caller.bytes) + "_Asset")
153- let x = (toBase58String(l.caller.bytes) + "_Paidtrx")
154- let q = {
155- let r = getInteger(this, p)
156- if ($isInstanceOf(r, "Int"))
157- then {
158- let s = r
159- s
160- }
161- else 0
162- }
163- let y = {
164- let r = getInteger(this, x)
165- if ($isInstanceOf(r, "Int"))
166- then {
167- let s = r
168- s
169- }
170- else 0
171- }
172- let K = {
173- let r = getInteger(this, J)
174- if ($isInstanceOf(r, "Int"))
175- then {
176- let s = r
177- s
178- }
179- else height
180- }
181- let z = getStringValue(this, o)
182- let A = getStringValue(this, w)
183- let B = addressFromStringValue(z)
184- let C = Address(j)
185- let u = if ((A == "Waves"))
186- then unit
187- else fromBase58String(A)
188- if ((0 >= (q - (H * 100000000))))
189- then throw(("You do not have enough funds to make payment, your available funds are: " + toString((q / 100000000))))
190- else if (if (((K + I) > height))
191- then (y > 1)
192- else false)
193- then throw(((("Cannot make Payment before " + 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- }
205- }
206-
207-
208-
209-@Callable(l)
210-func AdminTransfer (L,M,N,O,P) = if ((l.caller.bytes != k))
140+func AdminTransfer (H,I,J,K,L) = if ((l.caller.bytes != k))
211141 then throw("Only Admin can do this")
212- else if ((((O + N) + P) != 100))
142+ else if ((((K + J) + L) != 100))
213143 then throw("Total of Percentages cannot be different from 100%")
214144 else {
215- let p = (L + "_Payment")
216- let o = (L + "_Freelancer")
145+ let p = (H + "_Payment")
146+ let o = (H + "_Freelancer")
217147 let w = (toBase58String(l.caller.bytes) + "_Asset")
218148 let q = {
219149 let r = getInteger(this, p)
228158 let B = addressFromStringValue(z)
229159 let A = getStringValue(this, w)
230160 let C = Address(j)
231- let Q = addressFromStringValue(L)
161+ let M = addressFromStringValue(H)
232162 let u = if ((A == "Waves"))
233163 then unit
234164 else fromBase58String(A)
235165 if ((q == 0))
236166 then throw("User's balance is 0 BUsdc cannot realize any payment")
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)
167+ else $Tuple2([IntegerEntry((H + "_Payment"), 0), ScriptTransfer(B, ((J * q) / 100), u), ScriptTransfer(M, ((K * q) / 100), u), ScriptTransfer(C, ((L * q) / 100), u)], u)
238168 }
239169
240170
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = base58'8DLiYZjo3UUaRBTHU7Ayoqg4ihwb6YH1AfXrrhdjQ7K1'
4+let a = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ'
55
6-let b = base58'34N9YcEETLWn93qYQ64EsP1x89tSruJU44RrEMSXXEPJ'
6+let b = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ'
77
8-let c = base58'6XtHjpXbs9RRJP2Sr9GUyVqzACcby9TkThHXnjVC5CDJ'
8+let c = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ'
99
10-let d = base58'8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS'
10+let d = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ'
1111
12-let e = base58'474jTeYx2r2Va35794tCScAXWJG9hU2HcgxzMowaZUnu'
12+let e = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ'
1313
14-let f = base58'5UYBPpq4WoU5n4MwpFkgJnW3Fq4B1u3ukpK33ik4QerR'
14+let f = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ'
1515
16-let g = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p'
16+let g = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ'
1717
18-let h = base58'7RgM3A5AVCUZFbL3EwBicv1eHFCVsaY8z71yda77zrAv'
18+let h = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ'
1919
20-let i = base58'FXvNWA5Gfy8yLPHGScm6Gmn4DSZX9brFZ9qmEkPxAhGk'
20+let i = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ'
2121
2222 let j = base58'3N59qn7Ndw24WrGFkNFk7PGTBCzdMETyKqj'
2323
24-let k = base58'3NB5uVMWSmaPW3cqrLMoAUgAPAYdoYHQK6U'
25-
26-@Callable(l)
27-func Reset () = [IntegerEntry((toBase58String(l.caller.bytes) + "_Payment"), 0), IntegerEntry((toBase58String(l.caller.bytes) + "_Paidtrx"), 0), IntegerEntry((toBase58String(l.caller.bytes) + "_LastPaid"), height)]
28-
29-
24+let k = base58'3MzqbY4iHg79pg4DNLK6UXUsbPuDcoJTzLw'
3025
3126 @Callable(l)
3227 func DepositFunds (m,n,o) = {
3328 let p = (toBase58String(l.caller.bytes) + "_Payment")
3429 let q = {
3530 let r = getInteger(this, p)
3631 if ($isInstanceOf(r, "Int"))
3732 then {
3833 let s = r
3934 s
4035 }
4136 else 0
4237 }
4338 if ((q != 0))
4439 then throw("You have already deposited funds, deposits can only be done once")
4540 else {
4641 let t = if ((size(l.payments) == 1))
4742 then l.payments[0]
4843 else throw("Attached payment is required")
4944 if (if (if (if (if (if (if (if (if (if (if ((0 >= t.amount))
5045 then (t.assetId != a)
5146 else false)
5247 then (t.assetId != b)
5348 else false)
5449 then (t.assetId != c)
5550 else false)
5651 then (t.assetId != d)
5752 else false)
5853 then (t.assetId != e)
5954 else false)
6055 then (t.assetId != f)
6156 else false)
6257 then (t.assetId != g)
6358 else false)
6459 then (t.assetId != h)
6560 else false)
6661 then (t.assetId != i)
6762 else false)
6863 then isDefined(t.assetId)
6964 else false)
7065 then throw("Can only deposit accepted tokens, and amount should be positive")
7166 else if (if (if ((m == ""))
7267 then true
7368 else (n == ""))
7469 then true
7570 else (o == ""))
7671 then throw("Job Scope, Deliverables desc and Freelancer Wallet Address cannot be empty")
7772 else {
7873 let u = if (isDefined(t.assetId))
7974 then toBase58String(value(t.assetId))
8075 else "Waves"
8176 [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)]
8277 }
8378 }
8479 }
8580
8681
8782
8883 @Callable(l)
8984 func PayFreelancer (v) = {
9085 let p = (toBase58String(l.caller.bytes) + "_Payment")
9186 let o = (toBase58String(l.caller.bytes) + "_Freelancer")
9287 let w = (toBase58String(l.caller.bytes) + "_Asset")
9388 let x = (toBase58String(l.caller.bytes) + "_Paidtrx")
9489 let q = {
9590 let r = getInteger(this, p)
9691 if ($isInstanceOf(r, "Int"))
9792 then {
9893 let s = r
9994 s
10095 }
10196 else 0
10297 }
10398 let y = {
10499 let r = getInteger(this, x)
105100 if ($isInstanceOf(r, "Int"))
106101 then {
107102 let s = r
108103 s
109104 }
110105 else 0
111106 }
112107 let z = getStringValue(this, o)
113108 let A = getStringValue(this, w)
114109 let B = addressFromStringValue(z)
115110 let C = Address(j)
116111 let u = if ((A == "Waves"))
117112 then unit
118113 else fromBase58String(A)
119114 if ((0 >= (((95 * q) / 100) - (v * 100000000))))
120115 then throw(("You do not have enough funds to make payment, your available funds are: " + toString((q / 100000000))))
121116 else if (if ((y >= 12))
122117 then (q > 0)
123118 else false)
124119 then throw("You have already done 12 payments, you cannot make more payments")
125120 else {
126121 let D = if ((y == 11))
127122 then 0
128123 else (q - (v * 100000000))
129124 let E = if ((y == 11))
130125 then ((95 * q) / 100)
131126 else ((95 * v) * 1000000)
132127 let F = if ((y == 11))
133128 then ((5 * q) / 100)
134129 else ((5 * v) * 1000000)
135130 let G = if ((y == 11))
136131 then 0
137132 else (y + 1)
138133 $Tuple2([IntegerEntry((toBase58String(l.caller.bytes) + "_Payment"), D), IntegerEntry((toBase58String(l.caller.bytes) + "_Paidtrx"), G), ScriptTransfer(B, E, u), ScriptTransfer(C, F, u)], u)
139134 }
140135 }
141136
142137
143138
144139 @Callable(l)
145-func PayFreelancerOnDemand () = {
146- let v = 4
147- let H = 1
148- let I = 10
149- let p = (toBase58String(l.caller.bytes) + "_Payment")
150- let o = (toBase58String(l.caller.bytes) + "_Freelancer")
151- let J = (toBase58String(l.caller.bytes) + "_LastPaid")
152- let w = (toBase58String(l.caller.bytes) + "_Asset")
153- let x = (toBase58String(l.caller.bytes) + "_Paidtrx")
154- let q = {
155- let r = getInteger(this, p)
156- if ($isInstanceOf(r, "Int"))
157- then {
158- let s = r
159- s
160- }
161- else 0
162- }
163- let y = {
164- let r = getInteger(this, x)
165- if ($isInstanceOf(r, "Int"))
166- then {
167- let s = r
168- s
169- }
170- else 0
171- }
172- let K = {
173- let r = getInteger(this, J)
174- if ($isInstanceOf(r, "Int"))
175- then {
176- let s = r
177- s
178- }
179- else height
180- }
181- let z = getStringValue(this, o)
182- let A = getStringValue(this, w)
183- let B = addressFromStringValue(z)
184- let C = Address(j)
185- let u = if ((A == "Waves"))
186- then unit
187- else fromBase58String(A)
188- if ((0 >= (q - (H * 100000000))))
189- then throw(("You do not have enough funds to make payment, your available funds are: " + toString((q / 100000000))))
190- else if (if (((K + I) > height))
191- then (y > 1)
192- else false)
193- then throw(((("Cannot make Payment before " + 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- }
205- }
206-
207-
208-
209-@Callable(l)
210-func AdminTransfer (L,M,N,O,P) = if ((l.caller.bytes != k))
140+func AdminTransfer (H,I,J,K,L) = if ((l.caller.bytes != k))
211141 then throw("Only Admin can do this")
212- else if ((((O + N) + P) != 100))
142+ else if ((((K + J) + L) != 100))
213143 then throw("Total of Percentages cannot be different from 100%")
214144 else {
215- let p = (L + "_Payment")
216- let o = (L + "_Freelancer")
145+ let p = (H + "_Payment")
146+ let o = (H + "_Freelancer")
217147 let w = (toBase58String(l.caller.bytes) + "_Asset")
218148 let q = {
219149 let r = getInteger(this, p)
220150 if ($isInstanceOf(r, "Int"))
221151 then {
222152 let s = r
223153 s
224154 }
225155 else 0
226156 }
227157 let z = getStringValue(this, o)
228158 let B = addressFromStringValue(z)
229159 let A = getStringValue(this, w)
230160 let C = Address(j)
231- let Q = addressFromStringValue(L)
161+ let M = addressFromStringValue(H)
232162 let u = if ((A == "Waves"))
233163 then unit
234164 else fromBase58String(A)
235165 if ((q == 0))
236166 then throw("User's balance is 0 BUsdc cannot realize any payment")
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)
167+ else $Tuple2([IntegerEntry((H + "_Payment"), 0), ScriptTransfer(B, ((J * q) / 100), u), ScriptTransfer(M, ((K * q) / 100), u), ScriptTransfer(C, ((L * q) / 100), u)], u)
238168 }
239169
240170

github/deemru/w8io/026f985 
97.61 ms