tx · DwssKQeoUY7tet3PoD1KUmvm6TWxP8ntnXjSqjE5k68k 3NC9j8YCZi8uFosLPfkvfkwyorw2oqxi7h8: -0.01000000 Waves 2022.04.10 12:04 [2002282] smart account 3NC9j8YCZi8uFosLPfkvfkwyorw2oqxi7h8 > SELF 0.00000000 Waves
{ "type": 13, "id": "DwssKQeoUY7tet3PoD1KUmvm6TWxP8ntnXjSqjE5k68k", "fee": 1000000, "feeAssetId": null, "timestamp": 1649581493433, "version": 2, "chainId": 84, "sender": "3NC9j8YCZi8uFosLPfkvfkwyorw2oqxi7h8", "senderPublicKey": "37RyW4skRtViZwAk6Ti9wXX9KHjUXDicq8ZPEMV8etz4", "proofs": [ "2CUJVLgQnqy29hjNS68L2TFArJLZvhZvmj3v8B4aRVg5zdjzHNr3bhih5PxxSQZ3BmY8ctfYvAdaD2odFmmSTkXM" ], "script": "base64:AAIFAAAAAAAAABoIAhIECgIICBIDCgEIEgMKAQgSBAoCCBgSAAAAAAQAAAAACmVzdEVuQ291cnMCAAAACmVzdEVuQ291cnMAAAAADWNsYXNzZUVuQ291cnMCAAAADWNsYXNzZUVuQ291cnMAAAAAD25vZGVWYWxpZGF0cmljZQIAAAANdmFsaWRhdG9yTm9kZQEAAAAMZ2V0Q2xhc3NOYW1lAAAAAgAAAANub20AAAAKcHJvZmVzc2V1cgkAASwAAAACCQABLAAAAAIFAAAAA25vbQIAAAABXwkABCUAAAABBQAAAApwcm9mZXNzZXVyAAAABQAAAAFpAQAAABNjcmVhdGVPck1vZGlmeUNsYXNzAAAAAgAAAANub20AAAAGZWxldmVzCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAQAAAAxnZXRDbGFzc05hbWUAAAACBQAAAANub20IBQAAAAFpAAAABmNhbGxlcgUAAAAGZWxldmVzBQAAAANuaWwAAAABaQEAAAALZGVsZXRlQ2xhc3MAAAABAAAAA25vbQkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQEAAAAMZ2V0Q2xhc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AAAAgUAAAAKZXN0RW5Db3VycwYFAAAAA25pbAkAAAIAAAABAgAAABdJbmNvcnJlY3QgaW52b2tlIHJlc3VsdAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAABaQEAAAAMYXJyZXRlckNvdXJzAAAAAAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACBQAAAA1jbGFzc2VFbkNvdXJzAgAAAAAJAARMAAAAAgkBAAAADEJvb2xlYW5FbnRyeQAAAAIFAAAACmVzdEVuQ291cnMHBQAAAANuaWwAAAAAO6VZEw==", "height": 2002282, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: 3mWAUzxNvGTrT9NCExRf7D1rjCEcz6aiLnZaZGuTRxDw Full:
Old | New | Differences | |
---|---|---|---|
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 13.88 ms ◑