tx · CZ7cxcEkLnRnDmzG2tP5u19zpkmV8WzSia3oYypPhjBP

3MzfaHTFgjznN8zniycq5PZxaenTjwcYLXf:  -0.01000000 Waves

2022.02.02 17:17 [1906084] smart account 3MzfaHTFgjznN8zniycq5PZxaenTjwcYLXf > SELF 0.00000000 Waves

{ "type": 13, "id": "CZ7cxcEkLnRnDmzG2tP5u19zpkmV8WzSia3oYypPhjBP", "fee": 1000000, "feeAssetId": null, "timestamp": 1643811494410, "version": 2, "chainId": 84, "sender": "3MzfaHTFgjznN8zniycq5PZxaenTjwcYLXf", "senderPublicKey": "5ate1da9rhtGuHpuEAd28pTGh1GpM8SUthHy4JD2hPeL", "proofs": [ "3vD9pNQc87FWrdeH2Wf8qHiGVrU7pYBa2PXbPD6JnWAkZuQVK9cYxDyb7beDBJjJ9NJqMQoQhEeXgGq47iPwsbaM" ], "script": "base64:BQQAAAAGc2VuZGVyCQAEJQAAAAEIBQAAAAJ0eAAAAAZzZW5kZXIEAAAADGlzUHJvZmVzc2V1cgkBAAAAAiE9AAAAAgkABCIAAAABCQABLAAAAAICAAAAC3Byb2Zlc3NldXJfBQAAAAZzZW5kZXIFAAAABHVuaXQDAwUAAAAMaXNQcm9mZXNzZXVyBgkAAAAAAAACBQAAAAR0aGlzCAUAAAACdHgAAAAGc2VuZGVyBgQAAAAQcHVibGljUHJvZmVzc2V1cgkBAAAAAiE9AAAAAgkABCIAAAABCQABLAAAAAICAAAAC3Byb2Zlc3NldXJfCQAEsAAAAAEJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAQUAAAAEdW5pdAb2pOrI", "height": 1906084, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7gRztxkZaKTqJm8pFZUPcP6NUv3o8ryid1S86FYX1eci Next: FbsT6VmqaRHWy7yP3pw7VdCUxikJ5Sgg9ghdr66jutu7 Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
2-{-# SCRIPT_TYPE ACCOUNT #-}
3-{-# CONTENT_TYPE DAPP #-}
4-let a = "estEnCours"
5-
6-let b = ""
7-
8-func c (d,e) = ((d + "_") + toString(e))
9-
10-
11-func f (g) = {
12- let h = wavesBalance(g)
13- if ((h.available > 0))
14- then true
15- else false
16- }
17-
18-
19-func i (j,k) = {
20- let l = Address(fromBase58String(take(k, 35)))
21- let m = takeRight(k, (size(k) - 34))
22- if (if (f(l))
23- then if ((m == "Retard"))
24- then true
25- else (m == "Present")
26- else false)
27- then Lease(l, wavesBalance(l).available)
28- else unit
29- }
30-
31-
32-@Callable(n)
33-func createOrModifyClass (d,o) = [StringEntry(c(d, n.caller), o)]
34-
35-
36-
37-@Callable(n)
38-func deleteClass (d) = [DeleteEntry(c(d, n.caller))]
39-
40-
41-
42-@Callable(n)
43-func faireAppel (p,o) = {
44- let q = {
45- let r = o
46- let s = size(r)
47- let t = nil
48- func u (v,w) = if ((w >= s))
49- then v
50- else i(v, r[w])
51-
52- func x (v,w) = if ((w >= s))
53- then v
54- else throw("List size exceeds 30")
55-
56- x(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(t, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30)
2+{-# CONTENT_TYPE EXPRESSION #-}
3+let sender = toString(tx.sender)
4+let isProfesseur = (getString(("professeur_" + sender)) != unit)
5+if (if (isProfesseur)
6+ then true
7+ else (this == tx.sender))
8+ then true
9+ else {
10+ let publicProfesseur = (getString(("professeur_" + toUtf8String(tx.proofs[1]))) != unit)
11+ true
5712 }
58- let y = ((q :+ StringEntry(b, c(p, n.caller))) :+ BooleanEntry(a, true))
59- y
60- }
61-
62-
63-
64-@Callable(n)
65-func arreterCours () = [StringEntry(b, ""), BooleanEntry(a, false)]
66-
67-
68-@Verifier(z)
69-func A () = true
70-

github/deemru/w8io/169f3d6 
34.19 ms