tx · 5fTyf5jEGugEawj1YEF3jMMpfzXecam3WLWwAia2XP6v 3MzfaHTFgjznN8zniycq5PZxaenTjwcYLXf: -0.01000000 Waves 2022.02.04 18:23 [1909053] smart account 3MzfaHTFgjznN8zniycq5PZxaenTjwcYLXf > SELF 0.00000000 Waves
{ "type": 13, "id": "5fTyf5jEGugEawj1YEF3jMMpfzXecam3WLWwAia2XP6v", "fee": 1000000, "feeAssetId": null, "timestamp": 1643988235984, "version": 2, "chainId": 84, "sender": "3MzfaHTFgjznN8zniycq5PZxaenTjwcYLXf", "senderPublicKey": "5ate1da9rhtGuHpuEAd28pTGh1GpM8SUthHy4JD2hPeL", "proofs": [ "46S7hcA5SaAVEGVS3EoXShQRAD2DhHiLYsf8EsFv1tZUek13fppP2rWeQF8B9BpWiiUX7YxDACkHvitjgcEMSpdv" ], "script": "base64:AAIFAAAAAAAAABwIAhIECgIICBIDCgEIEgMKAQgSBAoCCBgSABIAAAAABgAAAAAKZXN0RW5Db3VycwIAAAAKZXN0RW5Db3VycwAAAAANY2xhc3NlRW5Db3VycwIAAAANY2xhc3NlRW5Db3VycwAAAAAPbm9kZVZhbGlkYXRyaWNlAgAAAA12YWxpZGF0b3JOb2RlAQAAAAxnZXRDbGFzc05hbWUAAAACAAAAA25vbQAAAApwcm9mZXNzZXVyCQABLAAAAAIJAAEsAAAAAgUAAAADbm9tAgAAAAFfCQAEJQAAAAEFAAAACnByb2Zlc3NldXIBAAAADHZhbGlkZXJFbGV2ZQAAAAIAAAADYWNjAAAAAWUEAAAADnN0dWRlbnRBZGRyZXNzCQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABCQABLwAAAAIFAAAAAWUAAAAAAAAAACMEAAAADXN0dWRlbnRTdGF0dXMJAQAAAAl0YWtlUmlnaHQAAAACBQAAAAFlCQAAZQAAAAIJAAExAAAAAQUAAAABZQAAAAAAAAAAIgQAAAADcmVzCQAD/AAAAAQFAAAADnN0dWRlbnRBZGRyZXNzAgAAABJ2YWxpZGF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lZ0RuTG1yQ01kTUJHajljX2Fic2VudAUAAAADbmlsBAAAAAFlCQABkQAAAAIFAAAACGFkcmVzc2VzAAAAAAAAAAAABAAAAARsaXN0CQAEUQAAAAIFAAAACGFkcmVzc2VzAAAAAAAAAAAABAAAAA5zdHVkZW50QWRkcmVzcwkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQkAAS8AAAACBQAAAAFlAAAAAAAAAAAjBAAAAA1zdHVkZW50U3RhdHVzCQEAAAAJdGFrZVJpZ2h0AAAAAgUAAAABZQkAAGUAAAACCQABMQAAAAEFAAAAAWUAAAAAAAAAACQEAAAAA3JlcwkAA/wAAAAEBQAAAA5zdHVkZW50QWRkcmVzcwIAAAASdmFsaWRhdGlvblByZXNlbmNlCQAETAAAAAIFAAAADXN0dWRlbnRTdGF0dXMJAARMAAAAAgkBAAAAEUBleHRyTmF0aXZlKDEwNTgpAAAAAQUAAAAPbm9kZVZhbGlkYXRyaWNlCQAETAAAAAIFAAAABGxpc3QFAAAAA25pbAUAAAADbmlsAwkAAAAAAAACBQAAAANyZXMFAAAAA3JlcwQAAAAHJG1hdGNoMAUAAAADcmVzAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAXQFAAAAByRtYXRjaDAFAAAAA25pbAkAAAIAAAABAgAAABdJbmNvcnJlY3QgaW52b2tlIHJlc3VsdAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAABaQEAAAAMYXJyZXRlckNvdXJzAAAAAAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACBQAAAA1jbGFzc2VFbkNvdXJzAgAAAAAJAARMAAAAAgkBAAAADEJvb2xlYW5FbnRyeQAAAAIFAAAACmVzdEVuQ291cnMHBQAAAANuaWwAAAAA0bEAqA==", "height": 1909053, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4AWG8csNWjarix7SEaPgPnNzBCZ1bVxvM616JsnFUjjK Next: none Diff:
Old | New | Differences | |
---|---|---|---|
76 | 76 | ||
77 | 77 | @Callable(p) | |
78 | 78 | func faireAppelEleve () = { | |
79 | - | let B = ["3N5RAMPJE4xs7mfEqKaHmhuWgVjXbK6dfGc_ | |
79 | + | let B = ["3N5RAMPJE4xs7mfEqKaHmhuWgVjXbK6dfGc_absent", "3NBK2yEvvn5RyuLiDoSegDnLmrCMdMBGj9c_absent"] | |
80 | 80 | let i = B[0] | |
81 | 81 | let C = removeByIndex(B, 0) | |
82 | 82 | let j = addressFromStringValue(take(i, 35)) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "estEnCours" | |
5 | 5 | ||
6 | 6 | let b = "classeEnCours" | |
7 | 7 | ||
8 | 8 | let c = "validatorNode" | |
9 | 9 | ||
10 | 10 | func d (e,f) = ((e + "_") + toString(f)) | |
11 | 11 | ||
12 | 12 | ||
13 | 13 | func g (h,i) = { | |
14 | 14 | let j = addressFromStringValue(take(i, 35)) | |
15 | 15 | let k = takeRight(i, (size(i) - 34)) | |
16 | 16 | let l = invoke(j, "validationPresence", [k, getStringValue(c)], nil) | |
17 | 17 | if ((l == l)) | |
18 | 18 | then true | |
19 | 19 | else throw("Strict value is not equal to itself.") | |
20 | 20 | } | |
21 | 21 | ||
22 | 22 | ||
23 | 23 | func m (i) = { | |
24 | 24 | let j = addressFromStringValue(take(i, 35)) | |
25 | 25 | let k = takeRight(i, (size(i) - 36)) | |
26 | 26 | let l = invoke(j, "validationPresence", [k, getStringValue(c)], nil) | |
27 | 27 | if ((l == l)) | |
28 | 28 | then { | |
29 | 29 | let n = l | |
30 | 30 | if ($isInstanceOf(n, "Int")) | |
31 | 31 | then { | |
32 | 32 | let o = n | |
33 | 33 | o | |
34 | 34 | } | |
35 | 35 | else throw("Incorrect invoke result") | |
36 | 36 | } | |
37 | 37 | else throw("Strict value is not equal to itself.") | |
38 | 38 | } | |
39 | 39 | ||
40 | 40 | ||
41 | 41 | @Callable(p) | |
42 | 42 | func createOrModifyClass (e,q) = [StringEntry(d(e, p.caller), q)] | |
43 | 43 | ||
44 | 44 | ||
45 | 45 | ||
46 | 46 | @Callable(p) | |
47 | 47 | func deleteClass (e) = [DeleteEntry(d(e, p.caller))] | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | ||
51 | 51 | @Callable(p) | |
52 | 52 | func ajouterValidateur (r) = [StringEntry(c, r)] | |
53 | 53 | ||
54 | 54 | ||
55 | 55 | ||
56 | 56 | @Callable(p) | |
57 | 57 | func faireAppel (s,q) = { | |
58 | 58 | let t = { | |
59 | 59 | let u = q | |
60 | 60 | let v = size(u) | |
61 | 61 | let w = nil | |
62 | 62 | func x (y,z) = if ((z >= v)) | |
63 | 63 | then y | |
64 | 64 | else g(y, u[z]) | |
65 | 65 | ||
66 | 66 | func A (y,z) = if ((z >= v)) | |
67 | 67 | then y | |
68 | 68 | else throw("List size exceeds 30") | |
69 | 69 | ||
70 | 70 | A(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(w, 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) | |
71 | 71 | } | |
72 | 72 | [StringEntry(b, d(s, p.caller)), BooleanEntry(a, true)] | |
73 | 73 | } | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | ||
77 | 77 | @Callable(p) | |
78 | 78 | func faireAppelEleve () = { | |
79 | - | let B = ["3N5RAMPJE4xs7mfEqKaHmhuWgVjXbK6dfGc_ | |
79 | + | let B = ["3N5RAMPJE4xs7mfEqKaHmhuWgVjXbK6dfGc_absent", "3NBK2yEvvn5RyuLiDoSegDnLmrCMdMBGj9c_absent"] | |
80 | 80 | let i = B[0] | |
81 | 81 | let C = removeByIndex(B, 0) | |
82 | 82 | let j = addressFromStringValue(take(i, 35)) | |
83 | 83 | let k = takeRight(i, (size(i) - 36)) | |
84 | 84 | let l = invoke(j, "validationPresence", [k, getStringValue(c), C], nil) | |
85 | 85 | if ((l == l)) | |
86 | 86 | then { | |
87 | 87 | let n = l | |
88 | 88 | if ($isInstanceOf(n, "Int")) | |
89 | 89 | then { | |
90 | 90 | let o = n | |
91 | 91 | nil | |
92 | 92 | } | |
93 | 93 | else throw("Incorrect invoke result") | |
94 | 94 | } | |
95 | 95 | else throw("Strict value is not equal to itself.") | |
96 | 96 | } | |
97 | 97 | ||
98 | 98 | ||
99 | 99 | ||
100 | 100 | @Callable(p) | |
101 | 101 | func arreterCours () = [StringEntry(b, ""), BooleanEntry(a, false)] | |
102 | 102 | ||
103 | 103 |
github/deemru/w8io/169f3d6 30.96 ms ◑