tx · 6e4LFC1jSndLnHgu2T46zBUbQ88Q7QVabpHSVc5nPiwp 3NCLRHPm5VYMStKzvP2kkc5mxGSH9wtWAtK: -0.01000000 Waves 2022.05.28 11:39 [2071281] smart account 3NCLRHPm5VYMStKzvP2kkc5mxGSH9wtWAtK > SELF 0.00000000 Waves
{ "type": 13, "id": "6e4LFC1jSndLnHgu2T46zBUbQ88Q7QVabpHSVc5nPiwp", "fee": 1000000, "feeAssetId": null, "timestamp": 1653727206958, "version": 2, "chainId": 84, "sender": "3NCLRHPm5VYMStKzvP2kkc5mxGSH9wtWAtK", "senderPublicKey": "2bV4VobJC5a6L6e7or9PFXQhQ1KtkZW1UYzjAvMzs6A8", "proofs": [ "5HS1Jw5cAjc5ZhgJpNVh9yLe5b3AAFEYj2MMKYNUzfcFoXD5C1zpWGYpnjdvDu6XaNjCHBTC9MTiw1igH3HrFjpy" ], "script": "base64:AAIFAAAAAAAAABsIAhIAEgUKAwgICBIDCgEBEgASBwoFCAgBAQEAAAALAAAAAARCVXNkAQAAACCXSkGrfgp9S6ACoVXGdcgAKGd7js0XAB7Z3/CJRHkIAQAAAAAEVVNEVAEAAAAgl0pBq34KfUugAqFVxnXIAChne47NFwAe2d/wiUR5CAEAAAAABFVTREMBAAAAIJdKQat+Cn1LoAKhVcZ1yAAoZ3uOzRcAHtnf8IlEeQgBAAAAAANCVEMBAAAAIJdKQat+Cn1LoAKhVcZ1yAAoZ3uOzRcAHtnf8IlEeQgBAAAAAANFVEgBAAAAIJdKQat+Cn1LoAKhVcZ1yAAoZ3uOzRcAHtnf8IlEeQgBAAAAAANCTkIBAAAAIJdKQat+Cn1LoAKhVcZ1yAAoZ3uOzRcAHtnf8IlEeQgBAAAAAARVU0ROAQAAACCXSkGrfgp9S6ACoVXGdcgAKGd7js0XAB7Z3/CJRHkIAQAAAAAESEFTSAEAAAAgl0pBq34KfUugAqFVxnXIAChne47NFwAe2d/wiUR5CAEAAAAABEtVU0QBAAAAIJdKQat+Cn1LoAKhV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GZWUFAAAABmFtb3VudAAAAAAAAAAAZAUAAAAJQXNzZXRVc2VkBQAAAANuaWwFAAAACUFzc2V0VXNlZAAAAAAB6w+d", "height": 2071281, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AVksnDQozN9UzRL2KMfvXNqWAh8eeE7afKpJdrYSTujZ Next: BjmnG3pAK2P5WXEgeC9KMyVkbw2NeYkghQYR1rWezKda Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'BBaEeEmuA6qPNowGcB8BXozC2PmAAG48G5zzSWw8qt2k' | |
5 | 5 | ||
6 | 6 | let b = base58'BBaEeEmuA6qPNowGcB8BXozC2PmAAG48G5zzSWw8qt2k' | |
7 | 7 | ||
8 | 8 | let c = base58'BBaEeEmuA6qPNowGcB8BXozC2PmAAG48G5zzSWw8qt2k' | |
9 | 9 | ||
10 | 10 | let d = base58'BBaEeEmuA6qPNowGcB8BXozC2PmAAG48G5zzSWw8qt2k' | |
11 | 11 | ||
12 | 12 | let e = base58'BBaEeEmuA6qPNowGcB8BXozC2PmAAG48G5zzSWw8qt2k' | |
13 | 13 | ||
14 | 14 | let f = base58'BBaEeEmuA6qPNowGcB8BXozC2PmAAG48G5zzSWw8qt2k' | |
15 | 15 | ||
16 | 16 | let g = base58'BBaEeEmuA6qPNowGcB8BXozC2PmAAG48G5zzSWw8qt2k' | |
17 | 17 | ||
18 | 18 | let h = base58'BBaEeEmuA6qPNowGcB8BXozC2PmAAG48G5zzSWw8qt2k' | |
19 | 19 | ||
20 | 20 | let i = base58'BBaEeEmuA6qPNowGcB8BXozC2PmAAG48G5zzSWw8qt2k' | |
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)] | |
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 p = (toBase58String(l.caller.bytes) + "_Payment") | |
149 | 149 | let o = (toBase58String(l.caller.bytes) + "_Freelancer") | |
150 | 150 | let I = (toBase58String(l.caller.bytes) + "_LastPaid") | |
151 | 151 | let w = (toBase58String(l.caller.bytes) + "_Asset") | |
152 | 152 | let x = (toBase58String(l.caller.bytes) + "_Paidtrx") | |
153 | 153 | let q = { | |
154 | 154 | let r = getInteger(this, p) | |
155 | 155 | if ($isInstanceOf(r, "Int")) | |
156 | 156 | then { | |
157 | 157 | let s = r | |
158 | 158 | s | |
159 | 159 | } | |
160 | 160 | else 0 | |
161 | 161 | } | |
162 | 162 | let y = { | |
163 | 163 | let r = getInteger(this, x) | |
164 | 164 | if ($isInstanceOf(r, "Int")) | |
165 | 165 | then { | |
166 | 166 | let s = r | |
167 | 167 | s | |
168 | 168 | } | |
169 | 169 | else 0 | |
170 | 170 | } | |
171 | 171 | let J = { | |
172 | 172 | let r = getInteger(this, I) | |
173 | 173 | if ($isInstanceOf(r, "Int")) | |
174 | 174 | then { | |
175 | 175 | let s = r | |
176 | 176 | s | |
177 | 177 | } | |
178 | 178 | else 0 | |
179 | 179 | } | |
180 | 180 | let z = getStringValue(this, o) | |
181 | 181 | let A = getStringValue(this, w) | |
182 | 182 | let B = addressFromStringValue(z) | |
183 | 183 | let C = Address(j) | |
184 | 184 | let u = if ((A == "Waves")) | |
185 | 185 | then unit | |
186 | 186 | else fromBase58String(A) | |
187 | 187 | if ((0 >= (q - (H * 100000000)))) | |
188 | 188 | then throw(("You do not have enough funds to make payment, your available funds are: " + toString((q / 100000000)))) | |
189 | 189 | else { | |
190 | 190 | let F = (H * 100000000) | |
191 | 191 | let G = if ((y == 3)) | |
192 | 192 | then 0 | |
193 | 193 | else (y + 1) | |
194 | 194 | let D = if ((y == 3)) | |
195 | 195 | then 0 | |
196 | 196 | else (q - (((y * 25) * q) / 100)) | |
197 | 197 | let E = ((25 * q) / 100) | |
198 | 198 | $Tuple2([IntegerEntry((toBase58String(l.caller.bytes) + "_Payment"), D), IntegerEntry((toBase58String(l.caller.bytes) + "_Paidtrx"), G), ScriptTransfer(B, E, u), ScriptTransfer(C, F, u)], u) | |
199 | 199 | } | |
200 | 200 | } | |
201 | 201 | ||
202 | 202 | ||
203 | 203 | ||
204 | 204 | @Callable(l) | |
205 | 205 | func AdminTransfer (K,L,M,N,O) = if ((l.caller.bytes != k)) | |
206 | 206 | then throw("Only Admin can do this") | |
207 | 207 | else if ((((N + M) + O) != 100)) | |
208 | 208 | then throw("Total of Percentages cannot be different from 100%") | |
209 | 209 | else { | |
210 | 210 | let p = (K + "_Payment") | |
211 | 211 | let o = (K + "_Freelancer") | |
212 | 212 | let w = (toBase58String(l.caller.bytes) + "_Asset") | |
213 | 213 | let q = { | |
214 | 214 | let r = getInteger(this, p) | |
215 | 215 | if ($isInstanceOf(r, "Int")) | |
216 | 216 | then { | |
217 | 217 | let s = r | |
218 | 218 | s | |
219 | 219 | } | |
220 | 220 | else 0 | |
221 | 221 | } | |
222 | 222 | let z = getStringValue(this, o) | |
223 | 223 | let B = addressFromStringValue(z) | |
224 | 224 | let A = getStringValue(this, w) | |
225 | 225 | let C = Address(j) | |
226 | 226 | let P = addressFromStringValue(K) | |
227 | 227 | let u = if ((A == "Waves")) | |
228 | 228 | then unit | |
229 | 229 | else fromBase58String(A) | |
230 | 230 | if ((q == 0)) | |
231 | 231 | then throw("User's balance is 0 BUsdc cannot realize any payment") | |
232 | 232 | else $Tuple2([IntegerEntry((K + "_Payment"), 0), ScriptTransfer(B, ((M * q) / 100), u), ScriptTransfer(P, ((N * q) / 100), u), ScriptTransfer(C, ((O * q) / 100), u)], u) | |
233 | 233 | } | |
234 | 234 | ||
235 | 235 |
github/deemru/w8io/169f3d6 35.17 ms ◑