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/Z0GCbKxbjRY4l37PzNLb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QEAAAARQGV4dHJOYXRpdmUoMTA1MykAAAACBQAAAAR0aGlzBQAAAAxQYXltZW50QXNzZXQEAAAACWRBcHBGcmVlcwkBAAAAB0FkZHJlc3MAAAABBQAAAAhkQXBwRmVlcwQAAAALQWRkcmVzc1VzZXIJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAEFAAAABFVzZXIEAAAACUFzc2V0VXNlZAMJAAAAAAAAAgUAAAAOUGF5bWVudEFzc2V0SWQCAAAABVdhdmVzBQAAAAR1bml0CQACWQAAAAEFAAAADlBheW1lbnRBc3NldElkAwkAAAAAAAACBQAAAAZhbW91bnQAAAAAAAAAAAAJAAACAAAAAQIAAAA0VXNlcidzIGJhbGFuY2UgaXMgMCBCVXNkYyBjYW5ub3QgcmVhbGl6ZSBhbnkgcGF5bWVudAkABRQAAAACCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIFAAAABFVzZXICAAAACF9QYXltZW50AAAAAAAAAAAACQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAAEUFkZHJlc3NGcmVlTGFuY2VyCQAAaQAAAAIJAABoAAAAAgUAAAAMVG9GcmVlbGFuY2VyBQAAAAZhbW91bnQAAAAAAAAAAGQFAAAACUFzc2V0VXNlZAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAAAtBZGRyZXNzVXNlcgkAAGkAAAACCQAAaAAAAAIFAAAABlRvVXNlcgUAAAAGYW1vdW50AAAAAAAAAABkBQAAAAlBc3NldFVzZWQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwUAAAAJZEFwcEZyZWVzCQAAaQAAAAIJAABoAAAAAgUAAAAIQWRtaW5GZWUFAAAABmFtb3VudAAAAAAAAAAAZAUAAAAJQXNzZXRVc2VkBQAAAANuaWwFAAAACUFzc2V0VXNlZAAAAAA/Jjn6", "height": 2077518, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8NRrnHDVYjcm8aqkHpd4d1TabSQqSrtv5wa9FM24f5tA Next: 2Kix6vTRgn84PZmVzoU87j28FQ6Zj3VKag8THWeKEaAo Diff:
OldNewDifferences
191191 then (y == 1)
192192 else false)
193193 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+ }
195205 }
196206
197207
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'nrDXX1zHfGht7xExqNxDu7voCy9wzmc9vJxwcc2jLga'
55
66 let b = base58'nrDXX1zHfGht7xExqNxDu7voCy9wzmc9vJxwcc2jLga'
77
88 let c = base58'nrDXX1zHfGht7xExqNxDu7voCy9wzmc9vJxwcc2jLga'
99
1010 let d = base58'nrDXX1zHfGht7xExqNxDu7voCy9wzmc9vJxwcc2jLga'
1111
1212 let e = base58'nrDXX1zHfGht7xExqNxDu7voCy9wzmc9vJxwcc2jLga'
1313
1414 let f = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ'
1515
1616 let g = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ'
1717
1818 let h = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ'
1919
2020 let i = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ'
2121
2222 let j = base58'3N9Lfz79kZAEUupwESSboYFyygo1nQguVXo'
2323
2424 let k = base58'3Mx3pn4yMcBccM59UrDGjbbAkVsRYBw38tB'
2525
2626 @Callable(l)
2727 func Reset () = [IntegerEntry((toBase58String(l.caller.bytes) + "_Payment"), 0), IntegerEntry((toBase58String(l.caller.bytes) + "_Paidtrx"), 0), IntegerEntry((toBase58String(l.caller.bytes) + "_LastPaid"), 0)]
2828
2929
3030
3131 @Callable(l)
3232 func DepositFunds (m,n,o) = {
3333 let p = (toBase58String(l.caller.bytes) + "_Payment")
3434 let q = {
3535 let r = getInteger(this, p)
3636 if ($isInstanceOf(r, "Int"))
3737 then {
3838 let s = r
3939 s
4040 }
4141 else 0
4242 }
4343 if ((q != 0))
4444 then throw("You have already deposited funds, deposits can only be done once")
4545 else {
4646 let t = if ((size(l.payments) == 1))
4747 then l.payments[0]
4848 else throw("Attached payment is required")
4949 if (if (if (if (if (if (if (if (if (if (if ((0 >= t.amount))
5050 then (t.assetId != a)
5151 else false)
5252 then (t.assetId != b)
5353 else false)
5454 then (t.assetId != c)
5555 else false)
5656 then (t.assetId != d)
5757 else false)
5858 then (t.assetId != e)
5959 else false)
6060 then (t.assetId != f)
6161 else false)
6262 then (t.assetId != g)
6363 else false)
6464 then (t.assetId != h)
6565 else false)
6666 then (t.assetId != i)
6767 else false)
6868 then isDefined(t.assetId)
6969 else false)
7070 then throw("Can only deposit accepted tokens, and amount should be positive")
7171 else if (if (if ((m == ""))
7272 then true
7373 else (n == ""))
7474 then true
7575 else (o == ""))
7676 then throw("Job Scope, Deliverables desc and Freelancer Wallet Address cannot be empty")
7777 else {
7878 let u = if (isDefined(t.assetId))
7979 then toBase58String(value(t.assetId))
8080 else "Waves"
8181 [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)]
8282 }
8383 }
8484 }
8585
8686
8787
8888 @Callable(l)
8989 func PayFreelancer (v) = {
9090 let p = (toBase58String(l.caller.bytes) + "_Payment")
9191 let o = (toBase58String(l.caller.bytes) + "_Freelancer")
9292 let w = (toBase58String(l.caller.bytes) + "_Asset")
9393 let x = (toBase58String(l.caller.bytes) + "_Paidtrx")
9494 let q = {
9595 let r = getInteger(this, p)
9696 if ($isInstanceOf(r, "Int"))
9797 then {
9898 let s = r
9999 s
100100 }
101101 else 0
102102 }
103103 let y = {
104104 let r = getInteger(this, x)
105105 if ($isInstanceOf(r, "Int"))
106106 then {
107107 let s = r
108108 s
109109 }
110110 else 0
111111 }
112112 let z = getStringValue(this, o)
113113 let A = getStringValue(this, w)
114114 let B = addressFromStringValue(z)
115115 let C = Address(j)
116116 let u = if ((A == "Waves"))
117117 then unit
118118 else fromBase58String(A)
119119 if ((0 >= (((95 * q) / 100) - (v * 100000000))))
120120 then throw(("You do not have enough funds to make payment, your available funds are: " + toString((q / 100000000))))
121121 else if (if ((y >= 12))
122122 then (q > 0)
123123 else false)
124124 then throw("You have already done 12 payments, you cannot make more payments")
125125 else {
126126 let D = if ((y == 11))
127127 then 0
128128 else (q - (v * 100000000))
129129 let E = if ((y == 11))
130130 then ((95 * q) / 100)
131131 else ((95 * v) * 1000000)
132132 let F = if ((y == 11))
133133 then ((5 * q) / 100)
134134 else ((5 * v) * 1000000)
135135 let G = if ((y == 11))
136136 then 0
137137 else (y + 1)
138138 $Tuple2([IntegerEntry((toBase58String(l.caller.bytes) + "_Payment"), D), IntegerEntry((toBase58String(l.caller.bytes) + "_Paidtrx"), G), ScriptTransfer(B, E, u), ScriptTransfer(C, F, u)], u)
139139 }
140140 }
141141
142142
143143
144144 @Callable(l)
145145 func PayFreelancerOnDemand () = {
146146 let v = 4
147147 let H = 1
148148 let I = 10
149149 let p = (toBase58String(l.caller.bytes) + "_Payment")
150150 let o = (toBase58String(l.caller.bytes) + "_Freelancer")
151151 let J = (toBase58String(l.caller.bytes) + "_LastPaid")
152152 let w = (toBase58String(l.caller.bytes) + "_Asset")
153153 let x = (toBase58String(l.caller.bytes) + "_Paidtrx")
154154 let q = {
155155 let r = getInteger(this, p)
156156 if ($isInstanceOf(r, "Int"))
157157 then {
158158 let s = r
159159 s
160160 }
161161 else 0
162162 }
163163 let y = {
164164 let r = getInteger(this, x)
165165 if ($isInstanceOf(r, "Int"))
166166 then {
167167 let s = r
168168 s
169169 }
170170 else 0
171171 }
172172 let K = {
173173 let r = getInteger(this, J)
174174 if ($isInstanceOf(r, "Int"))
175175 then {
176176 let s = r
177177 s
178178 }
179179 else 0
180180 }
181181 let z = getStringValue(this, o)
182182 let A = getStringValue(this, w)
183183 let B = addressFromStringValue(z)
184184 let C = Address(j)
185185 let u = if ((A == "Waves"))
186186 then unit
187187 else fromBase58String(A)
188188 if ((0 >= (q - (H * 100000000))))
189189 then throw(("You do not have enough funds to make payment, your available funds are: " + toString((q / 100000000))))
190190 else if (if ((height > (K + I)))
191191 then (y == 1)
192192 else false)
193193 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+ }
195205 }
196206
197207
198208
199209 @Callable(l)
200210 func AdminTransfer (L,M,N,O,P) = if ((l.caller.bytes != k))
201211 then throw("Only Admin can do this")
202212 else if ((((O + N) + P) != 100))
203213 then throw("Total of Percentages cannot be different from 100%")
204214 else {
205215 let p = (L + "_Payment")
206216 let o = (L + "_Freelancer")
207217 let w = (toBase58String(l.caller.bytes) + "_Asset")
208218 let q = {
209219 let r = getInteger(this, p)
210220 if ($isInstanceOf(r, "Int"))
211221 then {
212222 let s = r
213223 s
214224 }
215225 else 0
216226 }
217227 let z = getStringValue(this, o)
218228 let B = addressFromStringValue(z)
219229 let A = getStringValue(this, w)
220230 let C = Address(j)
221231 let Q = addressFromStringValue(L)
222232 let u = if ((A == "Waves"))
223233 then unit
224234 else fromBase58String(A)
225235 if ((q == 0))
226236 then throw("User's balance is 0 BUsdc cannot realize any payment")
227237 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)
228238 }
229239
230240

github/deemru/w8io/026f985 
33.03 ms