tx · 7tR92wrGrPZnQmj3JSivqhxHn2mdsrxvaatQfRzsQ7qj

3Mzms5gHUDYufDRjSVN7g9DcCMG77pzFN4h:  -0.01400000 Waves

2021.09.29 08:35 [1723819] smart account 3Mzms5gHUDYufDRjSVN7g9DcCMG77pzFN4h > SELF 0.00000000 Waves

{ "type": 13, "id": "7tR92wrGrPZnQmj3JSivqhxHn2mdsrxvaatQfRzsQ7qj", "fee": 1400000, "feeAssetId": null, "timestamp": 1632893752549, "version": 2, "chainId": 84, "sender": "3Mzms5gHUDYufDRjSVN7g9DcCMG77pzFN4h", "senderPublicKey": "CU8dJ2mJQjVBWaDHwXjPztuVdy9XAyAnTuqSCKuNPARn", "proofs": [ "52yvtKFEdxUzhNv55qkeGHHSEGsNsTxZP4WioSFLWHyrFC9e53yjHYTCKD5gb1rVtnQ8tdy85q6BowMz6YGBXFtE" ], "script": "base64:AAIFAAAAAAAAAB0IAhIDCgEBEgASBwoFCAgICAgSBAoCCAgSAwoBCAAAABMAAAAAD3N0b3JhZ2VWZXJpZmllcgkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTjJzNVJ0YUhQQmVuQ3N4MkVDY29GUmJZSHgzbm9aaFhXMQAAAAAJc2lnbkFkbWluAgAAACMzTjF3UGdIRnRlem1SVkJhcW9valA4WEp3VGthcms0aGJpZgAAAAAIZmVlQWRtaW4CAAAAIzNOMXdQZ0hGdGV6bVJWQmFxb29qUDhYSndUa2FyazRoYmlmAAAAAARiYW5rAgAAACMzTjFFNnRYZGRSb1ZhUmZROWRRM3ZnNUxhVzJmc2Q4SEt1YgAAAAAJc2lnblRva2VuAQAAACDopWq8yndC8nBhMjVKT0WDubke5ZlnF8Nx6tkLoQSt6wAAAAANYWNjZXB0ZWRUb2tlbgEAAAAgYfHkwqhFFD81I1SLw0GO/ozjwqWx6THXqSKcOOhu9fcAAAAABnVzZG5JRAIAAAAsM0tGWEJHR0xDakE1WjJEdVc0RHE5ZkREckhqSkpQMVpFa2FvYWpTen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sbGVyBQAAAAlzaWduQWRtaW4JAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAAFZW50cnkFAAAAA25pbAkAAAIAAAABAgAAAAJubwAAAABbJAG4", "height": 1723819, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6hxkDUmwFCNq3KcJgrwBsXWybdESaPvQt4urz2icGUbv Next: Atw1mY2PkAnrYuQrUPX2XobfSXsRpW5qVtrGGxRfNHdj Diff:
OldNewDifferences
127127 then throw("Accept SIGN token only")
128128 else {
129129 let L = getIntegerValue(a, ("certification_fee_" + toBase58String(value(K))))
130- let M = (L / J)
131- if ((0 >= M))
132- then throw("Not enough for at least 1 credit")
133- else [IntegerEntry(("credits_" + toBase58String(f)), M), ScriptTransfer(addressFromStringValue(h), J, I.assetId)]
130+ if (true)
131+ then throw(("Uy! " + toString(L)))
132+ else {
133+ let M = (L / J)
134+ if ((0 >= M))
135+ then throw("Not enough for at least 1 credit")
136+ else [IntegerEntry(("credits_" + toBase58String(f)), M), ScriptTransfer(addressFromStringValue(h), J, I.assetId)]
137+ }
134138 }
135139 }
136140
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))))
130- let M = (L / J)
131- if ((0 >= M))
132- then throw("Not enough for at least 1 credit")
133- else [IntegerEntry(("credits_" + toBase58String(f)), M), ScriptTransfer(addressFromStringValue(h), J, I.assetId)]
130+ if (true)
131+ then throw(("Uy! " + toString(L)))
132+ else {
133+ let M = (L / J)
134+ if ((0 >= M))
135+ then throw("Not enough for at least 1 credit")
136+ else [IntegerEntry(("credits_" + toBase58String(f)), M), ScriptTransfer(addressFromStringValue(h), J, I.assetId)]
137+ }
134138 }
135139 }
136140
137141
138142
139143 @Callable(N)
140144 func fileCertification (O,P,m,B,Q) = {
141145 let R = value(N.transactionId)
142146 let S = k(O, m)
143147 let T = r(m)
144148 let H = toBase58String(N.caller.bytes)
145149 if ((S != "NONE"))
146150 then throw("This entry already exist")
147151 else if ((T != "NONE"))
148152 then throw("This uuid already exist")
149153 else if ((size(m) != 36))
150154 then throw("Uuid should be 36 characters.")
151155 else if ((size(O) != 64))
152156 then throw("Hash should be 64 characters.")
153157 else if ((size(P) > 150))
154158 then throw("Title is too long, 150 characters max.")
155159 else {
156160 let I = value(N.payments[0])
157161 let J = value(I.amount)
158162 let K = if (isDefined(I.assetId))
159163 then value(I.assetId)
160164 else throw("Waves is not accepted as payment")
161165 let U = getIntegerValue(this, ("certification_fee_" + toBase58String(value(K))))
162166 let V = i(("credits_" + toBase58String(f)))
163167 if ((0 >= V))
164168 then throw("Not enough credit on the dapp, please refill")
165169 else if ((f != K))
166170 then throw("This token is not accepted at the moment")
167171 else if ((J != U))
168172 then throw("The price is wrong")
169173 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)]
170174 }
171175 }
172176
173177
174178
175179 @Callable(N)
176180 func revokeCertification (W,Q) = {
177181 let R = value(N.transactionId)
178182 let H = toBase58String(N.caller.bytes)
179183 let S = {
180184 let n = getString(this, ((("data_fc_" + W) + "_") + H))
181185 if ($isInstanceOf(n, "String"))
182186 then {
183187 let o = n
184188 o
185189 }
186190 else "NONE"
187191 }
188192 let X = {
189193 let n = getString(this, ("STATUS_FC_" + W))
190194 if ($isInstanceOf(n, "String"))
191195 then {
192196 let o = n
193197 o
194198 }
195199 else "NONE"
196200 }
197201 let Y = (((dropRight(S, 1) + ",\"status\":\"REVOKED_") + toBase58String(R)) + "\"}")
198202 if ((X != "NONE"))
199203 then throw("This certification have already been revoked.")
200204 else if ((S == "NONE"))
201205 then throw("You cannot change the status of this certification.")
202206 else {
203207 let I = value(N.payments[0])
204208 let J = value(I.amount)
205209 let K = if (isDefined(I.assetId))
206210 then value(I.assetId)
207211 else throw("Waves is not accepted as payment")
208212 let U = getIntegerValue(this, ("certification_fee_" + toBase58String(value(K))))
209213 let V = getIntegerValue(this, ("credits_" + toBase58String(f)))
210214 if ((0 >= V))
211215 then throw("Not enough credit on the dapp, please refill")
212216 else if ((f != K))
213217 then throw("This token is not accepted at the moment")
214218 else if ((J != U))
215219 then throw("The price is wrong")
216220 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)]
217221 }
218222 }
219223
220224
221225
222226 @Callable(F)
223227 func deleteEntry (Z) = {
224228 let aa = toString(addressFromPublicKey(F.callerPublicKey))
225229 if ((aa == b))
226230 then [DeleteEntry(Z)]
227231 else throw("no")
228232 }
229233
230234

github/deemru/w8io/026f985 
39.64 ms