tx · 5H9uRzgWs3sD9c4KvGy3b8E5AMTYXzRGvaZNEarKDPmj
3NB5aspKqF3QnFUwAHVRq6vk6v2UqBGMMDy: -0.01000000 Waves
2022.01.29 21:58 [1900618] smart account 3NB5aspKqF3QnFUwAHVRq6vk6v2UqBGMMDy > SELF 0.00000000 Waves
{
"type": 13,
"id": "5H9uRzgWs3sD9c4KvGy3b8E5AMTYXzRGvaZNEarKDPmj",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1643482720470,
"version": 2,
"chainId": 84,
"sender": "3NB5aspKqF3QnFUwAHVRq6vk6v2UqBGMMDy",
"senderPublicKey": "4S8F79Me9f9R6fzGZZjKBNfF79og2MpdmnNgfxQpwNEF",
"proofs": [
"2k9ygV62PVkqVVAg9MfNpVTcShgKGqtgAjDdV6HqKmWZNwnkthXK8w9bu5HDACxhxauFAZHFGE85f32LHZxD7fH8"
],
"script": "base64:AAIFAAAAAAAAAEIIAhIECgIICBIDCgEIGgYKAWESAWkaCAoBYhIDbm9tGgsKAWMSBmVsZXZlcxoHCgFkEgJ0eBoLCgFlEgZ2ZXJpZnkAAAAAAAAAAgAAAAFhAQAAABNjcmVhdGVPck1vZGlmeUNsYXNzAAAAAgAAAAFiAAAAAWMJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACCQABLAAAAAIFAAAAAWICAAAAAV8JAAQlAAAAAQgFAAAAAWEAAAAGY2FsbGVyBQAAAAFjBQAAAANuaWwAAAABYQEAAAALZGVsZXRlQ2xhc3MAAAABAAAAAWIJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQkAASwAAAACCQABLAAAAAIFAAAAAWICAAAAAV8JAAQlAAAAAQgFAAAAAWEAAAAGY2FsbGVyBQAAAANuaWwAAAABAAAAAWQBAAAAAWUAAAAABqUJ5Zs=",
"height": 1900618,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: Gq627RZfpb5n51nyHLXAWzWANdnqMsDT1YefKuGLghHm
Next: 4WV3iZdozTp7icRZKq9LWo4RfQPKumpfT9SEcYkHakcH
Diff:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | let estEnCours = "estEnCours" |
---|
5 | | - | |
---|
6 | | - | let classeEnCours = "classeEnCours" |
---|
7 | | - | |
---|
8 | | - | func getClassName (nom,professeur) = ((nom + "_") + toString(professeur)) |
---|
9 | | - | |
---|
10 | | - | |
---|
11 | | - | func getEtudiant () = 0 |
---|
12 | 4 | | |
---|
13 | 5 | | |
---|
14 | 6 | | @Callable(i) |
---|
15 | | - | func createOrModifyClass (nom,eleves) = [StringEntry(getClassName(nom, i.caller), eleves)] |
---|
| 7 | + | func createOrModifyClass (nom,eleves) = [StringEntry(((nom + "_") + toString(i.caller)), eleves)] |
---|
16 | 8 | | |
---|
17 | 9 | | |
---|
18 | 10 | | |
---|
19 | 11 | | @Callable(i) |
---|
20 | | - | func deleteClass (nom) = [DeleteEntry(getClassName(nom, i.caller))] |
---|
21 | | - | |
---|
22 | | - | |
---|
23 | | - | |
---|
24 | | - | @Callable(i) |
---|
25 | | - | func faireAppel (classe,eleves) = [StringEntry(classeEnCours, getClassName(classe, i.caller)), BooleanEntry(estEnCours, true)] |
---|
26 | | - | |
---|
27 | | - | |
---|
28 | | - | |
---|
29 | | - | @Callable(i) |
---|
30 | | - | func arreterCours () = [StringEntry(classeEnCours, ""), BooleanEntry(estEnCours, false)] |
---|
| 12 | + | func deleteClass (nom) = [DeleteEntry(((nom + "_") + toString(i.caller)))] |
---|
31 | 13 | | |
---|
32 | 14 | | |
---|
33 | 15 | | @Verifier(tx) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | let estEnCours = "estEnCours" |
---|
5 | | - | |
---|
6 | | - | let classeEnCours = "classeEnCours" |
---|
7 | | - | |
---|
8 | | - | func getClassName (nom,professeur) = ((nom + "_") + toString(professeur)) |
---|
9 | | - | |
---|
10 | | - | |
---|
11 | | - | func getEtudiant () = 0 |
---|
12 | 4 | | |
---|
13 | 5 | | |
---|
14 | 6 | | @Callable(i) |
---|
15 | | - | func createOrModifyClass (nom,eleves) = [StringEntry(getClassName(nom, i.caller), eleves)] |
---|
| 7 | + | func createOrModifyClass (nom,eleves) = [StringEntry(((nom + "_") + toString(i.caller)), eleves)] |
---|
16 | 8 | | |
---|
17 | 9 | | |
---|
18 | 10 | | |
---|
19 | 11 | | @Callable(i) |
---|
20 | | - | func deleteClass (nom) = [DeleteEntry(getClassName(nom, i.caller))] |
---|
21 | | - | |
---|
22 | | - | |
---|
23 | | - | |
---|
24 | | - | @Callable(i) |
---|
25 | | - | func faireAppel (classe,eleves) = [StringEntry(classeEnCours, getClassName(classe, i.caller)), BooleanEntry(estEnCours, true)] |
---|
26 | | - | |
---|
27 | | - | |
---|
28 | | - | |
---|
29 | | - | @Callable(i) |
---|
30 | | - | func arreterCours () = [StringEntry(classeEnCours, ""), BooleanEntry(estEnCours, false)] |
---|
| 12 | + | func deleteClass (nom) = [DeleteEntry(((nom + "_") + toString(i.caller)))] |
---|
31 | 13 | | |
---|
32 | 14 | | |
---|
33 | 15 | | @Verifier(tx) |
---|
34 | 16 | | func verify () = true |
---|
35 | 17 | | |
---|