tx · 2pg4ezizcNaY2MvqkWo6TQ5cmnR7fJ7viP7SUApsCpE3

3MwSuFmA1GVbkEbgkJSVWczPki4rBwitiW5:  -0.01000000 Waves

2022.04.10 11:03 [2002216] smart account 3MwSuFmA1GVbkEbgkJSVWczPki4rBwitiW5 > SELF 0.00000000 Waves

{ "type": 13, "id": "2pg4ezizcNaY2MvqkWo6TQ5cmnR7fJ7viP7SUApsCpE3", "fee": 1000000, "feeAssetId": null, "timestamp": 1649577847936, "version": 2, "chainId": 84, "sender": "3MwSuFmA1GVbkEbgkJSVWczPki4rBwitiW5", "senderPublicKey": "C8sDEZvPZU6fSG3EK1L7X6jBBy1oygaBrgub1BjGvke8", "proofs": [ "4VR1xo16psovhiX7oaJzQZubZBVjuCnxXoSX2fGUhRwshCzR4tedf7WVFLSywXJpC72vZqYgJtKNeJeASvy4dnAT" ], "script": "base64:AAIFAAAAAAAAABoIAhIECgIICBIDCgEIEgMKAQgSBAoCCBgSAAAAAAQAAAAACmVzdEVuQ291cnMCAAAACmVzdEVuQ291cnMAAAAADWNsYXNzZUVuQ291cnMCAAAADWNsYXNzZUVuQ291cnMAAAAAD25vZGVWYWxpZGF0cmljZQIAAAANdmFsaWRhdG9yTm9kZQEAAAAMZ2V0Q2xhc3NOYW1lAAAAAgAAAANub20AAAAKcHJvZmVzc2V1cgkAASwAAAACCQABLAAAAAIFAAAAA25vbQIAAAABXwkABCUAAAABBQAAAApwcm9mZXNzZXVyAAAABQAAAAFpAQAAABNjcmVhdGVPck1vZGlmeUNsYXNzAAAAAgAAAANub20AAAAGZWxldmVzCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAQAAAAxnZXRDbGFzc05hbWUAAAACBQAAAANub20IBQAAAAFpAAAABmNhbGxlcgUAAAAGZWxldmVzBQAAAANuaWwAAAABaQEAAAALZGVsZXRlQ2xhc3MAAAABAAAAA25vbQkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQEAAAAMZ2V0Q2xhc3N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AAgUAAAAKZXN0RW5Db3VycwYFAAAAA25pbAkAAAIAAAABAgAAABdJbmNvcnJlY3QgaW52b2tlIHJlc3VsdAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAABaQEAAAAMYXJyZXRlckNvdXJzAAAAAAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACBQAAAA1jbGFzc2VFbkNvdXJzAgAAAAAJAARMAAAAAgkBAAAADEJvb2xlYW5FbnRyeQAAAAIFAAAACmVzdEVuQ291cnMHBQAAAANuaWwAAAAAO6VZEw==", "height": 2002216, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 5 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let a = "estEnCours"
5+
6+let b = "classeEnCours"
7+
8+let c = "validatorNode"
9+
10+func d (e,f) = ((e + "_") + toString(f))
11+
12+
13+@Callable(g)
14+func createOrModifyClass (e,h) = [StringEntry(d(e, g.caller), h)]
15+
16+
17+
18+@Callable(g)
19+func deleteClass (e) = [DeleteEntry(d(e, g.caller))]
20+
21+
22+
23+@Callable(g)
24+func ajouterValidateur (i) = [StringEntry(c, i)]
25+
26+
27+
28+@Callable(g)
29+func faireAppelEleve (j,k) = {
30+ let l = k[0]
31+ let m = removeByIndex(k, 0)
32+ let n = addressFromStringValue(take(l, 35))
33+ let o = takeRight(l, (size(l) - 36))
34+ let p = invoke(n, "validationPresence", [o, getStringValue(c), m], nil)
35+ if ((p == p))
36+ then {
37+ let q = p
38+ if ($isInstanceOf(q, "Int"))
39+ then {
40+ let r = q
41+[StringEntry(b, d(j, g.caller)), BooleanEntry(a, true)]
42+ }
43+ else throw("Incorrect invoke result")
44+ }
45+ else throw("Strict value is not equal to itself.")
46+ }
47+
48+
49+
50+@Callable(g)
51+func arreterCours () = [StringEntry(b, ""), BooleanEntry(a, false)]
52+
53+

github/deemru/w8io/026f985 
16.87 ms