tx · C9uT46JgrAw8HaRgiGLfsXeDorWH6ECojByWsPn4dtUe

3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw:  -0.01000000 Waves

2022.06.02 22:26 [2079140] smart account 3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw > SELF 0.00000000 Waves

{ "type": 13, "id": "C9uT46JgrAw8HaRgiGLfsXeDorWH6ECojByWsPn4dtUe", "fee": 1000000, "feeAssetId": null, "timestamp": 1654198054312, "version": 2, "chainId": 84, "sender": "3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw", "senderPublicKey": "GTKqLSK6nuFkRdebB5SmTwTU2DnTeLMvhymCFfT2CxX2", "proofs": [ "2eiwv8eEDzYZK5Xm2v3DAvdpbKgwKGxY8HnAUBBez4Wwn1NatHWLVx3BKUn5HvQMnUVc3RNApGCte5fWsfxmG1PE" ], "script": "base64:AAIFAAAAAAAAABsIAhIAEgUKAwgICBIDCgEBEgASBwoFCAgBAQEAAAALAAAAAARCVXNkAQAAACBrKxJLUQo7JCgQppbMVKNCw/AufUIO4YVSVrkcgR91JAAAAAAEVVNEVAEAAAAgHpQHE1J2oSWV/chhqIJfEH/fOk8pu/yaRj9a/TZPn5EAAAAABFVTREMBAAAAIFIz2eGXiCbl4h/C/eqINLiHdqOMsYPvyGAcfgoSVCYlAAAAAANCVEMBAAAAIGz6av/F7aqMC3+1KpPSogwvgoLbdHoEjFP7/RMfc6D/AAAAAANFVEgBAAAAIC4gw/bqip+JUbu/6IgREzbsftjCQgNyZQ1YzXMmQmWCAAAAAANCTkIBAAAAIEJ8rxmATuoGwFCiDHNyNDbtLd0cKnI4IqY4mBjlfBNOAAAAAARVU0ROAQAAACC2JinDBPXOU5GkDkt1JC9kjFGx+t+vVCm9SNIdKrKq0QAAAAAESEFTSAEAAAAgX3iMjdOnoQtbxYxqBxGBLUzdcDMkwVLPmL43uAhAeWsAAAAABEtVU0QBAAAAINfvY0HxNFX9HI6QPSX2/YZEIyzcX0xrvAex0UL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==", "height": 2079140, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GDW2guAyLciF47ZFcUPH9M5WAeCQQkBWfQUVMKvGcffn Next: H9nLJWtzmzQRoupH66tFzNdv7n7X3ytyntXwj7QZjhtL Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let BUsd = base58'nrDXX1zHfGht7xExqNxDu7voCy9wzmc9vJxwcc2jLga'
4+let BUsd = base58'8DLiYZjo3UUaRBTHU7Ayoqg4ihwb6YH1AfXrrhdjQ7K1'
55
6-let USDT = base58'nrDXX1zHfGht7xExqNxDu7voCy9wzmc9vJxwcc2jLga'
6+let USDT = base58'34N9YcEETLWn93qYQ64EsP1x89tSruJU44RrEMSXXEPJ'
77
8-let USDC = base58'nrDXX1zHfGht7xExqNxDu7voCy9wzmc9vJxwcc2jLga'
8+let USDC = base58'6XtHjpXbs9RRJP2Sr9GUyVqzACcby9TkThHXnjVC5CDJ'
99
10-let BTC = base58'nrDXX1zHfGht7xExqNxDu7voCy9wzmc9vJxwcc2jLga'
10+let BTC = base58'8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS'
1111
12-let ETH = base58'nrDXX1zHfGht7xExqNxDu7voCy9wzmc9vJxwcc2jLga'
12+let ETH = base58'474jTeYx2r2Va35794tCScAXWJG9hU2HcgxzMowaZUnu'
1313
14-let BNB = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ'
14+let BNB = base58'5UYBPpq4WoU5n4MwpFkgJnW3Fq4B1u3ukpK33ik4QerR'
1515
16-let USDN = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ'
16+let USDN = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p'
1717
18-let HASH = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ'
18+let HASH = base58'7RgM3A5AVCUZFbL3EwBicv1eHFCVsaY8z71yda77zrAv'
1919
20-let KUSD = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ'
20+let KUSD = base58'FXvNWA5Gfy8yLPHGScm6Gmn4DSZX9brFZ9qmEkPxAhGk'
2121
22-let dAppFees = base58'3N9Lfz79kZAEUupwESSboYFyygo1nQguVXo'
22+let dAppFees = base58'3PG1NyiC2rdgX46jb8c5zPGuEAzWXhr4L2W'
2323
24-let AdmindApp = base58'3Mx3pn4yMcBccM59UrDGjbbAkVsRYBw38tB'
24+let AdmindApp = base58'3MzqbY4iHg79pg4DNLK6UXUsbPuDcoJTzLw'
2525
2626 @Callable(i)
2727 func Reset () = [IntegerEntry((toBase58String(i.caller.bytes) + "_Payment"), 0), IntegerEntry((toBase58String(i.caller.bytes) + "_Paidtrx"), 0), IntegerEntry((toBase58String(i.caller.bytes) + "_LastPaid"), height)]
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let BUsd = base58'nrDXX1zHfGht7xExqNxDu7voCy9wzmc9vJxwcc2jLga'
4+let BUsd = base58'8DLiYZjo3UUaRBTHU7Ayoqg4ihwb6YH1AfXrrhdjQ7K1'
55
6-let USDT = base58'nrDXX1zHfGht7xExqNxDu7voCy9wzmc9vJxwcc2jLga'
6+let USDT = base58'34N9YcEETLWn93qYQ64EsP1x89tSruJU44RrEMSXXEPJ'
77
8-let USDC = base58'nrDXX1zHfGht7xExqNxDu7voCy9wzmc9vJxwcc2jLga'
8+let USDC = base58'6XtHjpXbs9RRJP2Sr9GUyVqzACcby9TkThHXnjVC5CDJ'
99
10-let BTC = base58'nrDXX1zHfGht7xExqNxDu7voCy9wzmc9vJxwcc2jLga'
10+let BTC = base58'8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS'
1111
12-let ETH = base58'nrDXX1zHfGht7xExqNxDu7voCy9wzmc9vJxwcc2jLga'
12+let ETH = base58'474jTeYx2r2Va35794tCScAXWJG9hU2HcgxzMowaZUnu'
1313
14-let BNB = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ'
14+let BNB = base58'5UYBPpq4WoU5n4MwpFkgJnW3Fq4B1u3ukpK33ik4QerR'
1515
16-let USDN = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ'
16+let USDN = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p'
1717
18-let HASH = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ'
18+let HASH = base58'7RgM3A5AVCUZFbL3EwBicv1eHFCVsaY8z71yda77zrAv'
1919
20-let KUSD = base58'HFLaeLdjg9cASsYhvwM9PV3NcCxa3UeVa5KvfYUPQYgJ'
20+let KUSD = base58'FXvNWA5Gfy8yLPHGScm6Gmn4DSZX9brFZ9qmEkPxAhGk'
2121
22-let dAppFees = base58'3N9Lfz79kZAEUupwESSboYFyygo1nQguVXo'
22+let dAppFees = base58'3PG1NyiC2rdgX46jb8c5zPGuEAzWXhr4L2W'
2323
24-let AdmindApp = base58'3Mx3pn4yMcBccM59UrDGjbbAkVsRYBw38tB'
24+let AdmindApp = base58'3MzqbY4iHg79pg4DNLK6UXUsbPuDcoJTzLw'
2525
2626 @Callable(i)
2727 func Reset () = [IntegerEntry((toBase58String(i.caller.bytes) + "_Payment"), 0), IntegerEntry((toBase58String(i.caller.bytes) + "_Paidtrx"), 0), IntegerEntry((toBase58String(i.caller.bytes) + "_LastPaid"), height)]
2828
2929
3030
3131 @Callable(i)
3232 func DepositFunds (ScopeDesc,Deliverables,FreelancerAddress) = {
3333 let FreeLancerPayment = (toBase58String(i.caller.bytes) + "_Payment")
3434 let amount = match getInteger(this, FreeLancerPayment) {
3535 case a: Int =>
3636 a
3737 case _ =>
3838 0
3939 }
4040 if ((amount != 0))
4141 then throw("You have already deposited funds, deposits can only be done once")
4242 else {
4343 let pmt = if ((size(i.payments) == 1))
4444 then i.payments[0]
4545 else throw("Attached payment is required")
4646 if (if (if (if (if (if (if (if (if (if (if ((0 >= pmt.amount))
4747 then (pmt.assetId != BUsd)
4848 else false)
4949 then (pmt.assetId != USDT)
5050 else false)
5151 then (pmt.assetId != USDC)
5252 else false)
5353 then (pmt.assetId != BTC)
5454 else false)
5555 then (pmt.assetId != ETH)
5656 else false)
5757 then (pmt.assetId != BNB)
5858 else false)
5959 then (pmt.assetId != USDN)
6060 else false)
6161 then (pmt.assetId != HASH)
6262 else false)
6363 then (pmt.assetId != KUSD)
6464 else false)
6565 then isDefined(pmt.assetId)
6666 else false)
6767 then throw("Can only deposit accepted tokens, and amount should be positive")
6868 else if (if (if ((ScopeDesc == ""))
6969 then true
7070 else (Deliverables == ""))
7171 then true
7272 else (FreelancerAddress == ""))
7373 then throw("Job Scope, Deliverables desc and Freelancer Wallet Address cannot be empty")
7474 else {
7575 let AssetUsed = if (isDefined(pmt.assetId))
7676 then toBase58String(value(pmt.assetId))
7777 else "Waves"
7878 [StringEntry((toBase58String(i.caller.bytes) + "_Scope"), ScopeDesc), StringEntry((toBase58String(i.caller.bytes) + "_Deliv"), Deliverables), StringEntry((toBase58String(i.caller.bytes) + "_Asset"), AssetUsed), StringEntry((toBase58String(i.caller.bytes) + "_Freelancer"), FreelancerAddress), IntegerEntry((toBase58String(i.caller.bytes) + "_Payment"), pmt.amount)]
7979 }
8080 }
8181 }
8282
8383
8484
8585 @Callable(i)
8686 func PayFreelancer (PayFreelancer) = {
8787 let FreeLancerPayment = (toBase58String(i.caller.bytes) + "_Payment")
8888 let FreelancerAddress = (toBase58String(i.caller.bytes) + "_Freelancer")
8989 let PaymentAsset = (toBase58String(i.caller.bytes) + "_Asset")
9090 let Paidtrx = (toBase58String(i.caller.bytes) + "_Paidtrx")
9191 let amount = match getInteger(this, FreeLancerPayment) {
9292 case a: Int =>
9393 a
9494 case _ =>
9595 0
9696 }
9797 let PaidtrxLast = match getInteger(this, Paidtrx) {
9898 case a: Int =>
9999 a
100100 case _ =>
101101 0
102102 }
103103 let FreelancerAddressStr = getStringValue(this, FreelancerAddress)
104104 let PaymentAssetId = getStringValue(this, PaymentAsset)
105105 let AddressFreeLancer = addressFromStringValue(FreelancerAddressStr)
106106 let dAppFrees = Address(dAppFees)
107107 let AssetUsed = if ((PaymentAssetId == "Waves"))
108108 then unit
109109 else fromBase58String(PaymentAssetId)
110110 if ((0 >= (((95 * amount) / 100) - (PayFreelancer * 100000000))))
111111 then throw(("You do not have enough funds to make payment, your available funds are: " + toString((amount / 100000000))))
112112 else if (if ((PaidtrxLast >= 12))
113113 then (amount > 0)
114114 else false)
115115 then throw("You have already done 12 payments, you cannot make more payments")
116116 else {
117117 let UserAccount = if ((PaidtrxLast == 11))
118118 then 0
119119 else (amount - (PayFreelancer * 100000000))
120120 let Payment2Freelance = if ((PaidtrxLast == 11))
121121 then ((95 * amount) / 100)
122122 else ((95 * PayFreelancer) * 1000000)
123123 let FeePaid = if ((PaidtrxLast == 11))
124124 then ((5 * amount) / 100)
125125 else ((5 * PayFreelancer) * 1000000)
126126 let PaidtrxValue = if ((PaidtrxLast == 11))
127127 then 0
128128 else (PaidtrxLast + 1)
129129 $Tuple2([IntegerEntry((toBase58String(i.caller.bytes) + "_Payment"), UserAccount), IntegerEntry((toBase58String(i.caller.bytes) + "_Paidtrx"), PaidtrxValue), ScriptTransfer(AddressFreeLancer, Payment2Freelance, AssetUsed), ScriptTransfer(dAppFrees, FeePaid, AssetUsed)], AssetUsed)
130130 }
131131 }
132132
133133
134134
135135 @Callable(i)
136136 func PayFreelancerOnDemand () = {
137137 let PayFreelancer = 4
138138 let Fee = 1
139139 let WaitTime = 10
140140 let FreeLancerPayment = (toBase58String(i.caller.bytes) + "_Payment")
141141 let FreelancerAddress = (toBase58String(i.caller.bytes) + "_Freelancer")
142142 let LastPaymentBlock = (toBase58String(i.caller.bytes) + "_LastPaid")
143143 let PaymentAsset = (toBase58String(i.caller.bytes) + "_Asset")
144144 let Paidtrx = (toBase58String(i.caller.bytes) + "_Paidtrx")
145145 let amount = match getInteger(this, FreeLancerPayment) {
146146 case a: Int =>
147147 a
148148 case _ =>
149149 0
150150 }
151151 let PaidtrxLast = match getInteger(this, Paidtrx) {
152152 case a: Int =>
153153 a
154154 case _ =>
155155 0
156156 }
157157 let LastPaymentBlockValue = match getInteger(this, LastPaymentBlock) {
158158 case a: Int =>
159159 a
160160 case _ =>
161161 height
162162 }
163163 let FreelancerAddressStr = getStringValue(this, FreelancerAddress)
164164 let PaymentAssetId = getStringValue(this, PaymentAsset)
165165 let AddressFreeLancer = addressFromStringValue(FreelancerAddressStr)
166166 let dAppFrees = Address(dAppFees)
167167 let AssetUsed = if ((PaymentAssetId == "Waves"))
168168 then unit
169169 else fromBase58String(PaymentAssetId)
170170 if ((0 >= (amount - (Fee * 100000000))))
171171 then throw(("You do not have enough funds to make payment, your available funds are: " + toString((amount / 100000000))))
172172 else if (if (((LastPaymentBlockValue + WaitTime) > height))
173173 then (PaidtrxLast > 1)
174174 else false)
175175 then throw(((("Cannot make Payment before " + toString(LastPaymentBlockValue)) + " min") + toString(WaitTime)))
176176 else {
177177 let FeePaid = (Fee * 100000000)
178178 let PaidtrxValue = if ((PaidtrxLast == 3))
179179 then 0
180180 else (PaidtrxLast + 1)
181181 let UserAccount = if ((PaidtrxLast == 3))
182182 then 0
183183 else ((amount - (Fee * 100000000)) - (((PaidtrxValue * 25) * (amount - (Fee * 100000000))) / 100))
184184 let Payment2Freelance = ((25 * amount) / 100)
185185 $Tuple2([IntegerEntry((toBase58String(i.caller.bytes) + "_Payment"), UserAccount), IntegerEntry((toBase58String(i.caller.bytes) + "_Paidtrx"), PaidtrxValue), IntegerEntry((toBase58String(i.caller.bytes) + "_LastPaid"), height), IntegerEntry("WaitTime", WaitTime), IntegerEntry("LastPaymentBlockValue", LastPaymentBlockValue), IntegerEntry("Check", (LastPaymentBlockValue + WaitTime)), ScriptTransfer(AddressFreeLancer, Payment2Freelance, AssetUsed), ScriptTransfer(dAppFrees, FeePaid, AssetUsed)], AssetUsed)
186186 }
187187 }
188188
189189
190190
191191 @Callable(i)
192192 func AdminTransfer (User,Freelancer,ToFreelancer,ToUser,AdminFee) = if ((i.caller.bytes != AdmindApp))
193193 then throw("Only Admin can do this")
194194 else if ((((ToUser + ToFreelancer) + AdminFee) != 100))
195195 then throw("Total of Percentages cannot be different from 100%")
196196 else {
197197 let FreeLancerPayment = (User + "_Payment")
198198 let FreelancerAddress = (User + "_Freelancer")
199199 let PaymentAsset = (toBase58String(i.caller.bytes) + "_Asset")
200200 let amount = match getInteger(this, FreeLancerPayment) {
201201 case a: Int =>
202202 a
203203 case _ =>
204204 0
205205 }
206206 let FreelancerAddressStr = getStringValue(this, FreelancerAddress)
207207 let AddressFreeLancer = addressFromStringValue(FreelancerAddressStr)
208208 let PaymentAssetId = getStringValue(this, PaymentAsset)
209209 let dAppFrees = Address(dAppFees)
210210 let AddressUser = addressFromStringValue(User)
211211 let AssetUsed = if ((PaymentAssetId == "Waves"))
212212 then unit
213213 else fromBase58String(PaymentAssetId)
214214 if ((amount == 0))
215215 then throw("User's balance is 0 BUsdc cannot realize any payment")
216216 else $Tuple2([IntegerEntry((User + "_Payment"), 0), ScriptTransfer(AddressFreeLancer, ((ToFreelancer * amount) / 100), AssetUsed), ScriptTransfer(AddressUser, ((ToUser * amount) / 100), AssetUsed), ScriptTransfer(dAppFrees, ((AdminFee * amount) / 100), AssetUsed)], AssetUsed)
217217 }
218218
219219

github/deemru/w8io/169f3d6 
39.00 ms