tx · FM7oQEjeePCqXvW5bg3bghixggux158zh2WdCWfeHLX

3Mzms5gHUDYufDRjSVN7g9DcCMG77pzFN4h:  -0.01400000 Waves

2021.09.29 08:42 [1723829] smart account 3Mzms5gHUDYufDRjSVN7g9DcCMG77pzFN4h > SELF 0.00000000 Waves

{ "type": 13, "id": "FM7oQEjeePCqXvW5bg3bghixggux158zh2WdCWfeHLX", "fee": 1400000, "feeAssetId": null, "timestamp": 1632894224244, "version": 2, "chainId": 84, "sender": "3Mzms5gHUDYufDRjSVN7g9DcCMG77pzFN4h", "senderPublicKey": "CU8dJ2mJQjVBWaDHwXjPztuVdy9XAyAnTuqSCKuNPARn", "proofs": [ "gmYcuuCgyNvjJj6qX87sCcvJVEcgAXwPf6ZajkZJxzqJVvn5HaEwGMxFK6PaBynm7mCNVHVrsV9We39q2NzeZrs" ], "script": "base64:AAIFAAAAAAAAAB0IAhIDCgEBEgASBwoFCAgICAgSBAoCCAgSAwoBCAAAABMAAAAAD3N0b3JhZ2VWZXJpZmllcgkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTjJzNVJ0YUhQQmVuQ3N4MkVDY29GUmJZSHgzbm9aaFhXMQAAAAAJc2lnbkFkbWluAgAAACMzTjF3UGdIRnRlem1SVkJhcW9valA4WEp3VGthcms0aGJpZgAAAAAIZmVlQWRtaW4CAAAAIzNOMXdQZ0hGdGV6bVJWQmFxb29qUDhYSndUa2FyazRoYmlmAAAAAARiYW5rAgAAACMzTjFFNnRYZGRSb1ZhUmZROWRRM3ZnNUxhVzJmc2Q4SEt1YgAAAAAJc2lnblRva2VuAQAAACDopWq8yndC8nBhMjVKT0WDubke5ZlnF8Nx6tkLoQSt6wAAAAANYWNjZXB0ZWRUb2tlbgEAAAAgYfHkwqhFFD81I1SLw0GO/ozjwqWx6THXqSKcOOhu9fcAAAAABnVzZG5JRAIAAAAsM0tGWEJHR0xDakE1WjJEdVc0RHE5ZkREckhqSkpQMVpFa2FvYWpTenVLc0MAAAAACHNp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WxsZXJQdWJsaWNLZXkDCQAAAAAAAAIFAAAABmNhbGxlcgUAAAAJc2lnbkFkbWluCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAABWVudHJ5BQAAAANuaWwJAAACAAAAAQIAAAACbm8AAAAAt7AyJQ==", "height": 1723829, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Atw1mY2PkAnrYuQrUPX2XobfSXsRpW5qVtrGGxRfNHdj Next: CQZKyPQQLi9xTV1sQPqeoHdXzEA6af74zetaaFpTkrKR Diff:
OldNewDifferences
128128 else {
129129 let L = getIntegerValue(a, ("certification_fee_" + toBase58String(value(K))))
130130 if (true)
131- then throw(("Uy! " + toString((J * 100000000))))
131+ then throw(("Uy! " + toString((L / 100000000))))
132132 else {
133- let M = (L / (J * 100000000))
133+ let M = ((L / 100000000) / J)
134134 if ((0 >= M))
135135 then throw("Not enough for at least 1 credit")
136136 else [IntegerEntry(("credits_" + toBase58String(f)), M), ScriptTransfer(addressFromStringValue(h), J, I.assetId)]
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = value(addressFromString("3N2s5RtaHPBenCsx2ECcoFRbYHx3noZhXW1"))
55
66 let b = "3N1wPgHFtezmRVBaqoojP8XJwTkark4hbif"
77
88 let c = "3N1wPgHFtezmRVBaqoojP8XJwTkark4hbif"
99
1010 let d = "3N1E6tXddRoVaRfQ9dQ3vg5LaW2fsd8HKub"
1111
1212 let e = base58'Gf9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a'
1313
1414 let f = base58'7bLUm2XNLWvVwgC9aPp9fNNAMVtbGwhwkqdgomJAgVbC'
1515
1616 let g = "3KFXBGGLCjA5Z2DuW4Dq9fDDrHjJJP1ZEkaoajSzuKsC"
1717
1818 let h = "3N1E6tXddRoVaRfQ9dQ3vg5LaW2fsd8HKub"
1919
2020 func i (j) = valueOrElse(getInteger(this, j), 0)
2121
2222
2323 func k (l,m) = {
2424 let n = getString(this, (l + m))
2525 if ($isInstanceOf(n, "String"))
2626 then {
2727 let o = n
2828 o
2929 }
3030 else "NONE"
3131 }
3232
3333
3434 func p (m,q) = {
3535 let n = getString(this, ((m + "@") + q))
3636 if ($isInstanceOf(n, "String"))
3737 then {
3838 let o = n
3939 o
4040 }
4141 else "NONE"
4242 }
4343
4444
4545 func r (m) = {
4646 let n = getString(this, m)
4747 if ($isInstanceOf(n, "String"))
4848 then {
4949 let o = n
5050 o
5151 }
5252 else "NONE"
5353 }
5454
5555
5656 func s (t) = if (if (if ((size(t) == 35))
5757 then (take(t, 2) == "3P")
5858 else false)
5959 then true
6060 else (take(t, 2) == "3N"))
6161 then true
6262 else (take(t, 2) == "3M")
6363
6464
6565 func u (v,t) = if ((size(t) > 0))
6666 then (v + 1)
6767 else (v + 0)
6868
6969
7070 func w (j) = {
7171 let n = getString(this, j)
7272 if ($isInstanceOf(n, "String"))
7373 then {
7474 let o = n
7575 if ((o == "PENDING"))
7676 then true
7777 else false
7878 }
7979 else false
8080 }
8181
8282
8383 func x (y) = take(drop(y, 1), value(indexOf(drop(y, 1), "\"")))
8484
8585
8686 func z (y,j) = {
8787 let A = value(indexOf(y, (("\"" + j) + "\":")))
8888 let B = drop(y, ((A + size(j)) + 3))
8989 let C = x(B)
9090 C
9191 }
9292
9393
9494 func D (y,j) = {
9595 let A = value(indexOf(y, (("\"" + j) + "\":")))
9696 let B = take(y, ((A + size(j)) + 3))
9797 B
9898 }
9999
100100
101101 func E (y,j) = {
102102 let A = value(indexOf(y, (("\"" + j) + "\":")))
103103 let B = takeRight(y, (size(y) - ((((A + size(j)) + 3) + 0) + 2)))
104104 B
105105 }
106106
107107
108108 @Callable(F)
109109 func setFee (G) = {
110110 let H = toBase58String(F.caller.bytes)
111111 if ((H == c))
112112 then [IntegerEntry(("certification_fee_" + toBase58String(f)), G)]
113113 else throw("You are not allowed to change fee")
114114 }
115115
116116
117117
118118 @Callable(F)
119119 func refillCredits () = {
120120 let H = toBase58String(F.caller.bytes)
121121 let I = value(F.payments[0])
122122 let J = value(I.amount)
123123 let K = if (isDefined(I.assetId))
124124 then value(I.assetId)
125125 else throw("Accept SIGN token only")
126126 if ((e != K))
127127 then throw("Accept SIGN token only")
128128 else {
129129 let L = getIntegerValue(a, ("certification_fee_" + toBase58String(value(K))))
130130 if (true)
131- then throw(("Uy! " + toString((J * 100000000))))
131+ then throw(("Uy! " + toString((L / 100000000))))
132132 else {
133- let M = (L / (J * 100000000))
133+ let M = ((L / 100000000) / J)
134134 if ((0 >= M))
135135 then throw("Not enough for at least 1 credit")
136136 else [IntegerEntry(("credits_" + toBase58String(f)), M), ScriptTransfer(addressFromStringValue(h), J, I.assetId)]
137137 }
138138 }
139139 }
140140
141141
142142
143143 @Callable(N)
144144 func fileCertification (O,P,m,B,Q) = {
145145 let R = value(N.transactionId)
146146 let S = k(O, m)
147147 let T = r(m)
148148 let H = toBase58String(N.caller.bytes)
149149 if ((S != "NONE"))
150150 then throw("This entry already exist")
151151 else if ((T != "NONE"))
152152 then throw("This uuid already exist")
153153 else if ((size(m) != 36))
154154 then throw("Uuid should be 36 characters.")
155155 else if ((size(O) != 64))
156156 then throw("Hash should be 64 characters.")
157157 else if ((size(P) > 150))
158158 then throw("Title is too long, 150 characters max.")
159159 else {
160160 let I = value(N.payments[0])
161161 let J = value(I.amount)
162162 let K = if (isDefined(I.assetId))
163163 then value(I.assetId)
164164 else throw("Waves is not accepted as payment")
165165 let U = getIntegerValue(this, ("certification_fee_" + toBase58String(value(K))))
166166 let V = i(("credits_" + toBase58String(f)))
167167 if ((0 >= V))
168168 then throw("Not enough credit on the dapp, please refill")
169169 else if ((f != K))
170170 then throw("This token is not accepted at the moment")
171171 else if ((J != U))
172172 then throw("The price is wrong")
173173 else [StringEntry(m, toBase58String(R)), StringEntry((O + m), toBase58String(R)), StringEntry((P + m), toBase58String(R)), StringEntry(((("data_fc_" + toBase58String(R)) + "_") + H), B), IntegerEntry(("credits_" + toBase58String(f)), (V - 1)), ScriptTransfer(addressFromStringValue(d), J, I.assetId)]
174174 }
175175 }
176176
177177
178178
179179 @Callable(N)
180180 func revokeCertification (W,Q) = {
181181 let R = value(N.transactionId)
182182 let H = toBase58String(N.caller.bytes)
183183 let S = {
184184 let n = getString(this, ((("data_fc_" + W) + "_") + H))
185185 if ($isInstanceOf(n, "String"))
186186 then {
187187 let o = n
188188 o
189189 }
190190 else "NONE"
191191 }
192192 let X = {
193193 let n = getString(this, ("STATUS_FC_" + W))
194194 if ($isInstanceOf(n, "String"))
195195 then {
196196 let o = n
197197 o
198198 }
199199 else "NONE"
200200 }
201201 let Y = (((dropRight(S, 1) + ",\"status\":\"REVOKED_") + toBase58String(R)) + "\"}")
202202 if ((X != "NONE"))
203203 then throw("This certification have already been revoked.")
204204 else if ((S == "NONE"))
205205 then throw("You cannot change the status of this certification.")
206206 else {
207207 let I = value(N.payments[0])
208208 let J = value(I.amount)
209209 let K = if (isDefined(I.assetId))
210210 then value(I.assetId)
211211 else throw("Waves is not accepted as payment")
212212 let U = getIntegerValue(this, ("certification_fee_" + toBase58String(value(K))))
213213 let V = getIntegerValue(this, ("credits_" + toBase58String(f)))
214214 if ((0 >= V))
215215 then throw("Not enough credit on the dapp, please refill")
216216 else if ((f != K))
217217 then throw("This token is not accepted at the moment")
218218 else if ((J != U))
219219 then throw("The price is wrong")
220220 else [StringEntry(("STATUS_FC_" + W), ("REVOKED_" + toBase58String(R))), StringEntry(((("data_fc_" + W) + "_") + H), Y), IntegerEntry(("credits_" + toBase58String(f)), (V - 1)), ScriptTransfer(addressFromStringValue(d), J, I.assetId)]
221221 }
222222 }
223223
224224
225225
226226 @Callable(F)
227227 func deleteEntry (Z) = {
228228 let aa = toString(addressFromPublicKey(F.callerPublicKey))
229229 if ((aa == b))
230230 then [DeleteEntry(Z)]
231231 else throw("no")
232232 }
233233
234234

github/deemru/w8io/026f985 
31.47 ms