tx · EDr6MnooQmhcZffEukVXtNNTnAdChHFrKVrbcY97ckLa

3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw:  -0.00700000 Waves

2022.06.29 20:41 [2118048] smart account 3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw > SELF 0.00000000 Waves

{ "type": 13, "id": "EDr6MnooQmhcZffEukVXtNNTnAdChHFrKVrbcY97ckLa", "fee": 700000, "feeAssetId": null, "timestamp": 1656524484601, "version": 2, "chainId": 84, "sender": "3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw", "senderPublicKey": "GTKqLSK6nuFkRdebB5SmTwTU2DnTeLMvhymCFfT2CxX2", "proofs": [ "4sFW9uMbAZUsgErLUSa1ejiDTWvBNKS8vC8wZuzbzo9uJwis7xkLRuBgAuwMFPPJoDdk4LjpgTEdF8Q6g5kmcNx7" ], "script": "base64:AAIFAAAAAAAAABcIAhIFCgMICAgSAwoBARIHCgUICAEBAQAAAAsAAAAABEJVc2QBAAAAIGsrEktRCjskKBCmlsxUo0LD8C59Qg7hhVJWuRyBH3UkAAAAAARVU0RUAQAAACAelAcTUnahJZX9yGGogl8Qf986Tym7/JpGP1r9Nk+fkQAAAAAEVVNEQwEAAAAgUjPZ4ZeIJuXiH8L96og0uId2o4yxg+/IYBx+ChJUJiUAAAAAA0JUQwEAAAAgbPpq/8XtqowLf7Uqk9KiDC+Cgtt0egSMU/v9Ex9zoP8AAAAAA0VUSAEAAAAgLiDD9uqKn4lRu7/oiBETNux+2MJCA3JlDVjNcyZCZYIAAAAAA0JOQgEAAAAgQnyvGYBO6gbAUKIMc3I0Nu0t3RwqcjgipjiYGOV8E04AAAAABFVTRE4BAAAAILYmKcME9c5TkaQOS3UkL2SMUbH6369UKb1I0h0qsqrRAAAAAARIQVNIAQAAACBfeIyN06ehC1vFjGoHEYEtTN1wMyTBUs+Yvje4CEB5awAAAAAES1VTRAEAAAAg1+9jQfE0Vf0cjpA9Jfb9hkQjLNxfTGu8B7HRQsGX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AADlBheW1lbnRBc3NldElkAwkAAAAAAAACBQAAAAZhbW91bnQAAAAAAAAAAAAJAAACAAAAAQIAAAAvVXNlcidzIGJhbGFuY2UgaXMgMCwgY2Fubm90IHJlYWxpemUgYW55IHBheW1lbnQJAAUUAAAAAgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACBQAAAARVc2VyAgAAAAhfUGF5bWVudAAAAAAAAAAAAAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAABFBZGRyZXNzRnJlZUxhbmNlcgkAAGkAAAACCQAAaAAAAAIFAAAADFRvRnJlZWxhbmNlcgUAAAAGYW1vdW50AAAAAAAAAABkBQAAAAlBc3NldFVzZWQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwUAAAALQWRkcmVzc1VzZXIJAABpAAAAAgkAAGgAAAACBQAAAAZUb1VzZXIFAAAABmFtb3VudAAAAAAAAAAAZAUAAAAJQXNzZXRVc2VkCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAACWRBcHBGcmVlcwkAAGkAAAACCQAAaAAAAAIFAAAACEFkbWluRmVlBQAAAAZhbW91bnQAAAAAAAAAAGQFAAAACUFzc2V0VXNlZAUAAAADbmlsBQAAAAlBc3NldFVzZWQAAAAARfZp3A==", "height": 2118048, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9zTKo4EBnvRmWAdoa9tjjXYvCoiJqfjyGKfDXuHc17RB Next: 8V9bQLexyksvaQ36m8JqzwiiJCjWTxHeGQDtpn5MB9Ux Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = base58'7RgM3A5AVCUZFbL3EwBicv1eHFCVsaY8z71yda77zrAv'
4+let a = base58'8DLiYZjo3UUaRBTHU7Ayoqg4ihwb6YH1AfXrrhdjQ7K1'
55
6-let b = base58'2BoEb7xRk6k58CGk2kZgVi91qDkcGJuBiqsK5AdHLYRX'
6+let b = base58'34N9YcEETLWn93qYQ64EsP1x89tSruJU44RrEMSXXEPJ'
77
8-let c = base58'B69KJt2GnNYHUybTmrDBvq4BaYD5RqQK6TDBJLQKWrvh'
8+let c = base58'6XtHjpXbs9RRJP2Sr9GUyVqzACcby9TkThHXnjVC5CDJ'
99
10-let d = base58'CskPF5HYr8RBcXeDdDyZSkkSurQ2Btcp4nEFFUqLqXMq'
10+let d = base58'8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS'
1111
12-let e = base58'9uFF8axM2Te2meSHLZy3pMaZ6EE19zk5Wm3oPby6zphf'
12+let e = base58'474jTeYx2r2Va35794tCScAXWJG9hU2HcgxzMowaZUnu'
1313
14-let f = base58'e1brL4ZTbHuRmw5cvThdaBBxDZCF7rW6a2AGMMKvzg1'
14+let f = base58'5UYBPpq4WoU5n4MwpFkgJnW3Fq4B1u3ukpK33ik4QerR'
1515
16-let g = 700
16+let g = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p'
1717
18-let h = 1
18+let h = base58'7RgM3A5AVCUZFbL3EwBicv1eHFCVsaY8z71yda77zrAv'
1919
20-let i = 1
20+let i = base58'FXvNWA5Gfy8yLPHGScm6Gmn4DSZX9brFZ9qmEkPxAhGk'
2121
22-let j = 1
22+let j = base58'3PG1NyiC2rdgX46jb8c5zPGuEAzWXhr4L2W'
2323
24-let k = 1
24+let k = base58'3PLv5rYMqR4gSiP5ZSjrX2FStLhHTRgFPbb'
2525
26-let l = 1
27-
28-let m = 1
29-
30-let n = 8
31-
32-let o = 30
33-
34-let p = 60
35-
36-let q = 30
37-
38-let r = 90
39-
40-let s = (1440 * 7)
41-
42-let t = 1440
43-
44-@Callable(u)
45-func DepositHASH () = {
46- let v = (toBase58String(u.caller.bytes) + "_Deposit")
47- let w = (toBase58String(u.caller.bytes) + "_DepositBlock")
48- let x = {
49- let y = getInteger(this, v)
50- if ($isInstanceOf(y, "Int"))
26+@Callable(l)
27+func DepositFunds (m,n,o) = {
28+ let p = (toBase58String(l.caller.bytes) + "_Payment")
29+ let q = {
30+ let r = getInteger(this, p)
31+ if ($isInstanceOf(r, "Int"))
5132 then {
52- let z = y
53- z
33+ let s = r
34+ s
5435 }
5536 else 0
5637 }
57- let A = {
58- let y = getInteger(this, w)
59- if ($isInstanceOf(y, "Int"))
60- then {
61- let z = y
62- z
63- }
64- else 0
65- }
66- let B = if ((A != 0))
67- then A
68- else height
69- let C = if ((size(u.payments) == 1))
70- then u.payments[0]
71- else throw("Attached payment is required")
72- if (if (((g * 100000000) > C.amount))
73- then true
74- else (C.assetId != a))
75- then throw("Can only deposit HASH tokens, and minimum amount is 700 HASH")
38+ if ((q != 0))
39+ then throw("You have already deposited funds, deposits can only be done once")
7640 else {
77- let D = (x + C.amount)
78-[IntegerEntry((toBase58String(u.caller.bytes) + "_Deposit"), D), IntegerEntry((toBase58String(u.caller.bytes) + "_DepositBlock"), B), ScriptTransfer(u.caller, (h * 100000000), b)]
41+ let t = if ((size(l.payments) == 1))
42+ then l.payments[0]
43+ else throw("Attached payment is required")
44+ if (if (if (if (if (if (if (if (if (if (if ((0 >= t.amount))
45+ then (t.assetId != a)
46+ else false)
47+ then (t.assetId != b)
48+ else false)
49+ then (t.assetId != c)
50+ else false)
51+ then (t.assetId != d)
52+ else false)
53+ then (t.assetId != e)
54+ else false)
55+ then (t.assetId != f)
56+ else false)
57+ then (t.assetId != g)
58+ else false)
59+ then (t.assetId != h)
60+ else false)
61+ then (t.assetId != i)
62+ else false)
63+ then isDefined(t.assetId)
64+ else false)
65+ then throw("Can only deposit accepted tokens, and amount should be positive")
66+ else if (if (if ((m == ""))
67+ then true
68+ else (n == ""))
69+ then true
70+ else (o == ""))
71+ then throw("Job Scope, Deliverables desc and Freelancer Wallet Address cannot be empty")
72+ else {
73+ let u = if (isDefined(t.assetId))
74+ then toBase58String(value(t.assetId))
75+ else "Waves"
76+[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)]
77+ }
7978 }
8079 }
8180
8281
8382
84-@Callable(u)
85-func RewardReferrer (E) = if ((E == ""))
86- then throw("Referrer Wallet Address cannot be empty !")
87- else {
88- let F = addressFromStringValue(E)
89- let v = (toBase58String(u.caller.bytes) + "_Deposit")
90- let G = (toBase58String(u.caller.bytes) + "_TippedStatus")
91- let x = {
92- let y = getInteger(this, v)
93- if ($isInstanceOf(y, "Int"))
94- then {
95- let z = y
96- z
97- }
98- else 0
99- }
100- let H = {
101- let y = getString(this, G)
102- if ($isInstanceOf(y, "String"))
103- then {
104- let z = y
105- z
106- }
107- else "NO"
108- }
109- if ((H == "YES"))
110- then throw("You already tipped a User, you only can tip once a user")
111- else if (((g * 100000000) > x))
112- then throw((("To tip your referrer you must have at least deposited: " + toString(g)) + " HASH"))
113- else [StringEntry((toBase58String(u.caller.bytes) + "_TippedStatus"), "YES"), ScriptTransfer(F, (m * 100000000), b)]
114- }
115-
116-
117-
118-@Callable(u)
119-func RequestTowing () = {
120- let v = (toBase58String(u.caller.bytes) + "_Deposit")
121- let w = (toBase58String(u.caller.bytes) + "_DepositBlock")
122- let I = (toBase58String(u.caller.bytes) + "_LastTowingBlock")
123- let x = {
124- let y = getInteger(this, v)
125- if ($isInstanceOf(y, "Int"))
83+@Callable(l)
84+func PayFreelancer (v) = {
85+ let p = (toBase58String(l.caller.bytes) + "_Payment")
86+ let o = (toBase58String(l.caller.bytes) + "_Freelancer")
87+ let w = (toBase58String(l.caller.bytes) + "_Asset")
88+ let x = (toBase58String(l.caller.bytes) + "_Paidtrx")
89+ let q = {
90+ let r = getInteger(this, p)
91+ if ($isInstanceOf(r, "Int"))
12692 then {
127- let z = y
128- z
93+ let s = r
94+ s
12995 }
13096 else 0
13197 }
132- let A = {
133- let y = getInteger(this, w)
134- if ($isInstanceOf(y, "Int"))
98+ let y = {
99+ let r = getInteger(this, x)
100+ if ($isInstanceOf(r, "Int"))
135101 then {
136- let z = y
137- z
138- }
139- else height
140- }
141- let J = {
142- let y = getInteger(this, I)
143- if ($isInstanceOf(y, "Int"))
144- then {
145- let z = y
146- z
102+ let s = r
103+ s
147104 }
148105 else 0
149106 }
150- if (((n * s) > (height - A)))
151- then throw((((("You should at least be a member of " + toString(n)) + " Weeks") + " Your account maturity is: ") + toString(((height - A) / s))))
152- else if (((((g * 100000000) * (height - A)) / s) > x))
153- then throw(((("Your Account Maturity is: " + toString(((height - A) / s))) + " Weeks. You should have deposited at least: ") + toString((g * ((height - A) / s)))))
154- else if (((o * t) > ((height - J) / t)))
155- then throw((("You cannot claim the reward before: " + toString((o - ((height - J) / t)))) + " days"))
156- else [IntegerEntry((toBase58String(u.caller.bytes) + "_LastTowingBlock"), height), ScriptTransfer(u.caller, (i * 100000000), c)]
107+ let z = getStringValue(this, o)
108+ let A = getStringValue(this, w)
109+ let B = if (if (if (if ((A == toBase58String(value(a))))
110+ then true
111+ else (A == toBase58String(value(b))))
112+ then true
113+ else (A == toBase58String(value(c))))
114+ then true
115+ else (A == toBase58String(value(g))))
116+ then 1000000
117+ else 100000000
118+ let C = addressFromStringValue(z)
119+ let D = Address(j)
120+ let u = if ((A == "Waves"))
121+ then unit
122+ else fromBase58String(A)
123+ if (if ((0 > (q - (v * B))))
124+ then true
125+ else (q == 0))
126+ then throw(("You do not have enough funds to make payment, your available funds are: " + toString((q / B))))
127+ else if (if ((y >= 12))
128+ then (q > 0)
129+ else false)
130+ then throw("You have already done 12 payments, you cannot make more payments")
131+ else {
132+ let E = if ((y == 11))
133+ then 0
134+ else (q - (v * B))
135+ let F = if ((y == 11))
136+ then ((95 * q) / 100)
137+ else (((95 * v) * B) / 100)
138+ let G = if ((y == 11))
139+ then ((5 * q) / 100)
140+ else (((5 * v) * B) / 100)
141+ let H = if (if ((y == 11))
142+ then true
143+ else (E == 0))
144+ then 0
145+ else (y + 1)
146+ $Tuple2([IntegerEntry((toBase58String(l.caller.bytes) + "_Payment"), E), IntegerEntry((toBase58String(l.caller.bytes) + "_Paidtrx"), H), IntegerEntry((toBase58String(l.caller.bytes) + "_Payment2Freelance"), F), ScriptTransfer(C, F, u), ScriptTransfer(D, G, u)], u)
147+ }
157148 }
158149
159150
160151
161-@Callable(u)
162-func RequestTyreAir () = {
163- let v = (toBase58String(u.caller.bytes) + "_Deposit")
164- let w = (toBase58String(u.caller.bytes) + "_DepositBlock")
165- let K = (toBase58String(u.caller.bytes) + "_LastTyreAirBlock")
166- let x = {
167- let y = getInteger(this, v)
168- if ($isInstanceOf(y, "Int"))
169- then {
170- let z = y
171- z
152+@Callable(l)
153+func AdminTransfer (I,J,K,L,M) = if ((l.caller.bytes != k))
154+ then throw("Only Admin can do this")
155+ else if ((((L + K) + M) != 100))
156+ then throw("Total of Percentages cannot be different from 100%")
157+ else {
158+ let p = (I + "_Payment")
159+ let o = (I + "_Freelancer")
160+ let w = (I + "_Asset")
161+ let q = {
162+ let r = getInteger(this, p)
163+ if ($isInstanceOf(r, "Int"))
164+ then {
165+ let s = r
166+ s
167+ }
168+ else 0
172169 }
173- else 0
174- }
175- let A = {
176- let y = getInteger(this, w)
177- if ($isInstanceOf(y, "Int"))
178- then {
179- let z = y
180- z
181- }
182- else height
183- }
184- let L = {
185- let y = getInteger(this, K)
186- if ($isInstanceOf(y, "Int"))
187- then {
188- let z = y
189- z
190- }
191- else 0
192- }
193- if (((n * s) > (height - A)))
194- then throw((((("You should at least be a member of " + toString(n)) + " Weeks") + " Your account maturity is: ") + toString(((height - A) / s))))
195- else if (((((g * 100000000) * (height - A)) / s) > x))
196- then throw(((("Your Account Maturity is: " + toString(((height - A) / s))) + " Weeks. You should have deposited at least: ") + toString((g * ((height - A) / s)))))
197- else if (((p * t) > ((height - L) / t)))
198- then throw((("You cannot claim the reward before: " + toString((p - ((height - L) / t)))) + " days"))
199- else [IntegerEntry((toBase58String(u.caller.bytes) + "_LastTyreAirBlock"), height), ScriptTransfer(u.caller, (j * 100000000), d)]
200- }
201-
202-
203-
204-@Callable(u)
205-func RequestFuel () = {
206- let v = (toBase58String(u.caller.bytes) + "_Deposit")
207- let w = (toBase58String(u.caller.bytes) + "_DepositBlock")
208- let M = (toBase58String(u.caller.bytes) + "_LastFuelBlock")
209- let x = {
210- let y = getInteger(this, v)
211- if ($isInstanceOf(y, "Int"))
212- then {
213- let z = y
214- z
215- }
216- else 0
217- }
218- let A = {
219- let y = getInteger(this, w)
220- if ($isInstanceOf(y, "Int"))
221- then {
222- let z = y
223- z
224- }
225- else height
226- }
227- let N = {
228- let y = getInteger(this, M)
229- if ($isInstanceOf(y, "Int"))
230- then {
231- let z = y
232- z
233- }
234- else 0
235- }
236- if (((n * s) > (height - A)))
237- then throw((((("You should at least be a member of " + toString(n)) + " Weeks") + " Your account maturity is: ") + toString(((height - A) / s))))
238- else if (((((g * 100000000) * (height - A)) / s) > x))
239- then throw(((("Your Account Maturity is: " + toString(((height - A) / s))) + " Weeks. You should have deposited at least: ") + toString((g * ((height - A) / s)))))
240- else if (((q * t) > ((height - N) / t)))
241- then throw((("You cannot claim the reward before: " + toString((q - ((height - N) / t)))) + " days"))
242- else [IntegerEntry((toBase58String(u.caller.bytes) + "_LastFuelBlock"), height), ScriptTransfer(u.caller, (k * 100000000), e)]
243- }
244-
245-
246-
247-@Callable(u)
248-func RequestCarUnlock () = {
249- let v = (toBase58String(u.caller.bytes) + "_Deposit")
250- let w = (toBase58String(u.caller.bytes) + "_DepositBlock")
251- let O = (toBase58String(u.caller.bytes) + "_LastCarUnlockBlock")
252- let x = {
253- let y = getInteger(this, v)
254- if ($isInstanceOf(y, "Int"))
255- then {
256- let z = y
257- z
258- }
259- else 0
260- }
261- let A = {
262- let y = getInteger(this, w)
263- if ($isInstanceOf(y, "Int"))
264- then {
265- let z = y
266- z
267- }
268- else height
269- }
270- let P = {
271- let y = getInteger(this, O)
272- if ($isInstanceOf(y, "Int"))
273- then {
274- let z = y
275- z
276- }
277- else 0
278- }
279- if (((n * s) > (height - A)))
280- then throw((((("You should at least be a member of " + toString(n)) + " Weeks") + " Your account maturity is: ") + toString(((height - A) / s))))
281- else if (((((g * 100000000) * (height - A)) / s) > x))
282- then throw(((("Your Account Maturity is: " + toString(((height - A) / s))) + " Weeks. You should have deposited at least: ") + toString((g * ((height - A) / s)))))
283- else if (((r * t) > ((height - P) / t)))
284- then throw((("You cannot claim the reward before: " + toString((r - ((height - P) / t)))) + " days"))
285- else [IntegerEntry((toBase58String(u.caller.bytes) + "_LastCarUnlockBlock"), height), ScriptTransfer(u.caller, (l * 100000000), f)]
286- }
170+ let z = getStringValue(this, o)
171+ let C = addressFromStringValue(z)
172+ let A = getStringValue(this, w)
173+ let D = Address(j)
174+ let N = addressFromStringValue(I)
175+ let u = if ((A == "Waves"))
176+ then unit
177+ else fromBase58String(A)
178+ if ((q == 0))
179+ then throw("User's balance is 0, cannot realize any payment")
180+ else $Tuple2([IntegerEntry((I + "_Payment"), 0), ScriptTransfer(C, ((K * q) / 100), u), ScriptTransfer(N, ((L * q) / 100), u), ScriptTransfer(D, ((M * q) / 100), u)], u)
181+ }
287182
288183

github/deemru/w8io/169f3d6 
54.85 ms